class_qwt_polar_panner.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.5"/>
  7. <title>Qwt Polar User&#39;s Guide: QwtPolarPanner Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/search.js"></script>
  13. <script type="text/javascript">
  14. $(document).ready(function() { searchBox.OnSelectItem(0); });
  15. </script>
  16. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  17. </head>
  18. <body>
  19. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  20. <div id="titlearea">
  21. <table cellspacing="0" cellpadding="0">
  22. <tbody>
  23. <tr style="height: 56px;">
  24. <td style="padding-left: 0.5em;">
  25. <div id="projectname">Qwt Polar User&#39;s Guide
  26. &#160;<span id="projectnumber">1.1.1</span>
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.5 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  42. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  43. <li>
  44. <div id="MSearchBox" class="MSearchBoxInactive">
  45. <span class="left">
  46. <img id="MSearchSelect" src="search/mag_sel.png"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. alt=""/>
  50. <input type="text" id="MSearchField" value="Search" accesskey="S"
  51. onfocus="searchBox.OnSearchFieldFocus(true)"
  52. onblur="searchBox.OnSearchFieldFocus(false)"
  53. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  54. </span><span class="right">
  55. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  56. </span>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="navrow2" class="tabs2">
  62. <ul class="tablist">
  63. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  64. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  65. <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
  66. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  67. </ul>
  68. </div>
  69. <!-- window showing the filter options -->
  70. <div id="MSearchSelectWindow"
  71. onmouseover="return searchBox.OnSearchSelectShow()"
  72. onmouseout="return searchBox.OnSearchSelectHide()"
  73. onkeydown="return searchBox.OnSearchSelectKey(event)">
  74. <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Pages</a></div>
  75. <!-- iframe showing the search results (closed by default) -->
  76. <div id="MSearchResultsWindow">
  77. <iframe src="javascript:void(0)" frameborder="0"
  78. name="MSearchResults" id="MSearchResults">
  79. </iframe>
  80. </div>
  81. </div><!-- top -->
  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_polar_panner-members.html">List of all members</a> </div>
  88. <div class="headertitle">
  89. <div class="title">QwtPolarPanner Class Reference</div> </div>
  90. </div><!--header-->
  91. <div class="contents">
  92. <p><a class="el" href="class_qwt_polar_panner.html" title="QwtPolarPanner provides panning of a polar plot canvas. ">QwtPolarPanner</a> provides panning of a polar plot canvas.
  93. <a href="class_qwt_polar_panner.html#details">More...</a></p>
  94. <p><code>#include &lt;<a class="el" href="qwt__polar__panner_8h_source.html">qwt_polar_panner.h</a>&gt;</code></p>
  95. <div class="dynheader">
  96. Inheritance diagram for QwtPolarPanner:</div>
  97. <div class="dyncontent">
  98. <div class="center"><img src="class_qwt_polar_panner__inherit__graph.png" border="0" usemap="#_qwt_polar_panner_inherit__map" alt="Inheritance graph"/></div>
  99. <map name="_qwt_polar_panner_inherit__map" id="_qwt_polar_panner_inherit__map">
  100. </map>
  101. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  102. <table class="memberdecls">
  103. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  104. Public Member Functions</h2></td></tr>
  105. <tr class="memitem:ab05222bd343f9b989d3ab2b0146d9d1d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab05222bd343f9b989d3ab2b0146d9d1d"></a>
  106. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_polar_panner.html#ab05222bd343f9b989d3ab2b0146d9d1d">QwtPolarPanner</a> (<a class="el" href="class_qwt_polar_canvas.html">QwtPolarCanvas</a> *)</td></tr>
  107. <tr class="memdesc:ab05222bd343f9b989d3ab2b0146d9d1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a plot panner for a polar plot canvas. <br/></td></tr>
  108. <tr class="separator:ab05222bd343f9b989d3ab2b0146d9d1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:a2e32d9b9d402ffe7b3c9b58eb3ca5c54"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2e32d9b9d402ffe7b3c9b58eb3ca5c54"></a>
  110. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_polar_panner.html#a2e32d9b9d402ffe7b3c9b58eb3ca5c54">~QwtPolarPanner</a> ()</td></tr>
  111. <tr class="memdesc:a2e32d9b9d402ffe7b3c9b58eb3ca5c54"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br/></td></tr>
  112. <tr class="separator:a2e32d9b9d402ffe7b3c9b58eb3ca5c54"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:ad5e6f988efb71e9d6e0926ddff7bff35"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_polar_plot.html">QwtPolarPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_polar_panner.html#ad5e6f988efb71e9d6e0926ddff7bff35">plot</a> ()</td></tr>
  114. <tr class="separator:ad5e6f988efb71e9d6e0926ddff7bff35"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a29508c1dde291b4c443ce6c554fc061d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_polar_plot.html">QwtPolarPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_polar_panner.html#a29508c1dde291b4c443ce6c554fc061d">plot</a> () const </td></tr>
  116. <tr class="separator:a29508c1dde291b4c443ce6c554fc061d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a1052cdb6fcd1fb7223cf79fb1f8dc877"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_polar_canvas.html">QwtPolarCanvas</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_polar_panner.html#a1052cdb6fcd1fb7223cf79fb1f8dc877">canvas</a> ()</td></tr>
  118. <tr class="separator:a1052cdb6fcd1fb7223cf79fb1f8dc877"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:a2ca3fb779c1020c896f4151b67791345"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_polar_canvas.html">QwtPolarCanvas</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_polar_panner.html#a2ca3fb779c1020c896f4151b67791345">canvas</a> () const </td></tr>
  120. <tr class="separator:a2ca3fb779c1020c896f4151b67791345"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. </table><table class="memberdecls">
  122. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-slots"></a>
  123. Protected Slots</h2></td></tr>
  124. <tr class="memitem:ad339c9b1825b5582ba0450efd478dbdd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_polar_panner.html#ad339c9b1825b5582ba0450efd478dbdd">movePlot</a> (int dx, int dy)</td></tr>
  125. <tr class="separator:ad339c9b1825b5582ba0450efd478dbdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. </table><table class="memberdecls">
  127. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  128. Protected Member Functions</h2></td></tr>
  129. <tr class="memitem:a1e904467ed89354c473e228082464bc4"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_polar_panner.html#a1e904467ed89354c473e228082464bc4">widgetMousePressEvent</a> (QMouseEvent *)</td></tr>
  130. <tr class="separator:a1e904467ed89354c473e228082464bc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. </table>
  132. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  133. <div class="textblock"><p><a class="el" href="class_qwt_polar_panner.html" title="QwtPolarPanner provides panning of a polar plot canvas. ">QwtPolarPanner</a> provides panning of a polar plot canvas. </p>
  134. <p><a class="el" href="class_qwt_polar_panner.html" title="QwtPolarPanner provides panning of a polar plot canvas. ">QwtPolarPanner</a> is a panner for a <a class="el" href="class_qwt_polar_canvas.html" title="Canvas of a QwtPolarPlot. ">QwtPolarCanvas</a>, that adjusts the visible area after dropping the canvas on its new position.</p>
  135. <p>Together with <a class="el" href="class_qwt_polar_magnifier.html" title="QwtPolarMagnifier provides zooming, by magnifying in steps. ">QwtPolarMagnifier</a> individual ways of navigating on a <a class="el" href="class_qwt_polar_plot.html" title="A plotting widget, displaying a polar coordinate system. ">QwtPolarPlot</a> widget can be implemented easily.</p>
  136. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_qwt_polar_magnifier.html" title="QwtPolarMagnifier provides zooming, by magnifying in steps. ">QwtPolarMagnifier</a> </dd></dl>
  137. </div><h2 class="groupheader">Member Function Documentation</h2>
  138. <a class="anchor" id="a1052cdb6fcd1fb7223cf79fb1f8dc877"></a>
  139. <div class="memitem">
  140. <div class="memproto">
  141. <table class="memname">
  142. <tr>
  143. <td class="memname"><a class="el" href="class_qwt_polar_canvas.html">QwtPolarCanvas</a> * QwtPolarPanner::canvas </td>
  144. <td>(</td>
  145. <td class="paramname"></td><td>)</td>
  146. <td></td>
  147. </tr>
  148. </table>
  149. </div><div class="memdoc">
  150. <dl class="section return"><dt>Returns</dt><dd>observed plot canvas </dd></dl>
  151. </div>
  152. </div>
  153. <a class="anchor" id="a2ca3fb779c1020c896f4151b67791345"></a>
  154. <div class="memitem">
  155. <div class="memproto">
  156. <table class="memname">
  157. <tr>
  158. <td class="memname">const <a class="el" href="class_qwt_polar_canvas.html">QwtPolarCanvas</a> * QwtPolarPanner::canvas </td>
  159. <td>(</td>
  160. <td class="paramname"></td><td>)</td>
  161. <td> const</td>
  162. </tr>
  163. </table>
  164. </div><div class="memdoc">
  165. <dl class="section return"><dt>Returns</dt><dd>observed plot canvas </dd></dl>
  166. </div>
  167. </div>
  168. <a class="anchor" id="ad339c9b1825b5582ba0450efd478dbdd"></a>
  169. <div class="memitem">
  170. <div class="memproto">
  171. <table class="mlabels">
  172. <tr>
  173. <td class="mlabels-left">
  174. <table class="memname">
  175. <tr>
  176. <td class="memname">void QwtPolarPanner::movePlot </td>
  177. <td>(</td>
  178. <td class="paramtype">int&#160;</td>
  179. <td class="paramname"><em>dx</em>, </td>
  180. </tr>
  181. <tr>
  182. <td class="paramkey"></td>
  183. <td></td>
  184. <td class="paramtype">int&#160;</td>
  185. <td class="paramname"><em>dy</em>&#160;</td>
  186. </tr>
  187. <tr>
  188. <td></td>
  189. <td>)</td>
  190. <td></td><td></td>
  191. </tr>
  192. </table>
  193. </td>
  194. <td class="mlabels-right">
  195. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span><span class="mlabel">slot</span></span> </td>
  196. </tr>
  197. </table>
  198. </div><div class="memdoc">
  199. <p>Adjust the zoomed area according to dx/dy</p>
  200. <dl class="params"><dt>Parameters</dt><dd>
  201. <table class="params">
  202. <tr><td class="paramname">dx</td><td>Pixel offset in x direction </td></tr>
  203. <tr><td class="paramname">dy</td><td>Pixel offset in y direction</td></tr>
  204. </table>
  205. </dd>
  206. </dl>
  207. <dl class="section see"><dt>See Also</dt><dd>QwtPanner::panned(), <a class="el" href="class_qwt_polar_plot.html#a89a033c97d6301c70a5df054b5d27de9" title="Translate and in/decrease the zoom factor. ">QwtPolarPlot::zoom()</a> </dd></dl>
  208. </div>
  209. </div>
  210. <a class="anchor" id="ad5e6f988efb71e9d6e0926ddff7bff35"></a>
  211. <div class="memitem">
  212. <div class="memproto">
  213. <table class="memname">
  214. <tr>
  215. <td class="memname"><a class="el" href="class_qwt_polar_plot.html">QwtPolarPlot</a> * QwtPolarPanner::plot </td>
  216. <td>(</td>
  217. <td class="paramname"></td><td>)</td>
  218. <td></td>
  219. </tr>
  220. </table>
  221. </div><div class="memdoc">
  222. <dl class="section return"><dt>Returns</dt><dd>observed plot </dd></dl>
  223. </div>
  224. </div>
  225. <a class="anchor" id="a29508c1dde291b4c443ce6c554fc061d"></a>
  226. <div class="memitem">
  227. <div class="memproto">
  228. <table class="memname">
  229. <tr>
  230. <td class="memname">const <a class="el" href="class_qwt_polar_plot.html">QwtPolarPlot</a> * QwtPolarPanner::plot </td>
  231. <td>(</td>
  232. <td class="paramname"></td><td>)</td>
  233. <td> const</td>
  234. </tr>
  235. </table>
  236. </div><div class="memdoc">
  237. <dl class="section return"><dt>Returns</dt><dd>observed plot </dd></dl>
  238. </div>
  239. </div>
  240. <a class="anchor" id="a1e904467ed89354c473e228082464bc4"></a>
  241. <div class="memitem">
  242. <div class="memproto">
  243. <table class="mlabels">
  244. <tr>
  245. <td class="mlabels-left">
  246. <table class="memname">
  247. <tr>
  248. <td class="memname">void QwtPolarPanner::widgetMousePressEvent </td>
  249. <td>(</td>
  250. <td class="paramtype">QMouseEvent *&#160;</td>
  251. <td class="paramname"><em>event</em></td><td>)</td>
  252. <td></td>
  253. </tr>
  254. </table>
  255. </td>
  256. <td class="mlabels-right">
  257. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  258. </tr>
  259. </table>
  260. </div><div class="memdoc">
  261. <p>Block panning when the plot zoom factor is &gt;= 1.0.</p>
  262. <dl class="params"><dt>Parameters</dt><dd>
  263. <table class="params">
  264. <tr><td class="paramname">event</td><td>Mouse event </td></tr>
  265. </table>
  266. </dd>
  267. </dl>
  268. </div>
  269. </div>
  270. </div><!-- contents -->
  271. <!-- start footer part -->
  272. <hr class="footer"/><address class="footer"><small>
  273. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  274. <img class="footer" src="doxygen.png" alt="doxygen"/>
  275. </a> 1.8.5
  276. </small></address>
  277. </body>
  278. </html>