Engauge Digitizer  2
TutorialStateIntroduction.h
1 #ifndef TUTORIAL_STATE_INTRODUCTION_H
2 #define TUTORIAL_STATE_INTRODUCTION_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 
27  private:
28 
29  QGraphicsTextItem *m_title;
30  QGraphicsPixmapItem *m_background;
31  QGraphicsTextItem *m_text0;
32  QGraphicsTextItem *m_text1;
33  QGraphicsTextItem *m_text2;
34  TutorialButton *m_next;
35 };
36 
37 #endif // TUTORIAL_STATE_INTRODUCTION_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.
TutorialStateIntroduction(TutorialStateContext &context)
Single constructor.
TutorialStateContext & context()
Context class for the tutorial state machine.
virtual void begin()
Transition into this state.
Context class for tutorial state machine.
virtual void end()
Transition out of this state.
Introduction state/panel is the first panel the user sees.