class_qwt_plot_magnifier.html 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358
  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: QwtPlotMagnifier 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_magnifier.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-methods">Protected Member Functions</a> &#124;
  86. <a href="class_qwt_plot_magnifier-members.html">List of all members</a> </div>
  87. <div class="headertitle">
  88. <div class="title">QwtPlotMagnifier Class Reference</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <p><a class="el" href="class_qwt_plot_magnifier.html" title="QwtPlotMagnifier provides zooming, by magnifying in steps.">QwtPlotMagnifier</a> provides zooming, by magnifying in steps.
  92. <a href="class_qwt_plot_magnifier.html#details">More...</a></p>
  93. <p><code>#include &lt;<a class="el" href="qwt__plot__magnifier_8h_source.html">qwt_plot_magnifier.h</a>&gt;</code></p>
  94. <div class="dynheader">
  95. Inheritance diagram for QwtPlotMagnifier:</div>
  96. <div class="dyncontent">
  97. <div class="center"><img src="class_qwt_plot_magnifier__inherit__graph.png" border="0" usemap="#a_qwt_plot_magnifier_inherit__map" alt="Inheritance graph"/></div>
  98. <map name="_qwt_plot_magnifier_inherit__map" id="a_qwt_plot_magnifier_inherit__map">
  99. <area shape="rect" title="QwtPlotMagnifier provides zooming, by magnifying in steps." alt="" coords="5,155,128,181"/>
  100. <area shape="rect" href="class_qwt_magnifier.html" title="QwtMagnifier provides zooming, by magnifying in steps." alt="" coords="17,80,116,107"/>
  101. <area shape="rect" title=" " alt="" coords="31,5,102,32"/>
  102. </map>
  103. <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
  104. <table class="memberdecls">
  105. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  106. Public Member Functions</h2></td></tr>
  107. <tr class="memitem:a6edabe11a02cae3ae8e8adaa9013d109"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#a6edabe11a02cae3ae8e8adaa9013d109">QwtPlotMagnifier</a> (QWidget *)</td></tr>
  108. <tr class="separator:a6edabe11a02cae3ae8e8adaa9013d109"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:a38c0508241885ea49542cc0f11c740df"><td class="memItemLeft" align="right" valign="top"><a id="a38c0508241885ea49542cc0f11c740df"></a>
  110. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#a38c0508241885ea49542cc0f11c740df">~QwtPlotMagnifier</a> ()</td></tr>
  111. <tr class="memdesc:a38c0508241885ea49542cc0f11c740df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  112. <tr class="separator:a38c0508241885ea49542cc0f11c740df"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:ac8806df408b5ed9eac79cd38e5fc1508"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#ac8806df408b5ed9eac79cd38e5fc1508">setAxisEnabled</a> (int axis, bool on)</td></tr>
  114. <tr class="memdesc:ac8806df408b5ed9eac79cd38e5fc1508"><td class="mdescLeft">&#160;</td><td class="mdescRight">En/Disable an axis. <a href="class_qwt_plot_magnifier.html#ac8806df408b5ed9eac79cd38e5fc1508">More...</a><br /></td></tr>
  115. <tr class="separator:ac8806df408b5ed9eac79cd38e5fc1508"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a25c94f642d6787bdf08465a471350cb2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#a25c94f642d6787bdf08465a471350cb2">isAxisEnabled</a> (int axis) const</td></tr>
  117. <tr class="separator:a25c94f642d6787bdf08465a471350cb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:a833e0c42a9ffdc92a60a1d1b0828b8ec"><td class="memItemLeft" align="right" valign="top"><a id="a833e0c42a9ffdc92a60a1d1b0828b8ec"></a>
  119. QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#a833e0c42a9ffdc92a60a1d1b0828b8ec">canvas</a> ()</td></tr>
  120. <tr class="memdesc:a833e0c42a9ffdc92a60a1d1b0828b8ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return observed plot canvas. <br /></td></tr>
  121. <tr class="separator:a833e0c42a9ffdc92a60a1d1b0828b8ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a8120b8a7147ec0b5731b3ded205634e1"><td class="memItemLeft" align="right" valign="top"><a id="a8120b8a7147ec0b5731b3ded205634e1"></a>
  123. const QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#a8120b8a7147ec0b5731b3ded205634e1">canvas</a> () const</td></tr>
  124. <tr class="memdesc:a8120b8a7147ec0b5731b3ded205634e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return Observed plot canvas. <br /></td></tr>
  125. <tr class="separator:a8120b8a7147ec0b5731b3ded205634e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:ae0197fb4f393e149585ff62f8e29cea6"><td class="memItemLeft" align="right" valign="top"><a id="ae0197fb4f393e149585ff62f8e29cea6"></a>
  127. <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#ae0197fb4f393e149585ff62f8e29cea6">plot</a> ()</td></tr>
  128. <tr class="memdesc:ae0197fb4f393e149585ff62f8e29cea6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return plot widget, containing the observed plot canvas. <br /></td></tr>
  129. <tr class="separator:ae0197fb4f393e149585ff62f8e29cea6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:a1ec990fe14c37b005f68a75122908b52"><td class="memItemLeft" align="right" valign="top"><a id="a1ec990fe14c37b005f68a75122908b52"></a>
  131. 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_magnifier.html#a1ec990fe14c37b005f68a75122908b52">plot</a> () const</td></tr>
  132. <tr class="memdesc:a1ec990fe14c37b005f68a75122908b52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return plot widget, containing the observed plot canvas. <br /></td></tr>
  133. <tr class="separator:a1ec990fe14c37b005f68a75122908b52"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="inherit_header pub_methods_class_qwt_magnifier"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qwt_magnifier')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_qwt_magnifier.html">QwtMagnifier</a></td></tr>
  135. <tr class="memitem:aa11b927c72e0421570a137f0fa1cfb7b inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#aa11b927c72e0421570a137f0fa1cfb7b">QwtMagnifier</a> (QWidget *)</td></tr>
  136. <tr class="separator:aa11b927c72e0421570a137f0fa1cfb7b inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:ac18a7858407951a335399ee6969a50da inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top"><a id="ac18a7858407951a335399ee6969a50da"></a>
  138. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#ac18a7858407951a335399ee6969a50da">~QwtMagnifier</a> ()</td></tr>
  139. <tr class="memdesc:ac18a7858407951a335399ee6969a50da inherit pub_methods_class_qwt_magnifier"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  140. <tr class="separator:ac18a7858407951a335399ee6969a50da inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:a56b7ad2366a7f908c38bc2a994acde16 inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#a56b7ad2366a7f908c38bc2a994acde16">parentWidget</a> ()</td></tr>
  142. <tr class="separator:a56b7ad2366a7f908c38bc2a994acde16 inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:acbb443e8e38f049b937a8b00fcf05869 inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">const QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#acbb443e8e38f049b937a8b00fcf05869">parentWidget</a> () const</td></tr>
  144. <tr class="separator:acbb443e8e38f049b937a8b00fcf05869 inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:a03d892c58039fc864a452b7c636a1df7 inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#a03d892c58039fc864a452b7c636a1df7">setEnabled</a> (bool)</td></tr>
  146. <tr class="memdesc:a03d892c58039fc864a452b7c636a1df7 inherit pub_methods_class_qwt_magnifier"><td class="mdescLeft">&#160;</td><td class="mdescRight">En/disable the magnifier. <a href="class_qwt_magnifier.html#a03d892c58039fc864a452b7c636a1df7">More...</a><br /></td></tr>
  147. <tr class="separator:a03d892c58039fc864a452b7c636a1df7 inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a64f88257b2432d21f5fc62e7fd9c0fde inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#a64f88257b2432d21f5fc62e7fd9c0fde">isEnabled</a> () const</td></tr>
  149. <tr class="separator:a64f88257b2432d21f5fc62e7fd9c0fde inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:ada5dac479dc1e69c04760bb7dc197ac9 inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#ada5dac479dc1e69c04760bb7dc197ac9">setMouseFactor</a> (double)</td></tr>
  151. <tr class="memdesc:ada5dac479dc1e69c04760bb7dc197ac9 inherit pub_methods_class_qwt_magnifier"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the mouse factor. <a href="class_qwt_magnifier.html#ada5dac479dc1e69c04760bb7dc197ac9">More...</a><br /></td></tr>
  152. <tr class="separator:ada5dac479dc1e69c04760bb7dc197ac9 inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:a282d3c040136ad97586ac73c37151508 inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#a282d3c040136ad97586ac73c37151508">mouseFactor</a> () const</td></tr>
  154. <tr class="separator:a282d3c040136ad97586ac73c37151508 inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:ad814a5d9cb227d6fb56f8289dffe597c inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#ad814a5d9cb227d6fb56f8289dffe597c">setMouseButton</a> (Qt::MouseButton, Qt::KeyboardModifiers=Qt::NoModifier)</td></tr>
  156. <tr class="separator:ad814a5d9cb227d6fb56f8289dffe597c inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:a8793ae263bf2c96db8eb7d2942f01974 inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#a8793ae263bf2c96db8eb7d2942f01974">getMouseButton</a> (Qt::MouseButton &amp;, Qt::KeyboardModifiers &amp;) const</td></tr>
  158. <tr class="separator:a8793ae263bf2c96db8eb7d2942f01974 inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:ae3a33ab8776ed2122fecc821a32bb36a inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#ae3a33ab8776ed2122fecc821a32bb36a">setWheelFactor</a> (double)</td></tr>
  160. <tr class="memdesc:ae3a33ab8776ed2122fecc821a32bb36a inherit pub_methods_class_qwt_magnifier"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the wheel factor. <a href="class_qwt_magnifier.html#ae3a33ab8776ed2122fecc821a32bb36a">More...</a><br /></td></tr>
  161. <tr class="separator:ae3a33ab8776ed2122fecc821a32bb36a inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:a9bf2df5d0a0087e967c8674618466da2 inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#a9bf2df5d0a0087e967c8674618466da2">wheelFactor</a> () const</td></tr>
  163. <tr class="separator:a9bf2df5d0a0087e967c8674618466da2 inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:aadfc853d8619b43b21564d8d5fe50093 inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#aadfc853d8619b43b21564d8d5fe50093">setWheelModifiers</a> (Qt::KeyboardModifiers)</td></tr>
  165. <tr class="separator:aadfc853d8619b43b21564d8d5fe50093 inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  166. <tr class="memitem:a479fca5465debe4c4d538bd350a7f182 inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">Qt::KeyboardModifiers&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#a479fca5465debe4c4d538bd350a7f182">wheelModifiers</a> () const</td></tr>
  167. <tr class="separator:a479fca5465debe4c4d538bd350a7f182 inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <tr class="memitem:ac079b44e124fdaba1d894ef519bc4e4f inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#ac079b44e124fdaba1d894ef519bc4e4f">setKeyFactor</a> (double)</td></tr>
  169. <tr class="memdesc:ac079b44e124fdaba1d894ef519bc4e4f inherit pub_methods_class_qwt_magnifier"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the key factor. <a href="class_qwt_magnifier.html#ac079b44e124fdaba1d894ef519bc4e4f">More...</a><br /></td></tr>
  170. <tr class="separator:ac079b44e124fdaba1d894ef519bc4e4f inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  171. <tr class="memitem:ae29e88684303d3bf587e9b5338267111 inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#ae29e88684303d3bf587e9b5338267111">keyFactor</a> () const</td></tr>
  172. <tr class="separator:ae29e88684303d3bf587e9b5338267111 inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  173. <tr class="memitem:a004d9e770ed745bbcb5dcdb7a7ecc0a9 inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#a004d9e770ed745bbcb5dcdb7a7ecc0a9">setZoomInKey</a> (int key, Qt::KeyboardModifiers=Qt::NoModifier)</td></tr>
  174. <tr class="separator:a004d9e770ed745bbcb5dcdb7a7ecc0a9 inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  175. <tr class="memitem:a0df893ea54dbb2a1967248740a1db84f inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#a0df893ea54dbb2a1967248740a1db84f">getZoomInKey</a> (int &amp;key, Qt::KeyboardModifiers &amp;) const</td></tr>
  176. <tr class="memdesc:a0df893ea54dbb2a1967248740a1db84f inherit pub_methods_class_qwt_magnifier"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the settings of the zoom in key. <a href="class_qwt_magnifier.html#a0df893ea54dbb2a1967248740a1db84f">More...</a><br /></td></tr>
  177. <tr class="separator:a0df893ea54dbb2a1967248740a1db84f inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  178. <tr class="memitem:a095a8cc622175fafc5b3cc6eb274af07 inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#a095a8cc622175fafc5b3cc6eb274af07">setZoomOutKey</a> (int key, Qt::KeyboardModifiers=Qt::NoModifier)</td></tr>
  179. <tr class="separator:a095a8cc622175fafc5b3cc6eb274af07 inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. <tr class="memitem:ad1192dfc87ec7b451d3dfa982cc0e602 inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#ad1192dfc87ec7b451d3dfa982cc0e602">getZoomOutKey</a> (int &amp;key, Qt::KeyboardModifiers &amp;) const</td></tr>
  181. <tr class="memdesc:ad1192dfc87ec7b451d3dfa982cc0e602 inherit pub_methods_class_qwt_magnifier"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the settings of the zoom out key. <a href="class_qwt_magnifier.html#ad1192dfc87ec7b451d3dfa982cc0e602">More...</a><br /></td></tr>
  182. <tr class="separator:ad1192dfc87ec7b451d3dfa982cc0e602 inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  183. <tr class="memitem:ae7f4c0ad7631501cec17abe31695281f inherit pub_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#ae7f4c0ad7631501cec17abe31695281f">eventFilter</a> (QObject *, QEvent *)</td></tr>
  184. <tr class="memdesc:ae7f4c0ad7631501cec17abe31695281f inherit pub_methods_class_qwt_magnifier"><td class="mdescLeft">&#160;</td><td class="mdescRight">Event filter. <a href="class_qwt_magnifier.html#ae7f4c0ad7631501cec17abe31695281f">More...</a><br /></td></tr>
  185. <tr class="separator:ae7f4c0ad7631501cec17abe31695281f inherit pub_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. </table><table class="memberdecls">
  187. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  188. Protected Member Functions</h2></td></tr>
  189. <tr class="memitem:a271ae5ad42c3dd12812246d2dee687ea"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_magnifier.html#a271ae5ad42c3dd12812246d2dee687ea">rescale</a> (double factor)</td></tr>
  190. <tr class="separator:a271ae5ad42c3dd12812246d2dee687ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
  191. <tr class="inherit_header pro_methods_class_qwt_magnifier"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_qwt_magnifier')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_qwt_magnifier.html">QwtMagnifier</a></td></tr>
  192. <tr class="memitem:a5930b3ec00ae99883f36cf8bf568cbf7 inherit pro_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#a5930b3ec00ae99883f36cf8bf568cbf7">widgetMousePressEvent</a> (QMouseEvent *)</td></tr>
  193. <tr class="separator:a5930b3ec00ae99883f36cf8bf568cbf7 inherit pro_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  194. <tr class="memitem:aa7cc31995444ca8dd8412b8a6dab7b93 inherit pro_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#aa7cc31995444ca8dd8412b8a6dab7b93">widgetMouseReleaseEvent</a> (QMouseEvent *)</td></tr>
  195. <tr class="separator:aa7cc31995444ca8dd8412b8a6dab7b93 inherit pro_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  196. <tr class="memitem:a4eb68b98b063cc14b7839f02f8671dfc inherit pro_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#a4eb68b98b063cc14b7839f02f8671dfc">widgetMouseMoveEvent</a> (QMouseEvent *)</td></tr>
  197. <tr class="separator:a4eb68b98b063cc14b7839f02f8671dfc inherit pro_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  198. <tr class="memitem:a236762870830cc0621411c173472392b inherit pro_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#a236762870830cc0621411c173472392b">widgetWheelEvent</a> (QWheelEvent *)</td></tr>
  199. <tr class="separator:a236762870830cc0621411c173472392b inherit pro_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  200. <tr class="memitem:a382cec084a2bfc0610ca500121205f04 inherit pro_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#a382cec084a2bfc0610ca500121205f04">widgetKeyPressEvent</a> (QKeyEvent *)</td></tr>
  201. <tr class="separator:a382cec084a2bfc0610ca500121205f04 inherit pro_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  202. <tr class="memitem:af84037c68c9b88263d1c27bb648cf9ff inherit pro_methods_class_qwt_magnifier"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_magnifier.html#af84037c68c9b88263d1c27bb648cf9ff">widgetKeyReleaseEvent</a> (QKeyEvent *)</td></tr>
  203. <tr class="separator:af84037c68c9b88263d1c27bb648cf9ff inherit pro_methods_class_qwt_magnifier"><td class="memSeparator" colspan="2">&#160;</td></tr>
  204. </table>
  205. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  206. <div class="textblock"><p><a class="el" href="class_qwt_plot_magnifier.html" title="QwtPlotMagnifier provides zooming, by magnifying in steps.">QwtPlotMagnifier</a> provides zooming, by magnifying in steps. </p>
  207. <p>Using <a class="el" href="class_qwt_plot_magnifier.html" title="QwtPlotMagnifier provides zooming, by magnifying in steps.">QwtPlotMagnifier</a> a plot can be zoomed in/out in steps using keys, the mouse wheel or moving a mouse button in vertical direction.</p>
  208. <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_panner.html" title="QwtPlotPanner provides panning of a plot canvas.">QwtPlotPanner</a> it is possible to implement individual and powerful navigation of the plot canvas.</p>
  209. <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_panner.html" title="QwtPlotPanner provides panning of a plot canvas.">QwtPlotPanner</a>, <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a> </dd></dl>
  210. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  211. <a id="a6edabe11a02cae3ae8e8adaa9013d109"></a>
  212. <h2 class="memtitle"><span class="permalink"><a href="#a6edabe11a02cae3ae8e8adaa9013d109">&#9670;&nbsp;</a></span>QwtPlotMagnifier()</h2>
  213. <div class="memitem">
  214. <div class="memproto">
  215. <table class="mlabels">
  216. <tr>
  217. <td class="mlabels-left">
  218. <table class="memname">
  219. <tr>
  220. <td class="memname">QwtPlotMagnifier::QwtPlotMagnifier </td>
  221. <td>(</td>
  222. <td class="paramtype">QWidget *&#160;</td>
  223. <td class="paramname"><em>canvas</em></td><td>)</td>
  224. <td></td>
  225. </tr>
  226. </table>
  227. </td>
  228. <td class="mlabels-right">
  229. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  230. </tr>
  231. </table>
  232. </div><div class="memdoc">
  233. <p>Constructor </p><dl class="params"><dt>Parameters</dt><dd>
  234. <table class="params">
  235. <tr><td class="paramname">canvas</td><td>Plot canvas to be magnified </td></tr>
  236. </table>
  237. </dd>
  238. </dl>
  239. </div>
  240. </div>
  241. <h2 class="groupheader">Member Function Documentation</h2>
  242. <a id="a25c94f642d6787bdf08465a471350cb2"></a>
  243. <h2 class="memtitle"><span class="permalink"><a href="#a25c94f642d6787bdf08465a471350cb2">&#9670;&nbsp;</a></span>isAxisEnabled()</h2>
  244. <div class="memitem">
  245. <div class="memproto">
  246. <table class="memname">
  247. <tr>
  248. <td class="memname">bool QwtPlotMagnifier::isAxisEnabled </td>
  249. <td>(</td>
  250. <td class="paramtype">int&#160;</td>
  251. <td class="paramname"><em>axis</em></td><td>)</td>
  252. <td> const</td>
  253. </tr>
  254. </table>
  255. </div><div class="memdoc">
  256. <p>Test if an axis is enabled</p>
  257. <dl class="params"><dt>Parameters</dt><dd>
  258. <table class="params">
  259. <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>
  260. </table>
  261. </dd>
  262. </dl>
  263. <dl class="section return"><dt>Returns</dt><dd>True, if the axis is enabled</dd></dl>
  264. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_magnifier.html#ac8806df408b5ed9eac79cd38e5fc1508" title="En/Disable an axis.">setAxisEnabled()</a> </dd></dl>
  265. </div>
  266. </div>
  267. <a id="a271ae5ad42c3dd12812246d2dee687ea"></a>
  268. <h2 class="memtitle"><span class="permalink"><a href="#a271ae5ad42c3dd12812246d2dee687ea">&#9670;&nbsp;</a></span>rescale()</h2>
  269. <div class="memitem">
  270. <div class="memproto">
  271. <table class="mlabels">
  272. <tr>
  273. <td class="mlabels-left">
  274. <table class="memname">
  275. <tr>
  276. <td class="memname">void QwtPlotMagnifier::rescale </td>
  277. <td>(</td>
  278. <td class="paramtype">double&#160;</td>
  279. <td class="paramname"><em>factor</em></td><td>)</td>
  280. <td></td>
  281. </tr>
  282. </table>
  283. </td>
  284. <td class="mlabels-right">
  285. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  286. </tr>
  287. </table>
  288. </div><div class="memdoc">
  289. <p>Zoom in/out the axes scales </p><dl class="params"><dt>Parameters</dt><dd>
  290. <table class="params">
  291. <tr><td class="paramname">factor</td><td>A value &lt; 1.0 zooms in, a value &gt; 1.0 zooms out. </td></tr>
  292. </table>
  293. </dd>
  294. </dl>
  295. <p>Implements <a class="el" href="class_qwt_magnifier.html#a5c3d5bda10412a50bd403afe84e2ccee">QwtMagnifier</a>.</p>
  296. </div>
  297. </div>
  298. <a id="ac8806df408b5ed9eac79cd38e5fc1508"></a>
  299. <h2 class="memtitle"><span class="permalink"><a href="#ac8806df408b5ed9eac79cd38e5fc1508">&#9670;&nbsp;</a></span>setAxisEnabled()</h2>
  300. <div class="memitem">
  301. <div class="memproto">
  302. <table class="memname">
  303. <tr>
  304. <td class="memname">void QwtPlotMagnifier::setAxisEnabled </td>
  305. <td>(</td>
  306. <td class="paramtype">int&#160;</td>
  307. <td class="paramname"><em>axis</em>, </td>
  308. </tr>
  309. <tr>
  310. <td class="paramkey"></td>
  311. <td></td>
  312. <td class="paramtype">bool&#160;</td>
  313. <td class="paramname"><em>on</em>&#160;</td>
  314. </tr>
  315. <tr>
  316. <td></td>
  317. <td>)</td>
  318. <td></td><td></td>
  319. </tr>
  320. </table>
  321. </div><div class="memdoc">
  322. <p>En/Disable an axis. </p>
  323. <p>Only Axes that are enabled will be zoomed. All other axes will remain unchanged.</p>
  324. <dl class="params"><dt>Parameters</dt><dd>
  325. <table class="params">
  326. <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>
  327. <tr><td class="paramname">on</td><td>On/Off</td></tr>
  328. </table>
  329. </dd>
  330. </dl>
  331. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_magnifier.html#a25c94f642d6787bdf08465a471350cb2">isAxisEnabled()</a> </dd></dl>
  332. </div>
  333. </div>
  334. </div><!-- contents -->
  335. </div><!-- doc-content -->
  336. <!-- start footer part -->
  337. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  338. <ul>
  339. <li class="navelem"><a class="el" href="class_qwt_plot_magnifier.html">QwtPlotMagnifier</a></li>
  340. <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>
  341. </ul>
  342. </div>
  343. </body>
  344. </html>