QwtPickerTrackerMachine(3)

πŸ’– NAME πŸ’–

QwtPickerTrackerMachine β€” bestie, it's a state machine for indicating mouse movements πŸ–±οΈβœ¨

It's from the Library Functions Manual, k? That's the vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <qwt_picker_machine.h>

Inherits QwtPickerMachine πŸ’…

✨ Public Member Functions ✨

  • QwtPickerTrackerMachine() β€” Constructor, slay, it makes one 🫢
  • virtual QList< Command > transition(const QwtEventPattern &, const QEvent *) override β€” Transition. That's the whole job, and she does it πŸ’…

🌸 Public Member Functions inherited from QwtPickerMachine 🌸

Like, these aren't hers, she inherited them, but they're iconic so here we go:

  • QwtPickerMachine(SelectionType) β€” Constructor πŸŽ€
  • virtual ~QwtPickerMachine() β€” Destructor, byeee 😭
  • void reset() β€” sets the current state to 0, a fresh start bestie ✨
  • int state() const β€” returns the current state, like a vibe check on where she's at πŸ¦‹
  • void setState(int) β€” changes the current state, main character energy πŸ’œ
  • 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 }

Those Command values? They're the output of a state machine. Periodt. πŸ’€


πŸ‘‘ Detailed Description πŸ‘‘

A state machine for indicating mouse movements. That's her whole personality, no cap. πŸ–±οΈβœ¨

QwtPickerTrackerMachine supports displaying information corresponding to mouse movements, but bestie, listen β€” she is not intended for selecting anything. She's just here to vibe and report. Begin/End are related to Enter/Leave events, iykyk 🌸

Definition at line 85 of file qwt_picker_machine.h. Locked in, fr fr πŸ“Œ

πŸŽ€ Constructor & Destructor Documentation πŸŽ€

QwtPickerTrackerMachine::QwtPickerTrackerMachine()

Constructor. She is born βœ¨πŸ‘‘πŸ’–

Definition at line 52 of file qwt_picker_machine.cpp.

πŸ’… Member Function Documentation πŸ’…

QList< QwtPickerMachine::Command > QwtPickerTrackerMachine::transition(const QwtEventPattern &, const QEvent * e) [override], [virtual]

Transition. That's it, that's the description, and honestly? Iconic. πŸ¦‹

Implements QwtPickerMachine πŸ’œ

Definition at line 58 of file qwt_picker_machine.cpp.

⭐ Author ⭐

Generated automatically by Doxygen for Qwt User's Guide from the source code. Not a human, not a bestie, just a robot doing her thing πŸ€–βœ¨


πŸ’– okay that's the whole thing, mwah πŸ’– β€” this gorgeous page came to you from the Qwt User's Guide, and it's QwtPickerTrackerMachine(3), no date on the footer so that's all she wrote, bye bestie πŸ«ΆπŸŽ€πŸ“

πŸ“¦ where this page comes from