Engauge Digitizer
2
Tutorial
TutorialStateAxisPoints.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_AXIS_POINTS_H
8
#define TUTORIAL_STATE_AXIS_POINTS_H
9
10
#include "TutorialStateAbstractBase.h"
11
12
class
QGraphicsPixmapItem;
13
class
QGraphicsTextItem;
14
class
TutorialButton
;
15
class
TutorialStateContext
;
16
18
class
TutorialStateAxisPoints
:
public
TutorialStateAbstractBase
19
{
20
Q_OBJECT;
21
22
public
:
24
TutorialStateAxisPoints
(
TutorialStateContext
&
context
);
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
TutorialButton
*m_previous;
44
TutorialButton
*m_next;
45
};
46
47
#endif // TUTORIAL_STATE_AXIS_POINTS_H
TutorialStateAbstractBase
One state manages one panel of the tutorial.
Definition:
TutorialStateAbstractBase.h:30
TutorialButton
Show a button with text for clicking ion. The button is implemented using layering of two graphics it...
Definition:
TutorialButton.h:20
TutorialStateAxisPoints::slotNext
void slotNext()
Slot called when next button is triggered.
Definition:
TutorialStateAxisPoints.cpp:88
TutorialStateAxisPoints::begin
virtual void begin()
Transition into this state.
Definition:
TutorialStateAxisPoints.cpp:22
TutorialStateAxisPoints::TutorialStateAxisPoints
TutorialStateAxisPoints(TutorialStateContext &context)
Single constructor.
Definition:
TutorialStateAxisPoints.cpp:17
TutorialStateAxisPoints::slotPrevious
void slotPrevious()
Slot called to return to previous panel.
Definition:
TutorialStateAxisPoints.cpp:95
TutorialStateAxisPoints
Axis points panel discusses axis point digitization.
Definition:
TutorialStateAxisPoints.h:18
TutorialStateAbstractBase::context
TutorialStateContext & context()
Context class for the tutorial state machine.
Definition:
TutorialStateAbstractBase.cpp:32
TutorialStateAxisPoints::end
virtual void end()
Transition out of this state.
Definition:
TutorialStateAxisPoints.cpp:60
TutorialStateContext
Context class for tutorial state machine.
Definition:
TutorialStateContext.h:20
Generated on Sat Oct 21 2017 12:50:41 for Engauge Digitizer by
1.8.13