Engauge Digitizer 2
|
One state manages one panel of the tutorial. More...
#include <TutorialStateAbstractBase.h>
Public Member Functions | |
TutorialStateAbstractBase (TutorialStateContext &context) | |
Single constructor. | |
virtual | ~TutorialStateAbstractBase () |
virtual void | begin ()=0 |
Transition into this state. | |
virtual void | end ()=0 |
Transition out of this state. |
Protected Member Functions | |
int | buttonMargin () const |
Buttons are placed up against bottom side, and left or right side, separated by this margin. | |
TutorialStateContext & | context () |
Context class for the tutorial state machine. | |
QGraphicsPixmapItem * | createPixmapItem (const QString &resource, const QPoint &pos) |
Factory method for pixmap items. | |
QGraphicsTextItem * | createTextItem (const QString &text, const QPoint &pos) |
Factory method for text items. | |
QGraphicsTextItem * | createTitle (const QString &text) |
Factory method for title items. |
One state manages one panel of the tutorial.
Definition at line 30 of file TutorialStateAbstractBase.h.
TutorialStateAbstractBase::TutorialStateAbstractBase | ( | TutorialStateContext & | context | ) |
Single constructor.
Definition at line 18 of file TutorialStateAbstractBase.cpp.
|
virtual |
Definition at line 23 of file TutorialStateAbstractBase.cpp.
|
pure virtual |
Transition into this state.
Implemented in TutorialStateAxisPoints, TutorialStateChecklistWizardAbstract, TutorialStateChecklistWizardLines, TutorialStateChecklistWizardPoints, TutorialStateColorFilter, TutorialStateCurveSelection, TutorialStateCurveType, TutorialStateIntroduction, TutorialStatePointMatch, and TutorialStateSegmentFill.
|
protected |
Buttons are placed up against bottom side, and left or right side, separated by this margin.
Definition at line 27 of file TutorialStateAbstractBase.cpp.
|
protected |
Context class for the tutorial state machine.
Definition at line 32 of file TutorialStateAbstractBase.cpp.
|
protected |
Factory method for pixmap items.
Definition at line 37 of file TutorialStateAbstractBase.cpp.
|
protected |
Factory method for text items.
Definition at line 47 of file TutorialStateAbstractBase.cpp.
|
protected |
Factory method for title items.
Definition at line 57 of file TutorialStateAbstractBase.cpp.
|
pure virtual |
Transition out of this state.
Implemented in TutorialStateAxisPoints, TutorialStateChecklistWizardAbstract, TutorialStateChecklistWizardLines, TutorialStateChecklistWizardPoints, TutorialStateColorFilter, TutorialStateCurveSelection, TutorialStateCurveType, TutorialStateIntroduction, TutorialStatePointMatch, and TutorialStateSegmentFill.