Engauge Digitizer
2
|
Show a button with text for clicking ion. The button is implemented using layering of two graphics items (text and rectangle) More...
#include <TutorialButton.h>
Signals | |
void | signalTriggered () |
Signal that button was triggered. | |
Public Member Functions | |
TutorialButton (const QString &text, QGraphicsScene &scene) | |
Single constructor. Position is set after creation using setGeometry. | |
void | handleTriggered () |
Callback to be called when button was triggered by mouse event. | |
void | setGeometry (const QPoint &pos) |
Set the position. This is called after creation so screen extent is available for positioning calculations. | |
QSize | size () const |
Size of this button. | |
Show a button with text for clicking ion. The button is implemented using layering of two graphics items (text and rectangle)
Definition at line 20 of file TutorialButton.h.