1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>Qwt User's Guide: QwtThermo Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.0 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
12
<li><a href="files.html"><span>Files</span></a></li>
13
<li><a href="pages.html"><span>Related Pages</span></a></li>
17
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
18
<li><a href="annotated.html"><span>Class List</span></a></li>
19
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
20
<li><a href="functions.html"><span>Class Members</span></a></li>
22
<h1>QwtThermo Class Reference</h1><!-- doxytag: class="QwtThermo" --><!-- doxytag: inherits="QwtAbstractScale" -->Inheritance diagram for QwtThermo:<p><center><img src="class_qwt_thermo__inherit__graph.png" border="0" usemap="#_qwt_thermo__inherit__map" alt="Inheritance graph"></center>
23
<map name="_qwt_thermo__inherit__map">
24
<area href="class_qwt_abstract_scale.html" shape="rect" coords="7,8,135,32" alt="">
26
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtThermo:<p><center><img src="class_qwt_thermo__coll__graph.png" border="0" usemap="#_qwt_thermo__coll__map" alt="Collaboration graph"></center>
27
<map name="_qwt_thermo__coll__map">
28
<area href="class_qwt_abstract_scale.html" shape="rect" coords="7,8,135,32" alt="">
30
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_thermo-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
31
The Thermometer Widget.
33
<a class="el" href="class_qwt_thermo.html">QwtThermo</a> is a widget which displays a value in an interval. It supports:<ul>
34
<li>a horizontal or vertical layout;</li><li>a range;</li><li>a scale;</li><li>an alarm level.</li></ul>
37
<img src="sysinfo.png" alt="sysinfo.png">
40
By default, the scale and range run over the same interval of values. <a class="el" href="class_qwt_abstract_scale.html#91af529248b556ef130add4bcfc60bb2">QwtAbstractScale::setScale()</a> changes the interval of the scale and allows easy conversion between physical units.<p>
41
The example shows how to make the scale indicate in degrees Fahrenheit and to set the value in degrees Kelvin: <div class="fragment"><pre class="fragment"><span class="preprocessor">#include <qapplication.h></span>
42
<span class="preprocessor">#include <qwt_thermo.h></span>
44
<span class="keywordtype">double</span> Kelvin2Fahrenheit(<span class="keywordtype">double</span> kelvin)
46
<span class="comment">// see http://en.wikipedia.org/wiki/Kelvin</span>
47
<span class="keywordflow">return</span> 1.8*kelvin - 459.67;
50
<span class="keywordtype">int</span> main(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> **argv)
52
<span class="keyword">const</span> <span class="keywordtype">double</span> minKelvin = 0.0;
53
<span class="keyword">const</span> <span class="keywordtype">double</span> maxKelvin = 500.0;
55
QApplication a(argc, argv);
56
<a class="code" href="class_qwt_thermo.html">QwtThermo</a> t;
57
t.<a class="code" href="class_qwt_thermo.html#b9f660f7ed2c0878926cb6f02dbfe9fc">setRange</a>(minKelvin, maxKelvin);
58
t.<a class="code" href="class_qwt_abstract_scale.html#91af529248b556ef130add4bcfc60bb2">setScale</a>(Kelvin2Fahrenheit(minKelvin), Kelvin2Fahrenheit(maxKelvin));
59
<span class="comment">// set the value in Kelvin but the scale displays in Fahrenheit</span>
60
<span class="comment">// 273.15 Kelvin = 0 Celsius = 32 Fahrenheit</span>
61
t.<a class="code" href="class_qwt_thermo.html#d54ebf4761c12f948d09cd45a26d1fd4">setValue</a>(273.15);
62
a.setMainWidget(&t);
64
<span class="keywordflow">return</span> a.exec();
67
<dl compact><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>Improve the support for a logarithmic range and/or scale. </dd></dl>
72
Definition at line <a class="el" href="qwt__thermo_8h-source.html#l00069">69</a> of file <a class="el" href="qwt__thermo_8h-source.html">qwt_thermo.h</a>.<table border="0" cellpadding="0" cellspacing="0">
74
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
75
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#adfd670812eef5a798dcdb58cffb039b">ScalePos</a> { <br>
76
<b>NoScale</b>,
78
<b>LeftScale</b>,
80
<b>RightScale</b>,
82
<b>TopScale</b>,
84
<b>BottomScale</b>,
86
<b>NoScale</b>,
88
<b>LeftScale</b>,
90
<b>RightScale</b>,
92
<b>TopScale</b>,
94
<b>BottomScale</b>
98
<tr><td colspan="2"><br><h2>Public Slots</h2></td></tr>
99
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#d54ebf4761c12f948d09cd45a26d1fd4">setValue</a> (double val)</td></tr>
101
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
102
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#1d5bb3608c29cd8d104f22f0ffe31098">QwtThermo</a> (QWidget *parent=NULL)</td></tr>
104
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#d0e2bd43eae2402ade490a5e6c4ef4ae">~QwtThermo</a> ()</td></tr>
106
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#c75f2d908e4e9315ac764cfc2dc920e1">setOrientation</a> (Qt::Orientation o, <a class="el" href="class_qwt_thermo.html#adfd670812eef5a798dcdb58cffb039b">ScalePos</a> s)</td></tr>
108
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#4dac08b98a634918178bc69f3352cffd">setScalePosition</a> (<a class="el" href="class_qwt_thermo.html#adfd670812eef5a798dcdb58cffb039b">ScalePos</a> s)</td></tr>
110
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_thermo.html#adfd670812eef5a798dcdb58cffb039b">ScalePos</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#b25d397292a3c0210d5ae9ae7a28aca1">scalePosition</a> () const</td></tr>
112
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#25821f13d01848a1a37690d4796311bc">setBorderWidth</a> (int w)</td></tr>
114
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#d30227f6efef0b8fc0c13a9b2975b6e8">borderWidth</a> () const</td></tr>
116
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#f6ad0c2ca39afb30bb79a326484c9a21">setFillBrush</a> (const QBrush &b)</td></tr>
118
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QBrush & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#518db519a0a2b7fa1ed483a77cb8a9ae">fillBrush</a> () const</td></tr>
120
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#f7738ccbd41d9c5a66fb9dd36198bdc7">setFillColor</a> (const QColor &c)</td></tr>
122
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QColor & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#300f5aa31114da6e3770912866f31729">fillColor</a> () const</td></tr>
124
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#1d6a0fae32e21fe6c5f54762073dbe8b">setAlarmBrush</a> (const QBrush &b)</td></tr>
126
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QBrush & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#8cff6fd8ab6ad1e5f05493ebb3d63abc">alarmBrush</a> () const</td></tr>
128
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#bec11e74cd21aff565496faa81732194">setAlarmColor</a> (const QColor &c)</td></tr>
130
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QColor & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#5aa65c09b84e5df747a1aedcc8519cb6">alarmColor</a> () const</td></tr>
132
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#b42dff878632d210050be2be03535f6a">setAlarmLevel</a> (double v)</td></tr>
134
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#ee9cf6c14feecc68fd866b0a5c1ab06b">alarmLevel</a> () const</td></tr>
136
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#bed75ea5e839ee4afed2c96f6927721e">setAlarmEnabled</a> (bool tf)</td></tr>
138
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#d64e8d51c78a359494c48e02d9ce5caa">alarmEnabled</a> () const</td></tr>
140
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#9d3a55a818ebf0dd508e20ca9eef224b">setPipeWidth</a> (int w)</td></tr>
142
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#4f3901a508a3d299a3a17b1a2c4753fc">pipeWidth</a> () const</td></tr>
144
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#84db82c29e3431a1eaef9c3cd913a105">setMaxValue</a> (double v)</td></tr>
146
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#55a9807fd7477d586ff19ae30f8afbaa">maxValue</a> () const</td></tr>
148
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#cf1b3d160eeb5b5763cc6f4cb9976f3d">setMinValue</a> (double v)</td></tr>
150
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#eddf5d4f97aec6faa3ab54e78f842f1d">minValue</a> () const</td></tr>
152
<tr><td class="memItemLeft" nowrap align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#9d8083ca1d7c3980f29e996893b73a3b">value</a> () const</td></tr>
154
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#b9f660f7ed2c0878926cb6f02dbfe9fc">setRange</a> (double vmin, double vmax, bool lg=false)</td></tr>
156
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#3d4eeb20cf2259f49a4b45893bd0f979">setMargin</a> (int m)</td></tr>
158
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#1cc23f51dd1cac3d95e191fab7357335">sizeHint</a> () const</td></tr>
160
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#c932b0a497b11c6ad5fc2e18889c4a02">minimumSizeHint</a> () const</td></tr>
162
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8b5ab653b893e41116200570632ad1c3"></a><!-- doxytag: member="QwtThermo::setScaleDraw" ref="8b5ab653b893e41116200570632ad1c3" args="(QwtScaleDraw *)" -->
163
void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#8b5ab653b893e41116200570632ad1c3">setScaleDraw</a> (<a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> *)</td></tr>
165
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="33b8af6538a01433f73971f3532d0ce0"></a><!-- doxytag: member="QwtThermo::scaleDraw" ref="33b8af6538a01433f73971f3532d0ce0" args="() const" -->
166
const <a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#33b8af6538a01433f73971f3532d0ce0">scaleDraw</a> () const</td></tr>
168
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
169
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#d976ad3862954c8d5ce65b3c5903bd61">draw</a> (QPainter *p, const QRect &update_rect)</td></tr>
171
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#1208e039b825fa252e37c3c442a21a83">drawThermo</a> (QPainter *p)</td></tr>
173
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#29ce009b8b0546b7ce04936d27fb8364">layoutThermo</a> (bool update=true)</td></tr>
175
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#3f2f5077580235a5a776805a9721c8ba">scaleChange</a> ()</td></tr>
177
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#20c19809bb9674a2e1ad2f2501a3d44a">fontChange</a> (const QFont &oldFont)</td></tr>
179
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#f7d628cb5c8a7f3e62f1696007299bd1">paintEvent</a> (QPaintEvent *e)</td></tr>
181
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#c28bbfadd5d69841ac93ec9524d5f2be">resizeEvent</a> (QResizeEvent *e)</td></tr>
183
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7d0f262032c034c5da703ec2f2d120b7"></a><!-- doxytag: member="QwtThermo::scaleDraw" ref="7d0f262032c034c5da703ec2f2d120b7" args="()" -->
184
<a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#7d0f262032c034c5da703ec2f2d120b7">scaleDraw</a> ()</td></tr>
187
<hr><h2>Constructor & Destructor Documentation</h2>
188
<a class="anchor" name="1d5bb3608c29cd8d104f22f0ffe31098"></a><!-- doxytag: member="QwtThermo::QwtThermo" ref="1d5bb3608c29cd8d104f22f0ffe31098" args="(QWidget *parent=NULL)" -->
189
<div class="memitem">
190
<div class="memproto">
191
<table class="memname">
193
<td class="memname">QwtThermo::QwtThermo </td>
195
<td class="paramtype">QWidget * </td>
196
<td class="paramname"> <em>parent</em> = <code>NULL</code> </td>
197
<td> ) </td>
198
<td width="100%"><code> [explicit]</code></td>
205
Constructor <dl compact><dt><b>Parameters:</b></dt><dd>
206
<table border="0" cellspacing="2" cellpadding="0">
207
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Parent widget </td></tr>
212
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00064">64</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
215
<a class="anchor" name="d0e2bd43eae2402ade490a5e6c4ef4ae"></a><!-- doxytag: member="QwtThermo::~QwtThermo" ref="d0e2bd43eae2402ade490a5e6c4ef4ae" args="()" -->
216
<div class="memitem">
217
<div class="memproto">
218
<table class="memname">
220
<td class="memname">QwtThermo::~QwtThermo </td>
222
<td class="paramname"> </td>
223
<td> ) </td>
224
<td width="100%"><code> [virtual]</code></td>
235
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00105">105</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
238
<hr><h2>Member Function Documentation</h2>
239
<a class="anchor" name="c75f2d908e4e9315ac764cfc2dc920e1"></a><!-- doxytag: member="QwtThermo::setOrientation" ref="c75f2d908e4e9315ac764cfc2dc920e1" args="(Qt::Orientation o, ScalePos s)" -->
240
<div class="memitem">
241
<div class="memproto">
242
<table class="memname">
244
<td class="memname">void QwtThermo::setOrientation </td>
246
<td class="paramtype">Qt::Orientation </td>
247
<td class="paramname"> <em>o</em>, </td>
250
<td class="paramkey"></td>
252
<td class="paramtype"><a class="el" href="class_qwt_thermo.html#adfd670812eef5a798dcdb58cffb039b">ScalePos</a> </td>
253
<td class="paramname"> <em>s</em></td><td> </td>
258
<td></td><td></td><td width="100%"></td>
265
Set the thermometer orientation and the scale position.
267
The scale position NoScale disables the scale. <dl compact><dt><b>Parameters:</b></dt><dd>
268
<table border="0" cellspacing="2" cellpadding="0">
269
<tr><td valign="top"></td><td valign="top"><em>o</em> </td><td>orientation. Possible values are Qt::Horizontal and Qt::Vertical. The default value is Qt::Vertical. </td></tr>
270
<tr><td valign="top"></td><td valign="top"><em>s</em> </td><td>Position of the scale. The default value is NoScale.</td></tr>
273
A valid combination of scale position and orientation is enforced:<ul>
274
<li>a horizontal thermometer can have the scale positions TopScale, BottomScale or NoScale;</li><li>a vertical thermometer can have the scale positions LeftScale, RightScale or NoScale;</li><li>an invalid scale position will default to NoScale.</li></ul>
276
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#4dac08b98a634918178bc69f3352cffd">QwtThermo::setScalePosition()</a> </dd></dl>
279
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00346">346</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
281
References <a class="el" href="qwt__thermo_8cpp-source.html#l00223">layoutThermo()</a>.
283
Referenced by <a class="el" href="qwt__thermo_8cpp-source.html#l00409">setScalePosition()</a>.
286
<a class="anchor" name="4dac08b98a634918178bc69f3352cffd"></a><!-- doxytag: member="QwtThermo::setScalePosition" ref="4dac08b98a634918178bc69f3352cffd" args="(ScalePos s)" -->
287
<div class="memitem">
288
<div class="memproto">
289
<table class="memname">
291
<td class="memname">void QwtThermo::setScalePosition </td>
293
<td class="paramtype"><a class="el" href="class_qwt_thermo.html#adfd670812eef5a798dcdb58cffb039b">ScalePos</a> </td>
294
<td class="paramname"> <em>s</em> </td>
295
<td> ) </td>
296
<td width="100%"></td>
303
Change the scale position (and thermometer orientation).
305
<dl compact><dt><b>Parameters:</b></dt><dd>
306
<table border="0" cellspacing="2" cellpadding="0">
307
<tr><td valign="top"></td><td valign="top"><em>s</em> </td><td>Position of the scale.</td></tr>
310
A valid combination of scale position and orientation is enforced:<ul>
311
<li>if the new scale position is LeftScale or RightScale, the scale orientation will become Qt::Vertical;</li><li>if the new scale position is BottomScale or TopScale, the scale orientation will become Qt::Horizontal;</li><li>if the new scale position is NoScale, the scale orientation will not change.</li></ul>
313
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#c75f2d908e4e9315ac764cfc2dc920e1">QwtThermo::setOrientation()</a> </dd></dl>
316
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00409">409</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
318
References <a class="el" href="qwt__thermo_8cpp-source.html#l00346">setOrientation()</a>.
321
<a class="anchor" name="b25d397292a3c0210d5ae9ae7a28aca1"></a><!-- doxytag: member="QwtThermo::scalePosition" ref="b25d397292a3c0210d5ae9ae7a28aca1" args="() const" -->
322
<div class="memitem">
323
<div class="memproto">
324
<table class="memname">
326
<td class="memname"><a class="el" href="class_qwt_thermo.html#adfd670812eef5a798dcdb58cffb039b">QwtThermo::ScalePos</a> QwtThermo::scalePosition </td>
328
<td class="paramname"> </td>
329
<td> ) </td>
330
<td width="100%"> const</td>
337
Return the scale position.
341
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00420">420</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
344
<a class="anchor" name="25821f13d01848a1a37690d4796311bc"></a><!-- doxytag: member="QwtThermo::setBorderWidth" ref="25821f13d01848a1a37690d4796311bc" args="(int w)" -->
345
<div class="memitem">
346
<div class="memproto">
347
<table class="memname">
349
<td class="memname">void QwtThermo::setBorderWidth </td>
351
<td class="paramtype">int </td>
352
<td class="paramname"> <em>w</em> </td>
353
<td> ) </td>
354
<td width="100%"></td>
361
Set the border width of the pipe.
365
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00604">604</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
367
References <a class="el" href="qwt__thermo_8cpp-source.html#l00223">layoutThermo()</a>.
370
<a class="anchor" name="d30227f6efef0b8fc0c13a9b2975b6e8"></a><!-- doxytag: member="QwtThermo::borderWidth" ref="d30227f6efef0b8fc0c13a9b2975b6e8" args="() const" -->
371
<div class="memitem">
372
<div class="memproto">
373
<table class="memname">
375
<td class="memname">int QwtThermo::borderWidth </td>
377
<td class="paramname"> </td>
378
<td> ) </td>
379
<td width="100%"> const</td>
386
Return the border width of the thermometer pipe.
390
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00615">615</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
393
<a class="anchor" name="f6ad0c2ca39afb30bb79a326484c9a21"></a><!-- doxytag: member="QwtThermo::setFillBrush" ref="f6ad0c2ca39afb30bb79a326484c9a21" args="(const QBrush &b)" -->
394
<div class="memitem">
395
<div class="memproto">
396
<table class="memname">
398
<td class="memname">void QwtThermo::setFillBrush </td>
400
<td class="paramtype">const QBrush & </td>
401
<td class="paramname"> <em>brush</em> </td>
402
<td> ) </td>
403
<td width="100%"></td>
410
Change the brush of the liquid.
412
<dl compact><dt><b>Parameters:</b></dt><dd>
413
<table border="0" cellspacing="2" cellpadding="0">
414
<tr><td valign="top"></td><td valign="top"><em>brush</em> </td><td>New brush. The default brush is solid black. </td></tr>
419
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00655">655</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
422
<a class="anchor" name="518db519a0a2b7fa1ed483a77cb8a9ae"></a><!-- doxytag: member="QwtThermo::fillBrush" ref="518db519a0a2b7fa1ed483a77cb8a9ae" args="() const" -->
423
<div class="memitem">
424
<div class="memproto">
425
<table class="memname">
427
<td class="memname">const QBrush & QwtThermo::fillBrush </td>
429
<td class="paramname"> </td>
430
<td> ) </td>
431
<td width="100%"> const</td>
438
Return the liquid brush.
442
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00662">662</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
445
<a class="anchor" name="f7738ccbd41d9c5a66fb9dd36198bdc7"></a><!-- doxytag: member="QwtThermo::setFillColor" ref="f7738ccbd41d9c5a66fb9dd36198bdc7" args="(const QColor &c)" -->
446
<div class="memitem">
447
<div class="memproto">
448
<table class="memname">
450
<td class="memname">void QwtThermo::setFillColor </td>
452
<td class="paramtype">const QColor & </td>
453
<td class="paramname"> <em>c</em> </td>
454
<td> ) </td>
455
<td width="100%"></td>
462
Change the color of the liquid.
464
<dl compact><dt><b>Parameters:</b></dt><dd>
465
<table border="0" cellspacing="2" cellpadding="0">
466
<tr><td valign="top"></td><td valign="top"><em>c</em> </td><td>New color. The default color is black. </td></tr>
471
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00671">671</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
474
<a class="anchor" name="300f5aa31114da6e3770912866f31729"></a><!-- doxytag: member="QwtThermo::fillColor" ref="300f5aa31114da6e3770912866f31729" args="() const" -->
475
<div class="memitem">
476
<div class="memproto">
477
<table class="memname">
479
<td class="memname">const QColor & QwtThermo::fillColor </td>
481
<td class="paramname"> </td>
482
<td> ) </td>
483
<td width="100%"> const</td>
490
Return the liquid color.
494
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00678">678</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
497
<a class="anchor" name="1d6a0fae32e21fe6c5f54762073dbe8b"></a><!-- doxytag: member="QwtThermo::setAlarmBrush" ref="1d6a0fae32e21fe6c5f54762073dbe8b" args="(const QBrush &b)" -->
498
<div class="memitem">
499
<div class="memproto">
500
<table class="memname">
502
<td class="memname">void QwtThermo::setAlarmBrush </td>
504
<td class="paramtype">const QBrush & </td>
505
<td class="paramname"> <em>brush</em> </td>
506
<td> ) </td>
507
<td width="100%"></td>
514
Specify the liquid brush above the alarm threshold.
516
<dl compact><dt><b>Parameters:</b></dt><dd>
517
<table border="0" cellspacing="2" cellpadding="0">
518
<tr><td valign="top"></td><td valign="top"><em>brush</em> </td><td>New brush. The default is solid white. </td></tr>
523
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00687">687</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
526
<a class="anchor" name="8cff6fd8ab6ad1e5f05493ebb3d63abc"></a><!-- doxytag: member="QwtThermo::alarmBrush" ref="8cff6fd8ab6ad1e5f05493ebb3d63abc" args="() const" -->
527
<div class="memitem">
528
<div class="memproto">
529
<table class="memname">
531
<td class="memname">const QBrush & QwtThermo::alarmBrush </td>
533
<td class="paramname"> </td>
534
<td> ) </td>
535
<td width="100%"> const</td>
542
Return the liquid brush above the alarm threshold.
546
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00694">694</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
549
<a class="anchor" name="bec11e74cd21aff565496faa81732194"></a><!-- doxytag: member="QwtThermo::setAlarmColor" ref="bec11e74cd21aff565496faa81732194" args="(const QColor &c)" -->
550
<div class="memitem">
551
<div class="memproto">
552
<table class="memname">
554
<td class="memname">void QwtThermo::setAlarmColor </td>
556
<td class="paramtype">const QColor & </td>
557
<td class="paramname"> <em>c</em> </td>
558
<td> ) </td>
559
<td width="100%"></td>
566
Specify the liquid color above the alarm threshold.
568
<dl compact><dt><b>Parameters:</b></dt><dd>
569
<table border="0" cellspacing="2" cellpadding="0">
570
<tr><td valign="top"></td><td valign="top"><em>c</em> </td><td>New color. The default is white. </td></tr>
575
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00703">703</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
578
<a class="anchor" name="5aa65c09b84e5df747a1aedcc8519cb6"></a><!-- doxytag: member="QwtThermo::alarmColor" ref="5aa65c09b84e5df747a1aedcc8519cb6" args="() const" -->
579
<div class="memitem">
580
<div class="memproto">
581
<table class="memname">
583
<td class="memname">const QColor & QwtThermo::alarmColor </td>
585
<td class="paramname"> </td>
586
<td> ) </td>
587
<td width="100%"> const</td>
594
Return the liquid color above the alarm threshold.
598
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00710">710</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
601
<a class="anchor" name="b42dff878632d210050be2be03535f6a"></a><!-- doxytag: member="QwtThermo::setAlarmLevel" ref="b42dff878632d210050be2be03535f6a" args="(double v)" -->
602
<div class="memitem">
603
<div class="memproto">
604
<table class="memname">
606
<td class="memname">void QwtThermo::setAlarmLevel </td>
608
<td class="paramtype">double </td>
609
<td class="paramname"> <em>v</em> </td>
610
<td> ) </td>
611
<td width="100%"></td>
618
Specify the alarm threshold.
622
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00716">716</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
625
<a class="anchor" name="ee9cf6c14feecc68fd866b0a5c1ab06b"></a><!-- doxytag: member="QwtThermo::alarmLevel" ref="ee9cf6c14feecc68fd866b0a5c1ab06b" args="() const" -->
626
<div class="memitem">
627
<div class="memproto">
628
<table class="memname">
630
<td class="memname">double QwtThermo::alarmLevel </td>
632
<td class="paramname"> </td>
633
<td> ) </td>
634
<td width="100%"> const</td>
641
Return the alarm threshold.
645
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00724">724</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
648
<a class="anchor" name="bed75ea5e839ee4afed2c96f6927721e"></a><!-- doxytag: member="QwtThermo::setAlarmEnabled" ref="bed75ea5e839ee4afed2c96f6927721e" args="(bool tf)" -->
649
<div class="memitem">
650
<div class="memproto">
651
<table class="memname">
653
<td class="memname">void QwtThermo::setAlarmEnabled </td>
655
<td class="paramtype">bool </td>
656
<td class="paramname"> <em>tf</em> </td>
657
<td> ) </td>
658
<td width="100%"></td>
665
Enable or disable the alarm threshold.
667
<dl compact><dt><b>Parameters:</b></dt><dd>
668
<table border="0" cellspacing="2" cellpadding="0">
669
<tr><td valign="top"></td><td valign="top"><em>tf</em> </td><td>true (disabled) or false (enabled) </td></tr>
674
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00769">769</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
677
<a class="anchor" name="d64e8d51c78a359494c48e02d9ce5caa"></a><!-- doxytag: member="QwtThermo::alarmEnabled" ref="d64e8d51c78a359494c48e02d9ce5caa" args="() const" -->
678
<div class="memitem">
679
<div class="memproto">
680
<table class="memname">
682
<td class="memname">bool QwtThermo::alarmEnabled </td>
684
<td class="paramname"> </td>
685
<td> ) </td>
686
<td width="100%"> const</td>
693
Return if the alarm threshold is enabled or disabled.
697
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00776">776</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
700
<a class="anchor" name="9d3a55a818ebf0dd508e20ca9eef224b"></a><!-- doxytag: member="QwtThermo::setPipeWidth" ref="9d3a55a818ebf0dd508e20ca9eef224b" args="(int w)" -->
701
<div class="memitem">
702
<div class="memproto">
703
<table class="memname">
705
<td class="memname">void QwtThermo::setPipeWidth </td>
707
<td class="paramtype">int </td>
708
<td class="paramname"> <em>w</em> </td>
709
<td> ) </td>
710
<td width="100%"></td>
717
Change the width of the pipe.
721
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00730">730</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
723
References <a class="el" href="qwt__thermo_8cpp-source.html#l00223">layoutThermo()</a>.
726
<a class="anchor" name="4f3901a508a3d299a3a17b1a2c4753fc"></a><!-- doxytag: member="QwtThermo::pipeWidth" ref="4f3901a508a3d299a3a17b1a2c4753fc" args="() const" -->
727
<div class="memitem">
728
<div class="memproto">
729
<table class="memname">
731
<td class="memname">int QwtThermo::pipeWidth </td>
733
<td class="paramname"> </td>
734
<td> ) </td>
735
<td width="100%"> const</td>
742
Return the width of the pipe.
746
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00740">740</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
749
<a class="anchor" name="84db82c29e3431a1eaef9c3cd913a105"></a><!-- doxytag: member="QwtThermo::setMaxValue" ref="84db82c29e3431a1eaef9c3cd913a105" args="(double v)" -->
750
<div class="memitem">
751
<div class="memproto">
752
<table class="memname">
754
<td class="memname">void QwtThermo::setMaxValue </td>
756
<td class="paramtype">double </td>
757
<td class="paramname"> <em>v</em> </td>
758
<td> ) </td>
759
<td width="100%"></td>
766
Set the maximum value.
770
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00111">111</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
772
References <a class="el" href="qwt__thermo_8cpp-source.html#l00626">setRange()</a>.
775
<a class="anchor" name="55a9807fd7477d586ff19ae30f8afbaa"></a><!-- doxytag: member="QwtThermo::maxValue" ref="55a9807fd7477d586ff19ae30f8afbaa" args="() const" -->
776
<div class="memitem">
777
<div class="memproto">
778
<table class="memname">
780
<td class="memname">double QwtThermo::maxValue </td>
782
<td class="paramname"> </td>
783
<td> ) </td>
784
<td width="100%"> const</td>
791
Return the maximum value.
795
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00117">117</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
798
<a class="anchor" name="cf1b3d160eeb5b5763cc6f4cb9976f3d"></a><!-- doxytag: member="QwtThermo::setMinValue" ref="cf1b3d160eeb5b5763cc6f4cb9976f3d" args="(double v)" -->
799
<div class="memitem">
800
<div class="memproto">
801
<table class="memname">
803
<td class="memname">void QwtThermo::setMinValue </td>
805
<td class="paramtype">double </td>
806
<td class="paramname"> <em>v</em> </td>
807
<td> ) </td>
808
<td width="100%"></td>
815
Set the minimum value.
819
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00123">123</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
821
References <a class="el" href="qwt__thermo_8cpp-source.html#l00626">setRange()</a>.
824
<a class="anchor" name="eddf5d4f97aec6faa3ab54e78f842f1d"></a><!-- doxytag: member="QwtThermo::minValue" ref="eddf5d4f97aec6faa3ab54e78f842f1d" args="() const" -->
825
<div class="memitem">
826
<div class="memproto">
827
<table class="memname">
829
<td class="memname">double QwtThermo::minValue </td>
831
<td class="paramname"> </td>
832
<td> ) </td>
833
<td width="100%"> const</td>
840
Return the minimum value.
844
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00129">129</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
847
<a class="anchor" name="9d8083ca1d7c3980f29e996893b73a3b"></a><!-- doxytag: member="QwtThermo::value" ref="9d8083ca1d7c3980f29e996893b73a3b" args="() const" -->
848
<div class="memitem">
849
<div class="memproto">
850
<table class="memname">
852
<td class="memname">double QwtThermo::value </td>
854
<td class="paramname"> </td>
855
<td> ) </td>
856
<td width="100%"> const</td>
867
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00145">145</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
870
<a class="anchor" name="b9f660f7ed2c0878926cb6f02dbfe9fc"></a><!-- doxytag: member="QwtThermo::setRange" ref="b9f660f7ed2c0878926cb6f02dbfe9fc" args="(double vmin, double vmax, bool lg=false)" -->
871
<div class="memitem">
872
<div class="memproto">
873
<table class="memname">
875
<td class="memname">void QwtThermo::setRange </td>
877
<td class="paramtype">double </td>
878
<td class="paramname"> <em>vmin</em>, </td>
881
<td class="paramkey"></td>
883
<td class="paramtype">double </td>
884
<td class="paramname"> <em>vmax</em>, </td>
887
<td class="paramkey"></td>
889
<td class="paramtype">bool </td>
890
<td class="paramname"> <em>logarithmic</em> = <code>false</code></td><td> </td>
895
<td></td><td></td><td width="100%"></td>
904
<dl compact><dt><b>Parameters:</b></dt><dd>
905
<table border="0" cellspacing="2" cellpadding="0">
906
<tr><td valign="top"></td><td valign="top"><em>vmin</em> </td><td>value corresponding lower or left end of the thermometer </td></tr>
907
<tr><td valign="top"></td><td valign="top"><em>vmax</em> </td><td>value corresponding to the upper or right end of the thermometer </td></tr>
908
<tr><td valign="top"></td><td valign="top"><em>logarithmic</em> </td><td>logarithmic mapping, true or false </td></tr>
913
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00626">626</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
915
References <a class="el" href="qwt__abstract__scale_8cpp-source.html#l00159">QwtAbstractScale::autoScale()</a>, <a class="el" href="qwt__thermo_8cpp-source.html#l00223">layoutThermo()</a>, <a class="el" href="qwt__abstract__scale_8cpp-source.html#l00127">QwtAbstractScale::rescale()</a>, <a class="el" href="qwt__abstract__scale_8cpp-source.html#l00282">QwtAbstractScale::scaleEngine()</a>, and <a class="el" href="qwt__abstract__scale_8cpp-source.html#l00269">QwtAbstractScale::setScaleEngine()</a>.
917
Referenced by <a class="el" href="qwt__thermo_8cpp-source.html#l00111">setMaxValue()</a>, and <a class="el" href="qwt__thermo_8cpp-source.html#l00123">setMinValue()</a>.
920
<a class="anchor" name="3d4eeb20cf2259f49a4b45893bd0f979"></a><!-- doxytag: member="QwtThermo::setMargin" ref="3d4eeb20cf2259f49a4b45893bd0f979" args="(int m)" -->
921
<div class="memitem">
922
<div class="memproto">
923
<table class="memname">
925
<td class="memname">void QwtThermo::setMargin </td>
927
<td class="paramtype">int </td>
928
<td class="paramname"> <em>m</em> </td>
929
<td> ) </td>
930
<td width="100%"></td>
937
Specify the distance between the pipe's endpoints and the widget's border.
939
The margin is used to leave some space for the scale labels. If a large font is used, it is advisable to adjust the margins. <dl compact><dt><b>Parameters:</b></dt><dd>
940
<table border="0" cellspacing="2" cellpadding="0">
941
<tr><td valign="top"></td><td valign="top"><em>m</em> </td><td>New Margin. The default values are 10 for horizontal orientation and 20 for vertical orientation. </td></tr>
944
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>The margin has no effect if the scale is disabled. <p>
945
This function is a NOOP because margins are determined automatically. </dd></dl>
948
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00760">760</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
951
<a class="anchor" name="1cc23f51dd1cac3d95e191fab7357335"></a><!-- doxytag: member="QwtThermo::sizeHint" ref="1cc23f51dd1cac3d95e191fab7357335" args="() const" -->
952
<div class="memitem">
953
<div class="memproto">
954
<table class="memname">
956
<td class="memname">QSize QwtThermo::sizeHint </td>
958
<td class="paramname"> </td>
959
<td> ) </td>
960
<td width="100%"> const<code> [virtual]</code></td>
967
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the minimum size hint </dd></dl>
968
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#c932b0a497b11c6ad5fc2e18889c4a02">QwtThermo::minimumSizeHint</a> </dd></dl>
971
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00785">785</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
973
References <a class="el" href="qwt__thermo_8cpp-source.html#l00795">minimumSizeHint()</a>.
976
<a class="anchor" name="c932b0a497b11c6ad5fc2e18889c4a02"></a><!-- doxytag: member="QwtThermo::minimumSizeHint" ref="c932b0a497b11c6ad5fc2e18889c4a02" args="() const" -->
977
<div class="memitem">
978
<div class="memproto">
979
<table class="memname">
981
<td class="memname">QSize QwtThermo::minimumSizeHint </td>
983
<td class="paramname"> </td>
984
<td> ) </td>
985
<td width="100%"> const<code> [virtual]</code></td>
992
Return a minimum size hint.
994
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>The return value depends on the font and the scale. </dd></dl>
995
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#1cc23f51dd1cac3d95e191fab7357335">QwtThermo::sizeHint</a> </dd></dl>
998
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00795">795</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
1000
References <a class="el" href="qwt__scale__draw_8cpp-source.html#l00280">QwtScaleDraw::extent()</a>, <a class="el" href="qwt__scale__draw_8cpp-source.html#l00318">QwtScaleDraw::minLength()</a>, and <a class="el" href="qwt__thermo_8cpp-source.html#l00155">scaleDraw()</a>.
1002
Referenced by <a class="el" href="qwt__thermo_8cpp-source.html#l00785">sizeHint()</a>.
1005
<a class="anchor" name="d54ebf4761c12f948d09cd45a26d1fd4"></a><!-- doxytag: member="QwtThermo::setValue" ref="d54ebf4761c12f948d09cd45a26d1fd4" args="(double val)" -->
1006
<div class="memitem">
1007
<div class="memproto">
1008
<table class="memname">
1010
<td class="memname">void QwtThermo::setValue </td>
1012
<td class="paramtype">double </td>
1013
<td class="paramname"> <em>val</em> </td>
1014
<td> ) </td>
1015
<td width="100%"><code> [slot]</code></td>
1019
<div class="memdoc">
1022
Set the current value.
1026
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00135">135</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
1029
<a class="anchor" name="d976ad3862954c8d5ce65b3c5903bd61"></a><!-- doxytag: member="QwtThermo::draw" ref="d976ad3862954c8d5ce65b3c5903bd61" args="(QPainter *p, const QRect &update_rect)" -->
1030
<div class="memitem">
1031
<div class="memproto">
1032
<table class="memname">
1034
<td class="memname">void QwtThermo::draw </td>
1036
<td class="paramtype">QPainter * </td>
1037
<td class="paramname"> <em>p</em>, </td>
1040
<td class="paramkey"></td>
1042
<td class="paramtype">const QRect & </td>
1043
<td class="paramname"> <em>update_rect</em></td><td> </td>
1048
<td></td><td></td><td width="100%"><code> [protected]</code></td>
1052
<div class="memdoc">
1055
Draw the whole <a class="el" href="class_qwt_thermo.html">QwtThermo</a>.
1059
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00183">183</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
1061
References <a class="el" href="qwt__abstract__scale__draw_8cpp-source.html#l00165">QwtAbstractScaleDraw::draw()</a>, <a class="el" href="qwt__thermo_8cpp-source.html#l00440">drawThermo()</a>, and <a class="el" href="qwt__thermo_8cpp-source.html#l00155">scaleDraw()</a>.
1063
Referenced by <a class="el" href="qwt__thermo_8cpp-source.html#l00166">paintEvent()</a>.
1066
<a class="anchor" name="1208e039b825fa252e37c3c442a21a83"></a><!-- doxytag: member="QwtThermo::drawThermo" ref="1208e039b825fa252e37c3c442a21a83" args="(QPainter *p)" -->
1067
<div class="memitem">
1068
<div class="memproto">
1069
<table class="memname">
1071
<td class="memname">void QwtThermo::drawThermo </td>
1073
<td class="paramtype">QPainter * </td>
1074
<td class="paramname"> <em>p</em> </td>
1075
<td> ) </td>
1076
<td width="100%"><code> [protected]</code></td>
1080
<div class="memdoc">
1083
Redraw the liquid in thermometer pipe.
1087
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00440">440</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
1089
Referenced by <a class="el" href="qwt__thermo_8cpp-source.html#l00183">draw()</a>.
1092
<a class="anchor" name="29ce009b8b0546b7ce04936d27fb8364"></a><!-- doxytag: member="QwtThermo::layoutThermo" ref="29ce009b8b0546b7ce04936d27fb8364" args="(bool update=true)" -->
1093
<div class="memitem">
1094
<div class="memproto">
1095
<table class="memname">
1097
<td class="memname">void QwtThermo::layoutThermo </td>
1099
<td class="paramtype">bool </td>
1100
<td class="paramname"> <em>update_geometry</em> = <code>true</code> </td>
1101
<td> ) </td>
1102
<td width="100%"><code> [protected]</code></td>
1106
<div class="memdoc">
1109
Recalculate the <a class="el" href="class_qwt_thermo.html">QwtThermo</a> geometry and layout based on the QwtThermo::rect() and the fonts. <dl compact><dt><b>Parameters:</b></dt><dd>
1110
<table border="0" cellspacing="2" cellpadding="0">
1111
<tr><td valign="top"></td><td valign="top"><em>update_geometry</em> </td><td>notify the layout system and call update to redraw the scale </td></tr>
1116
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00223">223</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
1118
References <a class="el" href="qwt__scale__draw_8cpp-source.html#l00139">QwtScaleDraw::getBorderDistHint()</a>, <a class="el" href="qwt__scale__draw_8h-source.html#l00104">QwtScaleDraw::move()</a>, <a class="el" href="qwt__thermo_8cpp-source.html#l00155">scaleDraw()</a>, <a class="el" href="qwt__scale__draw_8cpp-source.html#l00102">QwtScaleDraw::setAlignment()</a>, and <a class="el" href="qwt__scale__draw_8cpp-source.html#l00589">QwtScaleDraw::setLength()</a>.
1120
Referenced by <a class="el" href="qwt__thermo_8cpp-source.html#l00426">fontChange()</a>, <a class="el" href="qwt__thermo_8cpp-source.html#l00212">resizeEvent()</a>, <a class="el" href="qwt__thermo_8cpp-source.html#l00433">scaleChange()</a>, <a class="el" href="qwt__thermo_8cpp-source.html#l00604">setBorderWidth()</a>, <a class="el" href="qwt__thermo_8cpp-source.html#l00346">setOrientation()</a>, <a class="el" href="qwt__thermo_8cpp-source.html#l00730">setPipeWidth()</a>, and <a class="el" href="qwt__thermo_8cpp-source.html#l00626">setRange()</a>.
1123
<a class="anchor" name="3f2f5077580235a5a776805a9721c8ba"></a><!-- doxytag: member="QwtThermo::scaleChange" ref="3f2f5077580235a5a776805a9721c8ba" args="()" -->
1124
<div class="memitem">
1125
<div class="memproto">
1126
<table class="memname">
1128
<td class="memname">void QwtThermo::scaleChange </td>
1130
<td class="paramname"> </td>
1131
<td> ) </td>
1132
<td width="100%"><code> [protected, virtual]</code></td>
1136
<div class="memdoc">
1139
Notify a scale change.
1143
Reimplemented from <a class="el" href="class_qwt_abstract_scale.html#0dbb7bdc557c0a7b163643e41970ed6a">QwtAbstractScale</a>.
1145
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00433">433</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
1147
References <a class="el" href="qwt__thermo_8cpp-source.html#l00223">layoutThermo()</a>.
1150
<a class="anchor" name="20c19809bb9674a2e1ad2f2501a3d44a"></a><!-- doxytag: member="QwtThermo::fontChange" ref="20c19809bb9674a2e1ad2f2501a3d44a" args="(const QFont &oldFont)" -->
1151
<div class="memitem">
1152
<div class="memproto">
1153
<table class="memname">
1155
<td class="memname">void QwtThermo::fontChange </td>
1157
<td class="paramtype">const QFont & </td>
1158
<td class="paramname"> <em>oldFont</em> </td>
1159
<td> ) </td>
1160
<td width="100%"><code> [protected, virtual]</code></td>
1164
<div class="memdoc">
1167
Notify a font change.
1171
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00426">426</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
1173
References <a class="el" href="qwt__thermo_8cpp-source.html#l00223">layoutThermo()</a>.
1176
<a class="anchor" name="f7d628cb5c8a7f3e62f1696007299bd1"></a><!-- doxytag: member="QwtThermo::paintEvent" ref="f7d628cb5c8a7f3e62f1696007299bd1" args="(QPaintEvent *e)" -->
1177
<div class="memitem">
1178
<div class="memproto">
1179
<table class="memname">
1181
<td class="memname">void QwtThermo::paintEvent </td>
1183
<td class="paramtype">QPaintEvent * </td>
1184
<td class="paramname"> <em>e</em> </td>
1185
<td> ) </td>
1186
<td width="100%"><code> [protected, virtual]</code></td>
1190
<div class="memdoc">
1197
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00166">166</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
1199
References <a class="el" href="qwt__thermo_8cpp-source.html#l00183">draw()</a>.
1202
<a class="anchor" name="c28bbfadd5d69841ac93ec9524d5f2be"></a><!-- doxytag: member="QwtThermo::resizeEvent" ref="c28bbfadd5d69841ac93ec9524d5f2be" args="(QResizeEvent *e)" -->
1203
<div class="memitem">
1204
<div class="memproto">
1205
<table class="memname">
1207
<td class="memname">void QwtThermo::resizeEvent </td>
1209
<td class="paramtype">QResizeEvent * </td>
1210
<td class="paramname"> <em>e</em> </td>
1211
<td> ) </td>
1212
<td width="100%"><code> [protected, virtual]</code></td>
1216
<div class="memdoc">
1219
Qt resize event handler.
1223
Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00212">212</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.
1225
References <a class="el" href="qwt__thermo_8cpp-source.html#l00223">layoutThermo()</a>.
1228
<hr size="1"><address style="align: right;"><small>Generated on Thu May 1 15:45:53 2008 for Qwt User's Guide by
1229
<a href="http://www.doxygen.org/index.html">
1230
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>