Engauge Digitizer  2
TutorialStateColorFilter.h
1 #ifndef TUTORIAL_STATE_COLOR_FILTER_H
2 #define TUTORIAL_STATE_COLOR_FILTER_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 slotBack();
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  QGraphicsTextItem *m_text3;
35  QGraphicsTextItem *m_text4;
36  TutorialButton *m_back;
37 };
38 
39 #endif // TUTORIAL_STATE_COLOR_FILTER_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...
virtual void begin()
Transition into this state.
Color filter panel discusses the curve-specific color filtering.
TutorialStateContext & context()
Context class for the tutorial state machine.
virtual void end()
Transition out of this state.
void slotBack()
Slot called to return to previous panel.
Context class for tutorial state machine.
TutorialStateColorFilter(TutorialStateContext &context)
Single constructor.