class_qwt_compass_rose.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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: QwtCompassRose 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_compass_rose.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="class_qwt_compass_rose-members.html">List of all members</a> </div>
  86. <div class="headertitle">
  87. <div class="title">QwtCompassRose Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  88. </div><!--header-->
  89. <div class="contents">
  90. <p>Abstract base class for a compass rose.
  91. <a href="class_qwt_compass_rose.html#details">More...</a></p>
  92. <p><code>#include &lt;<a class="el" href="qwt__compass__rose_8h_source.html">qwt_compass_rose.h</a>&gt;</code></p>
  93. <div class="dynheader">
  94. Inheritance diagram for QwtCompassRose:</div>
  95. <div class="dyncontent">
  96. <div class="center"><img src="class_qwt_compass_rose__inherit__graph.png" border="0" usemap="#a_qwt_compass_rose_inherit__map" alt="Inheritance graph"/></div>
  97. <map name="_qwt_compass_rose_inherit__map" id="a_qwt_compass_rose_inherit__map">
  98. <area shape="rect" title="Abstract base class for a compass rose." alt="" coords="25,5,159,32"/>
  99. <area shape="rect" href="class_qwt_simple_compass_rose.html" title="A simple rose for QwtCompass." alt="" coords="5,80,179,107"/>
  100. </map>
  101. <center><span class="legend">[<a target="top" 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:a9e3e5086d7225152cad3a276096753be"><td class="memItemLeft" align="right" valign="top"><a id="a9e3e5086d7225152cad3a276096753be"></a>
  106. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass_rose.html#a9e3e5086d7225152cad3a276096753be">~QwtCompassRose</a> ()</td></tr>
  107. <tr class="memdesc:a9e3e5086d7225152cad3a276096753be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  108. <tr class="separator:a9e3e5086d7225152cad3a276096753be"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:ad69f887ed012d6bf6bf2ffeb133e26d5"><td class="memItemLeft" align="right" valign="top"><a id="ad69f887ed012d6bf6bf2ffeb133e26d5"></a>
  110. virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass_rose.html#ad69f887ed012d6bf6bf2ffeb133e26d5">setPalette</a> (const QPalette &amp;p)</td></tr>
  111. <tr class="memdesc:ad69f887ed012d6bf6bf2ffeb133e26d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign a palette. <br /></td></tr>
  112. <tr class="separator:ad69f887ed012d6bf6bf2ffeb133e26d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:ad825ddd8422f480c312bad1dcd8bf681"><td class="memItemLeft" align="right" valign="top">const QPalette &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass_rose.html#ad825ddd8422f480c312bad1dcd8bf681">palette</a> () const</td></tr>
  114. <tr class="separator:ad825ddd8422f480c312bad1dcd8bf681"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:ad974a3035da51a9cfb36fa04eb1c40a6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_compass_rose.html#ad974a3035da51a9cfb36fa04eb1c40a6">draw</a> (QPainter *painter, const QPointF &amp;center, double radius, double north, QPalette::ColorGroup colorGroup=QPalette::Active) const =0</td></tr>
  116. <tr class="separator:ad974a3035da51a9cfb36fa04eb1c40a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. </table>
  118. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  119. <div class="textblock"><p>Abstract base class for a compass rose. </p>
  120. </div><h2 class="groupheader">Member Function Documentation</h2>
  121. <a id="ad974a3035da51a9cfb36fa04eb1c40a6"></a>
  122. <h2 class="memtitle"><span class="permalink"><a href="#ad974a3035da51a9cfb36fa04eb1c40a6">&#9670;&nbsp;</a></span>draw()</h2>
  123. <div class="memitem">
  124. <div class="memproto">
  125. <table class="mlabels">
  126. <tr>
  127. <td class="mlabels-left">
  128. <table class="memname">
  129. <tr>
  130. <td class="memname">virtual void QwtCompassRose::draw </td>
  131. <td>(</td>
  132. <td class="paramtype">QPainter *&#160;</td>
  133. <td class="paramname"><em>painter</em>, </td>
  134. </tr>
  135. <tr>
  136. <td class="paramkey"></td>
  137. <td></td>
  138. <td class="paramtype">const QPointF &amp;&#160;</td>
  139. <td class="paramname"><em>center</em>, </td>
  140. </tr>
  141. <tr>
  142. <td class="paramkey"></td>
  143. <td></td>
  144. <td class="paramtype">double&#160;</td>
  145. <td class="paramname"><em>radius</em>, </td>
  146. </tr>
  147. <tr>
  148. <td class="paramkey"></td>
  149. <td></td>
  150. <td class="paramtype">double&#160;</td>
  151. <td class="paramname"><em>north</em>, </td>
  152. </tr>
  153. <tr>
  154. <td class="paramkey"></td>
  155. <td></td>
  156. <td class="paramtype">QPalette::ColorGroup&#160;</td>
  157. <td class="paramname"><em>colorGroup</em> = <code>QPalette::Active</code>&#160;</td>
  158. </tr>
  159. <tr>
  160. <td></td>
  161. <td>)</td>
  162. <td></td><td> const</td>
  163. </tr>
  164. </table>
  165. </td>
  166. <td class="mlabels-right">
  167. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  168. </tr>
  169. </table>
  170. </div><div class="memdoc">
  171. <p>Draw the rose</p>
  172. <dl class="params"><dt>Parameters</dt><dd>
  173. <table class="params">
  174. <tr><td class="paramname">painter</td><td>Painter </td></tr>
  175. <tr><td class="paramname">center</td><td>Center point </td></tr>
  176. <tr><td class="paramname">radius</td><td>Radius of the rose </td></tr>
  177. <tr><td class="paramname">north</td><td>Position </td></tr>
  178. <tr><td class="paramname">colorGroup</td><td>Color group </td></tr>
  179. </table>
  180. </dd>
  181. </dl>
  182. <p>Implemented in <a class="el" href="class_qwt_simple_compass_rose.html#a9f474dbf0a9c35224e9dc1d168cbf35f">QwtSimpleCompassRose</a>.</p>
  183. </div>
  184. </div>
  185. <a id="ad825ddd8422f480c312bad1dcd8bf681"></a>
  186. <h2 class="memtitle"><span class="permalink"><a href="#ad825ddd8422f480c312bad1dcd8bf681">&#9670;&nbsp;</a></span>palette()</h2>
  187. <div class="memitem">
  188. <div class="memproto">
  189. <table class="mlabels">
  190. <tr>
  191. <td class="mlabels-left">
  192. <table class="memname">
  193. <tr>
  194. <td class="memname">const QPalette&amp; QwtCompassRose::palette </td>
  195. <td>(</td>
  196. <td class="paramname"></td><td>)</td>
  197. <td> const</td>
  198. </tr>
  199. </table>
  200. </td>
  201. <td class="mlabels-right">
  202. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  203. </tr>
  204. </table>
  205. </div><div class="memdoc">
  206. <dl class="section return"><dt>Returns</dt><dd>Current palette </dd></dl>
  207. </div>
  208. </div>
  209. </div><!-- contents -->
  210. </div><!-- doc-content -->
  211. <!-- start footer part -->
  212. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  213. <ul>
  214. <li class="navelem"><a class="el" href="class_qwt_compass_rose.html">QwtCompassRose</a></li>
  215. <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>
  216. </ul>
  217. </div>
  218. </body>
  219. </html>