Class that derives from Qt's pixmap graphics item and signals events it receives. More...
#include <cmtkQGraphicsPixmapItemEvents.h>
Public Types | |
typedef QGraphicsPixmapItemEvents | Self |
This class. | |
typedef QGraphicsPixmapItem | Superclass |
Parent class. | |
Signals | |
void | mousePressed (QGraphicsSceneMouseEvent *event) |
Signal that is sent when "mouse press" event is received. | |
Public Member Functions | |
QGraphicsPixmapItemEvents (QGraphicsItem *parent=0) | |
Default constructor. | |
QGraphicsPixmapItemEvents (const QPixmap &pixmap, QGraphicsItem *parent=0) | |
Constructor. | |
Protected Member Functions | |
virtual void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
Catch mouse press event. |
Class that derives from Qt's pixmap graphics item and signals events it receives.
Definition at line 46 of file cmtkQGraphicsPixmapItemEvents.h.
This class.
Definition at line 52 of file cmtkQGraphicsPixmapItemEvents.h.
typedef QGraphicsPixmapItem cmtk::QGraphicsPixmapItemEvents::Superclass |
Parent class.
Definition at line 55 of file cmtkQGraphicsPixmapItemEvents.h.
cmtk::QGraphicsPixmapItemEvents::QGraphicsPixmapItemEvents | ( | QGraphicsItem * | parent = 0 ) |
[inline] |
Default constructor.
Definition at line 58 of file cmtkQGraphicsPixmapItemEvents.h.
cmtk::QGraphicsPixmapItemEvents::QGraphicsPixmapItemEvents | ( | const QPixmap & | pixmap, |
QGraphicsItem * | parent = 0 |
||
) | [inline] |
Constructor.
Definition at line 61 of file cmtkQGraphicsPixmapItemEvents.h.
void cmtk::QGraphicsPixmapItemEvents::mousePressed | ( | QGraphicsSceneMouseEvent * | event ) | [signal] |
Signal that is sent when "mouse press" event is received.
virtual void cmtk::QGraphicsPixmapItemEvents::mousePressEvent | ( | QGraphicsSceneMouseEvent * | event ) | [inline, protected, virtual] |
Catch mouse press event.
Definition at line 69 of file cmtkQGraphicsPixmapItemEvents.h.