#include <qcgaugewidget.h>
Public Member Functions | |
void | draw (QPainter *painter) |
QcDegreesItem (QObject *parent=0) | |
void | setColor (const QColor &color) |
void | setStep (float step) |
void | setSubDegree (bool) |
Public Member Functions inherited from QcScaleItem | |
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 | |
float | position () |
QcItem (QObject *parent=0) | |
QRectF | rect () |
void | setPosition (float percentage) |
virtual int | type () |
Private Attributes | |
QColor | mColor |
float | mStep |
bool | mSubDegree |
Additional Inherited Members | |
Public Types inherited from QcItem | |
enum | Error { InvalidValueRange, InvalidDegreeRange, InvalidStep } |
Protected Member Functions inherited from QcScaleItem | |
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 inherited from QcScaleItem | |
float | mMaxDegree |
float | mMaxValue |
float | mMinDegree |
float | mMinValue |
Definition at line 253 of file qcgaugewidget.h.
|
explicit |
Definition at line 548 of file qcgaugewidget.cpp.
|
virtual |
Implements QcItem.
Definition at line 558 of file qcgaugewidget.cpp.
void QcDegreesItem::setColor | ( | const QColor & | color | ) |
Definition at line 591 of file qcgaugewidget.cpp.
void QcDegreesItem::setStep | ( | float | step | ) |
Definition at line 585 of file qcgaugewidget.cpp.
void QcDegreesItem::setSubDegree | ( | bool | b | ) |
Definition at line 597 of file qcgaugewidget.cpp.
|
private |
Definition at line 264 of file qcgaugewidget.h.
|
private |
Definition at line 263 of file qcgaugewidget.h.
|
private |
Definition at line 265 of file qcgaugewidget.h.