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¶
virtual void draw (QPainter *painter, const QPoint ¢er, int length, double direction, QPalette::ColorGroup cg=QPalette::Active) const =0
Static Protected Member Functions¶
static void drawKnob (QPainter *, const QPoint &pos, int width, const QBrush &, bool sunken)
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¶
virtual void QwtDialNeedle::draw (QPainter *painter, const QPoint ¢er, intlength, doubledirection, QPalette::ColorGroupcg = QPalette::Active) const [pure 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
cg Color group, used for painting
void QwtDialNeedle::drawKnob (QPainter *painter, const QPoint &pos, intwidth, const QBrush &brush, boolsunken) [static, protected]¶
Draw the knob.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.Mon Aug 1 2011 | Version 5.2.2 |