📄 class_qwt_dial.html
字号:
</table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><dl compact><dt><b>Returns:</b></dt><dd>Frame shadow /sa <a class="el" href="class_qwt_dial.html#272e17e53586a149df4dca437d5f9494">setFrameShadow()</a>, <a class="el" href="class_qwt_dial.html#fb583edf70364eb562bf84686b60a9b7">lineWidth()</a>, QFrame::frameShadow </dd></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00258">258</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>. </td> </tr></table><a class="anchor" name="59ee7746e97b37dca5dc80927bb167d1"></a><!-- doxytag: member="QwtDial::getScrollMode" ref="59ee7746e97b37dca5dc80927bb167d1" args="(const QPoint &, int &scrollMode, int &direction)" --><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::getScrollMode </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QPoint & </td> <td class="mdname" nowrap> <em>p</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int & </td> <td class="mdname" nowrap> <em>scrollMode</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td class="md"></td> <td class="md" nowrap>int & </td> <td class="mdname" nowrap> <em>direction</em></td> </tr> <tr> <td class="md"></td> <td class="md">) </td> <td class="md" colspan="2"><code> [protected, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_slider.html#dcb6819c88cfa27e9ea3d8828479ea0b">QwtAbstractSlider::getScrollMode</a> </dd></dl><p>Implements <a class="el" href="class_qwt_abstract_slider.html#dcb6819c88cfa27e9ea3d8828479ea0b">QwtAbstractSlider</a>.<p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l01155">1155</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#l00294">contentsRect()</a>. </td> </tr></table><a class="anchor" name="7acb904d2f2e9b20178cd9a9d9b37d3f"></a><!-- doxytag: member="QwtDial::getValue" ref="7acb904d2f2e9b20178cd9a9d9b37d3f" args="(const QPoint &)" --><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::getValue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QPoint & </td> <td class="mdname1" valign="top" nowrap> <em>pos</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>Find the value for a given position<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>pos</em> </td><td>Position </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>Value </dd></dl><p>Implements <a class="el" href="class_qwt_abstract_slider.html#6e26a993536813c2d9846a28f3c27aa7">QwtAbstractSlider</a>.<p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l01052">1052</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>.<p>References <a class="el" href="qwt__double__range_8cpp-source.html#l00326">QwtDoubleRange::maxValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00339">QwtDoubleRange::minValue()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l00382">mode()</a>, <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00574">QwtAbstractSlider::mouseOffset()</a>, <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00579">QwtAbstractSlider::scrollMode()</a>, <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00569">QwtAbstractSlider::setMouseOffset()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00360">QwtDoubleRange::value()</a>, and <a class="el" href="qwt__dial_8cpp-source.html#l00410">wrapping()</a>. </td> </tr></table><a class="anchor" name="7b668a8819d9bf5e0894676779dc58ea"></a><!-- doxytag: member="QwtDial::hasVisibleBackground" ref="7b668a8819d9bf5e0894676779dc58ea" 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">bool QwtDial::hasVisibleBackground </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>true when the area outside of the frame is visible<p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dial.html#e8fde2f662ce5a484b3a27f64a45ef92">showBackground()</a>, setMask() </dd></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00234">234</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#l00419">resizeEvent()</a>. </td> </tr></table><a class="anchor" name="61a2341a76abc20ea5bd72a0485be136"></a><!-- doxytag: member="QwtDial::keyPressEvent" ref="61a2341a76abc20ea5bd72a0485be136" args="(QKeyEvent *)" --><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::keyPressEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">QKeyEvent * </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>Handles key events<p><ul><li>Key_Down, KeyLeft<br> Decrement by 1</li><li>Key_Prior<br> Decrement by <a class="el" href="class_qwt_double_range.html#c12a5c43dc5839913379982ec40a39d8">pageSize()</a></li><li>Key_Home<br> Set the value to <a class="el" href="class_qwt_double_range.html#8b8650a6f8a96144d3af21207ee71637">minValue()</a></li></ul><p><ul><li>Key_Up, KeyRight<br> Increment by 1</li><li>Key_Next<br> Increment by <a class="el" href="class_qwt_double_range.html#c12a5c43dc5839913379982ec40a39d8">pageSize()</a></li><li>Key_End<br> Set the value to <a class="el" href="class_qwt_double_range.html#215275a1a8b4218a424ee8444c7fe409">maxValue()</a></li></ul><p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_slider.html#040fd1fd03592c524314bf4b5539608d">isReadOnly()</a> </dd></dl><p>Reimplemented from <a class="el" href="class_qwt_abstract_slider.html#4d55f8ffab93d8610bc026e00e3bdc81">QwtAbstractSlider</a>.<p>Reimplemented in <a class="el" href="class_qwt_compass.html#d4f31e6837ea045834fe67d192a4209d">QwtCompass</a>.<p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l01187">1187</a> of file <a class="el" href="qwt__dial_8cpp-source.html">qwt_dial.cpp</a>.<p>References <a class="el" href="qwt__double__range_8cpp-source.html#l00259">QwtDoubleRange::incValue()</a>, <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00098">QwtAbstractSlider::isReadOnly()</a>, <a class="el" href="qwt__abstract__slider_8h-source.html#l00087">QwtAbstractSlider::isValid()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00326">QwtDoubleRange::maxValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00339">QwtDoubleRange::minValue()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00354">QwtDoubleRange::pageSize()</a>, <a class="el" href="qwt__double__range_8cpp-source.html#l00386">QwtDoubleRange::prevValue()</a>, and <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00535">QwtAbstractSlider::setValue()</a>. </td> </tr></table><a class="anchor" name="fb583edf70364eb562bf84686b60a9b7"></a><!-- doxytag: member="QwtDial::lineWidth" ref="fb583edf70364eb562bf84686b60a9b7" 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">int QwtDial::lineWidth </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>Line width of the frame </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_dial.html#7946ca363a97fd28de4993a5caa54507">setLineWidth()</a>, <a class="el" href="class_qwt_dial.html#49e37bd4da2ed2b846bba75c79a04fbc">frameShadow()</a>, <a class="el" href="class_qwt_dial.html#fb583edf70364eb562bf84686b60a9b7">lineWidth()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__dial_8cpp-source.html#l00285">285</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#l00294">contentsRect()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l00510">drawFrame()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l01017">minimumSizeHint()</a>, <a class="el" href="qwt__dial_8cpp-source.html#l00244">setFrameShadow()</a>, and <a class="el" href="qwt__dial_8cpp-source.html#l01001">sizeHint()</a>. </td> </tr></table><a class="anchor" name="9d7a976894700e616126d41a312f999d"></a><!-- doxytag: member="QwtDial::maxScaleArc" ref="9d7a976894700e616126d41a312f999d" 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::maxScaleArc </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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -