Inheritance diagram for score::QGraphicsDraggablePixmap:

Public Member Functions

 QGraphicsDraggablePixmap (QPixmap pressed, QPixmap released, QGraphicsItem *parent)
 

Public Attributes

std::function< void(QMimeData &)> createDrag
 
std::function< void(QPointF)> click
 

Protected Member Functions

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

Protected Attributes

bool m_didDrag {}
 

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