QwtPickerMachine(3)

πŸ“¦ version 5.2.3a, in epel 9, fedora 43, fedora 44

πŸ’– NAME πŸ’–

QwtPickerMachine β€” no cap, that's the whole name, bestie, it's giving mysterious ✨


🌸 SYNOPSIS 🌸

#include <qwt_picker_machine.h>

Inherited by QwtPickerClickPointMachine, QwtPickerClickRectMachine, QwtPickerDragPointMachine, QwtPickerDragRectMachine, and QwtPickerPolygonMachine. Yes queen, this is the blueprint and those five are the nepo babies πŸ’…

✨ Public Types ✨

  • enum Command { Begin, Append, Move, End } β€” literally the four moods of every selection, fr fr πŸ¦‹
  • typedef QList< Command > CommandList β€” a whole list of those moods, iconic

πŸŽ€ Public Member Functions πŸŽ€

  • virtual ~QwtPickerMachine () β€” the destructor, she's virtual, she's leaving gracefully πŸ’–
  • void reset () β€” wipes the state, clean slate energy
  • void setState (int) β€” sets the state, you're in charge now πŸ‘‘
  • int state () const β€” reads the state back out, const because she's not messy
  • virtual CommandList transition (const QwtEventPattern &, const QEvent *) = 0 β€” pure virtual, so you have to implement it, no skipping bestie 😭

🌈 Protected Member Functions 🌈

  • QwtPickerMachine () β€” the protected constructor, she's shy, only the family gets in 🫢

🧚 Detailed Description 🧚

A state machine for QwtPicker selections. That's it, that's the job, and she ate πŸ”₯

QwtPickerMachine accepts key and mouse events and translates them into selection commands. Input goes in, commands come out, main character energy fr πŸ’…

See also:

  • QwtEventPattern::MousePatternCode
  • QwtEventPattern::KeyPatternCode

⭐ Author ⭐

Generated automatically by Doxygen for Qwt User's Guide from the source code. Not a human, just a robot doing its little thing, and honestly? Respect πŸŽ€


And that's a wrap, bestie!! This lil beauty is from Version 5.2.3, dated Tue Nov 20 2012, in the Qwt User's Guide. Slay, mwah πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from