class_qwt_panner.html 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.20"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Qwt User&#39;s Guide: QwtPanner Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  17. <script type="text/javascript" src="search/searchdata.js"></script>
  18. <script type="text/javascript" src="search/search.js"></script>
  19. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  20. </head>
  21. <body>
  22. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  23. <div id="titlearea">
  24. <table cellspacing="0" cellpadding="0">
  25. <tbody>
  26. <tr style="height: 56px;">
  27. <td id="projectalign" style="padding-left: 0.5em;">
  28. <div id="projectname">Qwt User&#39;s Guide
  29. &#160;<span id="projectnumber">6.1.6</span>
  30. </div>
  31. </td>
  32. </tr>
  33. </tbody>
  34. </table>
  35. </div>
  36. <!-- end header part -->
  37. <!-- Generated by Doxygen 1.8.20 -->
  38. <script type="text/javascript">
  39. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  40. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  41. /* @license-end */
  42. </script>
  43. <script type="text/javascript" src="menudata.js"></script>
  44. <script type="text/javascript" src="menu.js"></script>
  45. <script type="text/javascript">
  46. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  47. $(function() {
  48. initMenu('',true,false,'search.php','Search');
  49. $(document).ready(function() { init_search(); });
  50. });
  51. /* @license-end */</script>
  52. <div id="main-nav"></div>
  53. </div><!-- top -->
  54. <div id="side-nav" class="ui-resizable side-nav-resizable">
  55. <div id="nav-tree">
  56. <div id="nav-tree-contents">
  57. <div id="nav-sync" class="sync"></div>
  58. </div>
  59. </div>
  60. <div id="splitbar" style="-moz-user-select:none;"
  61. class="ui-resizable-handle">
  62. </div>
  63. </div>
  64. <script type="text/javascript">
  65. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  66. $(document).ready(function(){initNavTree('class_qwt_panner.html',''); initResizable(); });
  67. /* @license-end */
  68. </script>
  69. <div id="doc-content">
  70. <!-- window showing the filter options -->
  71. <div id="MSearchSelectWindow"
  72. onmouseover="return searchBox.OnSearchSelectShow()"
  73. onmouseout="return searchBox.OnSearchSelectHide()"
  74. onkeydown="return searchBox.OnSearchSelectKey(event)">
  75. </div>
  76. <!-- iframe showing the search results (closed by default) -->
  77. <div id="MSearchResultsWindow">
  78. <iframe src="javascript:void(0)" frameborder="0"
  79. name="MSearchResults" id="MSearchResults">
  80. </iframe>
  81. </div>
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#signals">Signals</a> &#124;
  85. <a href="#pub-methods">Public Member Functions</a> &#124;
  86. <a href="#pro-methods">Protected Member Functions</a> &#124;
  87. <a href="class_qwt_panner-members.html">List of all members</a> </div>
  88. <div class="headertitle">
  89. <div class="title">QwtPanner Class Reference</div> </div>
  90. </div><!--header-->
  91. <div class="contents">
  92. <p><a class="el" href="class_qwt_panner.html" title="QwtPanner provides panning of a widget.">QwtPanner</a> provides panning of a widget.
  93. <a href="class_qwt_panner.html#details">More...</a></p>
  94. <p><code>#include &lt;<a class="el" href="qwt__panner_8h_source.html">qwt_panner.h</a>&gt;</code></p>
  95. <div class="dynheader">
  96. Inheritance diagram for QwtPanner:</div>
  97. <div class="dyncontent">
  98. <div class="center"><img src="class_qwt_panner__inherit__graph.png" border="0" usemap="#a_qwt_panner_inherit__map" alt="Inheritance graph"/></div>
  99. <map name="_qwt_panner_inherit__map" id="a_qwt_panner_inherit__map">
  100. <area shape="rect" title="QwtPanner provides panning of a widget." alt="" coords="17,80,104,107"/>
  101. <area shape="rect" href="class_qwt_plot_panner.html" title="QwtPlotPanner provides panning of a plot canvas." alt="" coords="5,155,116,181"/>
  102. <area shape="rect" title=" " alt="" coords="24,5,97,32"/>
  103. </map>
  104. <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
  105. <table class="memberdecls">
  106. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
  107. Signals</h2></td></tr>
  108. <tr class="memitem:ae9ce78e6f9ae73317af29b2dc5df7372"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#ae9ce78e6f9ae73317af29b2dc5df7372">panned</a> (int dx, int dy)</td></tr>
  109. <tr class="separator:ae9ce78e6f9ae73317af29b2dc5df7372"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:aa45ae2f4d6d20a83783898dd86d0b595"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#aa45ae2f4d6d20a83783898dd86d0b595">moved</a> (int dx, int dy)</td></tr>
  111. <tr class="separator:aa45ae2f4d6d20a83783898dd86d0b595"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. </table><table class="memberdecls">
  113. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  114. Public Member Functions</h2></td></tr>
  115. <tr class="memitem:af5482be26d69a64c3880653265240736"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#af5482be26d69a64c3880653265240736">QwtPanner</a> (QWidget *parent)</td></tr>
  116. <tr class="separator:af5482be26d69a64c3880653265240736"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a19c9b9a08da05649f6d2ef5bf6fb391c"><td class="memItemLeft" align="right" valign="top"><a id="a19c9b9a08da05649f6d2ef5bf6fb391c"></a>
  118. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a19c9b9a08da05649f6d2ef5bf6fb391c">~QwtPanner</a> ()</td></tr>
  119. <tr class="memdesc:a19c9b9a08da05649f6d2ef5bf6fb391c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  120. <tr class="separator:a19c9b9a08da05649f6d2ef5bf6fb391c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a43e06c262c945fc7faeb729539bbde58"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a43e06c262c945fc7faeb729539bbde58">setEnabled</a> (bool)</td></tr>
  122. <tr class="memdesc:a43e06c262c945fc7faeb729539bbde58"><td class="mdescLeft">&#160;</td><td class="mdescRight">En/disable the panner. <a href="class_qwt_panner.html#a43e06c262c945fc7faeb729539bbde58">More...</a><br /></td></tr>
  123. <tr class="separator:a43e06c262c945fc7faeb729539bbde58"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:a19439f534fc9fa254693948eb4f4bb5f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a19439f534fc9fa254693948eb4f4bb5f">isEnabled</a> () const</td></tr>
  125. <tr class="separator:a19439f534fc9fa254693948eb4f4bb5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:a6f138454b2c1d7e814ae1975d6a7b8be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a6f138454b2c1d7e814ae1975d6a7b8be">setMouseButton</a> (Qt::MouseButton, Qt::KeyboardModifiers=Qt::NoModifier)</td></tr>
  127. <tr class="separator:a6f138454b2c1d7e814ae1975d6a7b8be"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:a8a74f8e2f4d424f85fa5a9da11c075d2"><td class="memItemLeft" align="right" valign="top"><a id="a8a74f8e2f4d424f85fa5a9da11c075d2"></a>
  129. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a8a74f8e2f4d424f85fa5a9da11c075d2">getMouseButton</a> (Qt::MouseButton &amp;button, Qt::KeyboardModifiers &amp;) const</td></tr>
  130. <tr class="memdesc:a8a74f8e2f4d424f85fa5a9da11c075d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get mouse button and modifiers used for panning. <br /></td></tr>
  131. <tr class="separator:a8a74f8e2f4d424f85fa5a9da11c075d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:acbb1b9e30214354708e1d75db6b78289"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#acbb1b9e30214354708e1d75db6b78289">setAbortKey</a> (int key, Qt::KeyboardModifiers=Qt::NoModifier)</td></tr>
  133. <tr class="separator:acbb1b9e30214354708e1d75db6b78289"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:abdfca52ea5a6a11a533dcbbbddbb3bf6"><td class="memItemLeft" align="right" valign="top"><a id="abdfca52ea5a6a11a533dcbbbddbb3bf6"></a>
  135. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#abdfca52ea5a6a11a533dcbbbddbb3bf6">getAbortKey</a> (int &amp;key, Qt::KeyboardModifiers &amp;) const</td></tr>
  136. <tr class="memdesc:abdfca52ea5a6a11a533dcbbbddbb3bf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the abort key and modifiers. <br /></td></tr>
  137. <tr class="separator:abdfca52ea5a6a11a533dcbbbddbb3bf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:ac8b0625fe155fff0132df85727f54a3e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#ac8b0625fe155fff0132df85727f54a3e">setCursor</a> (const QCursor &amp;)</td></tr>
  139. <tr class="separator:ac8b0625fe155fff0132df85727f54a3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:a1ebb1cc406fa3d30df0e7dd7a541667d"><td class="memItemLeft" align="right" valign="top">const QCursor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a1ebb1cc406fa3d30df0e7dd7a541667d">cursor</a> () const</td></tr>
  141. <tr class="separator:a1ebb1cc406fa3d30df0e7dd7a541667d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:aaa71a8b6f7f46ae8f5a8084094d7bd9a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#aaa71a8b6f7f46ae8f5a8084094d7bd9a">setOrientations</a> (Qt::Orientations)</td></tr>
  143. <tr class="separator:aaa71a8b6f7f46ae8f5a8084094d7bd9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:a0df413d3d5a6bc4f002e87f3b269214e"><td class="memItemLeft" align="right" valign="top"><a id="a0df413d3d5a6bc4f002e87f3b269214e"></a>
  145. Qt::Orientations&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a0df413d3d5a6bc4f002e87f3b269214e">orientations</a> () const</td></tr>
  146. <tr class="memdesc:a0df413d3d5a6bc4f002e87f3b269214e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the orientation, where paning is enabled. <br /></td></tr>
  147. <tr class="separator:a0df413d3d5a6bc4f002e87f3b269214e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:aa69c32aae501021f01cb7c833172986c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#aa69c32aae501021f01cb7c833172986c">isOrientationEnabled</a> (Qt::Orientation) const</td></tr>
  149. <tr class="separator:aa69c32aae501021f01cb7c833172986c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:a06b8eea86d4dcbe361c4af41a263f2cb"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a06b8eea86d4dcbe361c4af41a263f2cb">eventFilter</a> (QObject *, QEvent *)</td></tr>
  151. <tr class="memdesc:a06b8eea86d4dcbe361c4af41a263f2cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event filter. <a href="class_qwt_panner.html#a06b8eea86d4dcbe361c4af41a263f2cb">More...</a><br /></td></tr>
  152. <tr class="separator:a06b8eea86d4dcbe361c4af41a263f2cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. </table><table class="memberdecls">
  154. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  155. Protected Member Functions</h2></td></tr>
  156. <tr class="memitem:ae002958978dcc751f9edda24e5858dd9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#ae002958978dcc751f9edda24e5858dd9">widgetMousePressEvent</a> (QMouseEvent *)</td></tr>
  157. <tr class="separator:ae002958978dcc751f9edda24e5858dd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:ab2da1e24b1456b223eaa826d8e0a3a81"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#ab2da1e24b1456b223eaa826d8e0a3a81">widgetMouseReleaseEvent</a> (QMouseEvent *)</td></tr>
  159. <tr class="separator:ab2da1e24b1456b223eaa826d8e0a3a81"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:a6545bc6e25018253c59fc27a48eb948f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a6545bc6e25018253c59fc27a48eb948f">widgetMouseMoveEvent</a> (QMouseEvent *)</td></tr>
  161. <tr class="separator:a6545bc6e25018253c59fc27a48eb948f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:a7ed4e89f6c52b841e20ad497af4b4ebc"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a7ed4e89f6c52b841e20ad497af4b4ebc">widgetKeyPressEvent</a> (QKeyEvent *)</td></tr>
  163. <tr class="separator:a7ed4e89f6c52b841e20ad497af4b4ebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:a8bd447df4a30299bbc8e6b6d3e2e2f9f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a8bd447df4a30299bbc8e6b6d3e2e2f9f">widgetKeyReleaseEvent</a> (QKeyEvent *)</td></tr>
  165. <tr class="separator:a8bd447df4a30299bbc8e6b6d3e2e2f9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  166. <tr class="memitem:acd76ea518bd9267a45115d2c6ce19353"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#acd76ea518bd9267a45115d2c6ce19353">paintEvent</a> (QPaintEvent *)</td></tr>
  167. <tr class="memdesc:acd76ea518bd9267a45115d2c6ce19353"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paint event. <a href="class_qwt_panner.html#acd76ea518bd9267a45115d2c6ce19353">More...</a><br /></td></tr>
  168. <tr class="separator:acd76ea518bd9267a45115d2c6ce19353"><td class="memSeparator" colspan="2">&#160;</td></tr>
  169. <tr class="memitem:aac1d7537025f41d2d0dfc261c56dac8e"><td class="memItemLeft" align="right" valign="top">virtual QBitmap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#aac1d7537025f41d2d0dfc261c56dac8e">contentsMask</a> () const</td></tr>
  170. <tr class="memdesc:aac1d7537025f41d2d0dfc261c56dac8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate a mask for the contents of the panned widget. <a href="class_qwt_panner.html#aac1d7537025f41d2d0dfc261c56dac8e">More...</a><br /></td></tr>
  171. <tr class="separator:aac1d7537025f41d2d0dfc261c56dac8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  172. <tr class="memitem:ac5ac83293f33b7b71ae9f49217d53fec"><td class="memItemLeft" align="right" valign="top">virtual QPixmap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#ac5ac83293f33b7b71ae9f49217d53fec">grab</a> () const</td></tr>
  173. <tr class="separator:ac5ac83293f33b7b71ae9f49217d53fec"><td class="memSeparator" colspan="2">&#160;</td></tr>
  174. </table>
  175. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  176. <div class="textblock"><p><a class="el" href="class_qwt_panner.html" title="QwtPanner provides panning of a widget.">QwtPanner</a> provides panning of a widget. </p>
  177. <p><a class="el" href="class_qwt_panner.html" title="QwtPanner provides panning of a widget.">QwtPanner</a> grabs the contents of a widget, that can be dragged in all directions. The offset between the start and the end position is emitted by the panned signal.</p>
  178. <p><a class="el" href="class_qwt_panner.html" title="QwtPanner provides panning of a widget.">QwtPanner</a> grabs the content of the widget into a pixmap and moves the pixmap around, without initiating any repaint events for the widget. Areas, that are not part of content are not painted while panning. This makes panning fast enough for widgets, where repaints are too slow for mouse movements.</p>
  179. <p>For widgets, where repaints are very fast it might be better to implement panning manually by mapping mouse events into paint events. </p>
  180. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  181. <a id="af5482be26d69a64c3880653265240736"></a>
  182. <h2 class="memtitle"><span class="permalink"><a href="#af5482be26d69a64c3880653265240736">&#9670;&nbsp;</a></span>QwtPanner()</h2>
  183. <div class="memitem">
  184. <div class="memproto">
  185. <table class="memname">
  186. <tr>
  187. <td class="memname">QwtPanner::QwtPanner </td>
  188. <td>(</td>
  189. <td class="paramtype">QWidget *&#160;</td>
  190. <td class="paramname"><em>parent</em></td><td>)</td>
  191. <td></td>
  192. </tr>
  193. </table>
  194. </div><div class="memdoc">
  195. <p>Creates an panner that is enabled for the left mouse button.</p>
  196. <dl class="params"><dt>Parameters</dt><dd>
  197. <table class="params">
  198. <tr><td class="paramname">parent</td><td>Parent widget to be panned </td></tr>
  199. </table>
  200. </dd>
  201. </dl>
  202. </div>
  203. </div>
  204. <h2 class="groupheader">Member Function Documentation</h2>
  205. <a id="aac1d7537025f41d2d0dfc261c56dac8e"></a>
  206. <h2 class="memtitle"><span class="permalink"><a href="#aac1d7537025f41d2d0dfc261c56dac8e">&#9670;&nbsp;</a></span>contentsMask()</h2>
  207. <div class="memitem">
  208. <div class="memproto">
  209. <table class="mlabels">
  210. <tr>
  211. <td class="mlabels-left">
  212. <table class="memname">
  213. <tr>
  214. <td class="memname">QBitmap QwtPanner::contentsMask </td>
  215. <td>(</td>
  216. <td class="paramname"></td><td>)</td>
  217. <td> const</td>
  218. </tr>
  219. </table>
  220. </td>
  221. <td class="mlabels-right">
  222. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  223. </tr>
  224. </table>
  225. </div><div class="memdoc">
  226. <p>Calculate a mask for the contents of the panned widget. </p>
  227. <p>Sometimes only parts of the contents of a widget should be panned. F.e. for a widget with a styled background with rounded borders only the area inside of the border should be panned.</p>
  228. <dl class="section return"><dt>Returns</dt><dd>An empty bitmap, indicating no mask </dd></dl>
  229. <p>Reimplemented in <a class="el" href="class_qwt_plot_panner.html#aed84a9594d3b1539a4378b3026a8d431">QwtPlotPanner</a>.</p>
  230. </div>
  231. </div>
  232. <a id="a1ebb1cc406fa3d30df0e7dd7a541667d"></a>
  233. <h2 class="memtitle"><span class="permalink"><a href="#a1ebb1cc406fa3d30df0e7dd7a541667d">&#9670;&nbsp;</a></span>cursor()</h2>
  234. <div class="memitem">
  235. <div class="memproto">
  236. <table class="memname">
  237. <tr>
  238. <td class="memname">const QCursor QwtPanner::cursor </td>
  239. <td>(</td>
  240. <td class="paramname"></td><td>)</td>
  241. <td> const</td>
  242. </tr>
  243. </table>
  244. </div><div class="memdoc">
  245. <dl class="section return"><dt>Returns</dt><dd>Cursor that is active while panning </dd></dl>
  246. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_panner.html#ac8b0625fe155fff0132df85727f54a3e">setCursor()</a> </dd></dl>
  247. </div>
  248. </div>
  249. <a id="a06b8eea86d4dcbe361c4af41a263f2cb"></a>
  250. <h2 class="memtitle"><span class="permalink"><a href="#a06b8eea86d4dcbe361c4af41a263f2cb">&#9670;&nbsp;</a></span>eventFilter()</h2>
  251. <div class="memitem">
  252. <div class="memproto">
  253. <table class="mlabels">
  254. <tr>
  255. <td class="mlabels-left">
  256. <table class="memname">
  257. <tr>
  258. <td class="memname">bool QwtPanner::eventFilter </td>
  259. <td>(</td>
  260. <td class="paramtype">QObject *&#160;</td>
  261. <td class="paramname"><em>object</em>, </td>
  262. </tr>
  263. <tr>
  264. <td class="paramkey"></td>
  265. <td></td>
  266. <td class="paramtype">QEvent *&#160;</td>
  267. <td class="paramname"><em>event</em>&#160;</td>
  268. </tr>
  269. <tr>
  270. <td></td>
  271. <td>)</td>
  272. <td></td><td></td>
  273. </tr>
  274. </table>
  275. </td>
  276. <td class="mlabels-right">
  277. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  278. </tr>
  279. </table>
  280. </div><div class="memdoc">
  281. <p>Event filter. </p>
  282. <p>When <a class="el" href="class_qwt_panner.html#a19439f534fc9fa254693948eb4f4bb5f">isEnabled()</a> is true mouse events of the observed widget are filtered.</p>
  283. <dl class="params"><dt>Parameters</dt><dd>
  284. <table class="params">
  285. <tr><td class="paramname">object</td><td>Object to be filtered </td></tr>
  286. <tr><td class="paramname">event</td><td>Event</td></tr>
  287. </table>
  288. </dd>
  289. </dl>
  290. <dl class="section return"><dt>Returns</dt><dd>Always false, beside for paint events for the parent widget.</dd></dl>
  291. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_panner.html#ae002958978dcc751f9edda24e5858dd9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_panner.html#ab2da1e24b1456b223eaa826d8e0a3a81">widgetMouseReleaseEvent()</a>, <a class="el" href="class_qwt_panner.html#a6545bc6e25018253c59fc27a48eb948f">widgetMouseMoveEvent()</a> </dd></dl>
  292. </div>
  293. </div>
  294. <a id="ac5ac83293f33b7b71ae9f49217d53fec"></a>
  295. <h2 class="memtitle"><span class="permalink"><a href="#ac5ac83293f33b7b71ae9f49217d53fec">&#9670;&nbsp;</a></span>grab()</h2>
  296. <div class="memitem">
  297. <div class="memproto">
  298. <table class="mlabels">
  299. <tr>
  300. <td class="mlabels-left">
  301. <table class="memname">
  302. <tr>
  303. <td class="memname">QPixmap QwtPanner::grab </td>
  304. <td>(</td>
  305. <td class="paramname"></td><td>)</td>
  306. <td> const</td>
  307. </tr>
  308. </table>
  309. </td>
  310. <td class="mlabels-right">
  311. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  312. </tr>
  313. </table>
  314. </div><div class="memdoc">
  315. <p>Grab the widget into a pixmap. </p><dl class="section return"><dt>Returns</dt><dd>Grabbed pixmap </dd></dl>
  316. <p>Reimplemented in <a class="el" href="class_qwt_plot_panner.html#abb38281cf067c76703b5f557f14bfcf5">QwtPlotPanner</a>.</p>
  317. </div>
  318. </div>
  319. <a id="a19439f534fc9fa254693948eb4f4bb5f"></a>
  320. <h2 class="memtitle"><span class="permalink"><a href="#a19439f534fc9fa254693948eb4f4bb5f">&#9670;&nbsp;</a></span>isEnabled()</h2>
  321. <div class="memitem">
  322. <div class="memproto">
  323. <table class="memname">
  324. <tr>
  325. <td class="memname">bool QwtPanner::isEnabled </td>
  326. <td>(</td>
  327. <td class="paramname"></td><td>)</td>
  328. <td> const</td>
  329. </tr>
  330. </table>
  331. </div><div class="memdoc">
  332. <dl class="section return"><dt>Returns</dt><dd>true when enabled, false otherwise </dd></dl>
  333. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_panner.html#a43e06c262c945fc7faeb729539bbde58" title="En/disable the panner.">setEnabled</a>, <a class="el" href="class_qwt_panner.html#a06b8eea86d4dcbe361c4af41a263f2cb" title="Event filter.">eventFilter()</a> </dd></dl>
  334. </div>
  335. </div>
  336. <a id="aa69c32aae501021f01cb7c833172986c"></a>
  337. <h2 class="memtitle"><span class="permalink"><a href="#aa69c32aae501021f01cb7c833172986c">&#9670;&nbsp;</a></span>isOrientationEnabled()</h2>
  338. <div class="memitem">
  339. <div class="memproto">
  340. <table class="memname">
  341. <tr>
  342. <td class="memname">bool QwtPanner::isOrientationEnabled </td>
  343. <td>(</td>
  344. <td class="paramtype">Qt::Orientation&#160;</td>
  345. <td class="paramname"><em>o</em></td><td>)</td>
  346. <td> const</td>
  347. </tr>
  348. </table>
  349. </div><div class="memdoc">
  350. <dl class="section return"><dt>Returns</dt><dd>True if an orientation is enabled </dd></dl>
  351. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_panner.html#a0df413d3d5a6bc4f002e87f3b269214e" title="Return the orientation, where paning is enabled.">orientations()</a>, <a class="el" href="class_qwt_panner.html#aaa71a8b6f7f46ae8f5a8084094d7bd9a">setOrientations()</a> </dd></dl>
  352. </div>
  353. </div>
  354. <a id="aa45ae2f4d6d20a83783898dd86d0b595"></a>
  355. <h2 class="memtitle"><span class="permalink"><a href="#aa45ae2f4d6d20a83783898dd86d0b595">&#9670;&nbsp;</a></span>moved</h2>
  356. <div class="memitem">
  357. <div class="memproto">
  358. <table class="mlabels">
  359. <tr>
  360. <td class="mlabels-left">
  361. <table class="memname">
  362. <tr>
  363. <td class="memname">void QwtPanner::moved </td>
  364. <td>(</td>
  365. <td class="paramtype">int&#160;</td>
  366. <td class="paramname"><em>dx</em>, </td>
  367. </tr>
  368. <tr>
  369. <td class="paramkey"></td>
  370. <td></td>
  371. <td class="paramtype">int&#160;</td>
  372. <td class="paramname"><em>dy</em>&#160;</td>
  373. </tr>
  374. <tr>
  375. <td></td>
  376. <td>)</td>
  377. <td></td><td></td>
  378. </tr>
  379. </table>
  380. </td>
  381. <td class="mlabels-right">
  382. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  383. </tr>
  384. </table>
  385. </div><div class="memdoc">
  386. <p>Signal emitted, while the widget moved, but panning is not finished.</p>
  387. <dl class="params"><dt>Parameters</dt><dd>
  388. <table class="params">
  389. <tr><td class="paramname">dx</td><td>Offset in horizontal direction </td></tr>
  390. <tr><td class="paramname">dy</td><td>Offset in vertical direction </td></tr>
  391. </table>
  392. </dd>
  393. </dl>
  394. </div>
  395. </div>
  396. <a id="acd76ea518bd9267a45115d2c6ce19353"></a>
  397. <h2 class="memtitle"><span class="permalink"><a href="#acd76ea518bd9267a45115d2c6ce19353">&#9670;&nbsp;</a></span>paintEvent()</h2>
  398. <div class="memitem">
  399. <div class="memproto">
  400. <table class="mlabels">
  401. <tr>
  402. <td class="mlabels-left">
  403. <table class="memname">
  404. <tr>
  405. <td class="memname">void QwtPanner::paintEvent </td>
  406. <td>(</td>
  407. <td class="paramtype">QPaintEvent *&#160;</td>
  408. <td class="paramname"><em>event</em></td><td>)</td>
  409. <td></td>
  410. </tr>
  411. </table>
  412. </td>
  413. <td class="mlabels-right">
  414. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  415. </tr>
  416. </table>
  417. </div><div class="memdoc">
  418. <p>Paint event. </p>
  419. <p>Repaint the grabbed pixmap on its current position and fill the empty spaces by the background of the parent widget.</p>
  420. <dl class="params"><dt>Parameters</dt><dd>
  421. <table class="params">
  422. <tr><td class="paramname">event</td><td>Paint event </td></tr>
  423. </table>
  424. </dd>
  425. </dl>
  426. </div>
  427. </div>
  428. <a id="ae9ce78e6f9ae73317af29b2dc5df7372"></a>
  429. <h2 class="memtitle"><span class="permalink"><a href="#ae9ce78e6f9ae73317af29b2dc5df7372">&#9670;&nbsp;</a></span>panned</h2>
  430. <div class="memitem">
  431. <div class="memproto">
  432. <table class="mlabels">
  433. <tr>
  434. <td class="mlabels-left">
  435. <table class="memname">
  436. <tr>
  437. <td class="memname">void QwtPanner::panned </td>
  438. <td>(</td>
  439. <td class="paramtype">int&#160;</td>
  440. <td class="paramname"><em>dx</em>, </td>
  441. </tr>
  442. <tr>
  443. <td class="paramkey"></td>
  444. <td></td>
  445. <td class="paramtype">int&#160;</td>
  446. <td class="paramname"><em>dy</em>&#160;</td>
  447. </tr>
  448. <tr>
  449. <td></td>
  450. <td>)</td>
  451. <td></td><td></td>
  452. </tr>
  453. </table>
  454. </td>
  455. <td class="mlabels-right">
  456. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  457. </tr>
  458. </table>
  459. </div><div class="memdoc">
  460. <p>Signal emitted, when panning is done</p>
  461. <dl class="params"><dt>Parameters</dt><dd>
  462. <table class="params">
  463. <tr><td class="paramname">dx</td><td>Offset in horizontal direction </td></tr>
  464. <tr><td class="paramname">dy</td><td>Offset in vertical direction </td></tr>
  465. </table>
  466. </dd>
  467. </dl>
  468. </div>
  469. </div>
  470. <a id="acbb1b9e30214354708e1d75db6b78289"></a>
  471. <h2 class="memtitle"><span class="permalink"><a href="#acbb1b9e30214354708e1d75db6b78289">&#9670;&nbsp;</a></span>setAbortKey()</h2>
  472. <div class="memitem">
  473. <div class="memproto">
  474. <table class="memname">
  475. <tr>
  476. <td class="memname">void QwtPanner::setAbortKey </td>
  477. <td>(</td>
  478. <td class="paramtype">int&#160;</td>
  479. <td class="paramname"><em>key</em>, </td>
  480. </tr>
  481. <tr>
  482. <td class="paramkey"></td>
  483. <td></td>
  484. <td class="paramtype">Qt::KeyboardModifiers&#160;</td>
  485. <td class="paramname"><em>modifiers</em> = <code>Qt::NoModifier</code>&#160;</td>
  486. </tr>
  487. <tr>
  488. <td></td>
  489. <td>)</td>
  490. <td></td><td></td>
  491. </tr>
  492. </table>
  493. </div><div class="memdoc">
  494. <p>Change the abort key The defaults are Qt::Key_Escape and Qt::NoModifiers</p>
  495. <dl class="params"><dt>Parameters</dt><dd>
  496. <table class="params">
  497. <tr><td class="paramname">key</td><td>Key ( See Qt::Keycode ) </td></tr>
  498. <tr><td class="paramname">modifiers</td><td>Keyboard modifiers </td></tr>
  499. </table>
  500. </dd>
  501. </dl>
  502. </div>
  503. </div>
  504. <a id="ac8b0625fe155fff0132df85727f54a3e"></a>
  505. <h2 class="memtitle"><span class="permalink"><a href="#ac8b0625fe155fff0132df85727f54a3e">&#9670;&nbsp;</a></span>setCursor()</h2>
  506. <div class="memitem">
  507. <div class="memproto">
  508. <table class="memname">
  509. <tr>
  510. <td class="memname">void QwtPanner::setCursor </td>
  511. <td>(</td>
  512. <td class="paramtype">const QCursor &amp;&#160;</td>
  513. <td class="paramname"><em>cursor</em></td><td>)</td>
  514. <td></td>
  515. </tr>
  516. </table>
  517. </div><div class="memdoc">
  518. <p>Change the cursor, that is active while panning The default is the cursor of the parent widget.</p>
  519. <dl class="params"><dt>Parameters</dt><dd>
  520. <table class="params">
  521. <tr><td class="paramname">cursor</td><td>New cursor</td></tr>
  522. </table>
  523. </dd>
  524. </dl>
  525. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_panner.html#ac8b0625fe155fff0132df85727f54a3e">setCursor()</a> </dd></dl>
  526. </div>
  527. </div>
  528. <a id="a43e06c262c945fc7faeb729539bbde58"></a>
  529. <h2 class="memtitle"><span class="permalink"><a href="#a43e06c262c945fc7faeb729539bbde58">&#9670;&nbsp;</a></span>setEnabled()</h2>
  530. <div class="memitem">
  531. <div class="memproto">
  532. <table class="memname">
  533. <tr>
  534. <td class="memname">void QwtPanner::setEnabled </td>
  535. <td>(</td>
  536. <td class="paramtype">bool&#160;</td>
  537. <td class="paramname"><em>on</em></td><td>)</td>
  538. <td></td>
  539. </tr>
  540. </table>
  541. </div><div class="memdoc">
  542. <p>En/disable the panner. </p>
  543. <p>When enabled is true an event filter is installed for the observed widget, otherwise the event filter is removed.</p>
  544. <dl class="params"><dt>Parameters</dt><dd>
  545. <table class="params">
  546. <tr><td class="paramname">on</td><td>true or false </td></tr>
  547. </table>
  548. </dd>
  549. </dl>
  550. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_panner.html#a19439f534fc9fa254693948eb4f4bb5f">isEnabled()</a>, <a class="el" href="class_qwt_panner.html#a06b8eea86d4dcbe361c4af41a263f2cb" title="Event filter.">eventFilter()</a> </dd></dl>
  551. </div>
  552. </div>
  553. <a id="a6f138454b2c1d7e814ae1975d6a7b8be"></a>
  554. <h2 class="memtitle"><span class="permalink"><a href="#a6f138454b2c1d7e814ae1975d6a7b8be">&#9670;&nbsp;</a></span>setMouseButton()</h2>
  555. <div class="memitem">
  556. <div class="memproto">
  557. <table class="memname">
  558. <tr>
  559. <td class="memname">void QwtPanner::setMouseButton </td>
  560. <td>(</td>
  561. <td class="paramtype">Qt::MouseButton&#160;</td>
  562. <td class="paramname"><em>button</em>, </td>
  563. </tr>
  564. <tr>
  565. <td class="paramkey"></td>
  566. <td></td>
  567. <td class="paramtype">Qt::KeyboardModifiers&#160;</td>
  568. <td class="paramname"><em>modifiers</em> = <code>Qt::NoModifier</code>&#160;</td>
  569. </tr>
  570. <tr>
  571. <td></td>
  572. <td>)</td>
  573. <td></td><td></td>
  574. </tr>
  575. </table>
  576. </div><div class="memdoc">
  577. <p>Change the mouse button and modifiers used for panning The defaults are Qt::LeftButton and Qt::NoModifier </p>
  578. </div>
  579. </div>
  580. <a id="aaa71a8b6f7f46ae8f5a8084094d7bd9a"></a>
  581. <h2 class="memtitle"><span class="permalink"><a href="#aaa71a8b6f7f46ae8f5a8084094d7bd9a">&#9670;&nbsp;</a></span>setOrientations()</h2>
  582. <div class="memitem">
  583. <div class="memproto">
  584. <table class="memname">
  585. <tr>
  586. <td class="memname">void QwtPanner::setOrientations </td>
  587. <td>(</td>
  588. <td class="paramtype">Qt::Orientations&#160;</td>
  589. <td class="paramname"><em>o</em></td><td>)</td>
  590. <td></td>
  591. </tr>
  592. </table>
  593. </div><div class="memdoc">
  594. <p>Set the orientations, where panning is enabled The default value is in both directions: Qt::Horizontal | Qt::Vertical</p>
  595. <p>/param o Orientation </p>
  596. </div>
  597. </div>
  598. <a id="a7ed4e89f6c52b841e20ad497af4b4ebc"></a>
  599. <h2 class="memtitle"><span class="permalink"><a href="#a7ed4e89f6c52b841e20ad497af4b4ebc">&#9670;&nbsp;</a></span>widgetKeyPressEvent()</h2>
  600. <div class="memitem">
  601. <div class="memproto">
  602. <table class="mlabels">
  603. <tr>
  604. <td class="mlabels-left">
  605. <table class="memname">
  606. <tr>
  607. <td class="memname">void QwtPanner::widgetKeyPressEvent </td>
  608. <td>(</td>
  609. <td class="paramtype">QKeyEvent *&#160;</td>
  610. <td class="paramname"><em>keyEvent</em></td><td>)</td>
  611. <td></td>
  612. </tr>
  613. </table>
  614. </td>
  615. <td class="mlabels-right">
  616. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  617. </tr>
  618. </table>
  619. </div><div class="memdoc">
  620. <p>Handle a key press event for the observed widget.</p>
  621. <dl class="params"><dt>Parameters</dt><dd>
  622. <table class="params">
  623. <tr><td class="paramname">keyEvent</td><td>Key event </td></tr>
  624. </table>
  625. </dd>
  626. </dl>
  627. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_panner.html#a06b8eea86d4dcbe361c4af41a263f2cb" title="Event filter.">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#a8bd447df4a30299bbc8e6b6d3e2e2f9f">widgetKeyReleaseEvent()</a> </dd></dl>
  628. </div>
  629. </div>
  630. <a id="a8bd447df4a30299bbc8e6b6d3e2e2f9f"></a>
  631. <h2 class="memtitle"><span class="permalink"><a href="#a8bd447df4a30299bbc8e6b6d3e2e2f9f">&#9670;&nbsp;</a></span>widgetKeyReleaseEvent()</h2>
  632. <div class="memitem">
  633. <div class="memproto">
  634. <table class="mlabels">
  635. <tr>
  636. <td class="mlabels-left">
  637. <table class="memname">
  638. <tr>
  639. <td class="memname">void QwtPanner::widgetKeyReleaseEvent </td>
  640. <td>(</td>
  641. <td class="paramtype">QKeyEvent *&#160;</td>
  642. <td class="paramname"><em>keyEvent</em></td><td>)</td>
  643. <td></td>
  644. </tr>
  645. </table>
  646. </td>
  647. <td class="mlabels-right">
  648. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  649. </tr>
  650. </table>
  651. </div><div class="memdoc">
  652. <p>Handle a key release event for the observed widget.</p>
  653. <dl class="params"><dt>Parameters</dt><dd>
  654. <table class="params">
  655. <tr><td class="paramname">keyEvent</td><td>Key event </td></tr>
  656. </table>
  657. </dd>
  658. </dl>
  659. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_panner.html#a06b8eea86d4dcbe361c4af41a263f2cb" title="Event filter.">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#a8bd447df4a30299bbc8e6b6d3e2e2f9f">widgetKeyReleaseEvent()</a> </dd></dl>
  660. </div>
  661. </div>
  662. <a id="a6545bc6e25018253c59fc27a48eb948f"></a>
  663. <h2 class="memtitle"><span class="permalink"><a href="#a6545bc6e25018253c59fc27a48eb948f">&#9670;&nbsp;</a></span>widgetMouseMoveEvent()</h2>
  664. <div class="memitem">
  665. <div class="memproto">
  666. <table class="mlabels">
  667. <tr>
  668. <td class="mlabels-left">
  669. <table class="memname">
  670. <tr>
  671. <td class="memname">void QwtPanner::widgetMouseMoveEvent </td>
  672. <td>(</td>
  673. <td class="paramtype">QMouseEvent *&#160;</td>
  674. <td class="paramname"><em>mouseEvent</em></td><td>)</td>
  675. <td></td>
  676. </tr>
  677. </table>
  678. </td>
  679. <td class="mlabels-right">
  680. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  681. </tr>
  682. </table>
  683. </div><div class="memdoc">
  684. <p>Handle a mouse move event for the observed widget.</p>
  685. <dl class="params"><dt>Parameters</dt><dd>
  686. <table class="params">
  687. <tr><td class="paramname">mouseEvent</td><td>Mouse event </td></tr>
  688. </table>
  689. </dd>
  690. </dl>
  691. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_panner.html#a06b8eea86d4dcbe361c4af41a263f2cb" title="Event filter.">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#ae002958978dcc751f9edda24e5858dd9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_panner.html#ab2da1e24b1456b223eaa826d8e0a3a81">widgetMouseReleaseEvent()</a> </dd></dl>
  692. </div>
  693. </div>
  694. <a id="ae002958978dcc751f9edda24e5858dd9"></a>
  695. <h2 class="memtitle"><span class="permalink"><a href="#ae002958978dcc751f9edda24e5858dd9">&#9670;&nbsp;</a></span>widgetMousePressEvent()</h2>
  696. <div class="memitem">
  697. <div class="memproto">
  698. <table class="mlabels">
  699. <tr>
  700. <td class="mlabels-left">
  701. <table class="memname">
  702. <tr>
  703. <td class="memname">void QwtPanner::widgetMousePressEvent </td>
  704. <td>(</td>
  705. <td class="paramtype">QMouseEvent *&#160;</td>
  706. <td class="paramname"><em>mouseEvent</em></td><td>)</td>
  707. <td></td>
  708. </tr>
  709. </table>
  710. </td>
  711. <td class="mlabels-right">
  712. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  713. </tr>
  714. </table>
  715. </div><div class="memdoc">
  716. <p>Handle a mouse press event for the observed widget.</p>
  717. <dl class="params"><dt>Parameters</dt><dd>
  718. <table class="params">
  719. <tr><td class="paramname">mouseEvent</td><td>Mouse event </td></tr>
  720. </table>
  721. </dd>
  722. </dl>
  723. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_panner.html#a06b8eea86d4dcbe361c4af41a263f2cb" title="Event filter.">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#ab2da1e24b1456b223eaa826d8e0a3a81">widgetMouseReleaseEvent()</a>, <a class="el" href="class_qwt_panner.html#a6545bc6e25018253c59fc27a48eb948f">widgetMouseMoveEvent()</a>, </dd></dl>
  724. </div>
  725. </div>
  726. <a id="ab2da1e24b1456b223eaa826d8e0a3a81"></a>
  727. <h2 class="memtitle"><span class="permalink"><a href="#ab2da1e24b1456b223eaa826d8e0a3a81">&#9670;&nbsp;</a></span>widgetMouseReleaseEvent()</h2>
  728. <div class="memitem">
  729. <div class="memproto">
  730. <table class="mlabels">
  731. <tr>
  732. <td class="mlabels-left">
  733. <table class="memname">
  734. <tr>
  735. <td class="memname">void QwtPanner::widgetMouseReleaseEvent </td>
  736. <td>(</td>
  737. <td class="paramtype">QMouseEvent *&#160;</td>
  738. <td class="paramname"><em>mouseEvent</em></td><td>)</td>
  739. <td></td>
  740. </tr>
  741. </table>
  742. </td>
  743. <td class="mlabels-right">
  744. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  745. </tr>
  746. </table>
  747. </div><div class="memdoc">
  748. <p>Handle a mouse release event for the observed widget.</p>
  749. <dl class="params"><dt>Parameters</dt><dd>
  750. <table class="params">
  751. <tr><td class="paramname">mouseEvent</td><td>Mouse event </td></tr>
  752. </table>
  753. </dd>
  754. </dl>
  755. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_panner.html#a06b8eea86d4dcbe361c4af41a263f2cb" title="Event filter.">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#ae002958978dcc751f9edda24e5858dd9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_panner.html#a6545bc6e25018253c59fc27a48eb948f">widgetMouseMoveEvent()</a>, </dd></dl>
  756. </div>
  757. </div>
  758. </div><!-- contents -->
  759. </div><!-- doc-content -->
  760. <!-- start footer part -->
  761. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  762. <ul>
  763. <li class="navelem"><a class="el" href="class_qwt_panner.html">QwtPanner</a></li>
  764. <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  765. </ul>
  766. </div>
  767. </body>
  768. </html>