QwtDialNeedle(3)
β¨ QwtDialNeedle(3) β¨
okay bestie, welcome to the Qwt User's Guide π this one's all about QwtDialNeedle and honestly? it's giving "abstract queen who does nothing herself but everyone else is her understudy" π
πΈ NAME πΈ
QwtDialNeedle β (the description here is literally blank in the original, no cap, she said "figure it out" π)
π SYNOPSIS π
#include <qwt_dial_needle.h>
Inherited by QwtCompassMagnetNeedle, QwtCompassWindArrow, and QwtDialSimpleNeedle. so she's the momager and these three are her clients π«Ά
π Public Member Functions π
QwtDialNeedle ()
virtual ~QwtDialNeedle ()
virtual void draw (QPainter *painter, const QPoint ¢er, int length,
double direction, QPalette::ColorGroup cg=QPalette::Active) const =0
const QPalette & palette () const
virtual void setPalette (const QPalette &)
π§ Static Protected Member Functions π§
static void drawKnob (QPainter *, const QPoint &pos, int width, const
QBrush &, bool sunken)
π Detailed Description π
so like, QwtDialNeedle is the base class for needles that can be used in a QwtDial. she's the blueprint, the blueprint-iest blueprint, periodt.
A QwtDialNeedle is a pointer that indicates a value by pointing to a specific direction. that's it, that's her whole job, and she does it flawlessly π
real talk though: Qwt is missing a set of good looking needles. Contributions are very welcome. β yes bestie they literally put a call for help in the docs π if you've got a cute needle design, the maintainers are begging, this is your main character moment, go submit it π«Ά
See also:
QwtDialQwtCompass
π Member Function Documentation π
π virtual void QwtDialNeedle::draw (QPainter *painter, const QPoint ¢er, int length, double direction, QPalette::ColorGroup cg = QPalette::Active) const [pure virtual]
Draw the needle. she's pure virtual so like, she cannot do this herself, the children have to show up and perform, no skipping rehearsal π
Parameters:
painterβ Paintercenterβ Center of the dial, start position for the needlelengthβ Length of the needledirectionβ Direction of the needle, in degrees counter clockwisecgβ Color group, used for painting
Implemented in QwtCompassWindArrow, QwtCompassMagnetNeedle, and QwtDialSimpleNeedle. those are the ones who actually ate π₯
πΈ const QPalette & QwtDialNeedle::palette () const
Returns:
- the palette of the needle.
just hands you the palette, no drama, no notes, a queen who answers your texts promptly π
π¦ void QwtDialNeedle::setPalette (const QPalette &palette) [virtual]
Sets the palette for the needle. glow-up time β¨
Parameters:
paletteβ New Palette
π Author π
Generated automatically by Doxygen for Qwt User's Guide from the source code. (so nobody hand-wrote this, a robot did, and honestly the robot did fine π)
and that's the whole page bestie, you're so welcome π
Version 5.2.3 β Tue Nov 20 2012 β QwtDialNeedle(3) β mwah, go point at something with confidence π
π¦ 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