Engauge Digitizer  2
TutorialStateAxisPoints.h
1 #ifndef TUTORIAL_STATE_AXIS_POINTS_H
2 #define TUTORIAL_STATE_AXIS_POINTS_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  TutorialButton *m_previous;
38  TutorialButton *m_next;
39 };
40 
41 #endif // TUTORIAL_STATE_AXIS_POINTS_H
One state manages one panel of the tutorial.
Show a button with text for clicking ion. The button is implemented using layering of two graphics it...
void slotNext()
Slot called when next button is triggered.
virtual void begin()
Transition into this state.
TutorialStateAxisPoints(TutorialStateContext &context)
Single constructor.
void slotPrevious()
Slot called to return to previous panel.
Axis points panel discusses axis point digitization.
TutorialStateContext & context()
Context class for the tutorial state machine.
virtual void end()
Transition out of this state.
Context class for tutorial state machine.