QwtPolarPanner(3)
π 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 () constQwtPolarCanvas * 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 () constvoid 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 () constvoid setOrientations (Qt::Orientations)Qt::Orientations orientations () constβ Return the orientation, where panning is enabled.bool isOrientationEnabled (Qt::Orientation) constvirtual 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 directiondyβ 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
- alpine 3.24: qwt-doc 6.3.0-r0 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms