Public Types | Signals | Public Member Functions | Protected Member Functions

cmtk::QGraphicsPixmapItemEvents Class Reference

Class that derives from Qt's pixmap graphics item and signals events it receives. More...

#include <cmtkQGraphicsPixmapItemEvents.h>

List of all members.

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.

Detailed Description

Class that derives from Qt's pixmap graphics item and signals events it receives.

Definition at line 46 of file cmtkQGraphicsPixmapItemEvents.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines