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 312 of file qcgaugewidget.cpp.


Member Function Documentation

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

Definition at line 338 of file qcgaugewidget.cpp.

Definition at line 349 of file qcgaugewidget.cpp.

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

Implements QcItem.

Definition at line 325 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): alexvs
autogenerated on Mon Nov 14 2016 03:33:07