Public Member Functions | Public Attributes

QwtThermo::PrivateData Class Reference

Collaboration diagram for QwtThermo::PrivateData:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PrivateData ()

Public Attributes

QwtScaleMap map
QRect thermoRect
QBrush fillBrush
QBrush alarmBrush
Qt::Orientation orientation
ScalePos scalePos
int borderWidth
int scaleDist
int thermoWidth
double minValue
double maxValue
double value
double alarmLevel
bool alarmEnabled

Detailed Description

Definition at line 22 of file qwt_thermo.cpp.


Constructor & Destructor Documentation

QwtThermo::PrivateData::PrivateData (  ) [inline]

Definition at line 25 of file qwt_thermo.cpp.

References map, maxValue, minValue, and QwtScaleMap::setScaleInterval().

                 :
        fillBrush(Qt::black),
        alarmBrush(Qt::white),
        orientation(Qt::Vertical),
        scalePos(QwtThermo::LeftScale),
        borderWidth(2),
        scaleDist(3),
        thermoWidth(10),
        minValue(0.0),
        maxValue(1.0),
        value(0.0),
        alarmLevel(0.0),
        alarmEnabled(false)
    {
        map.setScaleInterval(minValue, maxValue);
    }

Member Data Documentation

Definition at line 56 of file qwt_thermo.cpp.

Referenced by QwtThermo::drawThermo(), and QwtThermo::setAlarmLevel().

Definition at line 42 of file qwt_thermo.cpp.

Referenced by QwtThermo::layoutThermo(), PrivateData(), and QwtThermo::setRange().

Definition at line 50 of file qwt_thermo.cpp.

Referenced by QwtThermo::layoutThermo(), and QwtThermo::minimumSizeHint().

Definition at line 55 of file qwt_thermo.cpp.

Referenced by QwtThermo::drawThermo(), and QwtThermo::setValue().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines