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

📄 class_qwt_panner.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<a class="anchor" name="43e06c262c945fc7faeb729539bbde58"></a><!-- doxytag: member="QwtPanner::setEnabled" ref="43e06c262c945fc7faeb729539bbde58" args="(bool)" --><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 QwtPanner::setEnabled           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">bool&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>on</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>En/disable the panner. <p>When enabled is true an event filter is installed for the observed widget, otherwise the event filter is removed.<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>on</em>&nbsp;</td><td>true or false </td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#7b0bae829d1ee12208ab8722d52d15a1">isEnabled()</a>, <a class="el" href="class_qwt_panner.html#06b8eea86d4dcbe361c4af41a263f2cb">eventFilter()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00166">166</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.<p>Referenced by <a class="el" href="qwt__panner_8cpp-source.html#l00064">QwtPanner()</a>.    </td>  </tr></table><a class="anchor" name="a2b37fa4cb48abf82ae0308b3e5992c5"></a><!-- doxytag: member="QwtPanner::setMouseButton" ref="a2b37fa4cb48abf82ae0308b3e5992c5" args="(int button, int buttonState=Qt::NoButton)" --><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 QwtPanner::setMouseButton           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap> <em>button</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>buttonState</em> = <code>Qt::NoButton</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>Change the mouse button The defaults are Qt::LeftButton and Qt::NoButton <p>Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00095">95</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.    </td>  </tr></table><a class="anchor" name="7ed4e89f6c52b841e20ad497af4b4ebc"></a><!-- doxytag: member="QwtPanner::widgetKeyPressEvent" ref="7ed4e89f6c52b841e20ad497af4b4ebc" 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 QwtPanner::widgetKeyPressEvent           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QKeyEvent *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>ke</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Handle a key press event for the observed widget.<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>ke</em>&nbsp;</td><td>Key event </td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#06b8eea86d4dcbe361c4af41a263f2cb">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#8bd447df4a30299bbc8e6b6d3e2e2f9f">widgetKeyReleaseEvent()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00379">379</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.    </td>  </tr></table><a class="anchor" name="8bd447df4a30299bbc8e6b6d3e2e2f9f"></a><!-- doxytag: member="QwtPanner::widgetKeyReleaseEvent" ref="8bd447df4a30299bbc8e6b6d3e2e2f9f" 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 QwtPanner::widgetKeyReleaseEvent           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QKeyEvent *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Handle a key release event for the observed widget.<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>ke</em>&nbsp;</td><td>Key event </td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#06b8eea86d4dcbe361c4af41a263f2cb">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#8bd447df4a30299bbc8e6b6d3e2e2f9f">widgetKeyReleaseEvent()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00408">408</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.    </td>  </tr></table><a class="anchor" name="6545bc6e25018253c59fc27a48eb948f"></a><!-- doxytag: member="QwtPanner::widgetMouseMoveEvent" ref="6545bc6e25018253c59fc27a48eb948f" args="(QMouseEvent *)" --><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 QwtPanner::widgetMouseMoveEvent           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QMouseEvent *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>me</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Handle a mouse release event for the observed widget.<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>me</em>&nbsp;</td><td>Mouse event </td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#06b8eea86d4dcbe361c4af41a263f2cb">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#e002958978dcc751f9edda24e5858dd9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_panner.html#6545bc6e25018253c59fc27a48eb948f">widgetMouseMoveEvent()</a>, </dd></dl><p>Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00336">336</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.<p>References <a class="el" href="class_qwt_panner.html#a45ae2f4d6d20a83783898dd86d0b595">moved()</a>.    </td>  </tr></table><a class="anchor" name="e002958978dcc751f9edda24e5858dd9"></a><!-- doxytag: member="QwtPanner::widgetMousePressEvent" ref="e002958978dcc751f9edda24e5858dd9" args="(QMouseEvent *)" --><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 QwtPanner::widgetMousePressEvent           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QMouseEvent *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>me</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Handle a mouse press event for the observed widget.<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>me</em>&nbsp;</td><td>Mouse event </td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#06b8eea86d4dcbe361c4af41a263f2cb">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#b2da1e24b1456b223eaa826d8e0a3a81">widgetMouseReleaseEvent()</a>, <a class="el" href="class_qwt_panner.html#6545bc6e25018253c59fc27a48eb948f">widgetMouseMoveEvent()</a>, </dd></dl><p>Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00291">291</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.<p>Referenced by <a class="el" href="qwt__panner_8cpp-source.html#l00246">eventFilter()</a>.    </td>  </tr></table><a class="anchor" name="b2da1e24b1456b223eaa826d8e0a3a81"></a><!-- doxytag: member="QwtPanner::widgetMouseReleaseEvent" ref="b2da1e24b1456b223eaa826d8e0a3a81" args="(QMouseEvent *)" --><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 QwtPanner::widgetMouseReleaseEvent           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QMouseEvent *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>me</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [protected, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Handle a mouse move event for the observed widget.<p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#06b8eea86d4dcbe361c4af41a263f2cb">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#e002958978dcc751f9edda24e5858dd9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_panner.html#b2da1e24b1456b223eaa826d8e0a3a81">widgetMouseReleaseEvent()</a>, </dd></dl><p>Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00353">353</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.<p>References <a class="el" href="class_qwt_panner.html#e9ce78e6f9ae73317af29b2dc5df7372">panned()</a>.    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:24:21 2007 for Qwt User's Guide by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address></body></html>

⌨️ 快捷键说明

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