Engauge Digitizer  2
 All Classes Files Functions Variables Enumerations Enumerator Friends Pages
TutorialStatePointMatch.h
1 #ifndef TUTORIAL_STATE_POINT_MATCH_H
2 #define TUTORIAL_STATE_POINT_MATCH_H
3 
4 #include "TutorialStateAbstractBase.h"
5 
6 class QGraphicsPixmapItem;
7 class QGraphicsTextItem;
8 class TutorialButton;
10 
13 {
14  Q_OBJECT;
15 
16  public:
19 
20  virtual void begin ();
21  virtual void end ();
22 
23  public slots:
25  void slotNext();
26 
28  void slotPrevious();
29 
30  private:
31 
32  QGraphicsTextItem *m_title;
33  QGraphicsPixmapItem *m_background;
34  QGraphicsTextItem *m_text0;
35  QGraphicsTextItem *m_text1;
36  QGraphicsTextItem *m_text2;
37  QGraphicsTextItem *m_text3;
38  TutorialButton *m_previous;
39  TutorialButton *m_next;
40 };
41 
42 #endif // TUTORIAL_STATE_POINT_MATCH_H
One state manages one panel of the tutorial.
Point match panel discusses the matching of points in curves without lines.
Show a button with text for clicking ion. The button is implemented using layering of two graphics it...
virtual void begin()
Transition into this state.
TutorialStateContext & context()
Context class for the tutorial state machine.
virtual void end()
Transition out of this state.
Context class for tutorial state machine.
TutorialStatePointMatch(TutorialStateContext &context)
Single constructor.
void slotNext()
Slot called when next button is triggered.
void slotPrevious()
Slot called to return to previous panel.