No Description

class_q_c_p_grid.html 35KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  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.9.1"/>
  7. <title>My Project: QCPGrid 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/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td style="padding-left: 0.5em;">
  26. <div id="projectname">My Project
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.9.1 -->
  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><a href="namespaces.html"><span>Namespaces</span></a></li>
  43. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  44. <li><a href="files.html"><span>Files</span></a></li>
  45. <li>
  46. <div id="MSearchBox" class="MSearchBoxInactive">
  47. <span class="left">
  48. <img id="MSearchSelect" src="search/mag_sel.png"
  49. onmouseover="return searchBox.OnSearchSelectShow()"
  50. onmouseout="return searchBox.OnSearchSelectHide()"
  51. alt=""/>
  52. <input type="text" id="MSearchField" value="Search" accesskey="S"
  53. onfocus="searchBox.OnSearchFieldFocus(true)"
  54. onblur="searchBox.OnSearchFieldFocus(false)"
  55. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  56. </span><span class="right">
  57. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  58. </span>
  59. </div>
  60. </li>
  61. </ul>
  62. </div>
  63. <div id="navrow2" class="tabs2">
  64. <ul class="tablist">
  65. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  66. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  67. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  68. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  69. </ul>
  70. </div>
  71. <!-- window showing the filter options -->
  72. <div id="MSearchSelectWindow"
  73. onmouseover="return searchBox.OnSearchSelectShow()"
  74. onmouseout="return searchBox.OnSearchSelectHide()"
  75. onkeydown="return searchBox.OnSearchSelectKey(event)">
  76. </div>
  77. <!-- iframe showing the search results (closed by default) -->
  78. <div id="MSearchResultsWindow">
  79. <iframe src="javascript:void(0)" frameborder="0"
  80. name="MSearchResults" id="MSearchResults">
  81. </iframe>
  82. </div>
  83. </div><!-- top -->
  84. <div class="header">
  85. <div class="summary">
  86. <a href="#pub-methods">Public Member Functions</a> &#124;
  87. <a href="#pro-methods">Protected Member Functions</a> &#124;
  88. <a href="#pro-attribs">Protected Attributes</a> &#124;
  89. <a href="#friends">Friends</a> &#124;
  90. <a href="class_q_c_p_grid-members.html">List of all members</a> </div>
  91. <div class="headertitle">
  92. <div class="title">QCPGrid Class Reference</div> </div>
  93. </div><!--header-->
  94. <div class="contents">
  95. <p>Responsible for drawing the grid of a <a class="el" href="class_q_c_p_axis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a>.
  96. <a href="class_q_c_p_grid.html#details">More...</a></p>
  97. <div class="dynheader">
  98. Inheritance diagram for QCPGrid:</div>
  99. <div class="dyncontent">
  100. <div class="center">
  101. <img src="class_q_c_p_grid.png" usemap="#QCPGrid_map" alt=""/>
  102. <map id="QCPGrid_map" name="QCPGrid_map">
  103. <area href="class_q_c_p_layerable.html" title="Base class for all drawable objects. " alt="QCPLayerable" shape="rect" coords="0,56,96,80"/>
  104. </map>
  105. </div></div>
  106. <table class="memberdecls">
  107. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  108. Public Member Functions</h2></td></tr>
  109. <tr class="memitem:acd1cdd2909625388a13048b698494a17"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_grid.html#acd1cdd2909625388a13048b698494a17">QCPGrid</a> (<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *parentAxis)</td></tr>
  110. <tr class="separator:acd1cdd2909625388a13048b698494a17"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:a0a8963e384d53cd77cbab7df96147458"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a8963e384d53cd77cbab7df96147458"></a>
  112. bool&#160;</td><td class="memItemRight" valign="bottom"><b>subGridVisible</b> () const </td></tr>
  113. <tr class="separator:a0a8963e384d53cd77cbab7df96147458"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:abfa6c638a05b45b2ed31b680fc9b31fc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abfa6c638a05b45b2ed31b680fc9b31fc"></a>
  115. bool&#160;</td><td class="memItemRight" valign="bottom"><b>antialiasedSubGrid</b> () const </td></tr>
  116. <tr class="separator:abfa6c638a05b45b2ed31b680fc9b31fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a4dfbc1cee989d8cae1434b765ab2a13b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4dfbc1cee989d8cae1434b765ab2a13b"></a>
  118. bool&#160;</td><td class="memItemRight" valign="bottom"><b>antialiasedZeroLine</b> () const </td></tr>
  119. <tr class="separator:a4dfbc1cee989d8cae1434b765ab2a13b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:aca20b67548e3ae31fd02e6398ffd6cb9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aca20b67548e3ae31fd02e6398ffd6cb9"></a>
  121. QPen&#160;</td><td class="memItemRight" valign="bottom"><b>pen</b> () const </td></tr>
  122. <tr class="separator:aca20b67548e3ae31fd02e6398ffd6cb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:ac698f8c6864b1d8f0e2af97ca4b39cc6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac698f8c6864b1d8f0e2af97ca4b39cc6"></a>
  124. QPen&#160;</td><td class="memItemRight" valign="bottom"><b>subGridPen</b> () const </td></tr>
  125. <tr class="separator:ac698f8c6864b1d8f0e2af97ca4b39cc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:a06ea986b651860446e1224d2097259b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a06ea986b651860446e1224d2097259b9"></a>
  127. QPen&#160;</td><td class="memItemRight" valign="bottom"><b>zeroLinePen</b> () const </td></tr>
  128. <tr class="separator:a06ea986b651860446e1224d2097259b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:ad4ad6bf714ec45e08845456355a1b700"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_grid.html#ad4ad6bf714ec45e08845456355a1b700">setSubGridVisible</a> (bool visible)</td></tr>
  130. <tr class="separator:ad4ad6bf714ec45e08845456355a1b700"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:a5692310ba183721a413d60951407d114"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_grid.html#a5692310ba183721a413d60951407d114">setAntialiasedSubGrid</a> (bool enabled)</td></tr>
  132. <tr class="separator:a5692310ba183721a413d60951407d114"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:a3cc6d54647393ee71afb6da56af07aa4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_grid.html#a3cc6d54647393ee71afb6da56af07aa4">setAntialiasedZeroLine</a> (bool enabled)</td></tr>
  134. <tr class="separator:a3cc6d54647393ee71afb6da56af07aa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:aa05ab9816ffb440908171e45e833b593"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_grid.html#aa05ab9816ffb440908171e45e833b593">setPen</a> (const QPen &amp;pen)</td></tr>
  136. <tr class="separator:aa05ab9816ffb440908171e45e833b593"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:a9edd3593f384d1f0b0202a39cef4453d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_grid.html#a9edd3593f384d1f0b0202a39cef4453d">setSubGridPen</a> (const QPen &amp;pen)</td></tr>
  138. <tr class="separator:a9edd3593f384d1f0b0202a39cef4453d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <tr class="memitem:a209f40fdb252397b418b82d3494d8ea0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_grid.html#a209f40fdb252397b418b82d3494d8ea0">setZeroLinePen</a> (const QPen &amp;pen)</td></tr>
  140. <tr class="separator:a209f40fdb252397b418b82d3494d8ea0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="inherit_header pub_methods_class_q_c_p_layerable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_q_c_p_layerable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a></td></tr>
  142. <tr class="memitem:a76592e80a4657e03da4bfd91aab91ef3 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#a76592e80a4657e03da4bfd91aab91ef3">QCPLayerable</a> (<a class="el" href="class_q_custom_plot.html">QCustomPlot</a> *plot, QString targetLayer=&quot;&quot;, <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a> *<a class="el" href="class_q_c_p_layerable.html#a98d79f5b716d45eac4347befe546d0ec">parentLayerable</a>=0)</td></tr>
  143. <tr class="separator:a76592e80a4657e03da4bfd91aab91ef3 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:a10a3cc92e0fa63e4a929e61d34e275a7 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10a3cc92e0fa63e4a929e61d34e275a7"></a>
  145. bool&#160;</td><td class="memItemRight" valign="bottom"><b>visible</b> () const </td></tr>
  146. <tr class="separator:a10a3cc92e0fa63e4a929e61d34e275a7 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:ab7e0e94461566093d36ffc0f5312b109 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7e0e94461566093d36ffc0f5312b109"></a>
  148. <a class="el" href="class_q_custom_plot.html">QCustomPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>parentPlot</b> () const </td></tr>
  149. <tr class="separator:ab7e0e94461566093d36ffc0f5312b109 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:a98d79f5b716d45eac4347befe546d0ec inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#a98d79f5b716d45eac4347befe546d0ec">parentLayerable</a> () const </td></tr>
  151. <tr class="separator:a98d79f5b716d45eac4347befe546d0ec inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:aea67e8c19145e70d68c286a36f6b8300 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aea67e8c19145e70d68c286a36f6b8300"></a>
  153. <a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>layer</b> () const </td></tr>
  154. <tr class="separator:aea67e8c19145e70d68c286a36f6b8300 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:aef5cb4aa899ed9dc9384fd614560291e inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef5cb4aa899ed9dc9384fd614560291e"></a>
  156. bool&#160;</td><td class="memItemRight" valign="bottom"><b>antialiased</b> () const </td></tr>
  157. <tr class="separator:aef5cb4aa899ed9dc9384fd614560291e inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">setVisible</a> (bool on)</td></tr>
  159. <tr class="separator:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#ab0d0da6d2de45a118886d2c8e16d5a54">setLayer</a> (<a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *layer)</td></tr>
  161. <tr class="separator:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#ab25a0e7b897993b44447caee0f142083">setLayer</a> (const QString &amp;layerName)</td></tr>
  163. <tr class="separator:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#a4fd43e89be4a553ead41652565ff0581">setAntialiased</a> (bool enabled)</td></tr>
  165. <tr class="separator:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  166. <tr class="memitem:a4001c4d0dfec55598efa4d531f2179a9 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#a4001c4d0dfec55598efa4d531f2179a9">selectTest</a> (const QPointF &amp;pos, bool onlySelectable, QVariant *details=0) const </td></tr>
  167. <tr class="separator:a4001c4d0dfec55598efa4d531f2179a9 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <tr class="memitem:a30809f7455e9794bca7b6c737622fa63 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#a30809f7455e9794bca7b6c737622fa63">realVisibility</a> () const </td></tr>
  169. <tr class="separator:a30809f7455e9794bca7b6c737622fa63 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. </table><table class="memberdecls">
  171. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  172. Protected Member Functions</h2></td></tr>
  173. <tr class="memitem:a9916f5e38b4d6cae446537aeb47c7272"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9916f5e38b4d6cae446537aeb47c7272"></a>
  174. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>applyDefaultAntialiasingHint</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter) const </td></tr>
  175. <tr class="separator:a9916f5e38b4d6cae446537aeb47c7272"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <tr class="memitem:ad009c23f96078616aa4f66a750974b23"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad009c23f96078616aa4f66a750974b23"></a>
  177. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>draw</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter)</td></tr>
  178. <tr class="separator:ad009c23f96078616aa4f66a750974b23"><td class="memSeparator" colspan="2">&#160;</td></tr>
  179. <tr class="memitem:a3aff10e993f6625e255c19e4f97a09d8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3aff10e993f6625e255c19e4f97a09d8"></a>
  180. void&#160;</td><td class="memItemRight" valign="bottom"><b>drawGridLines</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter) const </td></tr>
  181. <tr class="separator:a3aff10e993f6625e255c19e4f97a09d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:afa5d9d12de419e881f381f2ab7cb414d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afa5d9d12de419e881f381f2ab7cb414d"></a>
  183. void&#160;</td><td class="memItemRight" valign="bottom"><b>drawSubGridLines</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter) const </td></tr>
  184. <tr class="separator:afa5d9d12de419e881f381f2ab7cb414d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  185. <tr class="inherit_header pro_methods_class_q_c_p_layerable"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_q_c_p_layerable')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a></td></tr>
  186. <tr class="memitem:ab20b7dbd8e0249ed61adb9622c427382 inherit pro_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab20b7dbd8e0249ed61adb9622c427382"></a>
  187. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>parentPlotInitialized</b> (<a class="el" href="class_q_custom_plot.html">QCustomPlot</a> *parentPlot)</td></tr>
  188. <tr class="separator:ab20b7dbd8e0249ed61adb9622c427382 inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  189. <tr class="memitem:aa4035e586b7f317a06ba7e74e242a5ea inherit pro_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4035e586b7f317a06ba7e74e242a5ea"></a>
  190. virtual <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a>&#160;</td><td class="memItemRight" valign="bottom"><b>selectionCategory</b> () const </td></tr>
  191. <tr class="separator:aa4035e586b7f317a06ba7e74e242a5ea inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  192. <tr class="memitem:a07a8f746640c3704b09910df297afcba inherit pro_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a07a8f746640c3704b09910df297afcba"></a>
  193. virtual QRect&#160;</td><td class="memItemRight" valign="bottom"><b>clipRect</b> () const </td></tr>
  194. <tr class="separator:a07a8f746640c3704b09910df297afcba inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  195. <tr class="memitem:a7498c2d0d081cf7cad0fb3bb93aa0e91 inherit pro_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7498c2d0d081cf7cad0fb3bb93aa0e91"></a>
  196. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>selectEvent</b> (QMouseEvent *event, bool additive, const QVariant &amp;details, bool *selectionStateChanged)</td></tr>
  197. <tr class="separator:a7498c2d0d081cf7cad0fb3bb93aa0e91 inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  198. <tr class="memitem:ae546370644a5551c76af739afc008bee inherit pro_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae546370644a5551c76af739afc008bee"></a>
  199. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>deselectEvent</b> (bool *selectionStateChanged)</td></tr>
  200. <tr class="separator:ae546370644a5551c76af739afc008bee inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  201. <tr class="memitem:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8cbe5a0c9a5674249982f5ca5f8e02bc"></a>
  202. void&#160;</td><td class="memItemRight" valign="bottom"><b>initializeParentPlot</b> (<a class="el" href="class_q_custom_plot.html">QCustomPlot</a> *parentPlot)</td></tr>
  203. <tr class="separator:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  204. <tr class="memitem:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa23c893671f1f6744ac235cf2204cf3a"></a>
  205. void&#160;</td><td class="memItemRight" valign="bottom"><b>setParentLayerable</b> (<a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a> *<a class="el" href="class_q_c_p_layerable.html#a98d79f5b716d45eac4347befe546d0ec">parentLayerable</a>)</td></tr>
  206. <tr class="separator:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  207. <tr class="memitem:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af94484cfb7cbbddb7de522e9be71d9a4"></a>
  208. bool&#160;</td><td class="memItemRight" valign="bottom"><b>moveToLayer</b> (<a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *layer, bool prepend)</td></tr>
  209. <tr class="separator:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  210. <tr class="memitem:a62bd552d1a45aa9accb24b310542279e inherit pro_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62bd552d1a45aa9accb24b310542279e"></a>
  211. void&#160;</td><td class="memItemRight" valign="bottom"><b>applyAntialiasingHint</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter, bool localAntialiased, <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> overrideElement) const </td></tr>
  212. <tr class="separator:a62bd552d1a45aa9accb24b310542279e inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  213. </table><table class="memberdecls">
  214. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
  215. Protected Attributes</h2></td></tr>
  216. <tr class="memitem:a4e4a0400d6319bb44c06341f6298c87b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e4a0400d6319bb44c06341f6298c87b"></a>
  217. bool&#160;</td><td class="memItemRight" valign="bottom"><b>mSubGridVisible</b></td></tr>
  218. <tr class="separator:a4e4a0400d6319bb44c06341f6298c87b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  219. <tr class="memitem:a71b7051f833f0c5de3094998d6afdd87"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a71b7051f833f0c5de3094998d6afdd87"></a>
  220. bool&#160;</td><td class="memItemRight" valign="bottom"><b>mAntialiasedSubGrid</b></td></tr>
  221. <tr class="separator:a71b7051f833f0c5de3094998d6afdd87"><td class="memSeparator" colspan="2">&#160;</td></tr>
  222. <tr class="memitem:a8c0df56ae86440408c050895dcdb922b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8c0df56ae86440408c050895dcdb922b"></a>
  223. bool&#160;</td><td class="memItemRight" valign="bottom"><b>mAntialiasedZeroLine</b></td></tr>
  224. <tr class="separator:a8c0df56ae86440408c050895dcdb922b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  225. <tr class="memitem:a1cdc4a3bccf6a40c2d4360def9fefa40"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1cdc4a3bccf6a40c2d4360def9fefa40"></a>
  226. QPen&#160;</td><td class="memItemRight" valign="bottom"><b>mPen</b></td></tr>
  227. <tr class="separator:a1cdc4a3bccf6a40c2d4360def9fefa40"><td class="memSeparator" colspan="2">&#160;</td></tr>
  228. <tr class="memitem:aa9004bc139ad3ea92629f0aaae81d83f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa9004bc139ad3ea92629f0aaae81d83f"></a>
  229. QPen&#160;</td><td class="memItemRight" valign="bottom"><b>mSubGridPen</b></td></tr>
  230. <tr class="separator:aa9004bc139ad3ea92629f0aaae81d83f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  231. <tr class="memitem:a379481871f17655c27eda30af233554f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a379481871f17655c27eda30af233554f"></a>
  232. QPen&#160;</td><td class="memItemRight" valign="bottom"><b>mZeroLinePen</b></td></tr>
  233. <tr class="separator:a379481871f17655c27eda30af233554f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  234. <tr class="memitem:a9a8a76731e6e737b65b929fd1995cc88"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9a8a76731e6e737b65b929fd1995cc88"></a>
  235. <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mParentAxis</b></td></tr>
  236. <tr class="separator:a9a8a76731e6e737b65b929fd1995cc88"><td class="memSeparator" colspan="2">&#160;</td></tr>
  237. <tr class="inherit_header pro_attribs_class_q_c_p_layerable"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_q_c_p_layerable')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a></td></tr>
  238. <tr class="memitem:a62e3aed8427d6ce3ccf716f285106cb3 inherit pro_attribs_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62e3aed8427d6ce3ccf716f285106cb3"></a>
  239. bool&#160;</td><td class="memItemRight" valign="bottom"><b>mVisible</b></td></tr>
  240. <tr class="separator:a62e3aed8427d6ce3ccf716f285106cb3 inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  241. <tr class="memitem:aa2a528433e44db02b8aef23c1f9f90ed inherit pro_attribs_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2a528433e44db02b8aef23c1f9f90ed"></a>
  242. <a class="el" href="class_q_custom_plot.html">QCustomPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mParentPlot</b></td></tr>
  243. <tr class="separator:aa2a528433e44db02b8aef23c1f9f90ed inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  244. <tr class="memitem:a3291445a980053e2d17a21d15957624e inherit pro_attribs_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3291445a980053e2d17a21d15957624e"></a>
  245. QPointer&lt; <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mParentLayerable</b></td></tr>
  246. <tr class="separator:a3291445a980053e2d17a21d15957624e inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  247. <tr class="memitem:aa38ec5891aff0f50b36fd63e9372a0cd inherit pro_attribs_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa38ec5891aff0f50b36fd63e9372a0cd"></a>
  248. <a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mLayer</b></td></tr>
  249. <tr class="separator:aa38ec5891aff0f50b36fd63e9372a0cd inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  250. <tr class="memitem:a3ab45a4c76a3333ce42eb217a81733ec inherit pro_attribs_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3ab45a4c76a3333ce42eb217a81733ec"></a>
  251. bool&#160;</td><td class="memItemRight" valign="bottom"><b>mAntialiased</b></td></tr>
  252. <tr class="separator:a3ab45a4c76a3333ce42eb217a81733ec inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  253. </table><table class="memberdecls">
  254. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
  255. Friends</h2></td></tr>
  256. <tr class="memitem:af123edeca169ec7a31958a1d714e1a8a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af123edeca169ec7a31958a1d714e1a8a"></a>
  257. class&#160;</td><td class="memItemRight" valign="bottom"><b>QCPAxis</b></td></tr>
  258. <tr class="separator:af123edeca169ec7a31958a1d714e1a8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  259. </table>
  260. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  261. <div class="textblock"><p>Responsible for drawing the grid of a <a class="el" href="class_q_c_p_axis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a>. </p>
  262. <p>This class is tightly bound to <a class="el" href="class_q_c_p_axis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a>. Every axis owns a grid instance and uses it to draw the grid lines, sub grid lines and zero-line. You can interact with the grid of an axis via <a class="el" href="class_q_c_p_axis.html#ac4fb913cce3072b5e75a4635e0f6cd04">QCPAxis::grid</a>. Normally, you don't need to create an instance of <a class="el" href="class_q_c_p_grid.html" title="Responsible for drawing the grid of a QCPAxis. ">QCPGrid</a> yourself.</p>
  263. <p>The axis and grid drawing was split into two classes to allow them to be placed on different layers (both <a class="el" href="class_q_c_p_axis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a> and <a class="el" href="class_q_c_p_grid.html" title="Responsible for drawing the grid of a QCPAxis. ">QCPGrid</a> inherit from <a class="el" href="class_q_c_p_layerable.html" title="Base class for all drawable objects. ">QCPLayerable</a>). Thus it is possible to have the grid in the background and the axes in the foreground, and any plottables/items in between. This described situation is the default setup, see the <a class="el" href="class_q_c_p_layer.html" title="A layer that may contain objects, to control the rendering order. ">QCPLayer</a> documentation. </p>
  264. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  265. <a class="anchor" id="acd1cdd2909625388a13048b698494a17"></a>
  266. <div class="memitem">
  267. <div class="memproto">
  268. <table class="memname">
  269. <tr>
  270. <td class="memname">QCPGrid::QCPGrid </td>
  271. <td>(</td>
  272. <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td>
  273. <td class="paramname"><em>parentAxis</em></td><td>)</td>
  274. <td></td>
  275. </tr>
  276. </table>
  277. </div><div class="memdoc">
  278. <p>Creates a <a class="el" href="class_q_c_p_grid.html" title="Responsible for drawing the grid of a QCPAxis. ">QCPGrid</a> instance and sets default values.</p>
  279. <p>You shouldn't instantiate grids on their own, since every <a class="el" href="class_q_c_p_axis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a> brings its own <a class="el" href="class_q_c_p_grid.html" title="Responsible for drawing the grid of a QCPAxis. ">QCPGrid</a>. </p>
  280. </div>
  281. </div>
  282. <h2 class="groupheader">Member Function Documentation</h2>
  283. <a class="anchor" id="a5692310ba183721a413d60951407d114"></a>
  284. <div class="memitem">
  285. <div class="memproto">
  286. <table class="memname">
  287. <tr>
  288. <td class="memname">void QCPGrid::setAntialiasedSubGrid </td>
  289. <td>(</td>
  290. <td class="paramtype">bool&#160;</td>
  291. <td class="paramname"><em>enabled</em></td><td>)</td>
  292. <td></td>
  293. </tr>
  294. </table>
  295. </div><div class="memdoc">
  296. <p>Sets whether sub grid lines are drawn antialiased. </p>
  297. </div>
  298. </div>
  299. <a class="anchor" id="a3cc6d54647393ee71afb6da56af07aa4"></a>
  300. <div class="memitem">
  301. <div class="memproto">
  302. <table class="memname">
  303. <tr>
  304. <td class="memname">void QCPGrid::setAntialiasedZeroLine </td>
  305. <td>(</td>
  306. <td class="paramtype">bool&#160;</td>
  307. <td class="paramname"><em>enabled</em></td><td>)</td>
  308. <td></td>
  309. </tr>
  310. </table>
  311. </div><div class="memdoc">
  312. <p>Sets whether zero lines are drawn antialiased. </p>
  313. </div>
  314. </div>
  315. <a class="anchor" id="aa05ab9816ffb440908171e45e833b593"></a>
  316. <div class="memitem">
  317. <div class="memproto">
  318. <table class="memname">
  319. <tr>
  320. <td class="memname">void QCPGrid::setPen </td>
  321. <td>(</td>
  322. <td class="paramtype">const QPen &amp;&#160;</td>
  323. <td class="paramname"><em>pen</em></td><td>)</td>
  324. <td></td>
  325. </tr>
  326. </table>
  327. </div><div class="memdoc">
  328. <p>Sets the pen with which (major) grid lines are drawn. </p>
  329. </div>
  330. </div>
  331. <a class="anchor" id="a9edd3593f384d1f0b0202a39cef4453d"></a>
  332. <div class="memitem">
  333. <div class="memproto">
  334. <table class="memname">
  335. <tr>
  336. <td class="memname">void QCPGrid::setSubGridPen </td>
  337. <td>(</td>
  338. <td class="paramtype">const QPen &amp;&#160;</td>
  339. <td class="paramname"><em>pen</em></td><td>)</td>
  340. <td></td>
  341. </tr>
  342. </table>
  343. </div><div class="memdoc">
  344. <p>Sets the pen with which sub grid lines are drawn. </p>
  345. </div>
  346. </div>
  347. <a class="anchor" id="ad4ad6bf714ec45e08845456355a1b700"></a>
  348. <div class="memitem">
  349. <div class="memproto">
  350. <table class="memname">
  351. <tr>
  352. <td class="memname">void QCPGrid::setSubGridVisible </td>
  353. <td>(</td>
  354. <td class="paramtype">bool&#160;</td>
  355. <td class="paramname"><em>visible</em></td><td>)</td>
  356. <td></td>
  357. </tr>
  358. </table>
  359. </div><div class="memdoc">
  360. <p>Sets whether grid lines at sub tick marks are drawn.</p>
  361. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_grid.html#a9edd3593f384d1f0b0202a39cef4453d">setSubGridPen</a> </dd></dl>
  362. </div>
  363. </div>
  364. <a class="anchor" id="a209f40fdb252397b418b82d3494d8ea0"></a>
  365. <div class="memitem">
  366. <div class="memproto">
  367. <table class="memname">
  368. <tr>
  369. <td class="memname">void QCPGrid::setZeroLinePen </td>
  370. <td>(</td>
  371. <td class="paramtype">const QPen &amp;&#160;</td>
  372. <td class="paramname"><em>pen</em></td><td>)</td>
  373. <td></td>
  374. </tr>
  375. </table>
  376. </div><div class="memdoc">
  377. <p>Sets the pen with which zero lines are drawn.</p>
  378. <p>Zero lines are lines at value coordinate 0 which may be drawn with a different pen than other grid lines. To disable zero lines and just draw normal grid lines at zero, set <em>pen</em> to Qt::NoPen. </p>
  379. </div>
  380. </div>
  381. <hr/>The documentation for this class was generated from the following files:<ul>
  382. <li><a class="el" href="qcustomplot_8h_source.html">qcustomplot.h</a></li>
  383. <li><a class="el" href="qcustomplot_8cpp.html">qcustomplot.cpp</a></li>
  384. </ul>
  385. </div><!-- contents -->
  386. <!-- start footer part -->
  387. <hr class="footer"/><address class="footer"><small>
  388. Generated on Tue Aug 11 2015 13:04:50 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
  389. <img class="footer" src="doxygen.png" alt="doxygen"/>
  390. </a> 1.8.9.1
  391. </small></address>
  392. </body>
  393. </html>