1 #ifndef DIGITIZE_STATE_SELECT_H
2 #define DIGITIZE_STATE_SELECT_H
4 #include "DigitizeStateAbstractBase.h"
15 virtual void begin(DigitizeState previousState);
16 virtual QCursor
cursor ()
const;
20 bool atLeastOneSelectedItem);
24 virtual QString
state()
const;
31 void keyPressArrow (Qt::Key key);
32 QString moveTextFromDeltaScreen (
const QPointF &deltaScreen);
33 void setCursorForPoints();
34 void unsetCursorForPoints();
35 double zoomedToUnzoomedScreenX ()
const;
36 double zoomedToUnzoomedScreenY ()
const;
55 QPointF m_movingStart;
58 #endif // DIGITIZE_STATE_SELECT_H
virtual QCursor cursor() const
Returns the state-specific cursor shape.
virtual void handleMousePress(QPointF posScreen)
Handle a mouse press that was intercepted earlier.
virtual void handleCurveChange()
Handle the selection of a new curve. At a minimum, DigitizeStateSegment will generate a new set of Se...
virtual void updateModelSegments(const DocumentModelSegments &modelSegments)
Update the segments given the new settings.
virtual void handleMouseRelease(QPointF posScreen)
Handle a mouse release that was intercepted earlier.
DigitizeStateContext & context()
Reference to the DigitizeStateContext that contains all the DigitizeStateAbstractBase subclasses...
virtual void handleKeyPress(Qt::Key key, bool atLeastOneSelectedItem)
Handle a key press that was intercepted earlier.
Model for DlgSettingsDigitizeCurve and CmdSettingsDigitizeCurve.
Digitizing state for selecting one or more Points in the Document.
virtual void updateModelDigitizeCurve(const DocumentModelDigitizeCurve &modelDigitizeCurve)
Update the digitize curve settings.
Container for all DigitizeStateAbstractBase subclasses. This functions as the context class in a stan...
virtual QString activeCurve() const
Name of the active Curve. This can include AXIS_CURVE_NAME.
virtual void end()
Method that is called at the exact moment a state is exited. Typically called just before begin for t...
virtual void begin(DigitizeState previousState)
Method that is called at the exact moment a state is entered.
Model for DlgSettingsSegments and CmdSettingsSegments.
Base class for all digitizing states. This serves as an interface to DigitizeStateContext.
virtual QString state() const
State name for debugging.
virtual void handleMouseMove(QPointF posScreen)
Handle a mouse move. This is part of an experiment to see if augmenting the cursor in Point Match mod...