conflicting packages
QwtDialNeedle(3) | Qwt User's Guide | QwtDialNeedle(3) |
NAME¶
QwtDialNeedle - Base class for needles that can be used in a QwtDial.SYNOPSIS¶
#include <qwt_dial_needle.h> Inherited by QwtCompassMagnetNeedle, QwtCompassWindArrow, and QwtDialSimpleNeedle.Public Member Functions¶
QwtDialNeedle ()
Protected Member Functions¶
virtual void drawNeedle (QPainter *painter, double length, QPalette::ColorGroup colorGroup) const =0
Detailed Description¶
Base class for needles that can be used in a QwtDial.QwtDial, QwtCompass
Constructor & Destructor Documentation¶
QwtDialNeedle::QwtDialNeedle ()¶
Constructor.QwtDialNeedle::~QwtDialNeedle () [virtual]¶
Destructor.Member Function Documentation¶
void QwtDialNeedle::draw (QPainter *painter, const QPointF ¢er, doublelength, doubledirection, QPalette::ColorGroupcolorGroup = QPalette::Active) const [virtual] Draw the needle¶
Parameters:painter Painter
center Center of the dial, start position for the needle
length Length of the needle
direction Direction of the needle, in degrees counter clockwise
colorGroup Color group, used for painting
void QwtDialNeedle::drawKnob (QPainter *painter, doublewidth, const QBrush &brush, boolsunken) const [protected, virtual]¶
Draw the knob.virtual void QwtDialNeedle::drawNeedle (QPainter *painter, doublelength, QPalette::ColorGroupcolorGroup) const [protected, pure virtual]¶
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 initilaized with translation and rotation. Parameters:painter Painter
length Length of the needle
colorGroup Color group, used for painting
See also:
setPalette(), palette()
const QPalette & QwtDialNeedle::palette () const Returns:¶
the palette of the needle.
void QwtDialNeedle::setPalette (const QPalette &palette) [virtual] Sets the palette for the needle.¶
Parameters:palette New Palette
Author¶
Generated automatically by Doxygen for Qwt User's Guide from the source code.Fri Apr 15 2011 | Version 6.0.0 |