⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_qwt_thermo.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 5 页
字号:
          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the maximum value. <p><p>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>.<p>References <a class="el" href="qwt__thermo_8cpp-source.html#l00626">setRange()</a>.    </td>  </tr></table><a class="anchor" name="cf1b3d160eeb5b5763cc6f4cb9976f3d"></a><!-- doxytag: member="QwtThermo::setMinValue" ref="cf1b3d160eeb5b5763cc6f4cb9976f3d" args="(double v)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void QwtThermo::setMinValue           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">double&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>v</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the minimum value. <p><p>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>.<p>References <a class="el" href="qwt__thermo_8cpp-source.html#l00626">setRange()</a>.    </td>  </tr></table><a class="anchor" name="c75f2d908e4e9315ac764cfc2dc920e1"></a><!-- doxytag: member="QwtThermo::setOrientation" ref="c75f2d908e4e9315ac764cfc2dc920e1" args="(Qt::Orientation o, ScalePos s)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void QwtThermo::setOrientation           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">Qt::Orientation&nbsp;</td>          <td class="mdname" nowrap> <em>o</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="class_qwt_thermo.html#adfd670812eef5a798dcdb58cffb039b">ScalePos</a>&nbsp;</td>          <td class="mdname" nowrap> <em>s</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the thermometer orientation and the scale position. <p>The scale position NoScale disables the scale. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>o</em>&nbsp;</td><td>orientation. Possible values are Qt::Horizontal and Qt::Vertical. The default value is Qt::Vertical. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>s</em>&nbsp;</td><td>Position of the scale. The default value is NoScale.</td></tr>  </table></dl>A valid combination of scale position and orientation is enforced:<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><p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#4dac08b98a634918178bc69f3352cffd">QwtThermo::setScalePosition()</a> </dd></dl><p>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>.<p>References <a class="el" href="qwt__thermo_8cpp-source.html#l00223">layoutThermo()</a>.<p>Referenced by <a class="el" href="qwt__thermo_8cpp-source.html#l00409">setScalePosition()</a>.    </td>  </tr></table><a class="anchor" name="9d3a55a818ebf0dd508e20ca9eef224b"></a><!-- doxytag: member="QwtThermo::setPipeWidth" ref="9d3a55a818ebf0dd508e20ca9eef224b" args="(int w)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void QwtThermo::setPipeWidth           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>w</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Change the width of the pipe. <p><p>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>.<p>References <a class="el" href="qwt__thermo_8cpp-source.html#l00223">layoutThermo()</a>.    </td>  </tr></table><a class="anchor" name="b9f660f7ed2c0878926cb6f02dbfe9fc"></a><!-- doxytag: member="QwtThermo::setRange" ref="b9f660f7ed2c0878926cb6f02dbfe9fc" args="(double vmin, double vmax, bool lg=false)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void QwtThermo::setRange           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">double&nbsp;</td>          <td class="mdname" nowrap> <em>vmin</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>double&nbsp;</td>          <td class="mdname" nowrap> <em>vmax</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>logarithmic</em> = <code>false</code></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the range. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>vmin</em>&nbsp;</td><td>value corresponding lower or left end of the thermometer </td></tr>    <tr><td valign="top"></td><td valign="top"><em>vmax</em>&nbsp;</td><td>value corresponding to the upper or right end of the thermometer </td></tr>    <tr><td valign="top"></td><td valign="top"><em>logarithmic</em>&nbsp;</td><td>logarithmic mapping, true or false </td></tr>  </table></dl><p>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>.<p>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#l00279">QwtAbstractScale::scaleEngine()</a>, and <a class="el" href="qwt__abstract__scale_8cpp-source.html#l00266">QwtAbstractScale::setScaleEngine()</a>.<p>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>.    </td>  </tr></table><a class="anchor" name="4dac08b98a634918178bc69f3352cffd"></a><!-- doxytag: member="QwtThermo::setScalePosition" ref="4dac08b98a634918178bc69f3352cffd" args="(ScalePos s)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void QwtThermo::setScalePosition           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="class_qwt_thermo.html#adfd670812eef5a798dcdb58cffb039b">ScalePos</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>s</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Change the scale position (and thermometer orientation). <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>s</em>&nbsp;</td><td>Position of the scale.</td></tr>  </table></dl>A valid combination of scale position and orientation is enforced:<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><p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_thermo.html#c75f2d908e4e9315ac764cfc2dc920e1">QwtThermo::setOrientation()</a> </dd></dl><p>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>.<p>References <a class="el" href="qwt__thermo_8cpp-source.html#l00346">setOrientation()</a>.    </td>  </tr></table><a class="anchor" name="d54ebf4761c12f948d09cd45a26d1fd4"></a><!-- doxytag: member="QwtThermo::setValue" ref="d54ebf4761c12f948d09cd45a26d1fd4" args="(double val)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void QwtThermo::setValue           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">double&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>val</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [slot]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set the current value. <p><p>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>.    </td>  </tr></table><a class="anchor" name="bdb43977b3628a0b42039bef071c81cd"></a><!-- doxytag: member="QwtThermo::sizeHint" ref="bdb43977b3628a0b42039bef071c81cd" args="() const " --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">QSize QwtThermo::sizeHint           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -