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

📄 class_qwt_panner.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
📖 第 1 页 / 共 3 页
字号:
          <td class="md" nowrap valign="top">void QwtPanner::getMouseButton           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int &amp;&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 &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>buttonState</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Get the mouse button. <p><p>Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00102">102</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.    </td>  </tr></table><a class="anchor" name="7b0bae829d1ee12208ab8722d52d15a1"></a><!-- doxytag: member="QwtPanner::isEnabled" ref="7b0bae829d1ee12208ab8722d52d15a1" 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 QwtPanner::isEnabled           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><dl compact><dt><b>Returns:</b></dt><dd>true when enabled, false otherwise </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#43e06c262c945fc7faeb729539bbde58">setEnabled</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#l00192">192</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.    </td>  </tr></table><a class="anchor" name="a45ae2f4d6d20a83783898dd86d0b595"></a><!-- doxytag: member="QwtPanner::moved" ref="a45ae2f4d6d20a83783898dd86d0b595" args="(int dx, int dy)" --><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::moved           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap> <em>dx</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>dy</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [signal]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Signal emitted, while the widget moved, but panning is not finished.<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>dx</em>&nbsp;</td><td>Offset in horizontal direction </td></tr>    <tr><td valign="top"></td><td valign="top"><em>dy</em>&nbsp;</td><td>Offset in vertical direction </td></tr>  </table></dl><p>Referenced by <a class="el" href="qwt__panner_8cpp-source.html#l00336">widgetMouseMoveEvent()</a>.    </td>  </tr></table><a class="anchor" name="cd76ea518bd9267a45115d2c6ce19353"></a><!-- doxytag: member="QwtPanner::paintEvent" ref="cd76ea518bd9267a45115d2c6ce19353" 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 QwtPanner::paintEvent           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">QPaintEvent *&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>pe</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>Paint event. <p>Repaint the grabbed pixmap on its current position and fill the empty spaces by the background of the parent 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>pe</em>&nbsp;</td><td>Paint event </td></tr>  </table></dl><p>Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00205">205</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.    </td>  </tr></table><a class="anchor" name="e9ce78e6f9ae73317af29b2dc5df7372"></a><!-- doxytag: member="QwtPanner::panned" ref="e9ce78e6f9ae73317af29b2dc5df7372" args="(int dx, int dy)" --><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::panned           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap> <em>dx</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>dy</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [signal]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Signal emitted, when panning is done<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>dx</em>&nbsp;</td><td>Offset in horizontal direction </td></tr>    <tr><td valign="top"></td><td valign="top"><em>dy</em>&nbsp;</td><td>Offset in vertical direction </td></tr>  </table></dl><p>Referenced by <a class="el" href="qwt__plot__panner_8cpp-source.html#l00038">QwtPlotPanner::QwtPlotPanner()</a>, and <a class="el" href="qwt__panner_8cpp-source.html#l00353">widgetMouseReleaseEvent()</a>.    </td>  </tr></table><a class="anchor" name="4545ea538c2a6946b1027f95cfb51c9f"></a><!-- doxytag: member="QwtPanner::setAbortKey" ref="4545ea538c2a6946b1027f95cfb51c9f" args="(int key, int state=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::setAbortKey           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap> <em>key</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>state</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 abort key The defaults are Qt::Key_Escape and Qt::NoButton <p>Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00112">112</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.    </td>  </tr></table><a class="anchor" name="c8b0625fe155fff0132df85727f54a3e"></a><!-- doxytag: member="QwtPanner::setCursor" ref="c8b0625fe155fff0132df85727f54a3e" args="(const QCursor &amp;)" --><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::setCursor           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const QCursor &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>cursor</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>Change the cursor, that is active while panning The default is the cursor of the parent 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>cursor</em>&nbsp;</td><td>New cursor</td></tr>  </table></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#c8b0625fe155fff0132df85727f54a3e">setCursor()</a> </dd></dl><p>Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00134">134</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.    </td>  </tr></table>

⌨️ 快捷键说明

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