Engauge Digitizer  2
TutorialStateChecklistWizardAbstract.h
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #ifndef TUTORIAL_STATE_CHECKLIST_WIZARD_ABSTRACT_H
8 #define TUTORIAL_STATE_CHECKLIST_WIZARD_ABSTRACT_H
9 
10 #include "TutorialStateAbstractBase.h"
11 
12 class QGraphicsPixmapItem;
13 class QGraphicsTextItem;
14 class TutorialButton;
16 
19 {
20  Q_OBJECT;
21 
22  public:
25 
26  protected:
28  void begin();
29 
31  void end();
32 
35 
36  private:
37 
38  QGraphicsTextItem *m_title;
39  QGraphicsPixmapItem *m_background;
40  QGraphicsTextItem *m_text0;
41  QGraphicsTextItem *m_text1;
42  QGraphicsTextItem *m_text2;
43  QGraphicsTextItem *m_text3;
44  TutorialButton *m_previous;
45 };
46 
47 #endif // TUTORIAL_STATE_CHECKLIST_WIZARD_ABSTRACT_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...
TutorialStateContext & context()
Context class for the tutorial state machine.
Abstract class that supports checklist wizard panels.
TutorialButton * previous()
Previous button for hooking up button to slot.
TutorialStateChecklistWizardAbstract(TutorialStateContext &context)
Single constructor.
Context class for tutorial state machine.