Engauge Digitizer  2
Public Member Functions | Protected Member Functions | List of all members
TutorialStateAbstractBase Class Referenceabstract

One state manages one panel of the tutorial. More...

#include <TutorialStateAbstractBase.h>

Inheritance diagram for TutorialStateAbstractBase:
TutorialStateAxisPoints TutorialStateChecklistWizardAbstract TutorialStateColorFilter TutorialStateCurveSelection TutorialStateCurveType TutorialStateIntroduction TutorialStatePointMatch TutorialStateSegmentFill

Public Member Functions

 TutorialStateAbstractBase (TutorialStateContext &context)
 Single constructor.
 
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.
 
TutorialStateContextcontext ()
 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.
 

Detailed Description

One state manages one panel of the tutorial.

Definition at line 30 of file TutorialStateAbstractBase.h.


The documentation for this class was generated from the following files: