class_qwt_plot_panner.html 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  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: QwtPlotPanner 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_plot_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="#pub-methods">Public Member Functions</a> &#124;
  85. <a href="#pro-slots">Protected Slots</a> &#124;
  86. <a href="#pro-methods">Protected Member Functions</a> &#124;
  87. <a href="class_qwt_plot_panner-members.html">List of all members</a> </div>
  88. <div class="headertitle">
  89. <div class="title">QwtPlotPanner Class Reference</div> </div>
  90. </div><!--header-->
  91. <div class="contents">
  92. <p><a class="el" href="class_qwt_plot_panner.html" title="QwtPlotPanner provides panning of a plot canvas.">QwtPlotPanner</a> provides panning of a plot canvas.
  93. <a href="class_qwt_plot_panner.html#details">More...</a></p>
  94. <p><code>#include &lt;<a class="el" href="qwt__plot__panner_8h_source.html">qwt_plot_panner.h</a>&gt;</code></p>
  95. <div class="dynheader">
  96. Inheritance diagram for QwtPlotPanner:</div>
  97. <div class="dyncontent">
  98. <div class="center"><img src="class_qwt_plot_panner__inherit__graph.png" border="0" usemap="#a_qwt_plot_panner_inherit__map" alt="Inheritance graph"/></div>
  99. <map name="_qwt_plot_panner_inherit__map" id="a_qwt_plot_panner_inherit__map">
  100. <area shape="rect" title="QwtPlotPanner provides panning of a plot canvas." alt="" coords="5,155,116,181"/>
  101. <area shape="rect" href="class_qwt_panner.html" title="QwtPanner provides panning of a widget." alt="" coords="17,80,104,107"/>
  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="pub-methods"></a>
  107. Public Member Functions</h2></td></tr>
  108. <tr class="memitem:a94d661c312edbf7ef094dd32dff57d44"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#a94d661c312edbf7ef094dd32dff57d44">QwtPlotPanner</a> (QWidget *)</td></tr>
  109. <tr class="memdesc:a94d661c312edbf7ef094dd32dff57d44"><td class="mdescLeft">&#160;</td><td class="mdescRight">A panner for the canvas of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>. <a href="class_qwt_plot_panner.html#a94d661c312edbf7ef094dd32dff57d44">More...</a><br /></td></tr>
  110. <tr class="separator:a94d661c312edbf7ef094dd32dff57d44"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:aa72bb8323d5a8eb46900f978bf1e3623"><td class="memItemLeft" align="right" valign="top"><a id="aa72bb8323d5a8eb46900f978bf1e3623"></a>
  112. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#aa72bb8323d5a8eb46900f978bf1e3623">~QwtPlotPanner</a> ()</td></tr>
  113. <tr class="memdesc:aa72bb8323d5a8eb46900f978bf1e3623"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  114. <tr class="separator:aa72bb8323d5a8eb46900f978bf1e3623"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a372898a83f51e2b85aadb92f893d6235"><td class="memItemLeft" align="right" valign="top"><a id="a372898a83f51e2b85aadb92f893d6235"></a>
  116. QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#a372898a83f51e2b85aadb92f893d6235">canvas</a> ()</td></tr>
  117. <tr class="memdesc:a372898a83f51e2b85aadb92f893d6235"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return observed plot canvas. <br /></td></tr>
  118. <tr class="separator:a372898a83f51e2b85aadb92f893d6235"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:aed831ea120a8777569b5cbbd922728f4"><td class="memItemLeft" align="right" valign="top"><a id="aed831ea120a8777569b5cbbd922728f4"></a>
  120. const QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#aed831ea120a8777569b5cbbd922728f4">canvas</a> () const</td></tr>
  121. <tr class="memdesc:aed831ea120a8777569b5cbbd922728f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return Observed plot canvas. <br /></td></tr>
  122. <tr class="separator:aed831ea120a8777569b5cbbd922728f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:ae52375921bfacc3e17d3db45858b1485"><td class="memItemLeft" align="right" valign="top"><a id="ae52375921bfacc3e17d3db45858b1485"></a>
  124. <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#ae52375921bfacc3e17d3db45858b1485">plot</a> ()</td></tr>
  125. <tr class="memdesc:ae52375921bfacc3e17d3db45858b1485"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return plot widget, containing the observed plot canvas. <br /></td></tr>
  126. <tr class="separator:ae52375921bfacc3e17d3db45858b1485"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:a5ecdd6a27002d13b4967eadabaa17674"><td class="memItemLeft" align="right" valign="top"><a id="a5ecdd6a27002d13b4967eadabaa17674"></a>
  128. const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#a5ecdd6a27002d13b4967eadabaa17674">plot</a> () const</td></tr>
  129. <tr class="memdesc:a5ecdd6a27002d13b4967eadabaa17674"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return plot widget, containing the observed plot canvas. <br /></td></tr>
  130. <tr class="separator:a5ecdd6a27002d13b4967eadabaa17674"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:acbd5d67684c5a20ea0115e66f69540e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#acbd5d67684c5a20ea0115e66f69540e4">setAxisEnabled</a> (int axis, bool on)</td></tr>
  132. <tr class="memdesc:acbd5d67684c5a20ea0115e66f69540e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">En/Disable an axis. <a href="class_qwt_plot_panner.html#acbd5d67684c5a20ea0115e66f69540e4">More...</a><br /></td></tr>
  133. <tr class="separator:acbd5d67684c5a20ea0115e66f69540e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:a896c81c1d1989b26645ece85464e3977"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#a896c81c1d1989b26645ece85464e3977">isAxisEnabled</a> (int axis) const</td></tr>
  135. <tr class="separator:a896c81c1d1989b26645ece85464e3977"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="inherit_header pub_methods_class_qwt_panner"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qwt_panner')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_qwt_panner.html">QwtPanner</a></td></tr>
  137. <tr class="memitem:af5482be26d69a64c3880653265240736 inherit pub_methods_class_qwt_panner"><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>
  138. <tr class="separator:af5482be26d69a64c3880653265240736 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:a19c9b9a08da05649f6d2ef5bf6fb391c inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top"><a id="a19c9b9a08da05649f6d2ef5bf6fb391c"></a>
  140. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a19c9b9a08da05649f6d2ef5bf6fb391c">~QwtPanner</a> ()</td></tr>
  141. <tr class="memdesc:a19c9b9a08da05649f6d2ef5bf6fb391c inherit pub_methods_class_qwt_panner"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  142. <tr class="separator:a19c9b9a08da05649f6d2ef5bf6fb391c inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:a43e06c262c945fc7faeb729539bbde58 inherit pub_methods_class_qwt_panner"><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>
  144. <tr class="memdesc:a43e06c262c945fc7faeb729539bbde58 inherit pub_methods_class_qwt_panner"><td class="mdescLeft">&#160;</td><td class="mdescRight">En/disable the panner. <a href="class_qwt_panner.html#a43e06c262c945fc7faeb729539bbde58">More...</a><br /></td></tr>
  145. <tr class="separator:a43e06c262c945fc7faeb729539bbde58 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:a19439f534fc9fa254693948eb4f4bb5f inherit pub_methods_class_qwt_panner"><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>
  147. <tr class="separator:a19439f534fc9fa254693948eb4f4bb5f inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a6f138454b2c1d7e814ae1975d6a7b8be inherit pub_methods_class_qwt_panner"><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>
  149. <tr class="separator:a6f138454b2c1d7e814ae1975d6a7b8be inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:a8a74f8e2f4d424f85fa5a9da11c075d2 inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top"><a id="a8a74f8e2f4d424f85fa5a9da11c075d2"></a>
  151. 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>
  152. <tr class="memdesc:a8a74f8e2f4d424f85fa5a9da11c075d2 inherit pub_methods_class_qwt_panner"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get mouse button and modifiers used for panning. <br /></td></tr>
  153. <tr class="separator:a8a74f8e2f4d424f85fa5a9da11c075d2 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:acbb1b9e30214354708e1d75db6b78289 inherit pub_methods_class_qwt_panner"><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>
  155. <tr class="separator:acbb1b9e30214354708e1d75db6b78289 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="memitem:abdfca52ea5a6a11a533dcbbbddbb3bf6 inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top"><a id="abdfca52ea5a6a11a533dcbbbddbb3bf6"></a>
  157. 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>
  158. <tr class="memdesc:abdfca52ea5a6a11a533dcbbbddbb3bf6 inherit pub_methods_class_qwt_panner"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the abort key and modifiers. <br /></td></tr>
  159. <tr class="separator:abdfca52ea5a6a11a533dcbbbddbb3bf6 inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:ac8b0625fe155fff0132df85727f54a3e inherit pub_methods_class_qwt_panner"><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>
  161. <tr class="separator:ac8b0625fe155fff0132df85727f54a3e inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:a1ebb1cc406fa3d30df0e7dd7a541667d inherit pub_methods_class_qwt_panner"><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>
  163. <tr class="separator:a1ebb1cc406fa3d30df0e7dd7a541667d inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:aaa71a8b6f7f46ae8f5a8084094d7bd9a inherit pub_methods_class_qwt_panner"><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>
  165. <tr class="separator:aaa71a8b6f7f46ae8f5a8084094d7bd9a inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  166. <tr class="memitem:a0df413d3d5a6bc4f002e87f3b269214e inherit pub_methods_class_qwt_panner"><td class="memItemLeft" align="right" valign="top"><a id="a0df413d3d5a6bc4f002e87f3b269214e"></a>
  167. Qt::Orientations&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a0df413d3d5a6bc4f002e87f3b269214e">orientations</a> () const</td></tr>
  168. <tr class="memdesc:a0df413d3d5a6bc4f002e87f3b269214e inherit pub_methods_class_qwt_panner"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the orientation, where paning is enabled. <br /></td></tr>
  169. <tr class="separator:a0df413d3d5a6bc4f002e87f3b269214e inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. <tr class="memitem:aa69c32aae501021f01cb7c833172986c inherit pub_methods_class_qwt_panner"><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>
  171. <tr class="separator:aa69c32aae501021f01cb7c833172986c inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  172. <tr class="memitem:a06b8eea86d4dcbe361c4af41a263f2cb inherit pub_methods_class_qwt_panner"><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>
  173. <tr class="memdesc:a06b8eea86d4dcbe361c4af41a263f2cb inherit pub_methods_class_qwt_panner"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event filter. <a href="class_qwt_panner.html#a06b8eea86d4dcbe361c4af41a263f2cb">More...</a><br /></td></tr>
  174. <tr class="separator:a06b8eea86d4dcbe361c4af41a263f2cb inherit pub_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  175. </table><table class="memberdecls">
  176. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-slots"></a>
  177. Protected Slots</h2></td></tr>
  178. <tr class="memitem:aab045140de3e38d316593388da9231bd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#aab045140de3e38d316593388da9231bd">moveCanvas</a> (int dx, int dy)</td></tr>
  179. <tr class="separator:aab045140de3e38d316593388da9231bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. </table><table class="memberdecls">
  181. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  182. Protected Member Functions</h2></td></tr>
  183. <tr class="memitem:aed84a9594d3b1539a4378b3026a8d431"><td class="memItemLeft" align="right" valign="top">virtual QBitmap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#aed84a9594d3b1539a4378b3026a8d431">contentsMask</a> () const</td></tr>
  184. <tr class="separator:aed84a9594d3b1539a4378b3026a8d431"><td class="memSeparator" colspan="2">&#160;</td></tr>
  185. <tr class="memitem:abb38281cf067c76703b5f557f14bfcf5"><td class="memItemLeft" align="right" valign="top">virtual QPixmap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_panner.html#abb38281cf067c76703b5f557f14bfcf5">grab</a> () const</td></tr>
  186. <tr class="separator:abb38281cf067c76703b5f557f14bfcf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  187. <tr class="inherit_header pro_methods_class_qwt_panner"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_qwt_panner')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_qwt_panner.html">QwtPanner</a></td></tr>
  188. <tr class="memitem:ae002958978dcc751f9edda24e5858dd9 inherit pro_methods_class_qwt_panner"><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>
  189. <tr class="separator:ae002958978dcc751f9edda24e5858dd9 inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  190. <tr class="memitem:ab2da1e24b1456b223eaa826d8e0a3a81 inherit pro_methods_class_qwt_panner"><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>
  191. <tr class="separator:ab2da1e24b1456b223eaa826d8e0a3a81 inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  192. <tr class="memitem:a6545bc6e25018253c59fc27a48eb948f inherit pro_methods_class_qwt_panner"><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>
  193. <tr class="separator:a6545bc6e25018253c59fc27a48eb948f inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  194. <tr class="memitem:a7ed4e89f6c52b841e20ad497af4b4ebc inherit pro_methods_class_qwt_panner"><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>
  195. <tr class="separator:a7ed4e89f6c52b841e20ad497af4b4ebc inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  196. <tr class="memitem:a8bd447df4a30299bbc8e6b6d3e2e2f9f inherit pro_methods_class_qwt_panner"><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>
  197. <tr class="separator:a8bd447df4a30299bbc8e6b6d3e2e2f9f inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  198. <tr class="memitem:acd76ea518bd9267a45115d2c6ce19353 inherit pro_methods_class_qwt_panner"><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>
  199. <tr class="memdesc:acd76ea518bd9267a45115d2c6ce19353 inherit pro_methods_class_qwt_panner"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paint event. <a href="class_qwt_panner.html#acd76ea518bd9267a45115d2c6ce19353">More...</a><br /></td></tr>
  200. <tr class="separator:acd76ea518bd9267a45115d2c6ce19353 inherit pro_methods_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  201. </table><table class="memberdecls">
  202. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  203. Additional Inherited Members</h2></td></tr>
  204. <tr class="inherit_header signals_class_qwt_panner"><td colspan="2" onclick="javascript:toggleInherit('signals_class_qwt_panner')"><img src="closed.png" alt="-"/>&#160;Signals inherited from <a class="el" href="class_qwt_panner.html">QwtPanner</a></td></tr>
  205. <tr class="memitem:ae9ce78e6f9ae73317af29b2dc5df7372 inherit signals_class_qwt_panner"><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>
  206. <tr class="separator:ae9ce78e6f9ae73317af29b2dc5df7372 inherit signals_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  207. <tr class="memitem:aa45ae2f4d6d20a83783898dd86d0b595 inherit signals_class_qwt_panner"><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>
  208. <tr class="separator:aa45ae2f4d6d20a83783898dd86d0b595 inherit signals_class_qwt_panner"><td class="memSeparator" colspan="2">&#160;</td></tr>
  209. </table>
  210. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  211. <div class="textblock"><p><a class="el" href="class_qwt_plot_panner.html" title="QwtPlotPanner provides panning of a plot canvas.">QwtPlotPanner</a> provides panning of a plot canvas. </p>
  212. <p><a class="el" href="class_qwt_plot_panner.html" title="QwtPlotPanner provides panning of a plot canvas.">QwtPlotPanner</a> is a panner for a plot canvas, that adjusts the scales of the axes after dropping the canvas on its new position.</p>
  213. <p>Together with <a class="el" href="class_qwt_plot_zoomer.html" title="QwtPlotZoomer provides stacked zooming for a plot widget.">QwtPlotZoomer</a> and <a class="el" href="class_qwt_plot_magnifier.html" title="QwtPlotMagnifier provides zooming, by magnifying in steps.">QwtPlotMagnifier</a> powerful ways of navigating on a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a> widget can be implemented easily.</p>
  214. <dl class="section note"><dt>Note</dt><dd>The axes are not updated, while dragging the canvas </dd></dl>
  215. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_zoomer.html" title="QwtPlotZoomer provides stacked zooming for a plot widget.">QwtPlotZoomer</a>, <a class="el" href="class_qwt_plot_magnifier.html" title="QwtPlotMagnifier provides zooming, by magnifying in steps.">QwtPlotMagnifier</a> </dd></dl>
  216. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  217. <a id="a94d661c312edbf7ef094dd32dff57d44"></a>
  218. <h2 class="memtitle"><span class="permalink"><a href="#a94d661c312edbf7ef094dd32dff57d44">&#9670;&nbsp;</a></span>QwtPlotPanner()</h2>
  219. <div class="memitem">
  220. <div class="memproto">
  221. <table class="mlabels">
  222. <tr>
  223. <td class="mlabels-left">
  224. <table class="memname">
  225. <tr>
  226. <td class="memname">QwtPlotPanner::QwtPlotPanner </td>
  227. <td>(</td>
  228. <td class="paramtype">QWidget *&#160;</td>
  229. <td class="paramname"><em>canvas</em></td><td>)</td>
  230. <td></td>
  231. </tr>
  232. </table>
  233. </td>
  234. <td class="mlabels-right">
  235. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  236. </tr>
  237. </table>
  238. </div><div class="memdoc">
  239. <p>A panner for the canvas of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>. </p>
  240. <p>The panner is enabled for all axes</p>
  241. <dl class="params"><dt>Parameters</dt><dd>
  242. <table class="params">
  243. <tr><td class="paramname">canvas</td><td>Plot canvas to pan, also the parent object</td></tr>
  244. </table>
  245. </dd>
  246. </dl>
  247. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_panner.html#acbd5d67684c5a20ea0115e66f69540e4" title="En/Disable an axis.">setAxisEnabled()</a> </dd></dl>
  248. </div>
  249. </div>
  250. <h2 class="groupheader">Member Function Documentation</h2>
  251. <a id="aed84a9594d3b1539a4378b3026a8d431"></a>
  252. <h2 class="memtitle"><span class="permalink"><a href="#aed84a9594d3b1539a4378b3026a8d431">&#9670;&nbsp;</a></span>contentsMask()</h2>
  253. <div class="memitem">
  254. <div class="memproto">
  255. <table class="mlabels">
  256. <tr>
  257. <td class="mlabels-left">
  258. <table class="memname">
  259. <tr>
  260. <td class="memname">QBitmap QwtPlotPanner::contentsMask </td>
  261. <td>(</td>
  262. <td class="paramname"></td><td>)</td>
  263. <td> const</td>
  264. </tr>
  265. </table>
  266. </td>
  267. <td class="mlabels-right">
  268. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  269. </tr>
  270. </table>
  271. </div><div class="memdoc">
  272. <p>Calculate a mask from the border path of the canvas</p>
  273. <dl class="section return"><dt>Returns</dt><dd>Mask as bitmap </dd></dl>
  274. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#af21afcc5f858ab70afb589b32c856ca1">QwtPlotCanvas::borderPath()</a> </dd></dl>
  275. <p>Reimplemented from <a class="el" href="class_qwt_panner.html#aac1d7537025f41d2d0dfc261c56dac8e">QwtPanner</a>.</p>
  276. </div>
  277. </div>
  278. <a id="abb38281cf067c76703b5f557f14bfcf5"></a>
  279. <h2 class="memtitle"><span class="permalink"><a href="#abb38281cf067c76703b5f557f14bfcf5">&#9670;&nbsp;</a></span>grab()</h2>
  280. <div class="memitem">
  281. <div class="memproto">
  282. <table class="mlabels">
  283. <tr>
  284. <td class="mlabels-left">
  285. <table class="memname">
  286. <tr>
  287. <td class="memname">QPixmap QwtPlotPanner::grab </td>
  288. <td>(</td>
  289. <td class="paramname"></td><td>)</td>
  290. <td> const</td>
  291. </tr>
  292. </table>
  293. </td>
  294. <td class="mlabels-right">
  295. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  296. </tr>
  297. </table>
  298. </div><div class="memdoc">
  299. <dl class="section return"><dt>Returns</dt><dd>Pixmap with the content of the canvas </dd></dl>
  300. <p>Reimplemented from <a class="el" href="class_qwt_panner.html#ac5ac83293f33b7b71ae9f49217d53fec">QwtPanner</a>.</p>
  301. </div>
  302. </div>
  303. <a id="a896c81c1d1989b26645ece85464e3977"></a>
  304. <h2 class="memtitle"><span class="permalink"><a href="#a896c81c1d1989b26645ece85464e3977">&#9670;&nbsp;</a></span>isAxisEnabled()</h2>
  305. <div class="memitem">
  306. <div class="memproto">
  307. <table class="memname">
  308. <tr>
  309. <td class="memname">bool QwtPlotPanner::isAxisEnabled </td>
  310. <td>(</td>
  311. <td class="paramtype">int&#160;</td>
  312. <td class="paramname"><em>axis</em></td><td>)</td>
  313. <td> const</td>
  314. </tr>
  315. </table>
  316. </div><div class="memdoc">
  317. <p>Test if an axis is enabled</p>
  318. <dl class="params"><dt>Parameters</dt><dd>
  319. <table class="params">
  320. <tr><td class="paramname">axis</td><td>Axis, see <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271" title="Axis index.">QwtPlot::Axis</a> </td></tr>
  321. </table>
  322. </dd>
  323. </dl>
  324. <dl class="section return"><dt>Returns</dt><dd>True, if the axis is enabled</dd></dl>
  325. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_panner.html#acbd5d67684c5a20ea0115e66f69540e4" title="En/Disable an axis.">setAxisEnabled()</a>, <a class="el" href="class_qwt_plot_panner.html#aab045140de3e38d316593388da9231bd">moveCanvas()</a> </dd></dl>
  326. </div>
  327. </div>
  328. <a id="aab045140de3e38d316593388da9231bd"></a>
  329. <h2 class="memtitle"><span class="permalink"><a href="#aab045140de3e38d316593388da9231bd">&#9670;&nbsp;</a></span>moveCanvas</h2>
  330. <div class="memitem">
  331. <div class="memproto">
  332. <table class="mlabels">
  333. <tr>
  334. <td class="mlabels-left">
  335. <table class="memname">
  336. <tr>
  337. <td class="memname">void QwtPlotPanner::moveCanvas </td>
  338. <td>(</td>
  339. <td class="paramtype">int&#160;</td>
  340. <td class="paramname"><em>dx</em>, </td>
  341. </tr>
  342. <tr>
  343. <td class="paramkey"></td>
  344. <td></td>
  345. <td class="paramtype">int&#160;</td>
  346. <td class="paramname"><em>dy</em>&#160;</td>
  347. </tr>
  348. <tr>
  349. <td></td>
  350. <td>)</td>
  351. <td></td><td></td>
  352. </tr>
  353. </table>
  354. </td>
  355. <td class="mlabels-right">
  356. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span><span class="mlabel">slot</span></span> </td>
  357. </tr>
  358. </table>
  359. </div><div class="memdoc">
  360. <p>Adjust the enabled axes according to dx/dy</p>
  361. <dl class="params"><dt>Parameters</dt><dd>
  362. <table class="params">
  363. <tr><td class="paramname">dx</td><td>Pixel offset in x direction </td></tr>
  364. <tr><td class="paramname">dy</td><td>Pixel offset in y direction</td></tr>
  365. </table>
  366. </dd>
  367. </dl>
  368. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_panner.html#ae9ce78e6f9ae73317af29b2dc5df7372">QwtPanner::panned()</a> </dd></dl>
  369. </div>
  370. </div>
  371. <a id="acbd5d67684c5a20ea0115e66f69540e4"></a>
  372. <h2 class="memtitle"><span class="permalink"><a href="#acbd5d67684c5a20ea0115e66f69540e4">&#9670;&nbsp;</a></span>setAxisEnabled()</h2>
  373. <div class="memitem">
  374. <div class="memproto">
  375. <table class="memname">
  376. <tr>
  377. <td class="memname">void QwtPlotPanner::setAxisEnabled </td>
  378. <td>(</td>
  379. <td class="paramtype">int&#160;</td>
  380. <td class="paramname"><em>axis</em>, </td>
  381. </tr>
  382. <tr>
  383. <td class="paramkey"></td>
  384. <td></td>
  385. <td class="paramtype">bool&#160;</td>
  386. <td class="paramname"><em>on</em>&#160;</td>
  387. </tr>
  388. <tr>
  389. <td></td>
  390. <td>)</td>
  391. <td></td><td></td>
  392. </tr>
  393. </table>
  394. </div><div class="memdoc">
  395. <p>En/Disable an axis. </p>
  396. <p>Axes that are enabled will be synchronized to the result of panning. All other axes will remain unchanged.</p>
  397. <dl class="params"><dt>Parameters</dt><dd>
  398. <table class="params">
  399. <tr><td class="paramname">axis</td><td>Axis, see <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271" title="Axis index.">QwtPlot::Axis</a> </td></tr>
  400. <tr><td class="paramname">on</td><td>On/Off</td></tr>
  401. </table>
  402. </dd>
  403. </dl>
  404. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_panner.html#a896c81c1d1989b26645ece85464e3977">isAxisEnabled()</a>, <a class="el" href="class_qwt_plot_panner.html#aab045140de3e38d316593388da9231bd">moveCanvas()</a> </dd></dl>
  405. </div>
  406. </div>
  407. </div><!-- contents -->
  408. </div><!-- doc-content -->
  409. <!-- start footer part -->
  410. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  411. <ul>
  412. <li class="navelem"><a class="el" href="class_qwt_plot_panner.html">QwtPlotPanner</a></li>
  413. <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>
  414. </ul>
  415. </div>
  416. </body>
  417. </html>