|
Engauge Digitizer
2
|
One state manages one panel of the tutorial. More...
#include <TutorialStateAbstractBase.h>


Public Member Functions | |
| TutorialStateAbstractBase (TutorialStateContext &context) | |
| Single constructor. More... | |
| virtual | ~TutorialStateAbstractBase () |
| virtual void | begin ()=0 |
| Transition into this state. More... | |
| virtual void | end ()=0 |
| Transition out of this state. More... | |
Protected Member Functions | |
| int | buttonMargin () const |
| Buttons are placed up against bottom side, and left or right side, separated by this margin. More... | |
| TutorialStateContext & | context () |
| Context class for the tutorial state machine. More... | |
| QGraphicsPixmapItem * | createPixmapItem (const QString &resource, const QPoint &pos) |
| Factory method for pixmap items. More... | |
| QGraphicsTextItem * | createTextItem (const QString &text, const QPoint &pos) |
| Factory method for text items. More... | |
| QGraphicsTextItem * | createTitle (const QString &text) |
| Factory method for title items. More... | |
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 TutorialStateChecklistWizardAbstract, TutorialStateAxisPoints, 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 TutorialStateChecklistWizardAbstract, TutorialStateAxisPoints, TutorialStateChecklistWizardLines, TutorialStateChecklistWizardPoints, TutorialStateColorFilter, TutorialStateCurveSelection, TutorialStateCurveType, TutorialStateIntroduction, TutorialStatePointMatch, and TutorialStateSegmentFill.
1.8.14