1 #ifndef TUTORIAL_BUTTON_H
2 #define TUTORIAL_BUTTON_H
6 class QGraphicsRectItem;
8 class QGraphicsTextItem;
21 QGraphicsScene &scene);
40 void createRect (QGraphicsScene &scene);
41 void createText (
const QString &text);
47 #endif // TUTORIAL_BUTTON_H
This class customizes QGraphicsTextItem so it performs a callback after a mouse event.