QwtDialSimpleNeedle(3) | Qwt User's Guide | QwtDialSimpleNeedle(3) |
QwtDialSimpleNeedle -
#include <qwt_dial_needle.h>
Inherits QwtDialNeedle.
enum Style { Arrow, Ray }
QwtDialSimpleNeedle (Style, bool hasKnob=true, const
QColor &mid=Qt::gray, const QColor &base=Qt::darkGray)
virtual void draw (QPainter *, const QPoint &, int length, double
direction, QPalette::ColorGroup=QPalette::Active) const
void setWidth (int width)
int width () const
static void drawArrowNeedle (QPainter *, const QPalette
&, QPalette::ColorGroup, const QPoint &, int length, int
width, double direction, bool hasKnob)
static void drawRayNeedle (QPainter *, const QPalette &,
QPalette::ColorGroup, const QPoint &, int length, int width,
double direction, bool hasKnob)
A needle for dial widgets.
The following colors are used:
See also:
Constructor
Parameters:
Draw the needle
Parameters:
Implements QwtDialNeedle.
Draw a needle looking like an arrow
Parameters:
Draw a needle looking like a ray
Parameters:
Set the width of the needle
Parameters:
See also:
Returns:
See also:
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Tue Nov 20 2012 | Version 5.2.3 |