QwtPickerC...intMachine(3)

πŸ’… QwtPickerC...intMachine(3) β€” the Qwt girlies' edition

okay so real talk, this page lives in the Library Functions Manual and it's all about QwtPickerClickPointMachine, bestie. buckle up πŸŽ€


✨ NAME ✨

QwtPickerClickPointMachine β€” a whole state machine for point selections. that's her job, that's her vibe πŸ’…


🌸 SYNOPSIS 🌸

#include <qwt_picker_machine.h>

she Inherits QwtPickerMachine β€” so everything mama machine has, she has too πŸ‘‘

πŸ’– Public Member Functions πŸ’–

  • QwtPickerClickPointMachine() β€” Constructor. that's it, that's the whole thing ✨
  • virtual QList< Command > transition(const QwtEventPattern &, const QEvent *) override β€” Transition. the main-character method fr fr

πŸ¦‹ Public Member Functions inherited from QwtPickerMachine πŸ¦‹

  • QwtPickerMachine(SelectionType) β€” Constructor. passing in a selection type like the icon she is πŸ‘‘
  • virtual ~QwtPickerMachine() β€” Destructor. saying bye gracefully 😭
  • void reset() β€” Set the current state to 0. clean slate era 🌈
  • int state() const β€” Return the current state. where is she at rn
  • void setState(int) β€” Change the current state. glow-up on command ✨
  • SelectionType selectionType() const β€” Return the selection type. which flavor of selection are we doing

🧚 Additional Inherited Members 🧚

πŸ’œ Public Types inherited from QwtPickerMachine πŸ’œ

  • enum SelectionType { NoSelection = -1, PointSelection, RectSelection, PolygonSelection } β€” the selection menu, pick your fighter πŸ“ note that NoSelection is literally -1, no cap
  • enum Command { Begin, Append, Move, Remove, End } β€” Commands β€” the output of a state machine. literally what a state machine spits out at you πŸ’€

πŸ”₯ Detailed Description πŸ”₯

A state machine for point selections. lowkey iconic πŸŽ€

Pressing QwtEventPattern::MouseSelect1 or QwtEventPattern::KeySelect1 selects a point. that's the whole mechanic bestie, mouse or keyboard, either slays πŸ’…

See also β€” QwtEventPattern::MousePatternCode, QwtEventPattern::KeyPatternCode 🫢

Definition at line 102 of file qwt_picker_machine.h. she lives there πŸ’–

⭐ Constructor & Destructor Documentation ⭐

QwtPickerClickPointMachine::QwtPickerClickPointMachine()

Constructor. no parameters, no drama, just vibes ✨

Definition at line 94 of file qwt_picker_machine.cpp. πŸ¦‹

🌟 Member Function Documentation 🌟

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

Transition. it's [override], it's [virtual], she's doing both πŸŽ€ she Implements QwtPickerMachine β€” respect the lineage πŸ‘‘

Definition at line 100 of file qwt_picker_machine.cpp. πŸ™ˆ

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Qwt User's Guide from the source code. not a human wrote this one bestie, the machine did it fr fr πŸ’€βœ¨


aaaand that's the page 🫢 sign-off time: this is the Qwt User's Guide's own copy of QwtPickerC...intMachine(3) β€” that title's the version/date tag baked into the footer. mwah, go select some points πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from