QWTPICKERCLICKRECTMACHINE(3)
okay bestie, welcome to QwtPickerC...RectMachine(3) from the Library Functions Manual β this page is all about the rectangle-selection state machine and it is lowkey iconic πβ¨
π NAME π
QwtPickerClickRectMachine β literally a state machine for rectangle selections. periodt.
β¨ SYNOPSIS β¨
#include <qwt_picker_machine.h>
Inherits QwtPickerMachine.
π«Ά Public Member Functions π«Ά
QwtPickerClickRectMachine ()β Constructor. yep, thatβs the constructor πvirtual QList< Command > transition (const QwtEventPattern &, const QEvent *) overrideβ Transition. it does the transition thing β¨
πΈ Public Member Functions inherited from QwtPickerMachine πΈ
QwtPickerMachine (SelectionType)β Constructor.virtual ~QwtPickerMachine ()β Destructor.void reset ()β Set the current state to 0.int state () constβ Return the current state.void setState (int)β Change the current state.SelectionType selectionType () constβ Return the selection type.
π¦ Additional Inherited Members π¦
Public Types inherited from QwtPickerMachine:
enum SelectionType { NoSelection = -1, PointSelection, RectSelection, PolygonSelection }enum Command { Begin, Append, Move, Remove, End }β Commands - the output of a state machine.
π Detailed Description π
A state machine for rectangle selections.
Pressing QwtEventPattern::MouseSelect1 starts the selection, releasing it selects the first point. Pressing it again selects the second point and terminates the selection. Pressing QwtEventPattern::KeySelect1 also starts the selection, a second press selects the first point. A third one selects the second point and terminates the selection.
See also QwtEventPattern::MousePatternCode, QwtEventPattern::KeyPatternCode.
Definition at line 140 of file qwt_picker_machine.h.
π Constructor & Destructor Documentation π
QwtPickerClickRectMachine::QwtPickerClickRectMachine ()
Constructor.
Definition at line 213 of file qwt_picker_machine.cpp.
π Member Function Documentation π
QList< QwtPickerMachine::Command > QwtPickerClickRectMachine::transition (const QwtEventPattern & eventPattern, const QEvent * event) [override], [virtual]
Transition.
Implements QwtPickerMachine.
Definition at line 219 of file qwt_picker_machine.cpp.
π Author π
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Cute sign-off time, bestie: the footer vibes are Qwt User's Guide plus QwtPickerC...RectMachine(3), and thereβs no separate date printed on the page β mwah πβ¨
π¦ where this page comes from
- alpine 3.24: qwt-doc 6.3.0-r0 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms