#include <qcgaugewidget.h>
Public Member Functions | |
void | addColor (float position, const QColor &color) |
void | clearrColors () |
void | draw (QPainter *) |
QcBackgroundItem (QObject *parent=0) | |
Private Attributes | |
QList< QPair< float, QColor > > | mColors |
QLinearGradient | mLinearGrad |
QPen | mPen |
Definition at line 159 of file qcgaugewidget.h.
QcBackgroundItem::QcBackgroundItem | ( | QObject * | parent = 0 | ) | [explicit] |
Definition at line 311 of file qcgaugewidget.cpp.
void QcBackgroundItem::addColor | ( | float | position, |
const QColor & | color | ||
) |
Definition at line 337 of file qcgaugewidget.cpp.
void QcBackgroundItem::clearrColors | ( | ) |
Definition at line 348 of file qcgaugewidget.cpp.
void QcBackgroundItem::draw | ( | QPainter * | painter | ) | [virtual] |
Implements QcItem.
Definition at line 324 of file qcgaugewidget.cpp.
QList<QPair<float,QColor> > QcBackgroundItem::mColors [private] |
Definition at line 171 of file qcgaugewidget.h.
QLinearGradient QcBackgroundItem::mLinearGrad [private] |
Definition at line 172 of file qcgaugewidget.h.
QPen QcBackgroundItem::mPen [private] |
Definition at line 170 of file qcgaugewidget.h.