📄 class_qwt_wheel.html
字号:
<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>Determine the scrolling mode and direction corresponding to a specified point. <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>p</em> </td><td>point </td></tr> <tr><td valign="top"></td><td valign="top"><em>scrollMode</em> </td><td>scrolling mode </td></tr> <tr><td valign="top"></td><td valign="top"><em>direction</em> </td><td>direction </td></tr> </table></dl><p>Implements <a class="el" href="class_qwt_abstract_slider.html#dcb6819c88cfa27e9ea3d8828479ea0b">QwtAbstractSlider</a>.<p>Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00596">596</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>. </td> </tr></table><a class="anchor" name="6bb116593e63e724059c894a6fc41097"></a><!-- doxytag: member="QwtWheel::getValue" ref="6bb116593e63e724059c894a6fc41097" args="(const QPoint &p)" --><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 QwtWheel::getValue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QPoint & </td> <td class="mdname1" valign="top" nowrap> <em>p</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>Determine the value corresponding to a specified point. <p><p>Implements <a class="el" href="class_qwt_abstract_slider.html#6e26a993536813c2d9846a28f3c27aa7">QwtAbstractSlider</a>.<p>Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00494">494</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.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>, and <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00117">QwtAbstractSlider::orientation()</a>. </td> </tr></table><a class="anchor" name="03a6adc4f6516143501c8114f164d47c"></a><!-- doxytag: member="QwtWheel::layoutWheel" ref="03a6adc4f6516143501c8114f164d47c" args="(bool update=true)" --><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 QwtWheel::layoutWheel </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>update</em> = <code>true</code> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Recalculate the slider's geometry and layout based on. <p><p>Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00533">533</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.<p>Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00524">resizeEvent()</a>, <a class="el" href="qwt__wheel_8cpp-source.html#l00183">setInternalBorder()</a>, <a class="el" href="qwt__wheel_8cpp-source.html#l00325">setOrientation()</a>, and <a class="el" href="qwt__wheel_8cpp-source.html#l00624">setWheelWidth()</a>. </td> </tr></table><a class="anchor" name="55de1496f0eef04da9bc293306a40df6"></a><!-- doxytag: member="QwtWheel::mass" ref="55de1496f0eef04da9bc293306a40df6" 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 QwtWheel::mass </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><dl compact><dt><b>Returns:</b></dt><dd>mass </dd></dl><p>Reimplemented from <a class="el" href="class_qwt_abstract_slider.html#130105fc2001c53cea65f21b03f0b5db">QwtAbstractSlider</a>.<p>Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00168">168</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.<p>References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00521">QwtAbstractSlider::mass()</a>. </td> </tr></table><a class="anchor" name="668397451f5ad7b2a78d01d9e7141bcf"></a><!-- doxytag: member="QwtWheel::minimumSizeHint" ref="668397451f5ad7b2a78d01d9e7141bcf" 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 QwtWheel::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 is based on the wheel width. </dd></dl><p>Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00642">642</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.<p>References <a class="el" href="qwt__abstract__slider_8cpp-source.html#l00117">QwtAbstractSlider::orientation()</a>.<p>Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00633">sizeHint()</a>. </td> </tr></table><a class="anchor" name="c2bc645171e2c1dd34acff3d122ab4ba"></a><!-- doxytag: member="QwtWheel::paintEvent" ref="c2bc645171e2c1dd34acff3d122ab4ba" args="(QPaintEvent *e)" --><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 QwtWheel::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>Qt Paint Event. <p><p>Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00547">547</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.<p>References <a class="el" href="qwt__wheel_8cpp-source.html#l00564">draw()</a>. </td> </tr></table><a class="anchor" name="358aae0c56eda43f5c9fdb74b89de60a"></a><!-- doxytag: member="QwtWheel::paletteChange" ref="358aae0c56eda43f5c9fdb74b89de60a" args="(const QPalette &)" --><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 QwtWheel::paletteChange </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const QPalette & </td> <td class="mdname1" valign="top" nowrap> </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>Call update() when the palette changes. <p><p>Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00654">654</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>. </td> </tr></table><a class="anchor" name="f4fda101be95e70803127cc94fc1e337"></a><!-- doxytag: member="QwtWheel::resizeEvent" ref="f4fda101be95e70803127cc94fc1e337" args="(QResizeEvent *e)" --><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 QwtWheel::resizeEvent </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">QResizeEvent * </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>Qt Resize Event. <p><p>Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00524">524</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.<p>References <a class="el" href="qwt__wheel_8cpp-source.html#l00533">layoutWheel()</a>. </td> </tr></table><a class="anchor" name="f7d32d9b65d1f55913656a44b2a20646"></a><!-- doxytag: member="QwtWheel::setColorArray" ref="f7d32d9b65d1f55913656a44b2a20646" 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">void QwtWheel::setColorArray </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Set up the color array for the background pixmap. <p><p>Definition at line <a class="el" href="qwt__wheel_8cpp-source.html#l00096">96</a> of file <a class="el" href="qwt__wheel_8cpp-source.html">qwt_wheel.cpp</a>.<p>Referenced by <a class="el" href="qwt__wheel_8cpp-source.html#l00197">drawWheelBackground()</a>. </td> </tr></table><a class="anchor" name="cb9358f6cf27f1552dd7f97ebfd2d3fb"></a><!-- doxytag: member="QwtWheel::setInternalBorder" ref="cb9358f6cf27f1552dd7f97ebfd2d3fb" args="(int width)" --><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 QwtWheel::setInternalBorder </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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -