QWTPICKERDRAGRECTMACHINE(3)
π QwtPickerDragRectMachine(3) β Library Functions Manual bestie
NAME
QwtPickerDragRectMachine β a state machine for rectangle selections, periodt. π
SYNOPSIS
#include <qwt_picker_machine.h>
Inherits QwtPickerMachine.
Public Member Functions
QwtPickerDragRectMachine ()β constructor, the origin story. β¨virtual QList< Command > transition (const QwtEventPattern &, const QEvent *) overrideβ transition, aka the main-character move. π
Public Member Functions inherited from QwtPickerMachine
QwtPickerMachine (SelectionType)β constructor, obvi.virtual ~QwtPickerMachine ()β destructor.void reset ()β sets the current state to0.int state () constβ returns the current state.void setState (int)β changes the current state.SelectionType selectionType () constβ returns 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 }
enum SelectionType { NoSelection = -1, PointSelection, RectSelection, PolygonSelection }β the selection-type enum, with all the exact values right there. πenum Command { Begin, Append, Move, Remove, End }β commands β the output of a state machine. π¬
Detailed Description
Okay so QwtPickerDragRectMachine is literally a state machine for rectangle selections. π¦
Pressing QwtEventPattern::MouseSelect1 selects the first point, and releasing it selects the second point. Pressing QwtEventPattern::KeySelect1 also selects the first point, and a second press selects the second point and terminates the selection. No cap. π±οΈβ¨
See also:QwtEventPattern::MousePatternCode,QwtEventPattern::KeyPatternCodeβ the pattern-code besties, iykyk. π
Definition at line 161 of file qwt_picker_machine.h.
π¬ Constructor & Destructor Documentation
QwtPickerDragRectMachine::QwtPickerDragRectMachine ()
Constructor, obvi. π¬
Definition at line 312 of file qwt_picker_machine.cpp.
π Member Function Documentation
QwtPickerDragRectMachine::transition
QList< QwtPickerMachine::Command > QwtPickerDragRectMachine::transition
(const QwtEventPattern & eventPattern, const QEvent * event) [override],
[virtual]
Transition. π
Implements QwtPickerMachine.
Definition at line 318 of file qwt_picker_machine.cpp.
π€ Author
Generated automatically by Doxygen for Qwt User's Guide from the source code. π€π
Thatβs the whole page, bestie β from the Qwt User's Guide, this was QwtPickerDragRectMachine(3). 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