7 #ifndef TUTORIAL_BUTTON_H 8 #define TUTORIAL_BUTTON_H 12 class QGraphicsRectItem;
14 class QGraphicsTextItem;
27 QGraphicsScene &scene);
46 void createRect (QGraphicsScene &scene);
47 void createText (
const QString &text);
53 #endif // TUTORIAL_BUTTON_H
This class customizes QGraphicsTextItem so it performs a callback after a mouse event.