QwtPolarGrid(3)

๐Ÿ“ฆ
version 6.3.0 ยท 2 versions
, in alpine 3.24

okay bestie, welcome to the QwtPolarGrid(3) page from the Library Functions Manual โ€” this one is a lot, so grab a snack and let's go ๐ŸŽ€

๐ŸŒธ NAME ๐ŸŒธ

QwtPolarGrid โ€” an item which draws scales and grid lines on a polar plot. that's literally its whole job, and it ate ๐Ÿ’…

โœจ SYNOPSIS โœจ

#include <qwt_polar_grid.h>

Inherits QwtPolarItem.

๐Ÿ’– Public Types ๐Ÿ’–

  • enum DisplayFlag โ€” the display flags, with these exact values:
enum DisplayFlag { SmartOriginLabel = 1, HideMaxRadiusLabel = 2,
    ClipAxisBackground = 4, SmartScaleDraw = 8, ClipGridLines = 16 }
  • enum GridAttribute โ€” grid attributes, bestie:
enum GridAttribute { AutoScaling = 0x01 }
  • typedef QFlags< DisplayFlag > DisplayFlags
  • typedef QFlags< GridAttribute > GridAttributes

๐Ÿฆ‹ Public Types inherited from QwtPolarItem ๐Ÿฆ‹

  • enum RttiValues โ€” runtime type information, iykyk:
enum RttiValues { Rtti_PolarItem = 0, Rtti_PolarGrid, Rtti_PolarMarker,
    Rtti_PolarCurve, Rtti_PolarSpectrogram, Rtti_PolarUserItem = 1000 }
  • enum ItemAttribute โ€” plot item attributes:
enum ItemAttribute { Legend = 0x01, AutoScale = 0x02 }
  • enum RenderHint โ€” render hints:
enum RenderHint { RenderAntialiased = 0x01 }
  • typedef QFlags< ItemAttribute > ItemAttributes
  • typedef QFlags< RenderHint > RenderHints

๐ŸŒŸ Public Member Functions ๐ŸŒŸ

  • QwtPolarGrid () โ€” constructor, slay.
  • virtual ~QwtPolarGrid () โ€” destructor.
  • virtual int rtti () const override
  • void setDisplayFlag (DisplayFlag, bool on=true)
  • bool testDisplayFlag (DisplayFlag) const
  • void setGridAttribute (GridAttribute, bool on=true) โ€” specify an attribute for the grid.
  • bool testGridAttribute (GridAttribute) const
  • void showGrid (int scaleId, bool show=true)
  • bool isGridVisible (int scaleId) const
  • void showMinorGrid (int scaleId, bool show=true)
  • bool isMinorGridVisible (int scaleId) const
  • void showAxis (int axisId, bool show=true)
  • bool isAxisVisible (int axisId) const
  • void setPen (const QPen &p)
  • void setFont (const QFont &)
  • void setMajorGridPen (const QPen &p)
  • void setMajorGridPen (int scaleId, const QPen &p)
  • QPen majorGridPen (int scaleId) const
  • void setMinorGridPen (const QPen &p)
  • void setMinorGridPen (int scaleId, const QPen &p)
  • QPen minorGridPen (int scaleId) const
  • void setAxisPen (int axisId, const QPen &p)
  • QPen axisPen (int axisId) const
  • void setAxisFont (int axisId, const QFont &p)
  • QFont axisFont (int axisId) const
  • void setScaleDraw (int axisId, QwtScaleDraw *) โ€” set a scale draw.
  • const QwtScaleDraw * scaleDraw (int axisId) const
  • QwtScaleDraw * scaleDraw (int axisId)
  • void setAzimuthScaleDraw (QwtRoundScaleDraw *) โ€” set a scale draw for the azimuth scale.
  • const QwtRoundScaleDraw * azimuthScaleDraw () const
  • QwtRoundScaleDraw * azimuthScaleDraw ()
  • virtual void draw (QPainter *p, const QwtScaleMap &azimuthMap, const QwtScaleMap &radialMap, const QPointF &pole, double radius, const QRectF &rect) const override
  • virtual void updateScaleDiv (const QwtScaleDiv &azimuthMap, const QwtScaleDiv &radialMap, const QwtInterval &) override โ€” update the item to changes of the axes scale division.
  • virtual int marginHint () const override

๐Ÿ’œ Public Member Functions inherited from QwtPolarItem ๐Ÿ’œ

  • QwtPolarItem (const QwtText &title=QwtText())
  • virtual ~QwtPolarItem () โ€” destroy the QwtPolarItem.
  • void attach (QwtPolarPlot *plot) โ€” attach the item to a plot.
  • void detach () โ€” this method detaches a QwtPolarItem from the QwtPolarPlot it has been associated with.
  • QwtPolarPlot * plot () const
  • void setTitle (const QString &title)
  • void setTitle (const QwtText &title)
  • const QwtText & title () const
  • void setItemAttribute (ItemAttribute, bool on=true)
  • bool testItemAttribute (ItemAttribute) const
  • void setRenderHint (RenderHint, bool on=true)
  • bool testRenderHint (RenderHint) const
  • void setRenderThreadCount (uint numThreads)
  • uint renderThreadCount () const
  • double z () const
  • void setZ (double z) โ€” set the z value.
  • void show () โ€” show the item.
  • void hide () โ€” hide the item.
  • virtual void setVisible (bool)
  • bool isVisible () const
  • virtual void itemChanged ()
  • virtual void legendChanged ()
  • virtual QwtInterval boundingInterval (int scaleId) const
  • void setLegendIconSize (const QSize &)
  • QSize legendIconSize () const
  • virtual QList< QwtLegendData > legendData () const โ€” return all information, that is needed to represent the item on the legend.
  • virtual QwtGraphic legendIcon (int index, const QSizeF &) const

๐Ÿงš Protected Member Functions ๐Ÿงš

  • void drawRays (QPainter *, const QRectF &, const QPointF &pole, double radius, const QwtScaleMap &azimuthMap, const QList< double > &) const
  • void drawCircles (QPainter *, const QRectF &, const QPointF &pole, const QwtScaleMap &radialMap, const QList< double > &) const
  • void drawAxis (QPainter *, int axisId) const

๐Ÿ‘‘ Detailed Description ๐Ÿ‘‘

an item which draws scales and grid lines on a polar plot. no cap, that's the whole point of it.

so the QwtPolarGrid class can be used to draw a coordinate grid. a coordinate grid consists of major and minor gridlines, bestie โ€” and the locations of the gridlines are determined by the azimuth and radial scale divisions. that's the math, not me โœจ

QwtPolarGrid is also responsible for drawing the axis representing the scales. and get this โ€” it is possible to display 4 radial and one azimuth axis. iconic.

whenever the scale divisions of the plot widget changes, the grid is synchronized by updateScaleDiv(). literally keeping it in sync at all times ๐Ÿซถ

See also: QwtPolarPlot, QwtPolar::Axis

Definition at line 41 of file qwt_polar_grid.h.


๐ŸŽ€ Member Typedef Documentation ๐ŸŽ€

typedef QFlags<DisplayFlag > QwtPolarGrid::DisplayFlags

an ORed combination of DisplayFlag values. mix and match, bestie ๐Ÿ’…

Definition at line 88 of file qwt_polar_grid.h.

typedef QFlags<GridAttribute > QwtPolarGrid::GridAttributes

an ORed combination of GridAttribute values. same energy โœจ

Definition at line 103 of file qwt_polar_grid.h.


๐ŸŒˆ Member Enumeration Documentation ๐ŸŒˆ

enum QwtPolarGrid::DisplayFlag

mysterious flags trying to avoid conflicts when painting the scales and grid lines. the default setting enables all flags. ๐Ÿฆ‹

See also: setDisplayFlag(), testDisplayFlag()

Enumerator:

  • SmartOriginLabel โ€” try to avoid situations where the label of the origin is painted over another axis.
  • HideMaxRadiusLabel โ€” often the outermost tick of the radial scale is close to the canvas border. with HideMaxRadiusLabel enabled it is not painted.
  • ClipAxisBackground โ€” the tick labels of the radial scales might be hard to read when they are painted on top of the radial grid lines ( or on top of a curve/spectrogram ). when ClipAxisBackground the bounding rect of each label is added to the clip region.
  • SmartScaleDraw โ€” don't paint the backbone of the radial axes when they are very close to a line of the azimuth grid.
  • ClipGridLines โ€” all grid lines are clipped against the plot area before being painted. when the plot is zoomed in this will have an significant impact on the performance of the painting code. so like, performance don't @ me ๐Ÿ’€

Definition at line 52 of file qwt_polar_grid.h.

enum QwtPolarGrid::GridAttribute

grid attributes, periodt.

See also: setGridAttributes(), testGridAttributes()

Enumerator:

  • AutoScaling โ€” when AutoScaling is enabled, the radial axes will be adjusted to the interval that is currently visible on the canvas plot. watching it adapt in real time? obsessed ๐Ÿ”ฅ

Definition at line 94 of file qwt_polar_grid.h.


๐Ÿ’– Constructor & Destructor Documentation ๐Ÿ’–

QwtPolarGrid::QwtPolarGrid () [explicit]

constructor. enables major and disables minor grid lines. the azimuth and right radial axis are visible, all other axes are hidden. autoscaling is enabled. that's the starting loadout, bestie ๐ŸŽฎ

Definition at line 84 of file qwt_polar_grid.cpp.

QwtPolarGrid::~QwtPolarGrid () [virtual]

destructor. bye bestie ๐Ÿ‘‹

Definition at line 157 of file qwt_polar_grid.cpp.

๐Ÿ’… Member Function Documentation ๐Ÿ’…

Okay bestie, this is the part where every member function gets its moment, and honestly? Iconic. Letโ€™s go function by function, no cap.


โœจ axisFont โœจ

QFont QwtPolarGrid::axisFont (int axisId) const

This one gives you the font for the tick labels on a specific axis. Thatโ€™s the whole vibe.

  • Returns: Font for the tick labels of a specific axis
  • Parameters:
    • axisId โ€” Axis id (QwtPolar::Axis)

Definition at line 556 of file qwt_polar_grid.cpp.


โœจ axisPen โœจ

QPen QwtPolarGrid::axisPen (int axisId) const

Returns the pen used to paint a specific axis. Very โ€œwhat is this axis wearing todayโ€ energy.

  • Returns: Pen for painting a specific axis
  • Parameters:
    • axisId โ€” Axis id (QwtPolar::Axis)
  • See also: setAxisPen()

Definition at line 525 of file qwt_polar_grid.cpp.


๐ŸŒ€ azimuthScaleDraw โ€” non-const ๐Ÿ’ซ

QwtRoundScaleDraw * QwtPolarGrid::azimuthScaleDraw ()

Gives you the scale draw for the azimuth scale. Main character pointer energy.

  • Returns: Scale draw for the azimuth scale
  • See also: setAzimuthScaleDraw(), scaleDraw()

Definition at line 1127 of file qwt_polar_grid.cpp.


๐ŸŒ€ azimuthScaleDraw โ€” const ๐Ÿ’ซ

const QwtRoundScaleDraw * QwtPolarGrid::azimuthScaleDraw () const

Same azimuth scale draw, but const. Respect the boundaries, bestie.

  • Returns: Scale draw for the azimuth scale
  • See also: setAzimuthScaleDraw(), scaleDraw()

Definition at line 1117 of file qwt_polar_grid.cpp.


๐ŸŽจ draw ๐ŸŽจ

void QwtPolarGrid::draw (QPainter * painter, const QwtScaleMap & azimuthMap,
    const QwtScaleMap & radialMap, const QPointF & pole, double radius,
    const QRectF & canvasRect) const [override],  [virtual]

The big one: draw the grid and axes. Lowkey the whole visual serve happens here.

  • Tags: [override], [virtual]
  • Parameters:
    • painter โ€” Painter
    • azimuthMap โ€” Maps azimuth values to values related to 0.0, M_2PI
    • radialMap โ€” Maps radius values into painter coordinates.
    • pole โ€” Position of the pole in painter coordinates
    • radius โ€” Radius of the complete plot area in painter coordinates
    • canvasRect โ€” Contents rect of the canvas in painter coordinates

Implements QwtPolarItem.

Definition at line 574 of file qwt_polar_grid.cpp.


๐Ÿ–Œ๏ธ drawAxis ๐Ÿ–Œ๏ธ

void QwtPolarGrid::drawAxis (QPainter * painter, int axisId) const [protected]

Paint an axis. Protected, so itโ€™s giving backstage access only.

  • Access: [protected]
  • Parameters:
    • painter โ€” Painter
    • axisId โ€” Axis id (QwtPolar::Axis)

Definition at line 832 of file qwt_polar_grid.cpp.


โญ• drawCircles โญ•

void QwtPolarGrid::drawCircles (QPainter * painter, const QRectF &
    canvasRect, const QPointF & pole, const QwtScaleMap & radialMap, const
    QList< double > & values) const [protected]

Draw circles. Itโ€™s literally in the name, and the protected-ness is giving โ€œinner circleโ€ pun, sorry.

  • Access: [protected]
  • Parameters:
    • painter โ€” Painter
    • canvasRect โ€” Contents rect of the canvas in painter coordinates
    • pole โ€” Position of the pole in painter coordinates
    • radialMap โ€” Maps radius values into painter coordinates.
    • values โ€” Radial values, indicating the distances from the pole

Definition at line 751 of file qwt_polar_grid.cpp.


๐Ÿ“ drawRays ๐Ÿ“

void QwtPolarGrid::drawRays (QPainter * painter, const QRectF & canvasRect,
    const QPointF & pole, double radius, const QwtScaleMap & azimuthMap,
    const QList< double > & values) const [protected]

Draw lines from the pole. Rays? Lines? Either way, they radiate and they slay.

  • Access: [protected]
  • Parameters:
    • painter โ€” Painter
    • canvasRect โ€” Contents rect of the canvas in painter coordinates
    • pole โ€” Position of the pole in painter coordinates
    • radius โ€” Length of the lines in painter coordinates
    • azimuthMap โ€” Maps azimuth values to values related to 0.0, M_2PI
    • values โ€” Azimuth values, indicating the direction of the lines

Definition at line 681 of file qwt_polar_grid.cpp.


๐Ÿ‘€ isAxisVisible ๐Ÿ‘€

bool QwtPolarGrid::isAxisVisible (int axisId) const

Vibe check for an axis: visible or not?

  • Returns: true if the axis is visible
  • Parameters:
    • axisId โ€” Axis id (QwtPolar::Axis)
  • See also: showAxis()

Definition at line 343 of file qwt_polar_grid.cpp.


๐Ÿ‘€ isGridVisible ๐Ÿ‘€

bool QwtPolarGrid::isGridVisible (int scaleId) const

Checks if grid lines are enabled. Grid visibility check, fr fr.

  • Returns: true if grid lines are enabled
  • Parameters:
    • scaleId โ€” Scale id (QwtPolar::Scale)
  • See also: QwtPolar::Scale, showGrid()

Definition at line 272 of file qwt_polar_grid.cpp.


๐Ÿ‘€ isMinorGridVisible ๐Ÿ‘€

bool QwtPolarGrid::isMinorGridVisible (int scaleId) const

Checks if the minor grid lines are enabled. Little lines, big attitude.

  • Returns: true if minor grid lines are enabled
  • Parameters:
    • scaleId โ€” Scale id (QwtPolar::Scale)
  • See also: showMinorGrid()

Definition at line 308 of file qwt_polar_grid.cpp.


๐Ÿ’ซ majorGridPen ๐Ÿ’ซ

QPen QwtPolarGrid::majorGridPen (int scaleId) const

Returns the pen for painting the major grid lines of a specific scale. Major grid lines deserve major pen energy.

  • Returns: Pen for painting the major grid lines of a specific scale
  • Parameters:
    • scaleId โ€” Scale id (QwtPolar::Scale)
  • See also: setMajorGridPen(), minorGridPen()

Definition at line 454 of file qwt_polar_grid.cpp.


๐Ÿ“ marginHint ๐Ÿ“

int QwtPolarGrid::marginHint () const [override],  [virtual]

Tells you how many pixels are necessary to paint the azimuth scale. Itโ€™s the โ€œhow much room do I need for my fitโ€ of the grid.

  • Tags: [override], [virtual]
  • Returns: Number of pixels, that are necessary to paint the azimuth scale
  • See also: QwtRoundScaleDraw::extent()

Reimplemented from QwtPolarItem.

Definition at line 1049 of file qwt_polar_grid.cpp.


๐Ÿ’ซ minorGridPen ๐Ÿ’ซ

QPen QwtPolarGrid::minorGridPen (int scaleId) const

Returns the pen for painting the minor grid lines of a specific scale. Tiny lines, very demure.

  • Returns: Pen for painting the minor grid lines of a specific scale
  • Parameters:
    • scaleId โ€” Scale id (QwtPolar::Scale)

Definition at line 510 of file qwt_polar_grid.cpp.


๐Ÿชช rtti ๐Ÿชช

int QwtPolarGrid::rtti () const [override],  [virtual]

Runtime type info moment. It returns QwtPlotItem::Rtti_PolarGrid.

  • Tags: [override], [virtual]
  • Returns: QwtPlotItem::Rtti_PolarGrid

Reimplemented from QwtPolarItem.

Definition at line 163 of file qwt_polar_grid.cpp.


๐Ÿงš scaleDraw โ€” non-const ๐ŸŒธ

QwtScaleDraw * QwtPolarGrid::scaleDraw (int axisId)

Returns the scale draw of a specified axis. Itโ€™s giving โ€œwhich axis is this and what is it drawing withโ€.

  • Parameters:
    • axisId โ€” axis index (QwtPolar::AxisLeft <= axisId <= QwtPolar::AxisBottom)
  • Returns: specified scaleDraw for axis, or NULL if axis is invalid.
  • See also: setScaleDraw(), azimuthScaleDraw()

Definition at line 1083 of file qwt_polar_grid.cpp.


๐Ÿงš scaleDraw โ€” const ๐ŸŒธ

const QwtScaleDraw * QwtPolarGrid::scaleDraw (int axisId) const

Same scale draw lookup, const edition. Still returns NULL if the axis is invalid โ€” yes, the classic.

  • Parameters:
    • axisId โ€” axis index (QwtPolar::AxisLeft <= axisId <= QwtPolar::AxisBottom)
  • Returns: specified scaleDraw for axis, or NULL if axis is invalid.
  • See also: azimuthScaleDraw()

Definition at line 1068 of file qwt_polar_grid.cpp.


๐ŸŽ€ setAxisFont ๐ŸŽ€

void QwtPolarGrid::setAxisFont (int axisId, const QFont & font)

Assigns a font for the tick labels of a specific axis. Font glow-up for one axis only.

  • Parameters:
    • axisId โ€” Axis id (QwtPolar::Axis)
    • font โ€” new Font

Definition at line 539 of file qwt_polar_grid.cpp.


๐ŸŽ€ setAxisPen ๐ŸŽ€

void QwtPolarGrid::setAxisPen (int axisId, const QPen & pen)

Assigns a pen for painting an axis. New outfit for the axis.

  • Parameters:
    • axisId โ€” Axis id (QwtPolar::Axis)
    • pen โ€” Pen
  • See also: axisPen()

Definition at line 235 of file qwt_polar_grid.cpp.


๐ŸŒˆ setAzimuthScaleDraw ๐ŸŒˆ

void QwtPolarGrid::setAzimuthScaleDraw (QwtRoundScaleDraw * scaleDraw)

Sets a scale draw for the azimuth scale. Passing in the object thatโ€™s responsible for drawing scales.

  • Parameters:
    • scaleDraw โ€” object responsible for drawing scales.
  • See also: azimuthScaleDraw(), setScaleDraw()

Definition at line 1139 of file qwt_polar_grid.cpp.


๐ŸŽ›๏ธ setDisplayFlag ๐ŸŽ›๏ธ

void QwtPolarGrid::setDisplayFlag (DisplayFlag flag, bool on = true)

Changes the display flags. Tiny switches, big visual consequences.

  • Parameters:
    • flag โ€” See DisplayFlag
    • on โ€” true/false

Definition at line 174 of file qwt_polar_grid.cpp.


๐ŸŽ€ setFont ๐ŸŽ€

void QwtPolarGrid::setFont (const QFont & font)

Assigns a font for all scale tick labels. Group-chat-wide font update, basically.

  • Parameters:
    • font โ€” Font
  • See also: setAxisFont()

Definition at line 390 of file qwt_polar_grid.cpp.


๐Ÿ› ๏ธ setGridAttribute ๐Ÿ› ๏ธ

void QwtPolarGrid::setGridAttribute (GridAttribute attribute, bool on =
    true)

Specifies an attribute for the grid. Youโ€™re toggling grid behavior, bestie.

  • Parameters:
    • attribute โ€” Grid attribute
    • on โ€” On/Off
  • See also-ish line (literally /sa in the source): /sa GridAttribute, testGridAttribute(), updateScaleDiv(), QwtPolarPlot::zoom(), QwtPolarPlot::scaleDiv()

Definition at line 205 of file qwt_polar_grid.cpp.


๐Ÿ’ซ setMajorGridPen โ€” all major grid lines ๐Ÿ’ซ

void QwtPolarGrid::setMajorGridPen (const QPen & pen)

Assigns a pen for the major grid lines. Major lines, major pen, major moment.

  • Parameters:
    • pen โ€” Pen
  • See also: setPen(), setMinorGridPen(), majorGridPen

Definition at line 412 of file qwt_polar_grid.cpp.


๐Ÿ’ซ setMajorGridPen โ€” one scaleโ€™s major grid lines ๐Ÿ’ซ

void QwtPolarGrid::setMajorGridPen (int scaleId, const QPen & pen)

Assigns a pen for the major grid lines of a specific scale. One scale gets its own pen. VIP treatment.

  • Parameters:
    • scaleId โ€” Scale id (QwtPolar::Scale)
    • pen โ€” Pen
  • See also: setPen(), setMinorGridPen(), majorGridPen

Definition at line 436 of file qwt_polar_grid.cpp.


๐Ÿ’ซ setMinorGridPen โ€” all minor grid lines ๐Ÿ’ซ

void QwtPolarGrid::setMinorGridPen (const QPen & pen)

Assigns a pen for the minor grid lines. The little lines are getting styled too, as they should.

  • Parameters:
    • pen โ€” Pen
  • See also: setPen(), setMajorGridPen(), minorGridPen()

Definition at line 469 of file qwt_polar_grid.cpp.


๐Ÿ’ซ setMinorGridPen โ€” one scaleโ€™s minor grid lines ๐Ÿ’ซ

void QwtPolarGrid::setMinorGridPen (int scaleId, const QPen & pen)

Assigns a pen for the minor grid lines of a specific scale. Very targeted, very precise.

  • Parameters:
    • scaleId โ€” Scale id (QwtPolar::Scale)
    • pen โ€” Pen
  • See also: setPen(), setMajorGridPen(), minorGridPen

Definition at line 493 of file qwt_polar_grid.cpp.


๐Ÿ–Š๏ธ setPen ๐Ÿ–Š๏ธ

void QwtPolarGrid::setPen (const QPen & pen)

Assigns a pen for all axes and grid lines. One pen to rule them all, no cap.

  • Parameters:
    • pen โ€” Pen
  • See also: setMajorGridPen(), setMinorGridPen(), setAxisPen()

Definition at line 357 of file qwt_polar_grid.cpp.


๐ŸŒˆ setScaleDraw ๐ŸŒˆ

void QwtPolarGrid::setScaleDraw (int axisId, QwtScaleDraw * scaleDraw)

Sets a scale draw. You hand over the object responsible for drawing scales, and the axis says thank you.

  • Parameters:
    • axisId โ€” axis index (QwtPolar::AxisLeft <= axisId <= QwtPolar::AxisBottom)
    • scaleDraw โ€” object responsible for drawing scales.
  • See also: scaleDraw(), setAzimuthScaleDraw()

Definition at line 1099 of file qwt_polar_grid.cpp.


๐Ÿ‘๏ธ showAxis ๐Ÿ‘๏ธ

void QwtPolarGrid::showAxis (int axisId, bool show = true)

Show/Hide an axis. Axis visibility toggle, simple and powerful.

  • Parameters:
    • axisId โ€” Axis id (QwtPolar::Axis)
    • show โ€” true/false
  • See also: isAxisVisible()

Definition at line 324 of file qwt_polar_grid.cpp.


๐Ÿ‘๏ธ showGrid ๐Ÿ‘๏ธ

void QwtPolarGrid::showGrid (int scaleId, bool show = true)

Show/Hide grid lines for a scale. Grid lines on, grid lines off, the eternal question.

  • Parameters:
    • scaleId โ€” Scale id (QwtPolar::Scale)
    • show โ€” true/false

Definition at line 254 of file qwt_polar_grid.cpp.


๐Ÿ‘๏ธ showMinorGrid ๐Ÿ‘๏ธ

void QwtPolarGrid::showMinorGrid (int scaleId, bool show = true)

Show/Hide minor grid lines for a scale.

Heads up, bestie: to display minor grid lines, showGrid() needs to be enabled too. The minor lines cannot show up solo.
  • Parameters:
    • scaleId โ€” Scale id (QwtPolar::Scale)
    • show โ€” true/false
  • See also: showGrid

Definition at line 290 of file qwt_polar_grid.cpp.


โœ… testDisplayFlag โœ…

bool QwtPolarGrid::testDisplayFlag (DisplayFlag flag) const

Returns true if the flag is enabled. A little display-flag vibe check.

  • Returns: true, if flag is enabled
  • Parameters:
    • flag โ€” See DisplayFlag

Definition at line 191 of file qwt_polar_grid.cpp.


โœ… testGridAttribute โœ…

bool QwtPolarGrid::testGridAttribute (GridAttribute attribute) const

Returns true if the attribute is enabled. Grid attribute status: confirmed.

  • Returns: true, if attribute is enabled
  • See also: GridAttribute, setGridAttribute()

Definition at line 222 of file qwt_polar_grid.cpp.


๐Ÿ”„ updateScaleDiv ๐Ÿ”„

void QwtPolarGrid::updateScaleDiv (const QwtScaleDiv & azimuthScaleDiv,
    const QwtScaleDiv & radialScaleDiv, const QwtInterval & interval)
    [override],  [virtual]

Update the item to changes of the axes scale division. If AutoScaling is enabled the radial scale is calculated from the interval, otherwise the scales are adopted to the plot scales.

  • Tags: [override], [virtual]
  • Parameters:
    • azimuthScaleDiv โ€” Scale division of the azimuth-scale
    • radialScaleDiv โ€” Scale division of the radius-axis
    • interval โ€” The interval of the radius-axis, that is visible on the canvas
  • See also: QwtPolarPlot::setGridAttributes()

Reimplemented from QwtPolarItem.

Definition at line 952 of file qwt_polar_grid.cpp.

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

okay so bestie, nobody wrote this page in the human sense โ€” it was Generated automatically by Doxygen for Qwt User's Guide from the source code. That's it, that's the whole author credit ๐Ÿ™ˆ Doxygen just vibed through the source code and spat this out, no cap. So if you're looking for a person to thank, the source code is the main character here, and Doxygen is the friend who took the notes โœจ


and that's a wrap on QwtPolarGrid(3), bestie!! ๐ŸŽ€ You made it to the very bottom, which is honestly iconic of you ๐Ÿ’… This page came to you from the Qwt User's Guide (that's the source/version, mwah ๐Ÿซถ) and got stamped with its date down in the footer the way Doxygen always does โ€” go peek at it down there if you need the exact one, iykyk ๐Ÿ“…

now go forth and slay those polar grids, fr fr ๐ŸŒธ๐Ÿฆ‹๐Ÿ’–

๐Ÿ“ฆ where this page comes from