Engauge Digitizer  2
Signals | Public Member Functions | List of all members
TutorialButton Class Reference

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>

Inheritance diagram for TutorialButton:

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.
 

Detailed Description

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.


The documentation for this class was generated from the following files: