QwtCompassWindArrow(3)
π¨ QwtCompassWindArrow β the QwtCompassWindArrow(3) page π¨
okay bestie so we're in the Qwt User's Guide manual, page 3 of the QwtCompassWindArrow saga, and it's giving "wind vane but make it C++" π¬οΈβ¨
β¨ NAME β¨
QwtCompassWindArrow β like, that's the whole name, no subtitle, no extra lore, just vibes π
πΈ SYNOPSIS πΈ
#include <qwt_dial_needle.h>
Inherits QwtDialNeedle. Yeah she's part of the family, we love an inheritance moment π«Ά
π Public Types π
enum Style { Style1, Style2 }β literally just two styles. pick your fighter.
π¦ Public Member Functions π¦
QwtCompassWindArrow (Style, const QColor &light=Qt::white, const QColor &dark=Qt::gray)virtual void draw (QPainter *, const QPoint &, int length, double direction, QPalette::ColorGroup=QPalette::Active) const
π Static Public Member Functions π
static void drawStyle1Needle (QPainter *, const QPalette &, QPalette::ColorGroup, const QPoint &, int length, double direction)static void drawStyle2Needle (QPainter *, const QPalette &, QPalette::ColorGroup, const QPoint &, int length, double direction)
π Additional Inherited Members π
(yes queen, she also got the whole inherited set from QwtDialNeedle β no cap, they're just not re-listed here π)
π Detailed Description π
An indicator for the wind direction. That's it. That's the job. main character energy fr fr πͺοΈ
QwtCompassWindArrow shows the direction where the wind comes from β so like, the origin, the source, the birthplace of the breeze π¨
QColorGroup::Lightβ Used forStyle1, or the light half ofStyle2QColorGroup::Darkβ Used for the dark half ofStyle2
See also:
QwtDialQwtCompass
π οΈ Constructor & Destructor Documentation π οΈ
QwtCompassWindArrow::QwtCompassWindArrow (Stylestyle, const QColor &light = Qt::white, const QColor &dark = Qt::gray)
Constructor β¨ (yes, she's constructed, she's built different)
Parameters:
styleβ Arrow stylelightβ Light colordarkβ Dark color
π Member Function Documentation π
void QwtCompassWindArrow::draw (QPainter *painter, const QPoint ¢er, intlength, doubledirection, QPalette::ColorGroupcolorGroup = QPalette::Active) const [virtual]
Draw the needle πͺ‘ okay so this is THE moment, this is where the needle actually gets drawn
Parameters:
painterβ Paintercenterβ Center of the dial, start position for the needlelengthβ Length of the needledirectionβ Direction of the needle, in degrees counter clockwisecolorGroupβ Color group, used for painting
Implements QwtDialNeedle. π«Ά
void QwtCompassWindArrow::drawStyle1Needle (QPainter *painter, const QPalette &palette, QPalette::ColorGroupcolorGroup, const QPoint ¢er, intlength, doubledirection) [static]
Draw a compass needle π§ (Style 1 edition, iconic behavior)
Parameters:
painterβ Painterpaletteβ PalettecolorGroupβ colorGroupcenterβ Center of the dial, start position for the needlelengthβ Length of the needledirectionβ Direction of the needle, in degrees counter clockwise
void QwtCompassWindArrow::drawStyle2Needle (QPainter *painter, const QPalette &palette, QPalette::ColorGroupcolorGroup, const QPoint ¢er, intlength, doubledirection) [static]
Draw a compass needle π§ (Style 2 edition, the sequel, the encore, the remix π)
Parameters:
painterβ Painterpaletteβ PalettecolorGroupβ colorGroupcenterβ Center of the dial, start position for the needlelengthβ Length of the needledirectionβ Direction of the needle, in degrees counter clockwise
π Author π
Generated automatically by Doxygen for Qwt User's Guide from the source code. (not a human author, just Doxygen doing its lil autopilot thing, we stan a generator π€π)
and that's the whole page bestie, you ate that π β¨
okay so before you go β this was Version 5.2.3, dated Tue Nov 20 2012, from the Qwt User's Guide, and it was QwtCompassWindArrow(3) the whole time πβπ bye ily, go draw a wind arrow ππ§
π¦ where this page comes from
- epel 9: qwt5-qt5-devel 5.2.3a-12.20210522gita2b11e3.el9 Β· LGPLv2+ with exceptions
- fedora 43: qwt5-qt5-devel 5.2.3a-22.20210522gita2b11e3.fc43 Β· LGPL-2.1-or-later WITH Qwt-exception-1.0
- fedora 43: qwt5-qt5-devel 5.2.3a-22.20210522gita2b11e3.fc43 Β· LGPL-2.1-or-later WITH Qwt-exception-1.0
- fedora 44: qwt5-qt5-devel 5.2.3a-23.20210522gita2b11e3.fc44 Β· LGPL-2.1-or-later WITH Qwt-exception-1.0
- fedora 44: qwt5-qt5-devel 5.2.3a-23.20210522gita2b11e3.fc44 Β· LGPL-2.1-or-later WITH Qwt-exception-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms