📄 class_qwt_dial.html
字号:
<td><p><dl compact><dt><b>Returns:</b></dt><dd>Upper limit of the scale arc </dd></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00940">940</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>. </td> </tr></table><a class="anchor" name="21e46fa17a55b938c027ec7b4b97d157"></a><!-- doxytag: member="QwtDial::minimumSizeHint" ref="21e46fa17a55b938c027ec7b4b97d157" 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 QwtDial::minimumSizeHint </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Return a minimum size hint. <p><dl compact><dt><b>Warning:</b></dt><dd>The return value of <a class="el" href="class_qwt_dial.html#21e46fa17a55b938c027ec7b4b97d157">QwtDial::minimumSizeHint()</a> depends on the font and the scale. </dd></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l01017">1017</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>.<p>References <a class="el" href="qwt__dial_8cpp-source.html#l00285">lineWidth()</a>. </td> </tr></table><a class="anchor" name="1725682984aff88ef891966225c06030"></a><!-- doxytag: member="QwtDial::minScaleArc" ref="1725682984aff88ef891966225c06030" 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">double QwtDial::minScaleArc </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><dl compact><dt><b>Returns:</b></dt><dd>Lower limit of the scale arc </dd></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00934">934</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>. </td> </tr></table><a class="anchor" name="fd95a47735c0cfe963dfacd1a6a36a6f"></a><!-- doxytag: member="QwtDial::mode" ref="fd95a47735c0cfe963dfacd1a6a36a6f" 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"><a class="el" href="class_qwt_dial.html#7376f53193014b91643350e6e6bc85ad">QwtDial::Mode</a> QwtDial::mode </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><dl compact><dt><b>Returns:</b></dt><dd>mode of the dial.</dd></dl>The value of the dial is indicated by the difference between the origin and the direction of the needle. In case of QwtDial::RotateNeedle the scale arc is fixed to the <a class="el" href="class_qwt_dial.html#5d7a8b9094bcc3fb82b31c3ac9ad706d">origin()</a> and the needle is rotating, in case of QwtDial::RotateScale, the needle points to <a class="el" href="class_qwt_dial.html#5d7a8b9094bcc3fb82b31c3ac9ad706d">origin()</a> and the scale is rotating.<p>The default mode is QwtDial::RotateNeedle.<p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dial.html#6b070ba6251fa40bbd876551413c5639">setMode()</a>, <a class="el" href="class_qwt_dial.html#5d7a8b9094bcc3fb82b31c3ac9ad706d">origin()</a>, <a class="el" href="class_qwt_dial.html#8abc41e15c62017d3c3ffb98acb9677f">setScaleArc()</a>, <a class="el" href="class_qwt_double_range.html#7777cf257c812579c4891512f1b6cad0">value()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00382">382</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>.<p>Referenced by <a class="el" href="qwt__dial_8cpp-source.html#l00572">drawContents()</a>, <a class="el" href="qwt__compass_8cpp-source.html#l00114">QwtCompass::drawScaleContents()</a>, and <a class="el" href="qwt__dial_8cpp-source.html#l01052">getValue()</a>. </td> </tr></table><a class="anchor" name="bbf494e72f6244e4ec88211354c739a4"></a><!-- doxytag: member="QwtDial::needle" ref="bbf494e72f6244e4ec88211354c739a4" args="()" --><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"><a class="el" href="class_qwt_dial_needle.html">QwtDialNeedle</a> * QwtDial::needle </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </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><dl compact><dt><b>Returns:</b></dt><dd>needle </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dial.html#c91311f8777eabdbcf6384f308d34a0c">setNeedle()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00796">796</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>. </td> </tr></table><a class="anchor" name="58ed8cf5aae56c44427b25f691f69b5c"></a><!-- doxytag: member="QwtDial::needle" ref="58ed8cf5aae56c44427b25f691f69b5c" 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">const <a class="el" href="class_qwt_dial_needle.html">QwtDialNeedle</a> * QwtDial::needle </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><dl compact><dt><b>Returns:</b></dt><dd>needle </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dial.html#c91311f8777eabdbcf6384f308d34a0c">setNeedle()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00787">787</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>.<p>Referenced by <a class="el" href="qwt__analog__clock_8cpp-source.html#l00220">QwtAnalogClock::drawHand()</a>, <a class="el" href="qwt__analog__clock_8cpp-source.html#l00104">QwtAnalogClock::setHand()</a>, and <a class="el" href="qwt__dial_8cpp-source.html#l00771">setNeedle()</a>. </td> </tr></table><a class="anchor" name="5d7a8b9094bcc3fb82b31c3ac9ad706d"></a><!-- doxytag: member="QwtDial::origin" ref="5d7a8b9094bcc3fb82b31c3ac9ad706d" 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">double QwtDial::origin </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>The origin is the angle where scale and needle is relative to.<p><dl compact><dt><b>Returns:</b></dt><dd>Origin of the dial </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dial.html#3f64c6fbac747f735e57c2073e93bc50">setOrigin()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00965">965</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>.<p>Referenced by <a class="el" href="qwt__dial_8cpp-source.html#l00572">drawContents()</a>, <a class="el" href="qwt__analog__clock_8cpp-source.html#l00191">QwtAnalogClock::drawNeedle()</a>, and <a class="el" href="qwt__compass_8cpp-source.html#l00114">QwtCompass::drawScaleContents()</a>. </td> </tr></table><a class="anchor" name="11e50d714b9decb0f5d34e5acdde970d"></a><!-- doxytag: member="QwtDial::paintEvent" ref="11e50d714b9decb0f5d34e5acdde970d" args="(QPaintEvent *)" --><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 QwtDial::paintEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">QPaintEvent * </td> <td class="mdname1" valign="top" nowrap> <em>e</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Paint the dial <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>e</em> </td><td>Paint event </td></tr> </table></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00431">431</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>.<p>References <a class="el" href="qwt__dial_8cpp-source.html#l00572">drawContents()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l00463">drawFocusIndicator()</a>, and <a class="el" href="qwt__dial_8cpp-source.html#l00510">drawFrame()</a>. </td> </tr></table><a class="anchor" name="81b21a9954c5561af549214ee153573c"></a
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -