|
Engauge Digitizer 2
|
Implements guideline behavior for GUIDELINE_STATE_DEPLOYED_CONSTANT_R_SELECT_EDIT_APPEARING. More...
#include <GuidelineStateDeployedConstantRSelectEditAppearing.h>


Public Member Functions | |
| GuidelineStateDeployedConstantRSelectEditAppearing (GuidelineStateContext &context) | |
| Single constructor. | |
| virtual | ~GuidelineStateDeployedConstantRSelectEditAppearing () |
| virtual void | begin () |
| Transition into state. | |
| virtual bool | doPaint () const |
| Allow/skip painting of the owner Guideline. | |
| virtual void | end () |
| Transition out of state. | |
| virtual void | handleActiveChange (bool active) |
| DigitizeState change so active status may (or may not) be toggled. | |
| virtual void | handleGuidelineMode (bool visible, bool locked) |
| User toggled Guideline visibility and/or locked mode. | |
| virtual void | handleHoverEnterEvent () |
| If transparent then make visible when hover starts. | |
| virtual void | handleHoverLeaveEvent () |
| If previously transparent before hover enter then make transparent again. | |
| virtual void | handleMousePress (const QPointF &posScene) |
| At the start of dragging, convert the Guideline into an invisible handle and visible slaved deployed Guideline. | |
| virtual void | handleTimeout () |
| Handle timeout from Appearing state. | |
| virtual QString | stateName () const |
| Name of state as a string for debugging only. | |
| Public Member Functions inherited from GuidelineStateDeployedConstantRAbstract | |
| GuidelineStateDeployedConstantRAbstract (GuidelineStateContext &context) | |
| Single constructor. | |
| virtual | ~GuidelineStateDeployedConstantRAbstract () |
| virtual QPointF | convertGraphCoordinateToScreenPoint (double valueGraph) const |
| Convert single graph coordinate into screen point pair. | |
| virtual double | convertScreenPointToGraphCoordinate (const QPointF &posScreen) const |
| Convert screen point pair into single graph coordinate. | |
| virtual EllipseParameters | pointToEllipse (const QPointF &posScreen) const |
| Return ellipse representing constant range, that passes through the specified point. | |
| virtual QLineF | pointToLine (const QPointF &posScreen) const |
| Return line parallel to an axis line, that passes through the specified point. | |
| virtual void | updateWithLatestTransformation () |
| Update given Transformation in GuidelineStateContext. | |
| Public Member Functions inherited from GuidelineStateDeployedAbstract | |
| GuidelineStateDeployedAbstract (GuidelineStateContext &context) | |
| Single constructor. | |
| virtual | ~GuidelineStateDeployedAbstract () |
| virtual void | handleMouseRelease (const QPointF &posScene) |
| At the end of dragging, clone the Guideline that owns the state machine where these states live. | |
| Public Member Functions inherited from GuidelineStateAbstractBase | |
| GuidelineStateAbstractBase (GuidelineStateContext &context) | |
| Single constructor. | |
| virtual | ~GuidelineStateAbstractBase () |
Additional Inherited Members | |
| Protected Member Functions inherited from GuidelineStateDeployedAbstract | |
| void | beginCommon (bool hovering, bool locked) |
| Initialization common to all states. | |
| Protected Member Functions inherited from GuidelineStateAbstractBase | |
| GuidelineStateContext & | context () const |
| Context in charge of the state classes. | |
| void | handleMousePressCommon (const QPointF &posAbsolute, GuidelineState stateHandle, GuidelineState stateDeployed) |
| Common mouse press handling. | |
| QRectF | sceneRect () const |
| Scene rectangle in screen coordinates (=pixels). | |
Implements guideline behavior for GUIDELINE_STATE_DEPLOYED_CONSTANT_R_SELECT_EDIT_APPEARING.
This acts just like GUIDELINE_STATE_DEPLOYED_CONSTANT_R_SELECT_EDIT but is drawn much bigger, then transitions to the other state after a timeout
Definition at line 17 of file GuidelineStateDeployedConstantRSelectEditAppearing.h.
| GuidelineStateDeployedConstantRSelectEditAppearing::GuidelineStateDeployedConstantRSelectEditAppearing | ( | GuidelineStateContext & | context | ) |
Single constructor.
Definition at line 17 of file GuidelineStateDeployedConstantRSelectEditAppearing.cpp.
|
virtual |
Definition at line 25 of file GuidelineStateDeployedConstantRSelectEditAppearing.cpp.
|
virtual |
Transition into state.
Implements GuidelineStateAbstractBase.
Definition at line 29 of file GuidelineStateDeployedConstantRSelectEditAppearing.cpp.
|
virtual |
Allow/skip painting of the owner Guideline.
This prevents display of selection markings on otherwise-invisible handle Guideline
Implements GuidelineStateAbstractBase.
Definition at line 44 of file GuidelineStateDeployedConstantRSelectEditAppearing.cpp.
|
virtual |
Transition out of state.
Reimplemented from GuidelineStateDeployedAbstract.
Definition at line 49 of file GuidelineStateDeployedConstantRSelectEditAppearing.cpp.
|
virtual |
DigitizeState change so active status may (or may not) be toggled.
Implements GuidelineStateAbstractBase.
Definition at line 57 of file GuidelineStateDeployedConstantRSelectEditAppearing.cpp.
|
virtual |
User toggled Guideline visibility and/or locked mode.
Implements GuidelineStateAbstractBase.
Definition at line 64 of file GuidelineStateDeployedConstantRSelectEditAppearing.cpp.
|
virtual |
If transparent then make visible when hover starts.
Implements GuidelineStateAbstractBase.
Definition at line 75 of file GuidelineStateDeployedConstantRSelectEditAppearing.cpp.
|
virtual |
If previously transparent before hover enter then make transparent again.
Implements GuidelineStateAbstractBase.
Definition at line 80 of file GuidelineStateDeployedConstantRSelectEditAppearing.cpp.
|
virtual |
At the start of dragging, convert the Guideline into an invisible handle and visible slaved deployed Guideline.
Implements GuidelineStateAbstractBase.
Definition at line 84 of file GuidelineStateDeployedConstantRSelectEditAppearing.cpp.
|
virtual |
Handle timeout from Appearing state.
Reimplemented from GuidelineStateDeployedAbstract.
Definition at line 91 of file GuidelineStateDeployedConstantRSelectEditAppearing.cpp.
|
virtual |
Name of state as a string for debugging only.
Implements GuidelineStateAbstractBase.
Definition at line 96 of file GuidelineStateDeployedConstantRSelectEditAppearing.cpp.