Inheritance diagram for oscr::CustomItem< Item, Control >:
oscr::CustomControl< Item >

Classes

struct  custom_mouse_event
 

Public Types

using item_type = std::decay_t< Item >
 

Public Member Functions

 CustomItem (Item t)
 
QRectF boundingRect () const override
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 

Protected Member Functions

void mousePressEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseMoveEvent (QGraphicsSceneMouseEvent *event) override
 
void mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override
 

Static Protected Member Functions

static custom_mouse_event make_event (QGraphicsSceneMouseEvent *event) noexcept
 

Protected Attributes

Item impl
 

The documentation for this class was generated from the following file: