#include <qcgaugewidget.h>
Public Member Functions | |
QcScaleItem (QObject *parent=0) | |
void | setDgereeRange (float minDegree, float maxDegree) |
void | setMaxDegree (float maxDegree) |
void | setMaxValue (float maxValue) |
void | setMinDegree (float minDegree) |
void | setMinValue (float minValue) |
void | setValueRange (float minValue, float maxValue) |
Public Member Functions inherited from QcItem | |
virtual void | draw (QPainter *)=0 |
float | position () |
QcItem (QObject *parent=0) | |
QRectF | rect () |
void | setPosition (float percentage) |
virtual int | type () |
Protected Member Functions | |
float | getDegFromValue (float) |
Protected Member Functions inherited from QcItem | |
QRectF | adjustRect (float percentage) |
float | getAngle (const QPointF &, const QRectF &tmpRect) |
QPointF | getPoint (float deg, const QRectF &tmpRect) |
float | getRadius (const QRectF &) |
QRectF | resetRect () |
void | update () |
Protected Attributes | |
float | mMaxDegree |
float | mMaxValue |
float | mMinDegree |
float | mMinValue |
Additional Inherited Members | |
Public Types inherited from QcItem | |
enum | Error { InvalidValueRange, InvalidDegreeRange, InvalidStep } |
Definition at line 129 of file qcgaugewidget.h.
|
explicit |
Definition at line 242 of file qcgaugewidget.cpp.
|
protected |
Definition at line 268 of file qcgaugewidget.cpp.
void QcScaleItem::setDgereeRange | ( | float | minDegree, |
float | maxDegree | ||
) |
Definition at line 260 of file qcgaugewidget.cpp.
void QcScaleItem::setMaxDegree | ( | float | maxDegree | ) |
Definition at line 300 of file qcgaugewidget.cpp.
void QcScaleItem::setMaxValue | ( | float | maxValue | ) |
Definition at line 285 of file qcgaugewidget.cpp.
void QcScaleItem::setMinDegree | ( | float | minDegree | ) |
Definition at line 293 of file qcgaugewidget.cpp.
void QcScaleItem::setMinValue | ( | float | minValue | ) |
Definition at line 276 of file qcgaugewidget.cpp.
void QcScaleItem::setValueRange | ( | float | minValue, |
float | maxValue | ||
) |
Definition at line 251 of file qcgaugewidget.cpp.
|
protected |
Definition at line 152 of file qcgaugewidget.h.
|
protected |
Definition at line 150 of file qcgaugewidget.h.
|
protected |
Definition at line 151 of file qcgaugewidget.h.
|
protected |
Definition at line 149 of file qcgaugewidget.h.