|
Engauge Digitizer 2
|
Base class for CentipedePair states. More...
#include <CentipedeStateAbstractBase.h>


Public Member Functions | |
| CentipedeStateAbstractBase (CentipedeStateContext &context) | |
| Single constructor. | |
| virtual | ~CentipedeStateAbstractBase () |
| virtual void | begin ()=0 |
| Method that is called at the exact moment a state is entered. Typically called just after end for the previous stat. | |
| CentipedeStateContext & | context () |
| Reference to the CentipedeStateContext that contains all the CentipedeStateAbstractBase subclasses. | |
| virtual void | end ()=0 |
| Method that is called at the exact moment a state is exited. Typically called just before start of the next stat. | |
| virtual void | handleKeyPress (Qt::Key key, bool atLeastOneSelectedItem)=0 |
| Handle key press event. | |
| virtual void | handleMouseMove (QPointF posScreen)=0 |
| Handle mouse move event. | |
| virtual void | handleMousePress (QPointF posScreen)=0 |
| Handle mouse press event. | |
| virtual void | handleMouseRelease (QPointF posScreen)=0 |
| Handle mouse release event. | |
Protected Member Functions | |
| void | enableUndoStack (bool enable) |
| Method called by subclasses to send signalUndoActve. | |
Base class for CentipedePair states.
Definition at line 16 of file CentipedeStateAbstractBase.h.
| CentipedeStateAbstractBase::CentipedeStateAbstractBase | ( | CentipedeStateContext & | context | ) |
Single constructor.
Definition at line 10 of file CentipedeStateAbstractBase.cpp.
|
virtual |
Definition at line 15 of file CentipedeStateAbstractBase.cpp.
|
pure virtual |
Method that is called at the exact moment a state is entered. Typically called just after end for the previous stat.
Implemented in CentipedeStateBuildCartesian, CentipedeStateBuildPolar, and CentipedeStatePrebuild.
| CentipedeStateContext & CentipedeStateAbstractBase::context | ( | ) |
Reference to the CentipedeStateContext that contains all the CentipedeStateAbstractBase subclasses.
Definition at line 19 of file CentipedeStateAbstractBase.cpp.
|
protected |
Method called by subclasses to send signalUndoActve.
|
pure virtual |
Method that is called at the exact moment a state is exited. Typically called just before start of the next stat.
Implemented in CentipedeStateBuildCartesian, CentipedeStateBuildPolar, and CentipedeStatePrebuild.
|
pure virtual |
Handle key press event.
Implemented in CentipedeStateBuildCartesian, CentipedeStateBuildPolar, and CentipedeStatePrebuild.
|
pure virtual |
Handle mouse move event.
Implemented in CentipedeStateBuildCartesian, CentipedeStateBuildPolar, and CentipedeStatePrebuild.
|
pure virtual |
Handle mouse press event.
Implemented in CentipedeStateBuildCartesian, CentipedeStateBuildPolar, and CentipedeStatePrebuild.
|
pure virtual |
Handle mouse release event.
Implemented in CentipedeStateBuildCartesian, CentipedeStateBuildPolar, and CentipedeStatePrebuild.