123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.9.1"/>
- <title>My Project: QCPGrid Class Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <script type="text/javascript">
- $(document).ready(function() { init_search(); });
- </script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td style="padding-left: 0.5em;">
- <div id="projectname">My Project
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.9.1 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- </script>
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="pages.html"><span>Related Pages</span></a></li>
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
- <li><a href="files.html"><span>Files</span></a></li>
- <li>
- <div id="MSearchBox" class="MSearchBoxInactive">
- <span class="left">
- <img id="MSearchSelect" src="search/mag_sel.png"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- alt=""/>
- <input type="text" id="MSearchField" value="Search" accesskey="S"
- onfocus="searchBox.OnSearchFieldFocus(true)"
- onblur="searchBox.OnSearchFieldFocus(false)"
- onkeyup="searchBox.OnSearchFieldChange(event)"/>
- </span><span class="right">
- <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
- </span>
- </div>
- </li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="annotated.html"><span>Class List</span></a></li>
- <li><a href="classes.html"><span>Class Index</span></a></li>
- <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
- <li><a href="functions.html"><span>Class Members</span></a></li>
- </ul>
- </div>
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
-
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
-
- </div><!-- top -->
- <div class="header">
- <div class="summary">
- <a href="#pub-methods">Public Member Functions</a> |
- <a href="#pro-methods">Protected Member Functions</a> |
- <a href="#pro-attribs">Protected Attributes</a> |
- <a href="#friends">Friends</a> |
- <a href="class_q_c_p_grid-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">QCPGrid Class Reference</div> </div>
- </div><!--header-->
- <div class="contents">
-
- <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>.
- <a href="class_q_c_p_grid.html#details">More...</a></p>
- <div class="dynheader">
- Inheritance diagram for QCPGrid:</div>
- <div class="dyncontent">
- <div class="center">
- <img src="class_q_c_p_grid.png" usemap="#QCPGrid_map" alt=""/>
- <map id="QCPGrid_map" name="QCPGrid_map">
- <area href="class_q_c_p_layerable.html" title="Base class for all drawable objects. " alt="QCPLayerable" shape="rect" coords="0,56,96,80"/>
- </map>
- </div></div>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr class="memitem:acd1cdd2909625388a13048b698494a17"><td class="memItemLeft" align="right" valign="top"> </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>
- <tr class="separator:acd1cdd2909625388a13048b698494a17"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0a8963e384d53cd77cbab7df96147458"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a8963e384d53cd77cbab7df96147458"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>subGridVisible</b> () const </td></tr>
- <tr class="separator:a0a8963e384d53cd77cbab7df96147458"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abfa6c638a05b45b2ed31b680fc9b31fc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abfa6c638a05b45b2ed31b680fc9b31fc"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>antialiasedSubGrid</b> () const </td></tr>
- <tr class="separator:abfa6c638a05b45b2ed31b680fc9b31fc"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4dfbc1cee989d8cae1434b765ab2a13b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4dfbc1cee989d8cae1434b765ab2a13b"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>antialiasedZeroLine</b> () const </td></tr>
- <tr class="separator:a4dfbc1cee989d8cae1434b765ab2a13b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aca20b67548e3ae31fd02e6398ffd6cb9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aca20b67548e3ae31fd02e6398ffd6cb9"></a>
- QPen </td><td class="memItemRight" valign="bottom"><b>pen</b> () const </td></tr>
- <tr class="separator:aca20b67548e3ae31fd02e6398ffd6cb9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac698f8c6864b1d8f0e2af97ca4b39cc6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac698f8c6864b1d8f0e2af97ca4b39cc6"></a>
- QPen </td><td class="memItemRight" valign="bottom"><b>subGridPen</b> () const </td></tr>
- <tr class="separator:ac698f8c6864b1d8f0e2af97ca4b39cc6"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a06ea986b651860446e1224d2097259b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a06ea986b651860446e1224d2097259b9"></a>
- QPen </td><td class="memItemRight" valign="bottom"><b>zeroLinePen</b> () const </td></tr>
- <tr class="separator:a06ea986b651860446e1224d2097259b9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad4ad6bf714ec45e08845456355a1b700"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_grid.html#ad4ad6bf714ec45e08845456355a1b700">setSubGridVisible</a> (bool visible)</td></tr>
- <tr class="separator:ad4ad6bf714ec45e08845456355a1b700"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5692310ba183721a413d60951407d114"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_grid.html#a5692310ba183721a413d60951407d114">setAntialiasedSubGrid</a> (bool enabled)</td></tr>
- <tr class="separator:a5692310ba183721a413d60951407d114"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3cc6d54647393ee71afb6da56af07aa4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_grid.html#a3cc6d54647393ee71afb6da56af07aa4">setAntialiasedZeroLine</a> (bool enabled)</td></tr>
- <tr class="separator:a3cc6d54647393ee71afb6da56af07aa4"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa05ab9816ffb440908171e45e833b593"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_grid.html#aa05ab9816ffb440908171e45e833b593">setPen</a> (const QPen &pen)</td></tr>
- <tr class="separator:aa05ab9816ffb440908171e45e833b593"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9edd3593f384d1f0b0202a39cef4453d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_grid.html#a9edd3593f384d1f0b0202a39cef4453d">setSubGridPen</a> (const QPen &pen)</td></tr>
- <tr class="separator:a9edd3593f384d1f0b0202a39cef4453d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a209f40fdb252397b418b82d3494d8ea0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_grid.html#a209f40fdb252397b418b82d3494d8ea0">setZeroLinePen</a> (const QPen &pen)</td></tr>
- <tr class="separator:a209f40fdb252397b418b82d3494d8ea0"><td class="memSeparator" colspan="2"> </td></tr>
- <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="-"/> Public Member Functions inherited from <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a></td></tr>
- <tr class="memitem:a76592e80a4657e03da4bfd91aab91ef3 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top"> </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="", <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>
- <tr class="separator:a76592e80a4657e03da4bfd91aab91ef3 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- bool </td><td class="memItemRight" valign="bottom"><b>visible</b> () const </td></tr>
- <tr class="separator:a10a3cc92e0fa63e4a929e61d34e275a7 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- <a class="el" href="class_q_custom_plot.html">QCustomPlot</a> * </td><td class="memItemRight" valign="bottom"><b>parentPlot</b> () const </td></tr>
- <tr class="separator:ab7e0e94461566093d36ffc0f5312b109 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#a98d79f5b716d45eac4347befe546d0ec">parentLayerable</a> () const </td></tr>
- <tr class="separator:a98d79f5b716d45eac4347befe546d0ec inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- <a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * </td><td class="memItemRight" valign="bottom"><b>layer</b> () const </td></tr>
- <tr class="separator:aea67e8c19145e70d68c286a36f6b8300 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- bool </td><td class="memItemRight" valign="bottom"><b>antialiased</b> () const </td></tr>
- <tr class="separator:aef5cb4aa899ed9dc9384fd614560291e inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">setVisible</a> (bool on)</td></tr>
- <tr class="separator:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">bool </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>
- <tr class="separator:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#ab25a0e7b897993b44447caee0f142083">setLayer</a> (const QString &layerName)</td></tr>
- <tr class="separator:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#a4fd43e89be4a553ead41652565ff0581">setAntialiased</a> (bool enabled)</td></tr>
- <tr class="separator:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4001c4d0dfec55598efa4d531f2179a9 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#a4001c4d0dfec55598efa4d531f2179a9">selectTest</a> (const QPointF &pos, bool onlySelectable, QVariant *details=0) const </td></tr>
- <tr class="separator:a4001c4d0dfec55598efa4d531f2179a9 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a30809f7455e9794bca7b6c737622fa63 inherit pub_methods_class_q_c_p_layerable"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_layerable.html#a30809f7455e9794bca7b6c737622fa63">realVisibility</a> () const </td></tr>
- <tr class="separator:a30809f7455e9794bca7b6c737622fa63 inherit pub_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
- Protected Member Functions</h2></td></tr>
- <tr class="memitem:a9916f5e38b4d6cae446537aeb47c7272"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9916f5e38b4d6cae446537aeb47c7272"></a>
- virtual void </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>
- <tr class="separator:a9916f5e38b4d6cae446537aeb47c7272"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad009c23f96078616aa4f66a750974b23"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad009c23f96078616aa4f66a750974b23"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><b>draw</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter)</td></tr>
- <tr class="separator:ad009c23f96078616aa4f66a750974b23"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3aff10e993f6625e255c19e4f97a09d8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3aff10e993f6625e255c19e4f97a09d8"></a>
- void </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>
- <tr class="separator:a3aff10e993f6625e255c19e4f97a09d8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afa5d9d12de419e881f381f2ab7cb414d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afa5d9d12de419e881f381f2ab7cb414d"></a>
- void </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>
- <tr class="separator:afa5d9d12de419e881f381f2ab7cb414d"><td class="memSeparator" colspan="2"> </td></tr>
- <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="-"/> Protected Member Functions inherited from <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a></td></tr>
- <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>
- virtual void </td><td class="memItemRight" valign="bottom"><b>parentPlotInitialized</b> (<a class="el" href="class_q_custom_plot.html">QCustomPlot</a> *parentPlot)</td></tr>
- <tr class="separator:ab20b7dbd8e0249ed61adb9622c427382 inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- virtual <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> </td><td class="memItemRight" valign="bottom"><b>selectionCategory</b> () const </td></tr>
- <tr class="separator:aa4035e586b7f317a06ba7e74e242a5ea inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- virtual QRect </td><td class="memItemRight" valign="bottom"><b>clipRect</b> () const </td></tr>
- <tr class="separator:a07a8f746640c3704b09910df297afcba inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- virtual void </td><td class="memItemRight" valign="bottom"><b>selectEvent</b> (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged)</td></tr>
- <tr class="separator:a7498c2d0d081cf7cad0fb3bb93aa0e91 inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- virtual void </td><td class="memItemRight" valign="bottom"><b>deselectEvent</b> (bool *selectionStateChanged)</td></tr>
- <tr class="separator:ae546370644a5551c76af739afc008bee inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- void </td><td class="memItemRight" valign="bottom"><b>initializeParentPlot</b> (<a class="el" href="class_q_custom_plot.html">QCustomPlot</a> *parentPlot)</td></tr>
- <tr class="separator:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- void </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>
- <tr class="separator:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- bool </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>
- <tr class="separator:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- void </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>
- <tr class="separator:a62bd552d1a45aa9accb24b310542279e inherit pro_methods_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
- Protected Attributes</h2></td></tr>
- <tr class="memitem:a4e4a0400d6319bb44c06341f6298c87b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e4a0400d6319bb44c06341f6298c87b"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>mSubGridVisible</b></td></tr>
- <tr class="separator:a4e4a0400d6319bb44c06341f6298c87b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a71b7051f833f0c5de3094998d6afdd87"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a71b7051f833f0c5de3094998d6afdd87"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>mAntialiasedSubGrid</b></td></tr>
- <tr class="separator:a71b7051f833f0c5de3094998d6afdd87"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8c0df56ae86440408c050895dcdb922b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8c0df56ae86440408c050895dcdb922b"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>mAntialiasedZeroLine</b></td></tr>
- <tr class="separator:a8c0df56ae86440408c050895dcdb922b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1cdc4a3bccf6a40c2d4360def9fefa40"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1cdc4a3bccf6a40c2d4360def9fefa40"></a>
- QPen </td><td class="memItemRight" valign="bottom"><b>mPen</b></td></tr>
- <tr class="separator:a1cdc4a3bccf6a40c2d4360def9fefa40"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa9004bc139ad3ea92629f0aaae81d83f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa9004bc139ad3ea92629f0aaae81d83f"></a>
- QPen </td><td class="memItemRight" valign="bottom"><b>mSubGridPen</b></td></tr>
- <tr class="separator:aa9004bc139ad3ea92629f0aaae81d83f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a379481871f17655c27eda30af233554f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a379481871f17655c27eda30af233554f"></a>
- QPen </td><td class="memItemRight" valign="bottom"><b>mZeroLinePen</b></td></tr>
- <tr class="separator:a379481871f17655c27eda30af233554f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9a8a76731e6e737b65b929fd1995cc88"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9a8a76731e6e737b65b929fd1995cc88"></a>
- <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * </td><td class="memItemRight" valign="bottom"><b>mParentAxis</b></td></tr>
- <tr class="separator:a9a8a76731e6e737b65b929fd1995cc88"><td class="memSeparator" colspan="2"> </td></tr>
- <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="-"/> Protected Attributes inherited from <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a></td></tr>
- <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>
- bool </td><td class="memItemRight" valign="bottom"><b>mVisible</b></td></tr>
- <tr class="separator:a62e3aed8427d6ce3ccf716f285106cb3 inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- <a class="el" href="class_q_custom_plot.html">QCustomPlot</a> * </td><td class="memItemRight" valign="bottom"><b>mParentPlot</b></td></tr>
- <tr class="separator:aa2a528433e44db02b8aef23c1f9f90ed inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- QPointer< <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a> > </td><td class="memItemRight" valign="bottom"><b>mParentLayerable</b></td></tr>
- <tr class="separator:a3291445a980053e2d17a21d15957624e inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- <a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * </td><td class="memItemRight" valign="bottom"><b>mLayer</b></td></tr>
- <tr class="separator:aa38ec5891aff0f50b36fd63e9372a0cd inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- <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>
- bool </td><td class="memItemRight" valign="bottom"><b>mAntialiased</b></td></tr>
- <tr class="separator:a3ab45a4c76a3333ce42eb217a81733ec inherit pro_attribs_class_q_c_p_layerable"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
- Friends</h2></td></tr>
- <tr class="memitem:af123edeca169ec7a31958a1d714e1a8a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af123edeca169ec7a31958a1d714e1a8a"></a>
- class </td><td class="memItemRight" valign="bottom"><b>QCPAxis</b></td></tr>
- <tr class="separator:af123edeca169ec7a31958a1d714e1a8a"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <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>
- <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>
- <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>
- </div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
- <a class="anchor" id="acd1cdd2909625388a13048b698494a17"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QCPGrid::QCPGrid </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * </td>
- <td class="paramname"><em>parentAxis</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
-
- </div>
- </div>
- <h2 class="groupheader">Member Function Documentation</h2>
- <a class="anchor" id="a5692310ba183721a413d60951407d114"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCPGrid::setAntialiasedSubGrid </td>
- <td>(</td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>enabled</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets whether sub grid lines are drawn antialiased. </p>
-
- </div>
- </div>
- <a class="anchor" id="a3cc6d54647393ee71afb6da56af07aa4"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCPGrid::setAntialiasedZeroLine </td>
- <td>(</td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>enabled</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets whether zero lines are drawn antialiased. </p>
-
- </div>
- </div>
- <a class="anchor" id="aa05ab9816ffb440908171e45e833b593"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCPGrid::setPen </td>
- <td>(</td>
- <td class="paramtype">const QPen & </td>
- <td class="paramname"><em>pen</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets the pen with which (major) grid lines are drawn. </p>
-
- </div>
- </div>
- <a class="anchor" id="a9edd3593f384d1f0b0202a39cef4453d"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCPGrid::setSubGridPen </td>
- <td>(</td>
- <td class="paramtype">const QPen & </td>
- <td class="paramname"><em>pen</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets the pen with which sub grid lines are drawn. </p>
-
- </div>
- </div>
- <a class="anchor" id="ad4ad6bf714ec45e08845456355a1b700"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCPGrid::setSubGridVisible </td>
- <td>(</td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>visible</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets whether grid lines at sub tick marks are drawn.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_grid.html#a9edd3593f384d1f0b0202a39cef4453d">setSubGridPen</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a209f40fdb252397b418b82d3494d8ea0"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCPGrid::setZeroLinePen </td>
- <td>(</td>
- <td class="paramtype">const QPen & </td>
- <td class="paramname"><em>pen</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets the pen with which zero lines are drawn.</p>
- <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>
-
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following files:<ul>
- <li><a class="el" href="qcustomplot_8h_source.html">qcustomplot.h</a></li>
- <li><a class="el" href="qcustomplot_8cpp.html">qcustomplot.cpp</a></li>
- </ul>
- </div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated on Tue Aug 11 2015 13:04:50 for My Project by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.9.1
- </small></address>
- </body>
- </html>
|