Public Member Functions | Private Member Functions | Private Attributes
QcColorBand Class Reference

#include <qcgaugewidget.h>

Inheritance diagram for QcColorBand:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void draw (QPainter *)
 QcColorBand (QObject *parent=0)
void setColors (const QList< QPair< QColor, float > > &colors)

Private Member Functions

QPainterPath createSubBand (float from, float sweep)

Private Attributes

QList< QPair< QColor, float > > mBandColors
float mBandStartValue

Detailed Description

Definition at line 236 of file qcgaugewidget.h.


Constructor & Destructor Documentation

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

Definition at line 484 of file qcgaugewidget.cpp.


Member Function Documentation

QPainterPath QcColorBand::createSubBand ( float  from,
float  sweep 
) [private]

Definition at line 506 of file qcgaugewidget.cpp.

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

Implements QcItem.

Definition at line 515 of file qcgaugewidget.cpp.

void QcColorBand::setColors ( const QList< QPair< QColor, float > > &  colors)

Definition at line 538 of file qcgaugewidget.cpp.


Member Data Documentation

QList<QPair<QColor,float> > QcColorBand::mBandColors [private]

Definition at line 247 of file qcgaugewidget.h.

Definition at line 248 of file qcgaugewidget.h.


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


gauges
Author(s):
autogenerated on Sat Jun 8 2019 19:36:20