|
Qwt User's Guide
5.2.3
|
#include <qwt_dial.h>

Public Member Functions | |
| QwtDialScaleDraw (QwtDial *) | |
| virtual QwtText | label (double value) const |
| uint | penWidth () const |
| void | setPenWidth (uint) |
Public Member Functions inherited from QwtRoundScaleDraw | |
| QwtRoundScaleDraw () | |
| QwtRoundScaleDraw (const QwtRoundScaleDraw &) | |
| virtual | ~QwtRoundScaleDraw () |
| QPoint | center () const |
| virtual int | extent (const QPen &, const QFont &) const |
| void | moveCenter (int x, int y) |
| void | moveCenter (const QPoint &) |
| QwtRoundScaleDraw & | operator= (const QwtRoundScaleDraw &other) |
| int | radius () const |
| void | setAngleRange (double angle1, double angle2) |
| void | setRadius (int radius) |
Public Member Functions inherited from QwtAbstractScaleDraw | |
| QwtAbstractScaleDraw () | |
| QwtAbstractScaleDraw (const QwtAbstractScaleDraw &) | |
| virtual | ~QwtAbstractScaleDraw () |
| virtual void | draw (QPainter *, const QPalette &) const |
| void | enableComponent (ScaleComponent, bool enable=true) |
| bool | hasComponent (ScaleComponent) const |
| int | majTickLength () const |
| const QwtScaleMap & | map () const |
| int | minimumExtent () const |
| QwtAbstractScaleDraw & | operator= (const QwtAbstractScaleDraw &) |
| const QwtScaleDiv & | scaleDiv () const |
| QwtScaleMap & | scaleMap () |
| void | setMinimumExtent (int) |
| void | setScaleDiv (const QwtScaleDiv &s) |
| void | setSpacing (int margin) |
| void | setTickLength (QwtScaleDiv::TickType, int length) |
| void | setTransformation (QwtScaleTransformation *) |
| int | spacing () const |
| int | tickLength (QwtScaleDiv::TickType) const |
Additional Inherited Members | |
Protected Member Functions inherited from QwtRoundScaleDraw | |
| virtual void | drawBackbone (QPainter *p) const |
| virtual void | drawLabel (QPainter *p, double val) const |
| virtual void | drawTick (QPainter *p, double val, int len) const |
Protected Member Functions inherited from QwtAbstractScaleDraw | |
| void | invalidateCache () |
| const QwtText & | tickLabel (const QFont &, double value) const |
A special scale draw made for QwtDial.
|
explicit |
Constructor
| parent | Parent dial widget |
|
virtual |
Call QwtDial::scaleLabel of the parent dial widget.
| value | Value to display |
Reimplemented from QwtAbstractScaleDraw.
| uint QwtDialScaleDraw::penWidth | ( | ) | const |
| void QwtDialScaleDraw::setPenWidth | ( | uint | penWidth | ) |
Set the pen width used for painting the scale
| penWidth | Pen width |
1.8.1