#include <qcgaugewidget.h>
Public Member Functions | |
float | angle () |
QColor | color () |
virtual void | draw (QPainter *) |
QcLabelItem (QObject *parent=0) | |
void | setAngle (float) |
void | setColor (const QColor &color) |
void | setText (const QString &text, bool repaint=true) |
QString | text () |
Public Member Functions inherited from QcItem | |
float | position () |
QcItem (QObject *parent=0) | |
QRectF | rect () |
void | setPosition (float percentage) |
virtual int | type () |
Private Attributes | |
float | mAngle |
QColor | mColor |
QString | mText |
Additional Inherited Members | |
Public Types inherited from QcItem | |
enum | Error { InvalidValueRange, InvalidDegreeRange, InvalidStep } |
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 () |
Definition at line 192 of file qcgaugewidget.h.
|
explicit |
Definition at line 390 of file qcgaugewidget.cpp.
float QcLabelItem::angle | ( | ) |
Definition at line 424 of file qcgaugewidget.cpp.
QColor QcLabelItem::color | ( | ) |
Definition at line 447 of file qcgaugewidget.cpp.
|
virtual |
Implements QcItem.
Definition at line 399 of file qcgaugewidget.cpp.
void QcLabelItem::setAngle | ( | float | a | ) |
Definition at line 418 of file qcgaugewidget.cpp.
void QcLabelItem::setColor | ( | const QColor & | color | ) |
Definition at line 441 of file qcgaugewidget.cpp.
void QcLabelItem::setText | ( | const QString & | text, |
bool | repaint = true |
||
) |
Definition at line 429 of file qcgaugewidget.cpp.
QString QcLabelItem::text | ( | ) |
Definition at line 436 of file qcgaugewidget.cpp.
|
private |
Definition at line 206 of file qcgaugewidget.h.
|
private |
Definition at line 208 of file qcgaugewidget.h.
|
private |
Definition at line 207 of file qcgaugewidget.h.