Sophie

Sophie

distrib > Mandriva > cooker > i586 > by-pkgid > 76bdad05b5dca2a491582dbec0713d55 > files > 689

libqwt-devel-6.0.1-2.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Qwt User&#39;s Guide: QwtThermo Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Qwt User's Guide&#160;<span id="projectnumber">6.0.1</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<h1>QwtThermo Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="QwtThermo" --><!-- doxytag: inherits="QwtAbstractScale" -->
<p>The Thermometer Widget.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__thermo_8h_source.html">qwt_thermo.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtThermo:</div>
<div class="dyncontent">
<div class="center"><img src="class_qwt_thermo__inherit__graph.png" border="0" usemap="#_qwt_thermo_inherit__map" alt="Inheritance graph"/></div>
<map name="_qwt_thermo_inherit__map" id="_qwt_thermo_inherit__map">
<area shape="rect" id="node2" href="class_qwt_abstract_scale.html" title="An abstract base class for classes containing a scale." alt="" coords="5,5,131,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_qwt_thermo-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#aadfd670812eef5a798dcdb58cffb039b">ScalePos</a> { <br/>
&#160;&#160;<a class="el" href="class_qwt_thermo.html#aadfd670812eef5a798dcdb58cffb039ba54c98c1e9500e24a5f92e71a7020acbd">NoScale</a>, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_thermo.html#aadfd670812eef5a798dcdb58cffb039ba8f3291df2eb61faf79442c40f8b73462">LeftScale</a>, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_thermo.html#aadfd670812eef5a798dcdb58cffb039ba354f9fd8fb37f32523aa136e5a2d3f29">RightScale</a>, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_thermo.html#aadfd670812eef5a798dcdb58cffb039ba35b7fe04e03040bfd48c15902fb295a3">TopScale</a>, 
<br/>
&#160;&#160;<a class="el" href="class_qwt_thermo.html#aadfd670812eef5a798dcdb58cffb039bad1c0e45dcc79fad82d8b30c0bc5455d8">BottomScale</a>
<br/>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#ad54ebf4761c12f948d09cd45a26d1fd4">setValue</a> (double val)</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QBrush &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a63ae7b54ff9010289072ba156849d461">alarmBrush</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a98d686ce15953eecd774e6c1dbb75286">alarmEnabled</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a5ed8270840b7e23c539fdd67c3b6b846">alarmLevel</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a01f1f43502a8ba14988a0bd3142d94b1">autoScale</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#aa3e9ce551b041571bdc2688930cf553c">borderWidth</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_color_map.html">QwtColorMap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a8d9285fdda3f6f26fc0d9aa35b5f021e">colorMap</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_color_map.html">QwtColorMap</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a00e16d590b76602a85ef7bf32533e945">colorMap</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QBrush &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a20f5039265bf80486a339de63d7d0b49">fillBrush</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a57da0b3bccc325422d24e0fd1d285177">maxValue</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a7bdc0a01f646b3cacda48bffc7c2057d">minimumSizeHint</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#abdfe677ea62da9bc0f99818bd38a0723">minValue</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#aae17760ab12807624b63b6caeae5f3d0">pipeWidth</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a1d5bb3608c29cd8d104f22f0ffe31098">QwtThermo</a> (QWidget *parent=NULL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_interval.html#a678a26fcaa91cca596d9aebcbf5776c9">QwtInterval::BorderFlags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a3b05d842b667cf8724f8a900f0d05b34">rangeFlags</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#aaacb94a49eb05c91a3896d202f79ec46">scaleDraw</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a5b8084cc735933ce9338fd2df1126f0e">scaleEngine</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#aea3b9d4912f1c28671f232e4100936d7">scaleEngine</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a68f120e12e373796b5d74199a9b8a4b0">scaleMap</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a4cfbcd9880297b1ca28fa824e3f4c3e6">scaleMaxMajor</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a5b23fafbb56bb43fd241c1839256357f">scaleMaxMinor</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_thermo.html#aadfd670812eef5a798dcdb58cffb039b">ScalePos</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a4eef07dad032e3e6d65b3e9ece076190">scalePosition</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a1d6a0fae32e21fe6c5f54762073dbe8b">setAlarmBrush</a> (const QBrush &amp;b)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#abed75ea5e839ee4afed2c96f6927721e">setAlarmEnabled</a> (bool tf)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#ab42dff878632d210050be2be03535f6a">setAlarmLevel</a> (double v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#ade952bd5cbde1dba015bc16b880e3a28">setAutoScale</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a25821f13d01848a1a37690d4796311bc">setBorderWidth</a> (int w)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#ad2ac0e2d496fd3d28f83f61728b83337">setColorMap</a> (<a class="el" href="class_qwt_color_map.html">QwtColorMap</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#af6ad0c2ca39afb30bb79a326484c9a21">setFillBrush</a> (const QBrush &amp;b)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a84db82c29e3431a1eaef9c3cd913a105">setMaxValue</a> (double v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#acf1b3d160eeb5b5763cc6f4cb9976f3d">setMinValue</a> (double v)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a4333da9b34ae63016ef99d5f182d155e">setOrientation</a> (Qt::Orientation, <a class="el" href="class_qwt_thermo.html#aadfd670812eef5a798dcdb58cffb039b">ScalePos</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a9d3a55a818ebf0dd508e20ca9eef224b">setPipeWidth</a> (int w)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#ab9f660f7ed2c0878926cb6f02dbfe9fc">setRange</a> (double vmin, double vmax, bool lg=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#aa2ce6d6d20097fead0baca0ab31ef1b2">setRangeFlags</a> (<a class="el" href="class_qwt_interval.html#a678a26fcaa91cca596d9aebcbf5776c9">QwtInterval::BorderFlags</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a1e85d35fda2e18bad16e8aa43dbe99b4">setScale</a> (const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;, double step=0.0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a91af529248b556ef130add4bcfc60bb2">setScale</a> (double vmin, double vmax, double step=0.0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#ad002e1a352ecf85c1a8595a138d42db7">setScale</a> (const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a8b5ab653b893e41116200570632ad1c3">setScaleDraw</a> (<a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#aa00f44140af3f2b7595cb6e23371198f">setScaleEngine</a> (<a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a40fdb4572ad8fdec8b93766ff5f8eda8">setScaleMaxMajor</a> (int ticks)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a6520bb1e52571f865b21b3710786a4db">setScaleMaxMinor</a> (int ticks)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a4dac08b98a634918178bc69f3352cffd">setScalePosition</a> (<a class="el" href="class_qwt_thermo.html#aadfd670812eef5a798dcdb58cffb039b">ScalePos</a> s)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a5d772862c760019a7797f45aa6b0690f">setSpacing</a> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#abdb43977b3628a0b42039bef071c81cd">sizeHint</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a16ca09c525bb05c7316ae6accb7aad79">spacing</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#ae359eec1e467ad86706b9cccb4e04c97">value</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#ad0e2bd43eae2402ade490a5e6c4ef4ae">~QwtThermo</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_abstract_scale_draw.html">QwtAbstractScaleDraw</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#ab3c5f30892792e5ca3d84f4409ef6216">abstractScaleDraw</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_abstract_scale_draw.html">QwtAbstractScaleDraw</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#aa61afdff037ef745a6dad686537cdb96">abstractScaleDraw</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#abb6858178fa0361ce9c4775944b96352">changeEvent</a> (QEvent *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#ab9cca3cab3a8950b66e14b995b86beb8">drawLiquid</a> (QPainter *, const QRect &amp;) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a7ae9fe53b0b0925d88fd9e1e4eb026f7">paintEvent</a> (QPaintEvent *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QRect&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a3359ca7488990dab26b182448b38395b">pipeRect</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#abd7c6b312b41882a3b509aadc9ada46e">rescale</a> (double vmin, double vmax, double step=0.0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a31ea86c3ab9c6925752dc8d6215fd9f0">resizeEvent</a> (QResizeEvent *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a3f2f5077580235a5a776805a9721c8ba">scaleChange</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_thermo.html#a7d0f262032c034c5da703ec2f2d120b7">scaleDraw</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_abstract_scale.html#a950c5bf521dc704b78f76c7951346288">setAbstractScaleDraw</a> (<a class="el" href="class_qwt_abstract_scale_draw.html">QwtAbstractScaleDraw</a> *)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The Thermometer Widget. </p>
<p><a class="el" href="class_qwt_thermo.html" title="The Thermometer Widget.">QwtThermo</a> is a widget which displays a value in an interval. It supports:</p>
<ul>
<li>a horizontal or vertical layout;</li>
<li>a range;</li>
<li>a scale;</li>
<li>an alarm level.</li>
</ul>
<div align="center">
<img src="sysinfo.png" alt="sysinfo.png"/>
</div>
<p>The fill colors might be calculated from an optional color map If no color map has been assigned <a class="el" href="class_qwt_thermo.html" title="The Thermometer Widget.">QwtThermo</a> uses the following colors/brushes from the widget palette:</p>
<ul>
<li>QPalette::Base Background of the pipe</li>
<li>QPalette::ButtonText Fill brush below the alarm level</li>
<li>QPalette::Highlight Fill brush for the values above the alarm level</li>
<li>QPalette::WindowText For the axis of the scale</li>
<li>QPalette::Text For the labels of the scale</li>
</ul>
<p>By default, the scale and range run over the same interval of values. <a class="el" href="class_qwt_abstract_scale.html#a91af529248b556ef130add4bcfc60bb2" title="Specify a scale.">QwtAbstractScale::setScale()</a> changes the interval of the scale and allows easy conversion between physical units.</p>
<p>The example shows how to make the scale indicate in degrees Fahrenheit and to set the value in degrees Kelvin: </p>
<div class="fragment"><pre class="fragment"><span class="preprocessor">#include &lt;qapplication.h&gt;</span>
<span class="preprocessor">#include &lt;qwt_thermo.h&gt;</span>

<span class="keywordtype">double</span> Kelvin2Fahrenheit(<span class="keywordtype">double</span> kelvin)
{
    <span class="comment">// see http://en.wikipedia.org/wiki/Kelvin</span>
    <span class="keywordflow">return</span> 1.8*kelvin - 459.67;
}

<span class="keywordtype">int</span> main(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> **argv)
{
    <span class="keyword">const</span> <span class="keywordtype">double</span> minKelvin = 0.0;
    <span class="keyword">const</span> <span class="keywordtype">double</span> maxKelvin = 500.0;

    QApplication a(argc, argv);
    <a class="code" href="class_qwt_thermo.html" title="The Thermometer Widget.">QwtThermo</a> t;
    t.<a class="code" href="class_qwt_thermo.html#ab9f660f7ed2c0878926cb6f02dbfe9fc" title="Set the range.">setRange</a>(minKelvin, maxKelvin);
    t.<a class="code" href="class_qwt_abstract_scale.html#a91af529248b556ef130add4bcfc60bb2" title="Specify a scale.">setScale</a>(Kelvin2Fahrenheit(minKelvin), Kelvin2Fahrenheit(maxKelvin));
    <span class="comment">// set the value in Kelvin but the scale displays in Fahrenheit</span>
    <span class="comment">// 273.15 Kelvin = 0 Celsius = 32 Fahrenheit</span>
    t.<a class="code" href="class_qwt_thermo.html#ad54ebf4761c12f948d09cd45a26d1fd4">setValue</a>(273.15);
    a.setMainWidget(&amp;t);
    t.show();
    <span class="keywordflow">return</span> a.exec();
}
</pre></div></div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="aadfd670812eef5a798dcdb58cffb039b"></a><!-- doxytag: member="QwtThermo::ScalePos" ref="aadfd670812eef5a798dcdb58cffb039b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_qwt_thermo.html#aadfd670812eef5a798dcdb58cffb039b">QwtThermo::ScalePos</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Scale position. <a class="el" href="class_qwt_thermo.html" title="The Thermometer Widget.">QwtThermo</a> tries to enforce valid combinations of its orientation and scale position:</p>
<ul>
<li>Qt::Horizonal combines with NoScale, TopScale and BottomScale</li>
<li>Qt::Vertical combines with NoScale, LeftScale and RightScale</li>
</ul>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a4333da9b34ae63016ef99d5f182d155e" title="Set the thermometer orientation and the scale position.">setOrientation()</a>, <a class="el" href="class_qwt_thermo.html#a4dac08b98a634918178bc69f3352cffd" title="Change the scale position (and thermometer orientation).">setScalePosition()</a> </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="aadfd670812eef5a798dcdb58cffb039ba54c98c1e9500e24a5f92e71a7020acbd"></a><!-- doxytag: member="NoScale" ref="aadfd670812eef5a798dcdb58cffb039ba54c98c1e9500e24a5f92e71a7020acbd" args="" -->NoScale</em>&nbsp;</td><td>
<p>No scale. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aadfd670812eef5a798dcdb58cffb039ba8f3291df2eb61faf79442c40f8b73462"></a><!-- doxytag: member="LeftScale" ref="aadfd670812eef5a798dcdb58cffb039ba8f3291df2eb61faf79442c40f8b73462" args="" -->LeftScale</em>&nbsp;</td><td>
<p>The scale is left of the pipe. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aadfd670812eef5a798dcdb58cffb039ba354f9fd8fb37f32523aa136e5a2d3f29"></a><!-- doxytag: member="RightScale" ref="aadfd670812eef5a798dcdb58cffb039ba354f9fd8fb37f32523aa136e5a2d3f29" args="" -->RightScale</em>&nbsp;</td><td>
<p>The scale is right of the pipe. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aadfd670812eef5a798dcdb58cffb039ba35b7fe04e03040bfd48c15902fb295a3"></a><!-- doxytag: member="TopScale" ref="aadfd670812eef5a798dcdb58cffb039ba35b7fe04e03040bfd48c15902fb295a3" args="" -->TopScale</em>&nbsp;</td><td>
<p>The scale is above the pipe. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="aadfd670812eef5a798dcdb58cffb039bad1c0e45dcc79fad82d8b30c0bc5455d8"></a><!-- doxytag: member="BottomScale" ref="aadfd670812eef5a798dcdb58cffb039bad1c0e45dcc79fad82d8b30c0bc5455d8" args="" -->BottomScale</em>&nbsp;</td><td>
<p>The scale is below the pipe. </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1d5bb3608c29cd8d104f22f0ffe31098"></a><!-- doxytag: member="QwtThermo::QwtThermo" ref="a1d5bb3608c29cd8d104f22f0ffe31098" args="(QWidget *parent=NULL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtThermo::QwtThermo </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>NULL</code></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>Parent widget </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad0e2bd43eae2402ade490a5e6c4ef4ae"></a><!-- doxytag: member="QwtThermo::~QwtThermo" ref="ad0e2bd43eae2402ade490a5e6c4ef4ae" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtThermo::~QwtThermo </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ab3c5f30892792e5ca3d84f4409ef6216"></a><!-- doxytag: member="QwtThermo::abstractScaleDraw" ref="ab3c5f30892792e5ca3d84f4409ef6216" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_qwt_abstract_scale_draw.html">QwtAbstractScaleDraw</a> * QwtAbstractScale::abstractScaleDraw </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Scale draw </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_scale.html#a950c5bf521dc704b78f76c7951346288" title="Set a scale draw.">setAbstractScaleDraw()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aa61afdff037ef745a6dad686537cdb96"></a><!-- doxytag: member="QwtThermo::abstractScaleDraw" ref="aa61afdff037ef745a6dad686537cdb96" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_abstract_scale_draw.html">QwtAbstractScaleDraw</a> * QwtAbstractScale::abstractScaleDraw </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Scale draw </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_scale.html#a950c5bf521dc704b78f76c7951346288" title="Set a scale draw.">setAbstractScaleDraw()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a63ae7b54ff9010289072ba156849d461"></a><!-- doxytag: member="QwtThermo::alarmBrush" ref="a63ae7b54ff9010289072ba156849d461" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QBrush &amp; QwtThermo::alarmBrush </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the liquid brush ( QPalette::Highlight ) above the alarm threshold. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a1d6a0fae32e21fe6c5f54762073dbe8b" title="Specify the liquid brush above the alarm threshold.">setAlarmBrush()</a>, QWidget::palette()</dd></dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The alarm threshold has no effect, when a color map has been assigned </dd></dl>

</div>
</div>
<a class="anchor" id="a98d686ce15953eecd774e6c1dbb75286"></a><!-- doxytag: member="QwtThermo::alarmEnabled" ref="a98d686ce15953eecd774e6c1dbb75286" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtThermo::alarmEnabled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>True, when the alarm threshold is enabled.</dd></dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The alarm threshold has no effect, when a color map has been assigned </dd></dl>

</div>
</div>
<a class="anchor" id="a5ed8270840b7e23c539fdd67c3b6b846"></a><!-- doxytag: member="QwtThermo::alarmLevel" ref="a5ed8270840b7e23c539fdd67c3b6b846" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtThermo::alarmLevel </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the alarm threshold. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#ab42dff878632d210050be2be03535f6a">setAlarmLevel()</a></dd></dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The alarm threshold has no effect, when a color map has been assigned </dd></dl>

</div>
</div>
<a class="anchor" id="a01f1f43502a8ba14988a0bd3142d94b1"></a><!-- doxytag: member="QwtThermo::autoScale" ref="a01f1f43502a8ba14988a0bd3142d94b1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtAbstractScale::autoScale </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if autoscaling is enabled </dd></dl>

</div>
</div>
<a class="anchor" id="aa3e9ce551b041571bdc2688930cf553c"></a><!-- doxytag: member="QwtThermo::borderWidth" ref="aa3e9ce551b041571bdc2688930cf553c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtThermo::borderWidth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the border width of the thermometer pipe. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a25821f13d01848a1a37690d4796311bc">setBorderWidth()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="abb6858178fa0361ce9c4775944b96352"></a><!-- doxytag: member="QwtThermo::changeEvent" ref="abb6858178fa0361ce9c4775944b96352" args="(QEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::changeEvent </td>
          <td>(</td>
          <td class="paramtype">QEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Qt change event handler </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>Event </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8d9285fdda3f6f26fc0d9aa35b5f021e"></a><!-- doxytag: member="QwtThermo::colorMap" ref="a8d9285fdda3f6f26fc0d9aa35b5f021e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_color_map.html">QwtColorMap</a> * QwtThermo::colorMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Color map for the fill color </dd></dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The alarm threshold has no effect, when a color map has been assigned </dd></dl>

</div>
</div>
<a class="anchor" id="a00e16d590b76602a85ef7bf32533e945"></a><!-- doxytag: member="QwtThermo::colorMap" ref="a00e16d590b76602a85ef7bf32533e945" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_qwt_color_map.html">QwtColorMap</a> * QwtThermo::colorMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Color map for the fill color </dd></dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The alarm threshold has no effect, when a color map has been assigned </dd></dl>

</div>
</div>
<a class="anchor" id="ab9cca3cab3a8950b66e14b995b86beb8"></a><!-- doxytag: member="QwtThermo::drawLiquid" ref="ab9cca3cab3a8950b66e14b995b86beb8" args="(QPainter *, const QRect &amp;) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::drawLiquid </td>
          <td>(</td>
          <td class="paramtype">QPainter *&#160;</td>
          <td class="paramname"><em>painter</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRect &amp;&#160;</td>
          <td class="paramname"><em>pipeRect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Redraw the liquid in thermometer pipe. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">painter</td><td>Painter </td></tr>
    <tr><td class="paramname">pipeRect</td><td>Bounding rectangle of the pipe without borders </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a20f5039265bf80486a339de63d7d0b49"></a><!-- doxytag: member="QwtThermo::fillBrush" ref="a20f5039265bf80486a339de63d7d0b49" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QBrush &amp; QwtThermo::fillBrush </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the liquid ( QPalette::ButtonText ) brush. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#af6ad0c2ca39afb30bb79a326484c9a21" title="Change the brush of the liquid.">setFillBrush()</a>, QWidget::palette() </dd></dl>

</div>
</div>
<a class="anchor" id="a57da0b3bccc325422d24e0fd1d285177"></a><!-- doxytag: member="QwtThermo::maxValue" ref="a57da0b3bccc325422d24e0fd1d285177" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtThermo::maxValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the maximum value. </p>

</div>
</div>
<a class="anchor" id="a7bdc0a01f646b3cacda48bffc7c2057d"></a><!-- doxytag: member="QwtThermo::minimumSizeHint" ref="a7bdc0a01f646b3cacda48bffc7c2057d" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSize QwtThermo::minimumSizeHint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return a minimum size hint. </p>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The return value depends on the font and the scale. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#abdb43977b3628a0b42039bef071c81cd">sizeHint()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="abdfe677ea62da9bc0f99818bd38a0723"></a><!-- doxytag: member="QwtThermo::minValue" ref="abdfe677ea62da9bc0f99818bd38a0723" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtThermo::minValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the minimum value. </p>

</div>
</div>
<a class="anchor" id="a7ae9fe53b0b0925d88fd9e1e4eb026f7"></a><!-- doxytag: member="QwtThermo::paintEvent" ref="a7ae9fe53b0b0925d88fd9e1e4eb026f7" args="(QPaintEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::paintEvent </td>
          <td>(</td>
          <td class="paramtype">QPaintEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Qt paint event. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>Paint event </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3359ca7488990dab26b182448b38395b"></a><!-- doxytag: member="QwtThermo::pipeRect" ref="a3359ca7488990dab26b182448b38395b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QRect QwtThermo::pipeRect </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Bounding rectangle of the pipe ( without borders ) in widget coordinates </dd></dl>

</div>
</div>
<a class="anchor" id="aae17760ab12807624b63b6caeae5f3d0"></a><!-- doxytag: member="QwtThermo::pipeWidth" ref="aae17760ab12807624b63b6caeae5f3d0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtThermo::pipeWidth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the width of the pipe. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a9d3a55a818ebf0dd508e20ca9eef224b">setPipeWidth()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a3b05d842b667cf8724f8a900f0d05b34"></a><!-- doxytag: member="QwtThermo::rangeFlags" ref="a3b05d842b667cf8724f8a900f0d05b34" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_interval.html#a678a26fcaa91cca596d9aebcbf5776c9">QwtInterval::BorderFlags</a> QwtThermo::rangeFlags </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Range flags </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#aa2ce6d6d20097fead0baca0ab31ef1b2" title="Exclude/Include min/max values.">setRangeFlags()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="abd7c6b312b41882a3b509aadc9ada46e"></a><!-- doxytag: member="QwtThermo::rescale" ref="abd7c6b312b41882a3b509aadc9ada46e" args="(double vmin, double vmax, double step=0.0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtAbstractScale::rescale </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>vmin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>vmax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>stepSize</em> = <code>0.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Recalculate the scale division and update the scale draw.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">vmin</td><td>Lower limit of the scale interval </td></tr>
    <tr><td class="paramname">vmax</td><td>Upper limit of the scale interval </td></tr>
    <tr><td class="paramname">stepSize</td><td>Major step size</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_scale.html#a0dbb7bdc557c0a7b163643e41970ed6a" title="Notify changed scale.">scaleChange()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a31ea86c3ab9c6925752dc8d6215fd9f0"></a><!-- doxytag: member="QwtThermo::resizeEvent" ref="a31ea86c3ab9c6925752dc8d6215fd9f0" args="(QResizeEvent *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::resizeEvent </td>
          <td>(</td>
          <td class="paramtype">QResizeEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Qt resize event handler </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>Resize event </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a3f2f5077580235a5a776805a9721c8ba"></a><!-- doxytag: member="QwtThermo::scaleChange" ref="a3f2f5077580235a5a776805a9721c8ba" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::scaleChange </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Notify a scale change. </p>

<p>Reimplemented from <a class="el" href="class_qwt_abstract_scale.html#a0dbb7bdc557c0a7b163643e41970ed6a">QwtAbstractScale</a>.</p>

</div>
</div>
<a class="anchor" id="aaacb94a49eb05c91a3896d202f79ec46"></a><!-- doxytag: member="QwtThermo::scaleDraw" ref="aaacb94a49eb05c91a3896d202f79ec46" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> * QwtThermo::scaleDraw </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the scale draw of the thermo </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a8b5ab653b893e41116200570632ad1c3" title="Set a scale draw.">setScaleDraw()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a7d0f262032c034c5da703ec2f2d120b7"></a><!-- doxytag: member="QwtThermo::scaleDraw" ref="a7d0f262032c034c5da703ec2f2d120b7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> * QwtThermo::scaleDraw </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the scale draw of the thermo </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a8b5ab653b893e41116200570632ad1c3" title="Set a scale draw.">setScaleDraw()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a5b8084cc735933ce9338fd2df1126f0e"></a><!-- doxytag: member="QwtThermo::scaleEngine" ref="a5b8084cc735933ce9338fd2df1126f0e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> * QwtAbstractScale::scaleEngine </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Scale engine </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_scale.html#aa00f44140af3f2b7595cb6e23371198f" title="Set a scale engine.">setScaleEngine()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aea3b9d4912f1c28671f232e4100936d7"></a><!-- doxytag: member="QwtThermo::scaleEngine" ref="aea3b9d4912f1c28671f232e4100936d7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> * QwtAbstractScale::scaleEngine </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Scale engine </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_scale.html#aa00f44140af3f2b7595cb6e23371198f" title="Set a scale engine.">setScaleEngine()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a68f120e12e373796b5d74199a9b8a4b0"></a><!-- doxytag: member="QwtThermo::scaleMap" ref="a68f120e12e373796b5d74199a9b8a4b0" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp; QwtAbstractScale::scaleMap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="class_qwt_abstract_scale.html#aa61afdff037ef745a6dad686537cdb96">abstractScaleDraw()</a>-&gt;<a class="el" href="class_qwt_abstract_scale.html#a68f120e12e373796b5d74199a9b8a4b0">scaleMap()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4cfbcd9880297b1ca28fa824e3f4c3e6"></a><!-- doxytag: member="QwtThermo::scaleMaxMajor" ref="a4cfbcd9880297b1ca28fa824e3f4c3e6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtAbstractScale::scaleMaxMajor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Max. number of major tick intervals The default value is 5. </dd></dl>

</div>
</div>
<a class="anchor" id="a5b23fafbb56bb43fd241c1839256357f"></a><!-- doxytag: member="QwtThermo::scaleMaxMinor" ref="a5b23fafbb56bb43fd241c1839256357f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtAbstractScale::scaleMaxMinor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Max. number of minor tick intervals The default value is 3. </dd></dl>

</div>
</div>
<a class="anchor" id="a4eef07dad032e3e6d65b3e9ece076190"></a><!-- doxytag: member="QwtThermo::scalePosition" ref="a4eef07dad032e3e6d65b3e9ece076190" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_thermo.html#aadfd670812eef5a798dcdb58cffb039b">QwtThermo::ScalePos</a> QwtThermo::scalePosition </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the scale position. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a4dac08b98a634918178bc69f3352cffd" title="Change the scale position (and thermometer orientation).">setScalePosition()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a950c5bf521dc704b78f76c7951346288"></a><!-- doxytag: member="QwtThermo::setAbstractScaleDraw" ref="a950c5bf521dc704b78f76c7951346288" args="(QwtAbstractScaleDraw *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtAbstractScale::setAbstractScaleDraw </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_abstract_scale_draw.html">QwtAbstractScaleDraw</a> *&#160;</td>
          <td class="paramname"><em>scaleDraw</em></td><td>)</td>
          <td><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set a scale draw. </p>
<p>scaleDraw has to be created with new and will be deleted in ~QwtAbstractScale or the next call of setAbstractScaleDraw. </p>

</div>
</div>
<a class="anchor" id="a1d6a0fae32e21fe6c5f54762073dbe8b"></a><!-- doxytag: member="QwtThermo::setAlarmBrush" ref="a1d6a0fae32e21fe6c5f54762073dbe8b" args="(const QBrush &amp;b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setAlarmBrush </td>
          <td>(</td>
          <td class="paramtype">const QBrush &amp;&#160;</td>
          <td class="paramname"><em>brush</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Specify the liquid brush above the alarm threshold. </p>
<p>Changes the QPalette::Highlight brush of the palette.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">brush</td><td>New brush. </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a63ae7b54ff9010289072ba156849d461">alarmBrush()</a>, QWidget::setPalette()</dd></dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The alarm threshold has no effect, when a color map has been assigned </dd></dl>

</div>
</div>
<a class="anchor" id="abed75ea5e839ee4afed2c96f6927721e"></a><!-- doxytag: member="QwtThermo::setAlarmEnabled" ref="abed75ea5e839ee4afed2c96f6927721e" args="(bool tf)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setAlarmEnabled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>tf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Enable or disable the alarm threshold. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">tf</td><td>true (disabled) or false (enabled)</td></tr>
  </table>
  </dd>
</dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The alarm threshold has no effect, when a color map has been assigned </dd></dl>

</div>
</div>
<a class="anchor" id="ab42dff878632d210050be2be03535f6a"></a><!-- doxytag: member="QwtThermo::setAlarmLevel" ref="ab42dff878632d210050be2be03535f6a" args="(double v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setAlarmLevel </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>level</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Specify the alarm threshold.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">level</td><td>Alarm threshold </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a5ed8270840b7e23c539fdd67c3b6b846">alarmLevel()</a></dd></dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The alarm threshold has no effect, when a color map has been assigned </dd></dl>

</div>
</div>
<a class="anchor" id="ade952bd5cbde1dba015bc16b880e3a28"></a><!-- doxytag: member="QwtThermo::setAutoScale" ref="ade952bd5cbde1dba015bc16b880e3a28" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtAbstractScale::setAutoScale </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Advise the widget to control the scale range internally. </p>
<p>Autoscaling is on by default. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_scale.html#a91af529248b556ef130add4bcfc60bb2" title="Specify a scale.">setScale()</a>, <a class="el" href="class_qwt_abstract_scale.html#a01f1f43502a8ba14988a0bd3142d94b1">autoScale()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a25821f13d01848a1a37690d4796311bc"></a><!-- doxytag: member="QwtThermo::setBorderWidth" ref="a25821f13d01848a1a37690d4796311bc" args="(int w)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setBorderWidth </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the border width of the pipe. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>Border width </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#aa3e9ce551b041571bdc2688930cf553c">borderWidth()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad2ac0e2d496fd3d28f83f61728b83337"></a><!-- doxytag: member="QwtThermo::setColorMap" ref="ad2ac0e2d496fd3d28f83f61728b83337" args="(QwtColorMap *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setColorMap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_color_map.html">QwtColorMap</a> *&#160;</td>
          <td class="paramname"><em>colorMap</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign a color map for the fill color. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">colorMap</td><td>Color map </td></tr>
  </table>
  </dd>
</dl>
<dl class="warning"><dt><b>Warning:</b></dt><dd>The alarm threshold has no effect, when a color map has been assigned </dd></dl>

</div>
</div>
<a class="anchor" id="af6ad0c2ca39afb30bb79a326484c9a21"></a><!-- doxytag: member="QwtThermo::setFillBrush" ref="af6ad0c2ca39afb30bb79a326484c9a21" args="(const QBrush &amp;b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setFillBrush </td>
          <td>(</td>
          <td class="paramtype">const QBrush &amp;&#160;</td>
          <td class="paramname"><em>brush</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Change the brush of the liquid. </p>
<p>Changes the QPalette::ButtonText brush of the palette.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">brush</td><td>New brush. </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a20f5039265bf80486a339de63d7d0b49">fillBrush()</a>, QWidget::setPalette() </dd></dl>

</div>
</div>
<a class="anchor" id="a84db82c29e3431a1eaef9c3cd913a105"></a><!-- doxytag: member="QwtThermo::setMaxValue" ref="a84db82c29e3431a1eaef9c3cd913a105" args="(double v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setMaxValue </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>maxValue</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the maximum value.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">maxValue</td><td>Maximum value </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a57da0b3bccc325422d24e0fd1d285177" title="Return the maximum value.">maxValue()</a>, <a class="el" href="class_qwt_thermo.html#acf1b3d160eeb5b5763cc6f4cb9976f3d">setMinValue()</a>, <a class="el" href="class_qwt_thermo.html#ab9f660f7ed2c0878926cb6f02dbfe9fc" title="Set the range.">setRange()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="acf1b3d160eeb5b5763cc6f4cb9976f3d"></a><!-- doxytag: member="QwtThermo::setMinValue" ref="acf1b3d160eeb5b5763cc6f4cb9976f3d" args="(double v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setMinValue </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>minValue</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the minimum value.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">minValue</td><td>Minimum value </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#abdfe677ea62da9bc0f99818bd38a0723" title="Return the minimum value.">minValue()</a>, <a class="el" href="class_qwt_thermo.html#a84db82c29e3431a1eaef9c3cd913a105">setMaxValue()</a>, <a class="el" href="class_qwt_thermo.html#ab9f660f7ed2c0878926cb6f02dbfe9fc" title="Set the range.">setRange()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4333da9b34ae63016ef99d5f182d155e"></a><!-- doxytag: member="QwtThermo::setOrientation" ref="a4333da9b34ae63016ef99d5f182d155e" args="(Qt::Orientation, ScalePos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setOrientation </td>
          <td>(</td>
          <td class="paramtype">Qt::Orientation&#160;</td>
          <td class="paramname"><em>o</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_qwt_thermo.html#aadfd670812eef5a798dcdb58cffb039b">ScalePos</a>&#160;</td>
          <td class="paramname"><em>s</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the thermometer orientation and the scale position. </p>
<p>The scale position NoScale disables the scale. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">o</td><td>orientation. Possible values are Qt::Horizontal and Qt::Vertical. The default value is Qt::Vertical. </td></tr>
    <tr><td class="paramname">s</td><td>Position of the scale. The default value is NoScale.</td></tr>
  </table>
  </dd>
</dl>
<p>A valid combination of scale position and orientation is enforced:</p>
<ul>
<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>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a4dac08b98a634918178bc69f3352cffd" title="Change the scale position (and thermometer orientation).">setScalePosition()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a9d3a55a818ebf0dd508e20ca9eef224b"></a><!-- doxytag: member="QwtThermo::setPipeWidth" ref="a9d3a55a818ebf0dd508e20ca9eef224b" args="(int w)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setPipeWidth </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change the width of the pipe.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>Width of the pipe </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#aae17760ab12807624b63b6caeae5f3d0">pipeWidth()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab9f660f7ed2c0878926cb6f02dbfe9fc"></a><!-- doxytag: member="QwtThermo::setRange" ref="ab9f660f7ed2c0878926cb6f02dbfe9fc" args="(double vmin, double vmax, bool lg=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setRange </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>minValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>maxValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>logarithmic</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the range. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">minValue</td><td>value corresponding lower or left end of the thermometer </td></tr>
    <tr><td class="paramname">maxValue</td><td>value corresponding to the upper or right end of the thermometer </td></tr>
    <tr><td class="paramname">logarithmic</td><td>logarithmic mapping, true or false </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa2ce6d6d20097fead0baca0ab31ef1b2"></a><!-- doxytag: member="QwtThermo::setRangeFlags" ref="aa2ce6d6d20097fead0baca0ab31ef1b2" args="(QwtInterval::BorderFlags)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setRangeFlags </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_interval.html#a678a26fcaa91cca596d9aebcbf5776c9">QwtInterval::BorderFlags</a>&#160;</td>
          <td class="paramname"><em>flags</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Exclude/Include min/max values. </p>
<p>According to the flags <a class="el" href="class_qwt_thermo.html#abdfe677ea62da9bc0f99818bd38a0723" title="Return the minimum value.">minValue()</a> and <a class="el" href="class_qwt_thermo.html#a57da0b3bccc325422d24e0fd1d285177" title="Return the maximum value.">maxValue()</a> are included/excluded from the pipe. In case of an excluded value the corresponding tick is painted 1 pixel off of the <a class="el" href="class_qwt_thermo.html#a3359ca7488990dab26b182448b38395b">pipeRect()</a>.</p>
<p>F.e. when a minimum of 0.0 has to be displayed as an empty pipe the <a class="el" href="class_qwt_thermo.html#abdfe677ea62da9bc0f99818bd38a0723" title="Return the minimum value.">minValue()</a> needs to be excluded.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">flags</td><td>Range flags </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a3b05d842b667cf8724f8a900f0d05b34">rangeFlags()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad002e1a352ecf85c1a8595a138d42db7"></a><!-- doxytag: member="QwtThermo::setScale" ref="ad002e1a352ecf85c1a8595a138d42db7" args="(const QwtScaleDiv &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtAbstractScale::setScale </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;&#160;</td>
          <td class="paramname"><em>scaleDiv</em></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Specify a scale. </p>
<p>Disable autoscaling and define a scale by a scale division</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">scaleDiv</td><td>Scale division </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_scale.html#ade952bd5cbde1dba015bc16b880e3a28" title="Advise the widget to control the scale range internally.">setAutoScale()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a91af529248b556ef130add4bcfc60bb2"></a><!-- doxytag: member="QwtThermo::setScale" ref="a91af529248b556ef130add4bcfc60bb2" args="(double vmin, double vmax, double step=0.0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtAbstractScale::setScale </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>vmin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>vmax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>stepSize</em> = <code>0.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Specify a scale. </p>
<p>Disable autoscaling and define a scale by an interval and a step size</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">vmin</td><td>lower limit of the scale interval </td></tr>
    <tr><td class="paramname">vmax</td><td>upper limit of the scale interval </td></tr>
    <tr><td class="paramname">stepSize</td><td>major step size </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_scale.html#ade952bd5cbde1dba015bc16b880e3a28" title="Advise the widget to control the scale range internally.">setAutoScale()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1e85d35fda2e18bad16e8aa43dbe99b4"></a><!-- doxytag: member="QwtThermo::setScale" ref="a1e85d35fda2e18bad16e8aa43dbe99b4" args="(const QwtInterval &amp;, double step=0.0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtAbstractScale::setScale </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_interval.html">QwtInterval</a> &amp;&#160;</td>
          <td class="paramname"><em>interval</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>stepSize</em> = <code>0.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Specify a scale. </p>
<p>Disable autoscaling and define a scale by an interval and a step size</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">interval</td><td>Interval </td></tr>
    <tr><td class="paramname">stepSize</td><td>major step size </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_scale.html#ade952bd5cbde1dba015bc16b880e3a28" title="Advise the widget to control the scale range internally.">setAutoScale()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8b5ab653b893e41116200570632ad1c3"></a><!-- doxytag: member="QwtThermo::setScaleDraw" ref="a8b5ab653b893e41116200570632ad1c3" args="(QwtScaleDraw *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setScaleDraw </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> *&#160;</td>
          <td class="paramname"><em>scaleDraw</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set a scale draw. </p>
<p>For changing the labels of the scales, it is necessary to derive from <a class="el" href="class_qwt_scale_draw.html" title="A class for drawing scales.">QwtScaleDraw</a> and overload <a class="el" href="class_qwt_abstract_scale_draw.html#a4ff88bc827dd6c6ca9298de13483b61f" title="Convert a value into its representing label.">QwtScaleDraw::label()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">scaleDraw</td><td>ScaleDraw object, that has to be created with new and will be deleted in ~QwtThermo or the next call of <a class="el" href="class_qwt_thermo.html#a8b5ab653b893e41116200570632ad1c3" title="Set a scale draw.">setScaleDraw()</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa00f44140af3f2b7595cb6e23371198f"></a><!-- doxytag: member="QwtThermo::setScaleEngine" ref="aa00f44140af3f2b7595cb6e23371198f" args="(QwtScaleEngine *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtAbstractScale::setScaleEngine </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_scale_engine.html">QwtScaleEngine</a> *&#160;</td>
          <td class="paramname"><em>scaleEngine</em></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set a scale engine. </p>
<p>The scale engine is responsible for calculating the scale division, and in case of auto scaling how to align the scale.</p>
<p>scaleEngine has to be created with new and will be deleted in ~QwtAbstractScale or the next call of setScaleEngine. </p>

</div>
</div>
<a class="anchor" id="a40fdb4572ad8fdec8b93766ff5f8eda8"></a><!-- doxytag: member="QwtThermo::setScaleMaxMajor" ref="a40fdb4572ad8fdec8b93766ff5f8eda8" args="(int ticks)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtAbstractScale::setScaleMaxMajor </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ticks</em></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the maximum number of major tick intervals. </p>
<p>The scale's major ticks are calculated automatically such that the number of major intervals does not exceed ticks. The default value is 5. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ticks</td><td>maximal number of major ticks. </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_scale_draw.html" title="A abstract base class for drawing scales.">QwtAbstractScaleDraw</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a6520bb1e52571f865b21b3710786a4db"></a><!-- doxytag: member="QwtThermo::setScaleMaxMinor" ref="a6520bb1e52571f865b21b3710786a4db" args="(int ticks)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtAbstractScale::setScaleMaxMinor </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>ticks</em></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the maximum number of minor tick intervals. </p>
<p>The scale's minor ticks are calculated automatically such that the number of minor intervals does not exceed ticks. The default value is 3. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ticks</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_scale_draw.html" title="A abstract base class for drawing scales.">QwtAbstractScaleDraw</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4dac08b98a634918178bc69f3352cffd"></a><!-- doxytag: member="QwtThermo::setScalePosition" ref="a4dac08b98a634918178bc69f3352cffd" args="(ScalePos s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setScalePosition </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_thermo.html#aadfd670812eef5a798dcdb58cffb039b">ScalePos</a>&#160;</td>
          <td class="paramname"><em>scalePos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Change the scale position (and thermometer orientation). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">scalePos</td><td>Position of the scale.</td></tr>
  </table>
  </dd>
</dl>
<p>A valid combination of scale position and orientation is enforced:</p>
<ul>
<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>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a4333da9b34ae63016ef99d5f182d155e" title="Set the thermometer orientation and the scale position.">setOrientation()</a>, <a class="el" href="class_qwt_thermo.html#a4eef07dad032e3e6d65b3e9ece076190">scalePosition()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a5d772862c760019a7797f45aa6b0690f"></a><!-- doxytag: member="QwtThermo::setSpacing" ref="a5d772862c760019a7797f45aa6b0690f" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setSpacing </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>spacing</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Change the spacing between pipe and scale. </p>
<p>A spacing of 0 means, that the backbone of the scale is below the pipe.</p>
<p>The default setting is 3 pixels.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">spacing</td><td>Number of pixels </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a16ca09c525bb05c7316ae6accb7aad79">spacing()</a>; </dd></dl>

</div>
</div>
<a class="anchor" id="ad54ebf4761c12f948d09cd45a26d1fd4"></a><!-- doxytag: member="QwtThermo::setValue" ref="ad54ebf4761c12f948d09cd45a26d1fd4" args="(double val)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtThermo::setValue </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the current value.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>New Value </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#ae359eec1e467ad86706b9cccb4e04c97" title="Return the value.">value()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="abdb43977b3628a0b42039bef071c81cd"></a><!-- doxytag: member="QwtThermo::sizeHint" ref="abdb43977b3628a0b42039bef071c81cd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSize QwtThermo::sizeHint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the minimum size hint </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a7bdc0a01f646b3cacda48bffc7c2057d" title="Return a minimum size hint.">minimumSizeHint()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a16ca09c525bb05c7316ae6accb7aad79"></a><!-- doxytag: member="QwtThermo::spacing" ref="a16ca09c525bb05c7316ae6accb7aad79" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtThermo::spacing </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Number of pixels between pipe and scale </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#a5d772862c760019a7797f45aa6b0690f" title="Change the spacing between pipe and scale.">setSpacing()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae359eec1e467ad86706b9cccb4e04c97"></a><!-- doxytag: member="QwtThermo::value" ref="ae359eec1e467ad86706b9cccb4e04c97" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtThermo::value </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the value. </p>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>