QwtPickerClickRectMachine(3)

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

πŸ’– NAME πŸ’–

QwtPickerClickRectMachine β€” bestie, this is the lil state machine that handles rectangle selections πŸ’… (the manpage literally gives no one-liner here, so that's the whole name section, no cap)


✨ SYNOPSIS ✨

#include <qwt_picker_machine.h>

okay so first thing: it Inherits QwtPickerMachine 🫢 so all the family drama comes along with it.

🌸 Public Member Functions 🌸

  • virtual CommandList transition (const QwtEventPattern &, const QEvent *) β€” the one (1) function it brings to the table, and it's doing the whole state-machine thing. iconic behavior honestly πŸ‘‘

πŸ¦‹ Additional Inherited Members πŸ¦‹

(yeah it just says that. the inherited stuff lives on the parent's page, go check QwtPickerMachine iykyk πŸ’œ)


πŸŽ€ Detailed Description πŸŽ€

so basically it's a state machine for rectangle selections. periodt. πŸ“

here's the whole vibe, mouse edition first:

  • Pressing QwtEventPattern::MouseSelect1 starts the selection 🫧
  • releasing it selects the first point ✨
  • Pressing it again selects the second point and terminates the selection πŸ’… done, slay

and now the keyboard edition, because of course there's a keyboard edition:

  • 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 πŸ”₯

three taps, two corners, rectangle acquired. no notes. πŸ‘‘

See also: QwtEventPattern::MousePatternCode, QwtEventPattern::KeyPatternCode β€” go read those for the pattern codes bestie, they're the receipts πŸ’–


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Qwt User's Guide from the source code. (not a human, just doxygen doing its lil robot thing πŸ€–πŸ’…)


okay and that's the whole page!! this one's from Version 5.2.3, dated Tue Nov 20 2012 β€” so like, a vintage queen, but she still eats πŸŽ€βœ¨

πŸ“¦ where this page comes from