QwtDialNeedle(3) | Qwt User's Guide | QwtDialNeedle(3) |
QwtDialNeedle - Base class for needles that can be used in a QwtDial.
#include <qwt_dial_needle.h>
Inherited by QwtCompassMagnetNeedle, QwtCompassWindArrow, and QwtDialSimpleNeedle.
QwtDialNeedle ()
Constructor. virtual ~QwtDialNeedle ()
Destructor. virtual void setPalette (const QPalette &)
const QPalette & palette () const
virtual void draw (QPainter *painter, const QPointF ¢er, double
length, double direction, QPalette::ColorGroup=QPalette::Active) const
virtual void drawNeedle (QPainter *painter, double length,
QPalette::ColorGroup colorGroup) const =0
Draw the needle. virtual void drawKnob (QPainter *, double width, const
QBrush &, bool sunken) const
Draw the knob.
Base class for needles that can be used in a QwtDial.
QwtDialNeedle is a pointer that indicates a value by pointing to a specific direction.
See also:
Draw the needle
Parameters:
Draw the needle. The origin of the needle is at position (0.0, 0.0 ) pointing in direction 0.0 ( = east ).
The painter is already initialized with translation and rotation.
Parameters:
See also:
Implemented in QwtCompassWindArrow, QwtCompassMagnetNeedle, and QwtDialSimpleNeedle.
Returns:
Sets the palette for the needle.
Parameters:
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |