Engauge Digitizer 2
Loading...
Searching...
No Matches
TutorialStatePointMatch.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_POINT_MATCH_H
8#define TUTORIAL_STATE_POINT_MATCH_H
9
11
13class QGraphicsTextItem;
14class TutorialButton;
16
19{
21
22 public:
25
26 virtual void begin ();
27 virtual void end ();
28
29 public slots:
31 void slotNext();
32
34 void slotPrevious();
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 TutorialButton *m_next;
46};
47
48#endif // TUTORIAL_STATE_POINT_MATCH_H
const int INNER_RADIUS_MIN
Show a button with text for clicking ion. The button is implemented using layering of two graphics it...
One state manages one panel of the tutorial.
TutorialStateContext & context()
Context class for the tutorial state machine.
Context class for tutorial state machine.
Point match panel discusses the matching of points in curves without lines.
virtual void end()
Transition out of this state.
virtual void begin()
Transition into this state.
void slotNext()
Slot called when next button is triggered.
TutorialStatePointMatch(TutorialStateContext &context)
Single constructor.
void slotPrevious()
Slot called to return to previous panel.