QWTPICKERDRAGPOINTMACHINE(3)

okay bestie, this is the QwtPickerDragPointMachine(3) page from the Library Functions Manual β€” she’s a state machine for point selections, and we’re gonna get into every single detail. No cap, not one crumb left behind. πŸ’–

✨ NAME ✨

QwtPickerDragPointMachine β€” a state machine for point selections. That’s the whole name, and yes she ate.

🌸 SYNOPSIS 🌸

#include <qwt_picker_machine.h>

Inherits QwtPickerMachine β€” family tree confirmed, iykyk. 🫢

πŸ’– Public Member Functions πŸ’–

  • QwtPickerDragPointMachine () β€” the constructor, and honestly she’s giving main-character energy from the jump. πŸ’…
  • virtual QList< Command > transition (const QwtEventPattern &, const QEvent *) override β€” the transition function, marked override, doing her thing.

🫢 Public Member Functions inherited from QwtPickerMachine 🫢

  • QwtPickerMachine (SelectionType) β€” constructor, inherited, still iconic.
  • virtual ~QwtPickerMachine () β€” destructor, inherited, saying bye eventually. 😭
  • void reset () β€” sets the current state to 0, periodt.
  • int state () const β€” returns the current state, iykyk.
  • void setState (int) β€” changes the current state, no cap.
  • SelectionType selectionType () const β€” returns the selection type, slay.

πŸŽ€ Additional Inherited Members πŸŽ€

Public Types inherited from QwtPickerMachine β€” okay bestie, here are the enums:

enum SelectionType { NoSelection = -1, PointSelection, RectSelection,
    PolygonSelection }
enum Command { Begin, Append, Move, Remove, End }

And the vibe check on Command: Commands - the output of a state machine. Literally the receipts.

πŸ¦‹ Detailed Description πŸ¦‹

A state machine for point selections. She’s focused, she’s point-selection-coded.

Pressing QwtEventPattern::MouseSelect1 or QwtEventPattern::KeySelect1 starts the selection, releasing QwtEventPattern::MouseSelect1 or a second press of QwtEventPattern::KeySelect1 terminates it. That’s the whole loop, bestie β€” start, then terminate. ✨

Definition at line 118 of file qwt_picker_machine.h. Noted and screenshotted.

✨ Constructor & Destructor Documentation ✨

πŸ“ QwtPickerDragPointMachine::QwtPickerDragPointMachine () πŸ“

Constructor. The birth of the machine, fr fr.

Definition at line 140 of file qwt_picker_machine.cpp.

πŸ’… Member Function Documentation πŸ’…

🌈 QList< QwtPickerMachine::Command > QwtPickerDragPointMachine::transition (const QwtEventPattern & eventPattern, const QEvent * event) [override], [virtual] 🌈

Transition. She transitions, obviously.

Implements QwtPickerMachine.

Definition at line 146 of file qwt_picker_machine.cpp.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Qwt User's Guide from the source code. Doxygen did that, no cap.


okay that’s the whole page, bestie β€” the footer says Qwt User's Guide and QwtPickerD...ointMachine(3) (no date on it), so bye and slay πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from