7#ifndef TUTORIAL_STATE_ABSTRACT_BASE_H
8#define TUTORIAL_STATE_ABSTRACT_BASE_H
25class QGraphicsPixmapItem;
26class QGraphicsTextItem;
41 virtual void end () = 0;
60 QGraphicsTextItem *
createTitle (
const QString &text);
@ TUTORIAL_STATE_POINT_MATCH
@ TUTORIAL_STATE_AXIS_POINTS
@ TUTORIAL_STATE_CURVE_SELECTION
@ TUTORIAL_STATE_COLOR_FILTER
@ TUTORIAL_STATE_SEGMENT_FILL
@ TUTORIAL_STATE_CURVE_TYPE
@ TUTORIAL_STATE_CHECKLIST_WIZARD_POINTS
@ TUTORIAL_STATE_INTRODUCTION
@ TUTORIAL_STATE_CHECKLIST_WIZARD_LINES
virtual ~TutorialStateAbstractBase()
TutorialStateAbstractBase(TutorialStateContext &context)
Single constructor.
QGraphicsTextItem * createTitle(const QString &text)
Factory method for title items.
QGraphicsTextItem * createTextItem(const QString &text, const QPoint &pos)
Factory method for text items.
virtual void begin()=0
Transition into this state.
TutorialStateContext & context()
Context class for the tutorial state machine.
QGraphicsPixmapItem * createPixmapItem(const QString &resource, const QPoint &pos)
Factory method for pixmap items.
int buttonMargin() const
Buttons are placed up against bottom side, and left or right side, separated by this margin.
virtual void end()=0
Transition out of this state.
Context class for tutorial state machine.