Engauge Digitizer 2
Loading...
Searching...
No Matches
TutorialStateCurveSelection.h
Go to the documentation of this file.
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_CURVE_SELECTION_H
8#define TUTORIAL_STATE_CURVE_SELECTION_H
9
11
12class QGraphicsPixmapItem;
13class QGraphicsTextItem;
14class TutorialButton;
16
19{
20 Q_OBJECT;
21
22 public:
25
26 virtual void begin ();
27 virtual void end ();
28
29 public slots:
31 void slotColorFilter();
32
34 void slotNext();
35
37 void slotPrevious();
38
39 private:
40
41 QGraphicsTextItem *m_title;
42 QGraphicsPixmapItem *m_background;
43 QGraphicsTextItem *m_text0;
44 QGraphicsTextItem *m_text1;
45 QGraphicsTextItem *m_text2;
46 QGraphicsTextItem *m_text3;
47 TutorialButton *m_previous;
48 TutorialButton *m_colorFilter;
49 TutorialButton *m_next;
50};
51
52#endif // TUTORIAL_STATE_CURVE_SELECTION_H
Show a button with text for clicking ion. The button is implemented using layering of two graphics it...
TutorialStateAbstractBase(TutorialStateContext &context)
Single constructor.
TutorialStateContext & context()
Context class for the tutorial state machine.
Context class for tutorial state machine.
virtual void begin()
Transition into this state.
TutorialStateCurveSelection(TutorialStateContext &context)
Single constructor.
void slotNext()
Slot called when next button is triggered.
void slotPrevious()
Slot called to return to previous panel.
void slotColorFilter()
Slot called when settings button is triggered.
virtual void end()
Transition out of this state.