Engauge Digitizer  2
TutorialStateSegmentFill.h
1 #ifndef TUTORIAL_STATE_SEGMENT_FILL_H
2 #define TUTORIAL_STATE_SEGMENT_FILL_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_SEGMENT_FILL_H
One state manages one panel of the tutorial.
void slotNext()
Slot called when next button is triggered.
Show a button with text for clicking ion. The button is implemented using layering of two graphics it...
TutorialStateSegmentFill(TutorialStateContext &context)
Single constructor.
TutorialStateContext & context()
Context class for the tutorial state machine.
void slotPrevious()
Slot called to return to previous panel.
virtual void end()
Transition out of this state.
Segment fill panel discusses the digitization of points along curve lines.
Context class for tutorial state machine.
virtual void begin()
Transition into this state.