|
Engauge Digitizer 2
|
Compute geometry for deployed constant y Guideline. More...
#include <GuidelineStateDeployedConstantYAbstract.h>


Public Member Functions | |
| GuidelineStateDeployedConstantYAbstract (GuidelineStateContext &context) | |
| Single constructor. | |
| virtual | ~GuidelineStateDeployedConstantYAbstract () |
| 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 | end () |
| Transition out of state. | |
| virtual void | handleMouseRelease (const QPointF &posScene) |
| At the end of dragging, clone the Guideline that owns the state machine where these states live. | |
| virtual void | handleTimeout () |
| Handle timeout from Appearing state. | |
| Public Member Functions inherited from GuidelineStateAbstractBase | |
| GuidelineStateAbstractBase (GuidelineStateContext &context) | |
| Single constructor. | |
| virtual | ~GuidelineStateAbstractBase () |
| virtual void | begin ()=0 |
| Transition into state. | |
| virtual bool | doPaint () const =0 |
| Allow/skip painting of the owner Guideline. | |
| virtual void | handleActiveChange (bool active)=0 |
| DigitizeState change so active status may (or may not) be toggled. | |
| virtual void | handleGuidelineMode (bool visibility, bool locked)=0 |
| User toggled Guideline visibility and/or locked mode. | |
| virtual void | handleHoverEnterEvent ()=0 |
| If transparent then make visible when hover starts. | |
| virtual void | handleHoverLeaveEvent ()=0 |
| If previously transparent before hover enter then make transparent again. | |
| virtual void | handleMousePress (const QPointF &posScene)=0 |
| At the start of dragging, convert the Guideline into an invisible handle and visible slaved deployed Guideline. | |
| virtual QString | stateName () const =0 |
| Name of state as a string for debugging only. | |
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). | |
Compute geometry for deployed constant y Guideline.
Definition at line 13 of file GuidelineStateDeployedConstantYAbstract.h.
| GuidelineStateDeployedConstantYAbstract::GuidelineStateDeployedConstantYAbstract | ( | GuidelineStateContext & | context | ) |
Single constructor.
Definition at line 15 of file GuidelineStateDeployedConstantYAbstract.cpp.
|
virtual |
Definition at line 20 of file GuidelineStateDeployedConstantYAbstract.cpp.
|
virtual |
Convert single graph coordinate into screen point pair.
Implements GuidelineStateAbstractBase.
Definition at line 24 of file GuidelineStateDeployedConstantYAbstract.cpp.
|
virtual |
Convert screen point pair into single graph coordinate.
Implements GuidelineStateAbstractBase.
Definition at line 38 of file GuidelineStateDeployedConstantYAbstract.cpp.
|
virtual |
Return ellipse representing constant range, that passes through the specified point.
Implements GuidelineStateAbstractBase.
Definition at line 50 of file GuidelineStateDeployedConstantYAbstract.cpp.
|
virtual |
Return line parallel to an axis line, that passes through the specified point.
Implements GuidelineStateAbstractBase.
Definition at line 56 of file GuidelineStateDeployedConstantYAbstract.cpp.
|
virtual |
Update given Transformation in GuidelineStateContext.
Implements GuidelineStateAbstractBase.
Definition at line 65 of file GuidelineStateDeployedConstantYAbstract.cpp.