QwtCompassWindArrow(3)
π§ QwtCompassWindArrow(3) β the wind-direction icon, bestie
okay so picture this: a little arrow on your compass dial that tells you where the wind is coming FROM. that's her. that's the whole vibe. this is from the Qwt User's Guide manual, and honestly she's iconic π¨π
β¨ NAME β¨
QwtCompassWindArrow β an indicator for the wind direction. literally her only job and she ate π«Ά
πΈ SYNOPSIS πΈ
#include <qwt_dial_needle.h>
Inherits QwtDialNeedle. so she's got the family genes, yk? π
π Public Types
enum Style { Style1, Style2 }β the style of the arrow. two flavors, both slay.
π Public Member Functions
QwtCompassWindArrow (Style, const QColor &light=Qt::white, const QColor &dark=Qt::gray)β the constructor, we'll get into her below π
π¦ Public Member Functions inherited from QwtDialNeedle
QwtDialNeedle ()β constructor.virtual ~QwtDialNeedle ()β destructor.virtual void setPalette (const QPalette &)β sets the palette.const QPalette & palette () constβ hands you back the palette.virtual void draw (QPainter *, const QPointF ¢er, double length, double direction, QPalette::ColorGroup=QPalette::Active) constβ the drawing one.
π Protected Member Functions
virtual void drawNeedle (QPainter *, double length, QPalette::ColorGroup) const overrideβ she overrides this one, noted βοΈ
π§ Protected Member Functions inherited from QwtDialNeedle
virtual void drawKnob (QPainter *, double width, const QBrush &, bool sunken) constβ draw the knob.
π Detailed Description π
An indicator for the wind direction.
QwtCompassWindArrow shows the direction where the wind comes from. like she's not saying where it's going, she's saying where it came from. main character with a backstory fr π¬οΈ
here's how she uses your palette colors:
QPalette::Lightβ used forStyle1, or the light half ofStyle2β¨QPalette::Darkβ used for the dark half ofStyle2π
See also:QwtDial,QwtCompass
Definition at line 164 of file qwt_dial_needle.h. noted, saved, screenshot, framed πΈ
β Member Enumeration Documentation β
enum QwtCompassWindArrow::Style
Style of the arrow. that's it that's the description, we love a short queen π
Enumerator
Style1β a needle pointing to the center. yes queen, point inward π―Style2β a needle pointing to the center. ...yeah bestie the docs said the same thing twice and i'm not gonna lie to you π both of them point to the center, that's what it says, i don't make the rules
Definition at line 168 of file qwt_dial_needle.h.
π Constructor & Destructor Documentation π
QwtCompassWindArrow::QwtCompassWindArrow (Style style, const QColor & light = Qt::white, const QColor & dark = Qt::gray)
Constructor. the birth of an icon honestly πΌβ¨
Parameters
styleβ arrow stylelightβ light colordarkβ dark color
Definition at line 409 of file qwt_dial_needle.cpp.
π¦ Member Function Documentation π¦
void QwtCompassWindArrow::drawNeedle (QPainter * painter, double length, QPalette::ColorGroup colorGroup) const [override], [protected], [virtual]
Draw the needle. the moment we've all been waiting for π«
Parameters
painterβ painterlengthβ length of the needlecolorGroupβ color group, used for painting
Implements QwtDialNeedle. she's fulfilling her inherited destiny π«Ά
Definition at line 427 of file qwt_dial_needle.cpp.
π Author π
Generated automatically by Doxygen for Qwt User's Guide from the source code. so nobody actually "wrote" this, a robot did, and honestly the robot understood the assignment π€π
and that's the whole page bestie, no cap, every flag and line number intact, i would never do you dirty like that π
kisses, stay windy π¬οΈπ
β ur fave, signing off on QwtCompassWindArrow(3) from the Qwt User's Guide (source: auto-generated Doxygen output, no date on the original footer, so i'm not gonna invent one, iykyk πβ¨)
π¦ 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