Public Member Functions | Private Attributes
QcBackgroundItem Class Reference

#include <qcgaugewidget.h>

Inheritance diagram for QcBackgroundItem:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 159 of file qcgaugewidget.h.


Constructor & Destructor Documentation

QcBackgroundItem::QcBackgroundItem ( QObject *  parent = 0) [explicit]

Definition at line 311 of file qcgaugewidget.cpp.


Member Function Documentation

void QcBackgroundItem::addColor ( float  position,
const QColor &  color 
)

Definition at line 337 of file qcgaugewidget.cpp.

Definition at line 348 of file qcgaugewidget.cpp.

void QcBackgroundItem::draw ( QPainter *  painter) [virtual]

Implements QcItem.

Definition at line 324 of file qcgaugewidget.cpp.


Member Data Documentation

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.


The documentation for this class was generated from the following files:


gauges
Author(s):
autogenerated on Thu Dec 8 2016 03:30:53