QwtPolarPanner(3)

πŸ“¦
version 6.3.0 Β· 2 versions
, in alpine 3.24

πŸ’… QwtPolarPanner β€” the panning era, honestly

okay so bestie, welcome to QwtPolarPanner(3) from the Library Functions Manual πŸŽ€ β€” this is the page for QwtPolarPanner, and she is literally the panner for a polar plot canvas. no cap.


✨ NAME ✨

QwtPolarPanner β€” provides panning of a polar plot canvas. that's the whole vibe. πŸ‘‘


🌸 SYNOPSIS 🌸

#include <qwt_polar_panner.h>

she inherits QwtPanner β€” so yeah, most of her powers are inherited, we love a nepo baby with actual talent πŸ’…

🫢 Public Slots

  • virtual void movePlot (int dx, int dy)

πŸ¦‹ Public Member Functions

  • QwtPolarPanner (QwtPolarCanvas *) β€” Create a plot panner for a polar plot canvas.
  • virtual ~QwtPolarPanner () β€” Destructor.
  • QwtPolarPlot * plot ()
  • const QwtPolarPlot * plot () const
  • QwtPolarCanvas * canvas ()
  • const QwtPolarCanvas * canvas () const

πŸ’œ Public Member Functions inherited from QwtPanner

these are the hand-me-downs and honestly they ate:

  • QwtPanner (QWidget *parent)
  • virtual ~QwtPanner () β€” Destructor.
  • void setEnabled (bool) β€” En/disable the panner.
  • bool isEnabled () const
  • void setMouseButton (Qt::MouseButton, Qt::KeyboardModifiers=Qt::NoModifier)
  • void getMouseButton (Qt::MouseButton &button, Qt::KeyboardModifiers &) const β€” Get mouse button and modifiers used for panning.
  • void setAbortKey (int key, Qt::KeyboardModifiers=Qt::NoModifier)
  • void getAbortKey (int &key, Qt::KeyboardModifiers &) const β€” Get the abort key and modifiers.
  • void setCursor (const QCursor &)
  • const QCursor cursor () const
  • void setOrientations (Qt::Orientations)
  • Qt::Orientations orientations () const β€” Return the orientation, where panning is enabled.
  • bool isOrientationEnabled (Qt::Orientation) const
  • virtual bool eventFilter (QObject *, QEvent *) override β€” Event filter.

🌈 Protected Member Functions 🌈

  • virtual void widgetMousePressEvent (QMouseEvent *) override

🧚 Protected Member Functions inherited from QwtPanner

  • virtual void widgetMouseReleaseEvent (QMouseEvent *)
  • virtual void widgetMouseMoveEvent (QMouseEvent *)
  • virtual void widgetKeyPressEvent (QKeyEvent *)
  • virtual void widgetKeyReleaseEvent (QKeyEvent *)
  • virtual void paintEvent (QPaintEvent *) override β€” Paint event.
  • virtual QBitmap contentsMask () const β€” Calculate a mask for the contents of the panned widget.
  • virtual QPixmap grab () const

⭐ Additional Inherited Members ⭐

πŸŽ€ Signals inherited from QwtPanner

  • void panned (int dx, int dy)
  • void moved (int dx, int dy)

πŸ’– Detailed Description πŸ’–

QwtPolarPanner provides panning of a polar plot canvas. that's her whole job and she does it gorgeously.

okay so here's the tea: QwtPolarPanner is a panner for a QwtPolarCanvas, and what she does is adjust the visible area after dropping the canvas on its new position. drag, drop, slay. ✨

and like β€” together with QwtPolarMagnifier, individual ways of navigating on a QwtPolarPlot widget can be implemented easily. the duo we didn't know we needed fr fr 🫢

See also: QwtPolarMagnifier

Definition at line 30 of file qwt_polar_panner.h.


πŸ› οΈ Constructor & Destructor Documentation πŸ› οΈ

QwtPolarPanner::QwtPolarPanner (QwtPolarCanvas * canvas) [explicit]

Create a plot panner for a polar plot canvas. that's it, that's the constructor, she's born ready πŸ’…

Definition at line 16 of file qwt_polar_panner.cpp.

QwtPolarPanner::~QwtPolarPanner () [virtual]

Destructor. she says bye gracefully, as she should. 😭

Definition at line 24 of file qwt_polar_panner.cpp.


🎯 Member Function Documentation 🎯

QwtPolarCanvas * QwtPolarPanner::canvas ()

Returns: observed plot canvas

Definition at line 29 of file qwt_polar_panner.cpp.

const QwtPolarCanvas * QwtPolarPanner::canvas () const

Returns: observed plot canvas

Definition at line 35 of file qwt_polar_panner.cpp.

void QwtPolarPanner::movePlot (int dx, int dy) [virtual], [slot]

Adjust the zoomed area according to dx/dy. literally just move the plot, no biggie πŸ”₯

Parameters:

  • dx β€” Pixel offset in x direction
  • dy β€” Pixel offset in y direction

See also: QwtPanner::panned(), QwtPolarPlot::zoom()

Definition at line 68 of file qwt_polar_panner.cpp.

QwtPolarPlot * QwtPolarPanner::plot ()

Returns: observed plot

Definition at line 41 of file qwt_polar_panner.cpp.

const QwtPolarPlot * QwtPolarPanner::plot () const

Returns: observed plot

Definition at line 51 of file qwt_polar_panner.cpp.

void QwtPolarPanner::widgetMousePressEvent (QMouseEvent * event) [override], [protected], [virtual]

Block panning when the plot zoom factor is >= 1.0.

⚠️ bestie listen β€” that's a block, okay? when the zoom factor is >= 1.0 the panning just does not happen. not a vibe check she passes, it's a hard stop. πŸ’€

Parameters:

  • event β€” Mouse event

Reimplemented from QwtPanner.

Definition at line 108 of file qwt_polar_panner.cpp.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Qwt User's Guide from the source code. not a human author, just the machine doing its little thing πŸ€–βœ¨


k bye bestie!! πŸ¦‹ this was QwtPolarPanner(3) from the Qwt User's Guide β€” that's the source and the version tag, and the date on this one is whatever the footer says, mwah πŸ’‹ periodt. πŸŒˆπŸ’–

πŸ“¦ where this page comes from