📄 class_qwt_thermo.html
字号:
<td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QBrush & </td> <td class="mdname1" valign="top" nowrap> <em>brush</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Specify the liquid brush above the alarm threshold. <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>brush</em> </td><td>New brush. The default is solid white. </td></tr> </table></dl><p>Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00687">687</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>. </td> </tr></table><a class="anchor" name="bec11e74cd21aff565496faa81732194"></a><!-- doxytag: member="QwtThermo::setAlarmColor" ref="bec11e74cd21aff565496faa81732194" args="(const QColor &c)" --><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::setAlarmColor </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QColor & </td> <td class="mdname1" valign="top" nowrap> <em>c</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Specify the liquid color above the alarm threshold. <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>c</em> </td><td>New color. The default is white. </td></tr> </table></dl><p>Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00703">703</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>. </td> </tr></table><a class="anchor" name="bed75ea5e839ee4afed2c96f6927721e"></a><!-- doxytag: member="QwtThermo::setAlarmEnabled" ref="bed75ea5e839ee4afed2c96f6927721e" args="(bool tf)" --><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::setAlarmEnabled </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>tf</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Enable or disable the alarm threshold. <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>tf</em> </td><td>true (disabled) or false (enabled) </td></tr> </table></dl><p>Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00769">769</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>. </td> </tr></table><a class="anchor" name="b42dff878632d210050be2be03535f6a"></a><!-- doxytag: member="QwtThermo::setAlarmLevel" ref="b42dff878632d210050be2be03535f6a" 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::setAlarmLevel </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>v</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Specify the alarm threshold. <p><p>Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00716">716</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>. </td> </tr></table><a class="anchor" name="25821f13d01848a1a37690d4796311bc"></a><!-- doxytag: member="QwtThermo::setBorderWidth" ref="25821f13d01848a1a37690d4796311bc" 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::setBorderWidth </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>w</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set the border width of the pipe. <p><p>Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00604">604</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>.<p>References <a class="el" href="qwt__thermo_8cpp-source.html#l00223">layoutThermo()</a>. </td> </tr></table><a class="anchor" name="f6ad0c2ca39afb30bb79a326484c9a21"></a><!-- doxytag: member="QwtThermo::setFillBrush" ref="f6ad0c2ca39afb30bb79a326484c9a21" args="(const QBrush &b)" --><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::setFillBrush </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QBrush & </td> <td class="mdname1" valign="top" nowrap> <em>brush</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Change the brush of the liquid. <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>brush</em> </td><td>New brush. The default brush is solid black. </td></tr> </table></dl><p>Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00655">655</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>. </td> </tr></table><a class="anchor" name="f7738ccbd41d9c5a66fb9dd36198bdc7"></a><!-- doxytag: member="QwtThermo::setFillColor" ref="f7738ccbd41d9c5a66fb9dd36198bdc7" args="(const QColor &c)" --><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::setFillColor </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QColor & </td> <td class="mdname1" valign="top" nowrap> <em>c</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Change the color of the liquid. <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>c</em> </td><td>New color. The default color is black. </td></tr> </table></dl><p>Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00671">671</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>. </td> </tr></table><a class="anchor" name="3d4eeb20cf2259f49a4b45893bd0f979"></a><!-- doxytag: member="QwtThermo::setMargin" ref="3d4eeb20cf2259f49a4b45893bd0f979" args="(int m)" --><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::setMargin </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>m</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Specify the distance between the pipe's endpoints and the widget's border. <p>The margin is used to leave some space for the scale labels. If a large font is used, it is advisable to adjust the margins. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>m</em> </td><td>New Margin. The default values are 10 for horizontal orientation and 20 for vertical orientation. </td></tr> </table></dl><dl compact><dt><b>Warning:</b></dt><dd>The margin has no effect if the scale is disabled. <p>This function is a NOOP because margins are determined automatically. </dd></dl><p>Definition at line <a class="el" href="qwt__thermo_8cpp-source.html#l00760">760</a> of file <a class="el" href="qwt__thermo_8cpp-source.html">qwt_thermo.cpp</a>. </td> </tr></table><a class="anchor" name="84db82c29e3431a1eaef9c3cd913a105"></a><!-- doxytag: member="QwtThermo::setMaxValue" ref="84db82c29e3431a1eaef9c3cd913a105" 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::setMaxValue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>v</em> </td> <td class="md" valign="top"> ) </td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -