13 #include "qwt_global.h" 
   14 #include "qwt_abstract_scale.h" 
   15 #include "qwt_interval.h" 
   53     Q_PROPERTY( Qt::Orientation orientation
 
   54         READ orientation WRITE setOrientation )
 
   56         READ scalePosition WRITE setScalePosition )
 
   57     Q_PROPERTY( 
OriginMode originMode READ originMode WRITE setOriginMode )
 
   59     Q_PROPERTY( 
bool alarmEnabled READ alarmEnabled WRITE setAlarmEnabled )
 
   60     Q_PROPERTY( 
double alarmLevel READ alarmLevel WRITE setAlarmLevel )
 
   61     Q_PROPERTY( 
double origin READ origin WRITE setOrigin )
 
   62     Q_PROPERTY( 
int spacing READ spacing WRITE setSpacing )
 
   63     Q_PROPERTY( 
int borderWidth READ borderWidth WRITE setBorderWidth )
 
   64     Q_PROPERTY( 
int pipeWidth READ pipeWidth WRITE setPipeWidth )
 
   65     Q_PROPERTY( 
double value READ value WRITE setValue )
 
  103     explicit QwtThermo( QWidget *parent = NULL );
 
  106     void setOrientation( Qt::Orientation );
 
  107     Qt::Orientation orientation() 
const;
 
  109     void setScalePosition( ScalePosition );
 
  110     ScalePosition scalePosition() 
const;
 
  112     void setSpacing( 
int );
 
  115     void setBorderWidth( 
int w );
 
  116     int borderWidth() 
const;
 
  118     void setOriginMode( OriginMode );
 
  119     OriginMode originMode() 
const;
 
  121     void setOrigin( 
double );
 
  122     double origin() 
const;
 
  124     void setFillBrush( 
const QBrush &b );
 
  125     QBrush fillBrush() 
const;
 
  127     void setAlarmBrush( 
const QBrush &b );
 
  128     QBrush alarmBrush() 
const;
 
  130     void setAlarmLevel( 
double v );
 
  131     double alarmLevel() 
const;
 
  133     void setAlarmEnabled( 
bool tf );
 
  134     bool alarmEnabled() 
const;
 
  140     void setPipeWidth( 
int w );
 
  141     int pipeWidth() 
const;
 
  146     double value() 
const;
 
  148     virtual QSize sizeHint() 
const;
 
  149     virtual QSize minimumSizeHint() 
const;
 
  155     virtual void setValue( 
double val );
 
  158     virtual void drawLiquid( QPainter *, 
const QRect & ) 
const;
 
  161     virtual void paintEvent( QPaintEvent * );
 
  162     virtual void resizeEvent( QResizeEvent * );
 
  163     virtual void changeEvent( QEvent * );
 
  167     QRect pipeRect() 
const;
 
  168     QRect fillRect( 
const QRect & ) 
const;
 
  169     QRect alarmRect( 
const QRect & ) 
const;
 
  172     void layoutThermo( 
bool );
 
The origin is the minimum of the scale. 
Definition: qwt_thermo.h:94
The scale is right of a vertical or below of a horizontal slider. 
Definition: qwt_thermo.h:79
A class for drawing scales. 
Definition: qwt_scale_draw.h:31
OriginMode
Definition: qwt_thermo.h:91
virtual void scaleChange()
Notify changed scale. 
Definition: qwt_abstract_scale.cpp:414
An abstract base class for widgets having a scale. 
Definition: qwt_abstract_scale.h:36
QwtColorMap is used to map values into colors. 
Definition: qwt_color_map.h:33
QFlags< BorderFlag > BorderFlags
Border flags. 
Definition: qwt_interval.h:49
The slider has no scale. 
Definition: qwt_thermo.h:76
ScalePosition
Definition: qwt_thermo.h:73
The Thermometer Widget. 
Definition: qwt_thermo.h:46
The origin is the maximum of the scale. 
Definition: qwt_thermo.h:97