classQCPPlotTitle.html 67 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744
  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 name="author" content="Emanuel Eichhammer" />
  6. <meta name="copyright" content="(C) 2013-2015 Emanuel Eichhammer" />
  7. <title>QCPPlotTitle Class Reference</title>
  8. <link href="qt.css" rel="stylesheet" type="text/css"/>
  9. </head>
  10. <body>
  11. <div id="top">
  12. <a class="headerLink" href="index.html">Main Page</a> &middot;
  13. <a class="headerLink" href="classoverview.html">Class Overview</a> &middot;
  14. <a class="headerLink" href="hierarchy.html">Hierarchy</a> &middot;
  15. <a class="headerLink" href="annotated.html">All Classes</a> &middot;
  16. <a class="headerLink" href="pages.html">Special Pages</a>
  17. <!-- Generated by Doxygen 1.8.6 -->
  18. </div><!-- top -->
  19. <div class="header">
  20. <div class="summary">
  21. <a href="#pub-methods">Public Functions</a> &#124;
  22. <a href="#signals">Signals</a> &#124;
  23. <a href="#pro-methods">Protected Functions</a> </div>
  24. <div class="headertitle">
  25. <div class="title">QCPPlotTitle Class Reference</div> </div>
  26. </div><!--header-->
  27. <div class="contents">
  28. <p>A layout element displaying a plot title text.
  29. <a href="classQCPPlotTitle.html#details">More...</a></p>
  30. <div class="dynheader">
  31. Inheritance diagram for QCPPlotTitle:</div>
  32. <div class="dyncontent">
  33. <div class="center"><img src="classQCPPlotTitle__inherit__graph.png" border="0" usemap="#QCPPlotTitle_inherit__map" alt="Inheritance graph"/></div>
  34. <map name="QCPPlotTitle_inherit__map" id="QCPPlotTitle_inherit__map">
  35. <area shape="rect" id="node2" href="classQCPLayoutElement.html" title="The abstract base class for all objects that form the layout system. " alt="" coords="5,77,133,101"/><area shape="rect" id="node3" href="classQCPLayerable.html" title="Base class for all drawable objects. " alt="" coords="19,5,120,29"/></map>
  36. </div>
  37. <table class="memberdecls">
  38. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  39. Public Functions</h2></td></tr>
  40. <tr class="memitem:aaae17bee2de6d6a1e695f76fb1abed03"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#aaae17bee2de6d6a1e695f76fb1abed03">QCPPlotTitle</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot)</td></tr>
  41. <tr class="separator:aaae17bee2de6d6a1e695f76fb1abed03"><td class="memSeparator" colspan="2">&#160;</td></tr>
  42. <tr class="memitem:a90b9f46ceccbeee41f71c895a8c7ee1f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#a90b9f46ceccbeee41f71c895a8c7ee1f">QCPPlotTitle</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot, const QString &amp;text)</td></tr>
  43. <tr class="separator:a90b9f46ceccbeee41f71c895a8c7ee1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  44. <tr class="memitem:aeaa6f2384a611e8a610262b976b3cee5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeaa6f2384a611e8a610262b976b3cee5"></a>
  45. QString&#160;</td><td class="memItemRight" valign="bottom"><b>text</b> () const </td></tr>
  46. <tr class="separator:aeaa6f2384a611e8a610262b976b3cee5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  47. <tr class="memitem:aa5f4cf007db51ccdd1c137191f564119"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa5f4cf007db51ccdd1c137191f564119"></a>
  48. QFont&#160;</td><td class="memItemRight" valign="bottom"><b>font</b> () const </td></tr>
  49. <tr class="separator:aa5f4cf007db51ccdd1c137191f564119"><td class="memSeparator" colspan="2">&#160;</td></tr>
  50. <tr class="memitem:a69f2cae768ff84dbf9f8a387ad617781"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a69f2cae768ff84dbf9f8a387ad617781"></a>
  51. QColor&#160;</td><td class="memItemRight" valign="bottom"><b>textColor</b> () const </td></tr>
  52. <tr class="separator:a69f2cae768ff84dbf9f8a387ad617781"><td class="memSeparator" colspan="2">&#160;</td></tr>
  53. <tr class="memitem:aa865a3656e01ee8db41837afa892f2a3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa865a3656e01ee8db41837afa892f2a3"></a>
  54. QFont&#160;</td><td class="memItemRight" valign="bottom"><b>selectedFont</b> () const </td></tr>
  55. <tr class="separator:aa865a3656e01ee8db41837afa892f2a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  56. <tr class="memitem:ab2262e40edfc41540c1dbc1c4234f9d2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2262e40edfc41540c1dbc1c4234f9d2"></a>
  57. QColor&#160;</td><td class="memItemRight" valign="bottom"><b>selectedTextColor</b> () const </td></tr>
  58. <tr class="separator:ab2262e40edfc41540c1dbc1c4234f9d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  59. <tr class="memitem:a8d75c7cbcf2049c9512a3335d6f11416"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8d75c7cbcf2049c9512a3335d6f11416"></a>
  60. bool&#160;</td><td class="memItemRight" valign="bottom"><b>selectable</b> () const </td></tr>
  61. <tr class="separator:a8d75c7cbcf2049c9512a3335d6f11416"><td class="memSeparator" colspan="2">&#160;</td></tr>
  62. <tr class="memitem:a9771f3a4bca026484d7c8b5d953b5e82"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9771f3a4bca026484d7c8b5d953b5e82"></a>
  63. bool&#160;</td><td class="memItemRight" valign="bottom"><b>selected</b> () const </td></tr>
  64. <tr class="separator:a9771f3a4bca026484d7c8b5d953b5e82"><td class="memSeparator" colspan="2">&#160;</td></tr>
  65. <tr class="memitem:aae5a93e88050dfb2cbf6adc087516821"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#aae5a93e88050dfb2cbf6adc087516821">setText</a> (const QString &amp;text)</td></tr>
  66. <tr class="separator:aae5a93e88050dfb2cbf6adc087516821"><td class="memSeparator" colspan="2">&#160;</td></tr>
  67. <tr class="memitem:a199fc7170802ea65006c371875349e37"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#a199fc7170802ea65006c371875349e37">setFont</a> (const QFont &amp;font)</td></tr>
  68. <tr class="separator:a199fc7170802ea65006c371875349e37"><td class="memSeparator" colspan="2">&#160;</td></tr>
  69. <tr class="memitem:a71273e3a0ca6b4c151591b37b9e5ce33"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#a71273e3a0ca6b4c151591b37b9e5ce33">setTextColor</a> (const QColor &amp;color)</td></tr>
  70. <tr class="separator:a71273e3a0ca6b4c151591b37b9e5ce33"><td class="memSeparator" colspan="2">&#160;</td></tr>
  71. <tr class="memitem:a5245980ead999ceed51dbe702d0e3131"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#a5245980ead999ceed51dbe702d0e3131">setSelectedFont</a> (const QFont &amp;font)</td></tr>
  72. <tr class="separator:a5245980ead999ceed51dbe702d0e3131"><td class="memSeparator" colspan="2">&#160;</td></tr>
  73. <tr class="memitem:a09ffd8c52ac8824d00382f84be391b66"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#a09ffd8c52ac8824d00382f84be391b66">setSelectedTextColor</a> (const QColor &amp;color)</td></tr>
  74. <tr class="separator:a09ffd8c52ac8824d00382f84be391b66"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:a8866b07b9fa14877d4cefbf38406c5dd"><td class="memItemLeft" align="right" valign="top">Q_SLOT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#a8866b07b9fa14877d4cefbf38406c5dd">setSelectable</a> (bool selectable)</td></tr>
  76. <tr class="separator:a8866b07b9fa14877d4cefbf38406c5dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  77. <tr class="memitem:a8d441a889d371307df86f1ab7687a333"><td class="memItemLeft" align="right" valign="top">Q_SLOT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#a8d441a889d371307df86f1ab7687a333">setSelected</a> (bool selected)</td></tr>
  78. <tr class="separator:a8d441a889d371307df86f1ab7687a333"><td class="memSeparator" colspan="2">&#160;</td></tr>
  79. <tr class="memitem:a5b7ae716be9134a48f4e378feb0e6699"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#a5b7ae716be9134a48f4e378feb0e6699">selectTest</a> (const QPointF &amp;pos, bool onlySelectable, QVariant *details=0) const </td></tr>
  80. <tr class="separator:a5b7ae716be9134a48f4e378feb0e6699"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="inherit_header pub_methods_classQCPLayoutElement"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classQCPLayoutElement')"><img src="closed.png" alt="-"/>&#160;Public Functions inherited from <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a></td></tr>
  82. <tr class="memitem:a8947f0ada17e672aaba3d424cbbb67e3 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a8947f0ada17e672aaba3d424cbbb67e3">QCPLayoutElement</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot=0)</td></tr>
  83. <tr class="separator:a8947f0ada17e672aaba3d424cbbb67e3 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:a6235f5384db871fc6e3387a1bc558b0d inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayout.html">QCPLayout</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a6235f5384db871fc6e3387a1bc558b0d">layout</a> () const </td></tr>
  85. <tr class="separator:a6235f5384db871fc6e3387a1bc558b0d inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  86. <tr class="memitem:affdfea003469aac3d0fac5f4e06171bc inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">QRect&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a> () const </td></tr>
  87. <tr class="separator:affdfea003469aac3d0fac5f4e06171bc inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. <tr class="memitem:a60bbddee2d1230c2414bd776f44d17b8 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a60bbddee2d1230c2414bd776f44d17b8"></a>
  89. QRect&#160;</td><td class="memItemRight" valign="bottom"><b>outerRect</b> () const </td></tr>
  90. <tr class="separator:a60bbddee2d1230c2414bd776f44d17b8 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  91. <tr class="memitem:a85ff977dfcced84eef32d9f819ec9543 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a85ff977dfcced84eef32d9f819ec9543"></a>
  92. QMargins&#160;</td><td class="memItemRight" valign="bottom"><b>margins</b> () const </td></tr>
  93. <tr class="separator:a85ff977dfcced84eef32d9f819ec9543 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  94. <tr class="memitem:a60ec7f377c26726174d536bffb632002 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a60ec7f377c26726174d536bffb632002"></a>
  95. QMargins&#160;</td><td class="memItemRight" valign="bottom"><b>minimumMargins</b> () const </td></tr>
  96. <tr class="separator:a60ec7f377c26726174d536bffb632002 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:a2f499b1179b3126e22d0d7508124ccb3 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2f499b1179b3126e22d0d7508124ccb3"></a>
  98. QCP::MarginSides&#160;</td><td class="memItemRight" valign="bottom"><b>autoMargins</b> () const </td></tr>
  99. <tr class="separator:a2f499b1179b3126e22d0d7508124ccb3 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:ae71f9230171d2d898e21dc461fc3df03 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae71f9230171d2d898e21dc461fc3df03"></a>
  101. QSize&#160;</td><td class="memItemRight" valign="bottom"><b>minimumSize</b> () const </td></tr>
  102. <tr class="separator:ae71f9230171d2d898e21dc461fc3df03 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:a1fc85c79e15c2ab8051eccd455fccc4a inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1fc85c79e15c2ab8051eccd455fccc4a"></a>
  104. QSize&#160;</td><td class="memItemRight" valign="bottom"><b>maximumSize</b> () const </td></tr>
  105. <tr class="separator:a1fc85c79e15c2ab8051eccd455fccc4a inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:a22cb1bb62c452fd802e43ca2524660db inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22cb1bb62c452fd802e43ca2524660db"></a>
  107. <a class="el" href="classQCPMarginGroup.html">QCPMarginGroup</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>marginGroup</b> (<a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a> side) const </td></tr>
  108. <tr class="separator:a22cb1bb62c452fd802e43ca2524660db inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:ac43921c997570389c14a1671bc3ea499 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac43921c997570389c14a1671bc3ea499"></a>
  110. QHash&lt; <a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a>, <br class="typebreak"/>
  111. <a class="el" href="classQCPMarginGroup.html">QCPMarginGroup</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>marginGroups</b> () const </td></tr>
  112. <tr class="separator:ac43921c997570389c14a1671bc3ea499 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a38975ea13e36de8e53391ce41d94bc0f inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a38975ea13e36de8e53391ce41d94bc0f">setOuterRect</a> (const QRect &amp;<a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>)</td></tr>
  114. <tr class="separator:a38975ea13e36de8e53391ce41d94bc0f inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a8f450b1f3f992ad576fce2c63d8b79cf inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a8f450b1f3f992ad576fce2c63d8b79cf">setMargins</a> (const QMargins &amp;margins)</td></tr>
  116. <tr class="separator:a8f450b1f3f992ad576fce2c63d8b79cf inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a0a8a17abc16b7923159fcc7608f94673 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a0a8a17abc16b7923159fcc7608f94673">setMinimumMargins</a> (const QMargins &amp;margins)</td></tr>
  118. <tr class="separator:a0a8a17abc16b7923159fcc7608f94673 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:accfda49994e3e6d51ed14504abf9d27d inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#accfda49994e3e6d51ed14504abf9d27d">setAutoMargins</a> (QCP::MarginSides sides)</td></tr>
  120. <tr class="separator:accfda49994e3e6d51ed14504abf9d27d inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a5dd29a3c8bc88440c97c06b67be7886b inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a5dd29a3c8bc88440c97c06b67be7886b">setMinimumSize</a> (const QSize &amp;size)</td></tr>
  122. <tr class="separator:a5dd29a3c8bc88440c97c06b67be7886b inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:a8e0447614a0bf92de9a7304588c6b96e inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a8e0447614a0bf92de9a7304588c6b96e">setMinimumSize</a> (int width, int height)</td></tr>
  124. <tr class="separator:a8e0447614a0bf92de9a7304588c6b96e inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a74eb5280a737ab44833d506db65efd95 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a74eb5280a737ab44833d506db65efd95">setMaximumSize</a> (const QSize &amp;size)</td></tr>
  126. <tr class="separator:a74eb5280a737ab44833d506db65efd95 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:a03e0e9c48f230217c529b0819f832d84 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a03e0e9c48f230217c529b0819f832d84">setMaximumSize</a> (int width, int height)</td></tr>
  128. <tr class="separator:a03e0e9c48f230217c529b0819f832d84 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a516e56f76b6bc100e8e71d329866847d inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a516e56f76b6bc100e8e71d329866847d">setMarginGroup</a> (QCP::MarginSides sides, <a class="el" href="classQCPMarginGroup.html">QCPMarginGroup</a> *group)</td></tr>
  130. <tr class="separator:a516e56f76b6bc100e8e71d329866847d inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:a929c2ec62e0e0e1d8418eaa802e2af9b inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a929c2ec62e0e0e1d8418eaa802e2af9b">update</a> (<a class="el" href="classQCPLayoutElement.html#a0d83360e05735735aaf6d7983c56374d">UpdatePhase</a> phase)</td></tr>
  132. <tr class="separator:a929c2ec62e0e0e1d8418eaa802e2af9b inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:a311d60d78e62ef8eaaedb1b6ceb9e788 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual QList&lt; <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a311d60d78e62ef8eaaedb1b6ceb9e788">elements</a> (bool recursive) const </td></tr>
  134. <tr class="separator:a311d60d78e62ef8eaaedb1b6ceb9e788 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="inherit_header pub_methods_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classQCPLayerable')"><img src="closed.png" alt="-"/>&#160;Public Functions inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
  136. <tr class="memitem:a74c0fa237f29bf0e49565013fc5d1ec0 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a74c0fa237f29bf0e49565013fc5d1ec0">QCPLayerable</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *plot, QString targetLayer=QString(), <a class="el" href="classQCPLayerable.html">QCPLayerable</a> *<a class="el" href="classQCPLayerable.html#a98d79f5b716d45eac4347befe546d0ec">parentLayerable</a>=0)</td></tr>
  137. <tr class="separator:a74c0fa237f29bf0e49565013fc5d1ec0 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:a10a3cc92e0fa63e4a929e61d34e275a7 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10a3cc92e0fa63e4a929e61d34e275a7"></a>
  139. bool&#160;</td><td class="memItemRight" valign="bottom"><b>visible</b> () const </td></tr>
  140. <tr class="separator:a10a3cc92e0fa63e4a929e61d34e275a7 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <tr class="memitem:ab7e0e94461566093d36ffc0f5312b109 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7e0e94461566093d36ffc0f5312b109"></a>
  142. <a class="el" href="classQCustomPlot.html">QCustomPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>parentPlot</b> () const </td></tr>
  143. <tr class="separator:ab7e0e94461566093d36ffc0f5312b109 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:a98d79f5b716d45eac4347befe546d0ec inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayerable.html">QCPLayerable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a98d79f5b716d45eac4347befe546d0ec">parentLayerable</a> () const </td></tr>
  145. <tr class="separator:a98d79f5b716d45eac4347befe546d0ec inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:aea67e8c19145e70d68c286a36f6b8300 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aea67e8c19145e70d68c286a36f6b8300"></a>
  147. <a class="el" href="classQCPLayer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>layer</b> () const </td></tr>
  148. <tr class="separator:aea67e8c19145e70d68c286a36f6b8300 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:aef5cb4aa899ed9dc9384fd614560291e inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef5cb4aa899ed9dc9384fd614560291e"></a>
  150. bool&#160;</td><td class="memItemRight" valign="bottom"><b>antialiased</b> () const </td></tr>
  151. <tr class="separator:aef5cb4aa899ed9dc9384fd614560291e inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">setVisible</a> (bool on)</td></tr>
  153. <tr class="separator:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">Q_SLOT bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#ab0d0da6d2de45a118886d2c8e16d5a54">setLayer</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *layer)</td></tr>
  155. <tr class="separator:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="memitem:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#ab25a0e7b897993b44447caee0f142083">setLayer</a> (const QString &amp;layerName)</td></tr>
  157. <tr class="separator:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a4fd43e89be4a553ead41652565ff0581">setAntialiased</a> (bool enabled)</td></tr>
  159. <tr class="separator:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:a30809f7455e9794bca7b6c737622fa63 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a30809f7455e9794bca7b6c737622fa63">realVisibility</a> () const </td></tr>
  161. <tr class="separator:a30809f7455e9794bca7b6c737622fa63 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. </table><table class="memberdecls">
  163. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
  164. Signals</h2></td></tr>
  165. <tr class="memitem:a3a01ede2da3b0b5eda33aa5274cc3523"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#a3a01ede2da3b0b5eda33aa5274cc3523">selectionChanged</a> (bool selected)</td></tr>
  166. <tr class="separator:a3a01ede2da3b0b5eda33aa5274cc3523"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. <tr class="memitem:a5eac3c17a4dbabb75250bc1210a83cfc"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5eac3c17a4dbabb75250bc1210a83cfc"></a>
  168. void&#160;</td><td class="memItemRight" valign="bottom"><b>selectableChanged</b> (bool selectable)</td></tr>
  169. <tr class="separator:a5eac3c17a4dbabb75250bc1210a83cfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. <tr class="inherit_header signals_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('signals_classQCPLayerable')"><img src="closed.png" alt="-"/>&#160;Signals inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
  171. <tr class="memitem:abbf8657cedea73ac1c3499b521c90eba inherit signals_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#abbf8657cedea73ac1c3499b521c90eba">layerChanged</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *newLayer)</td></tr>
  172. <tr class="separator:abbf8657cedea73ac1c3499b521c90eba inherit signals_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  173. </table><table class="memberdecls">
  174. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  175. Protected Functions</h2></td></tr>
  176. <tr class="memitem:a0e2a491864bf8d8e8b159ef38e9d85bd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#a0e2a491864bf8d8e8b159ef38e9d85bd">applyDefaultAntialiasingHint</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter) const </td></tr>
  177. <tr class="separator:a0e2a491864bf8d8e8b159ef38e9d85bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  178. <tr class="memitem:ae4f1f8d24489628dabb7256363b097d2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#ae4f1f8d24489628dabb7256363b097d2">draw</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter)</td></tr>
  179. <tr class="separator:ae4f1f8d24489628dabb7256363b097d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. <tr class="memitem:a695e6037e72a1e129387e7e4a980faea"><td class="memItemLeft" align="right" valign="top">virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#a695e6037e72a1e129387e7e4a980faea">minimumSizeHint</a> () const </td></tr>
  181. <tr class="separator:a695e6037e72a1e129387e7e4a980faea"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:a2afaf11a379038e5ca58040a0eb0ae4c"><td class="memItemLeft" align="right" valign="top">virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#a2afaf11a379038e5ca58040a0eb0ae4c">maximumSizeHint</a> () const </td></tr>
  183. <tr class="separator:a2afaf11a379038e5ca58040a0eb0ae4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. <tr class="memitem:a22672ef2abe442b1e73b7ee04cff9bdd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#a22672ef2abe442b1e73b7ee04cff9bdd">selectEvent</a> (QMouseEvent *event, bool additive, const QVariant &amp;details, bool *selectionStateChanged)</td></tr>
  185. <tr class="separator:a22672ef2abe442b1e73b7ee04cff9bdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. <tr class="memitem:ac6dfce05bebdb9bd0bfacd5ff02f3325"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#ac6dfce05bebdb9bd0bfacd5ff02f3325">deselectEvent</a> (bool *selectionStateChanged)</td></tr>
  187. <tr class="separator:ac6dfce05bebdb9bd0bfacd5ff02f3325"><td class="memSeparator" colspan="2">&#160;</td></tr>
  188. <tr class="memitem:a7e74004e3a68118b16491848708a8b3a"><td class="memItemLeft" align="right" valign="top">QFont&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#a7e74004e3a68118b16491848708a8b3a">mainFont</a> () const </td></tr>
  189. <tr class="separator:a7e74004e3a68118b16491848708a8b3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  190. <tr class="memitem:ac1b02546563a2e76f97d78a576f82f5a"><td class="memItemLeft" align="right" valign="top">QColor&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPPlotTitle.html#ac1b02546563a2e76f97d78a576f82f5a">mainTextColor</a> () const </td></tr>
  191. <tr class="separator:ac1b02546563a2e76f97d78a576f82f5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  192. <tr class="inherit_header pro_methods_classQCPLayoutElement"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classQCPLayoutElement')"><img src="closed.png" alt="-"/>&#160;Protected Functions inherited from <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a></td></tr>
  193. <tr class="memitem:a005c9f0fe84bc1591a2cf2c46fd477b4 inherit pro_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a005c9f0fe84bc1591a2cf2c46fd477b4">calculateAutoMargin</a> (<a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a> side)</td></tr>
  194. <tr class="separator:a005c9f0fe84bc1591a2cf2c46fd477b4 inherit pro_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  195. <tr class="memitem:a2d82ea21fe0ee628f177bd824bc51a71 inherit pro_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a2d82ea21fe0ee628f177bd824bc51a71">mousePressEvent</a> (QMouseEvent *event)</td></tr>
  196. <tr class="separator:a2d82ea21fe0ee628f177bd824bc51a71 inherit pro_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  197. <tr class="memitem:a14f4acf58cdb8dd2c6c571479c4c4a40 inherit pro_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a14f4acf58cdb8dd2c6c571479c4c4a40">mouseMoveEvent</a> (QMouseEvent *event)</td></tr>
  198. <tr class="separator:a14f4acf58cdb8dd2c6c571479c4c4a40 inherit pro_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  199. <tr class="memitem:ae526ac828cce1e5bb94eaa85776d7404 inherit pro_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#ae526ac828cce1e5bb94eaa85776d7404">mouseReleaseEvent</a> (QMouseEvent *event)</td></tr>
  200. <tr class="separator:ae526ac828cce1e5bb94eaa85776d7404 inherit pro_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  201. <tr class="memitem:aa8fef6486cb6ceb7c82cbdd50bc32ee9 inherit pro_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#aa8fef6486cb6ceb7c82cbdd50bc32ee9">mouseDoubleClickEvent</a> (QMouseEvent *event)</td></tr>
  202. <tr class="separator:aa8fef6486cb6ceb7c82cbdd50bc32ee9 inherit pro_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  203. <tr class="memitem:a300521d2fd18a893c1b85f6be11ce2bf inherit pro_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a300521d2fd18a893c1b85f6be11ce2bf">wheelEvent</a> (QWheelEvent *event)</td></tr>
  204. <tr class="separator:a300521d2fd18a893c1b85f6be11ce2bf inherit pro_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  205. <tr class="memitem:a1478899e80e8244b411e96ec3b2e5ce2 inherit pro_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a1478899e80e8244b411e96ec3b2e5ce2">parentPlotInitialized</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot)</td></tr>
  206. <tr class="separator:a1478899e80e8244b411e96ec3b2e5ce2 inherit pro_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  207. <tr class="inherit_header pro_methods_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classQCPLayerable')"><img src="closed.png" alt="-"/>&#160;Protected Functions inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
  208. <tr class="memitem:aa4035e586b7f317a06ba7e74e242a5ea inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#aa4035e586b7f317a06ba7e74e242a5ea">selectionCategory</a> () const </td></tr>
  209. <tr class="separator:aa4035e586b7f317a06ba7e74e242a5ea inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  210. <tr class="memitem:a07a8f746640c3704b09910df297afcba inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual QRect&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a07a8f746640c3704b09910df297afcba">clipRect</a> () const </td></tr>
  211. <tr class="separator:a07a8f746640c3704b09910df297afcba inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  212. <tr class="memitem:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a8cbe5a0c9a5674249982f5ca5f8e02bc">initializeParentPlot</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot)</td></tr>
  213. <tr class="separator:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  214. <tr class="memitem:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#aa23c893671f1f6744ac235cf2204cf3a">setParentLayerable</a> (<a class="el" href="classQCPLayerable.html">QCPLayerable</a> *<a class="el" href="classQCPLayerable.html#a98d79f5b716d45eac4347befe546d0ec">parentLayerable</a>)</td></tr>
  215. <tr class="separator:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  216. <tr class="memitem:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#af94484cfb7cbbddb7de522e9be71d9a4">moveToLayer</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *layer, bool prepend)</td></tr>
  217. <tr class="separator:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  218. <tr class="memitem:a62bd552d1a45aa9accb24b310542279e inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a62bd552d1a45aa9accb24b310542279e">applyAntialiasingHint</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter, bool localAntialiased, <a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> overrideElement) const </td></tr>
  219. <tr class="separator:a62bd552d1a45aa9accb24b310542279e inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  220. </table><table class="memberdecls">
  221. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  222. Additional Inherited Members</h2></td></tr>
  223. <tr class="inherit_header pub_types_classQCPLayoutElement"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classQCPLayoutElement')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a></td></tr>
  224. <tr class="memitem:a0d83360e05735735aaf6d7983c56374d inherit pub_types_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a0d83360e05735735aaf6d7983c56374d">UpdatePhase</a> </td></tr>
  225. <tr class="separator:a0d83360e05735735aaf6d7983c56374d inherit pub_types_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  226. </table>
  227. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  228. <div class="textblock"><p>A layout element displaying a plot title text. </p>
  229. <p>The text may be specified with <a class="el" href="classQCPPlotTitle.html#aae5a93e88050dfb2cbf6adc087516821">setText</a>, theformatting can be controlled with <a class="el" href="classQCPPlotTitle.html#a199fc7170802ea65006c371875349e37">setFont</a> and <a class="el" href="classQCPPlotTitle.html#a71273e3a0ca6b4c151591b37b9e5ce33">setTextColor</a>.</p>
  230. <p>A plot title can be added as follows: </p>
  231. <div class="fragment"><div class="line"> customPlot-&gt;plotLayout()-&gt;insertRow(0); <span class="comment">// inserts an empty row above the default axis rect</span></div>
  232. <div class="line"> customPlot-&gt;plotLayout()-&gt;addElement(0, 0, <span class="keyword">new</span> <a class="code" href="classQCPPlotTitle.html#aaae17bee2de6d6a1e695f76fb1abed03">QCPPlotTitle</a>(customPlot, <span class="stringliteral">&quot;Your Plot Title&quot;</span>));</div>
  233. </div><!-- fragment --><p> Since a plot title is a common requirement, <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> offers specialized selection signals for easy interaction with <a class="el" href="classQCPPlotTitle.html" title="A layout element displaying a plot title text. ">QCPPlotTitle</a>. If a layout element of type <a class="el" href="classQCPPlotTitle.html" title="A layout element displaying a plot title text. ">QCPPlotTitle</a> is clicked, the signal <a class="el" href="classQCustomPlot.html#a2137a819e518fee7edd1c0bf5984d8d6">QCustomPlot::titleClick</a> is emitted. A double click emits the <a class="el" href="classQCustomPlot.html#ad51d65f6abf5edfaeef6e0519a4c1a2f">QCustomPlot::titleDoubleClick</a> signal. </p>
  234. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  235. <a class="anchor" id="aaae17bee2de6d6a1e695f76fb1abed03"></a>
  236. <div class="memitem">
  237. <div class="memproto">
  238. <table class="mlabels">
  239. <tr>
  240. <td class="mlabels-left">
  241. <table class="memname">
  242. <tr>
  243. <td class="memname">QCPPlotTitle::QCPPlotTitle </td>
  244. <td>(</td>
  245. <td class="paramtype"><a class="el" href="classQCustomPlot.html">QCustomPlot</a> *&#160;</td>
  246. <td class="paramname"><em>parentPlot</em></td><td>)</td>
  247. <td></td>
  248. </tr>
  249. </table>
  250. </td>
  251. <td class="mlabels-right">
  252. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  253. </tr>
  254. </table>
  255. </div><div class="memdoc">
  256. <p>Creates a new <a class="el" href="classQCPPlotTitle.html" title="A layout element displaying a plot title text. ">QCPPlotTitle</a> instance and sets default values. The initial text is empty (<a class="el" href="classQCPPlotTitle.html#aae5a93e88050dfb2cbf6adc087516821">setText</a>).</p>
  257. <p>To set the title text in the constructor, rather use <a class="el" href="classQCPPlotTitle.html#a90b9f46ceccbeee41f71c895a8c7ee1f">QCPPlotTitle(QCustomPlot *parentPlot, const QString &amp;text)</a>. </p>
  258. </div>
  259. </div>
  260. <a class="anchor" id="a90b9f46ceccbeee41f71c895a8c7ee1f"></a>
  261. <div class="memitem">
  262. <div class="memproto">
  263. <table class="mlabels">
  264. <tr>
  265. <td class="mlabels-left">
  266. <table class="memname">
  267. <tr>
  268. <td class="memname">QCPPlotTitle::QCPPlotTitle </td>
  269. <td>(</td>
  270. <td class="paramtype"><a class="el" href="classQCustomPlot.html">QCustomPlot</a> *&#160;</td>
  271. <td class="paramname"><em>parentPlot</em>, </td>
  272. </tr>
  273. <tr>
  274. <td class="paramkey"></td>
  275. <td></td>
  276. <td class="paramtype">const QString &amp;&#160;</td>
  277. <td class="paramname"><em>text</em>&#160;</td>
  278. </tr>
  279. <tr>
  280. <td></td>
  281. <td>)</td>
  282. <td></td><td></td>
  283. </tr>
  284. </table>
  285. </td>
  286. <td class="mlabels-right">
  287. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  288. </tr>
  289. </table>
  290. </div><div class="memdoc">
  291. <p>This is an overloaded function.</p>
  292. <p>Creates a new <a class="el" href="classQCPPlotTitle.html" title="A layout element displaying a plot title text. ">QCPPlotTitle</a> instance and sets default values. The initial text is set to <em>text</em>. </p>
  293. </div>
  294. </div>
  295. <h2 class="groupheader">Member Function Documentation</h2>
  296. <a class="anchor" id="aae5a93e88050dfb2cbf6adc087516821"></a>
  297. <div class="memitem">
  298. <div class="memproto">
  299. <table class="memname">
  300. <tr>
  301. <td class="memname">void QCPPlotTitle::setText </td>
  302. <td>(</td>
  303. <td class="paramtype">const QString &amp;&#160;</td>
  304. <td class="paramname"><em>text</em></td><td>)</td>
  305. <td></td>
  306. </tr>
  307. </table>
  308. </div><div class="memdoc">
  309. <p>Sets the text that will be displayed to <em>text</em>. Multiple lines can be created by insertion of "\n".</p>
  310. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPPlotTitle.html#a199fc7170802ea65006c371875349e37">setFont</a>, <a class="el" href="classQCPPlotTitle.html#a71273e3a0ca6b4c151591b37b9e5ce33">setTextColor</a> </dd></dl>
  311. </div>
  312. </div>
  313. <a class="anchor" id="a199fc7170802ea65006c371875349e37"></a>
  314. <div class="memitem">
  315. <div class="memproto">
  316. <table class="memname">
  317. <tr>
  318. <td class="memname">void QCPPlotTitle::setFont </td>
  319. <td>(</td>
  320. <td class="paramtype">const QFont &amp;&#160;</td>
  321. <td class="paramname"><em>font</em></td><td>)</td>
  322. <td></td>
  323. </tr>
  324. </table>
  325. </div><div class="memdoc">
  326. <p>Sets the <em>font</em> of the title text.</p>
  327. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPPlotTitle.html#a71273e3a0ca6b4c151591b37b9e5ce33">setTextColor</a>, <a class="el" href="classQCPPlotTitle.html#a5245980ead999ceed51dbe702d0e3131">setSelectedFont</a> </dd></dl>
  328. </div>
  329. </div>
  330. <a class="anchor" id="a71273e3a0ca6b4c151591b37b9e5ce33"></a>
  331. <div class="memitem">
  332. <div class="memproto">
  333. <table class="memname">
  334. <tr>
  335. <td class="memname">void QCPPlotTitle::setTextColor </td>
  336. <td>(</td>
  337. <td class="paramtype">const QColor &amp;&#160;</td>
  338. <td class="paramname"><em>color</em></td><td>)</td>
  339. <td></td>
  340. </tr>
  341. </table>
  342. </div><div class="memdoc">
  343. <p>Sets the <em>color</em> of the title text.</p>
  344. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPPlotTitle.html#a199fc7170802ea65006c371875349e37">setFont</a>, <a class="el" href="classQCPPlotTitle.html#a09ffd8c52ac8824d00382f84be391b66">setSelectedTextColor</a> </dd></dl>
  345. </div>
  346. </div>
  347. <a class="anchor" id="a5245980ead999ceed51dbe702d0e3131"></a>
  348. <div class="memitem">
  349. <div class="memproto">
  350. <table class="memname">
  351. <tr>
  352. <td class="memname">void QCPPlotTitle::setSelectedFont </td>
  353. <td>(</td>
  354. <td class="paramtype">const QFont &amp;&#160;</td>
  355. <td class="paramname"><em>font</em></td><td>)</td>
  356. <td></td>
  357. </tr>
  358. </table>
  359. </div><div class="memdoc">
  360. <p>Sets the <em>font</em> of the title text that will be used if the plot title is selected (<a class="el" href="classQCPPlotTitle.html#a8d441a889d371307df86f1ab7687a333">setSelected</a>).</p>
  361. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPPlotTitle.html#a199fc7170802ea65006c371875349e37">setFont</a> </dd></dl>
  362. </div>
  363. </div>
  364. <a class="anchor" id="a09ffd8c52ac8824d00382f84be391b66"></a>
  365. <div class="memitem">
  366. <div class="memproto">
  367. <table class="memname">
  368. <tr>
  369. <td class="memname">void QCPPlotTitle::setSelectedTextColor </td>
  370. <td>(</td>
  371. <td class="paramtype">const QColor &amp;&#160;</td>
  372. <td class="paramname"><em>color</em></td><td>)</td>
  373. <td></td>
  374. </tr>
  375. </table>
  376. </div><div class="memdoc">
  377. <p>Sets the <em>color</em> of the title text that will be used if the plot title is selected (<a class="el" href="classQCPPlotTitle.html#a8d441a889d371307df86f1ab7687a333">setSelected</a>).</p>
  378. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPPlotTitle.html#a71273e3a0ca6b4c151591b37b9e5ce33">setTextColor</a> </dd></dl>
  379. </div>
  380. </div>
  381. <a class="anchor" id="a8866b07b9fa14877d4cefbf38406c5dd"></a>
  382. <div class="memitem">
  383. <div class="memproto">
  384. <table class="memname">
  385. <tr>
  386. <td class="memname">void QCPPlotTitle::setSelectable </td>
  387. <td>(</td>
  388. <td class="paramtype">bool&#160;</td>
  389. <td class="paramname"><em>selectable</em></td><td>)</td>
  390. <td></td>
  391. </tr>
  392. </table>
  393. </div><div class="memdoc">
  394. <p>Sets whether the user may select this plot title to <em>selectable</em>.</p>
  395. <p>Note that even when <em>selectable</em> is set to <code>false</code>, the selection state may be changed programmatically via <a class="el" href="classQCPPlotTitle.html#a8d441a889d371307df86f1ab7687a333">setSelected</a>. </p>
  396. </div>
  397. </div>
  398. <a class="anchor" id="a8d441a889d371307df86f1ab7687a333"></a>
  399. <div class="memitem">
  400. <div class="memproto">
  401. <table class="memname">
  402. <tr>
  403. <td class="memname">void QCPPlotTitle::setSelected </td>
  404. <td>(</td>
  405. <td class="paramtype">bool&#160;</td>
  406. <td class="paramname"><em>selected</em></td><td>)</td>
  407. <td></td>
  408. </tr>
  409. </table>
  410. </div><div class="memdoc">
  411. <p>Sets the selection state of this plot title to <em>selected</em>. If the selection has changed, <a class="el" href="classQCPPlotTitle.html#a3a01ede2da3b0b5eda33aa5274cc3523">selectionChanged</a> is emitted.</p>
  412. <p>Note that this function can change the selection state independently of the current <a class="el" href="classQCPPlotTitle.html#a8866b07b9fa14877d4cefbf38406c5dd">setSelectable</a> state. </p>
  413. </div>
  414. </div>
  415. <a class="anchor" id="a5b7ae716be9134a48f4e378feb0e6699"></a>
  416. <div class="memitem">
  417. <div class="memproto">
  418. <table class="mlabels">
  419. <tr>
  420. <td class="mlabels-left">
  421. <table class="memname">
  422. <tr>
  423. <td class="memname">double QCPPlotTitle::selectTest </td>
  424. <td>(</td>
  425. <td class="paramtype">const QPointF &amp;&#160;</td>
  426. <td class="paramname"><em>pos</em>, </td>
  427. </tr>
  428. <tr>
  429. <td class="paramkey"></td>
  430. <td></td>
  431. <td class="paramtype">bool&#160;</td>
  432. <td class="paramname"><em>onlySelectable</em>, </td>
  433. </tr>
  434. <tr>
  435. <td class="paramkey"></td>
  436. <td></td>
  437. <td class="paramtype">QVariant *&#160;</td>
  438. <td class="paramname"><em>details</em> = <code>0</code>&#160;</td>
  439. </tr>
  440. <tr>
  441. <td></td>
  442. <td>)</td>
  443. <td></td><td> const</td>
  444. </tr>
  445. </table>
  446. </td>
  447. <td class="mlabels-right">
  448. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  449. </tr>
  450. </table>
  451. </div><div class="memdoc">
  452. <p>Layout elements are sensitive to events inside their outer rect. If <em>pos</em> is within the outer rect, this method returns a value corresponding to 0.99 times the parent plot's selection tolerance. However, layout elements are not selectable by default. So if <em>onlySelectable</em> is true, -1.0 is returned.</p>
  453. <p>See <a class="el" href="classQCPLayerable.html#a4001c4d0dfec55598efa4d531f2179a9">QCPLayerable::selectTest</a> for a general explanation of this virtual method.</p>
  454. <p><a class="el" href="classQCPLayoutElement.html" title="The abstract base class for all objects that form the layout system. ">QCPLayoutElement</a> subclasses may reimplement this method to provide more specific selection test behaviour. </p>
  455. <p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a9fcf5d0ea19f2c23b2b528bce2c6f095">QCPLayoutElement</a>.</p>
  456. </div>
  457. </div>
  458. <a class="anchor" id="a3a01ede2da3b0b5eda33aa5274cc3523"></a>
  459. <div class="memitem">
  460. <div class="memproto">
  461. <table class="mlabels">
  462. <tr>
  463. <td class="mlabels-left">
  464. <table class="memname">
  465. <tr>
  466. <td class="memname">void QCPPlotTitle::selectionChanged </td>
  467. <td>(</td>
  468. <td class="paramtype">bool&#160;</td>
  469. <td class="paramname"><em>selected</em></td><td>)</td>
  470. <td></td>
  471. </tr>
  472. </table>
  473. </td>
  474. <td class="mlabels-right">
  475. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  476. </tr>
  477. </table>
  478. </div><div class="memdoc">
  479. <p>This signal is emitted when the selection state has changed to <em>selected</em>, either by user interaction or by a direct call to <a class="el" href="classQCPPlotTitle.html#a8d441a889d371307df86f1ab7687a333">setSelected</a>.</p>
  480. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPPlotTitle.html#a8d441a889d371307df86f1ab7687a333">setSelected</a>, <a class="el" href="classQCPPlotTitle.html#a8866b07b9fa14877d4cefbf38406c5dd">setSelectable</a> </dd></dl>
  481. </div>
  482. </div>
  483. <a class="anchor" id="a0e2a491864bf8d8e8b159ef38e9d85bd"></a>
  484. <div class="memitem">
  485. <div class="memproto">
  486. <table class="mlabels">
  487. <tr>
  488. <td class="mlabels-left">
  489. <table class="memname">
  490. <tr>
  491. <td class="memname">void QCPPlotTitle::applyDefaultAntialiasingHint </td>
  492. <td>(</td>
  493. <td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> *&#160;</td>
  494. <td class="paramname"><em>painter</em></td><td>)</td>
  495. <td> const</td>
  496. </tr>
  497. </table>
  498. </td>
  499. <td class="mlabels-right">
  500. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  501. </tr>
  502. </table>
  503. </div><div class="memdoc">
  504. <p>This function applies the default antialiasing setting to the specified <em>painter</em>, using the function <a class="el" href="classQCPLayerable.html#a62bd552d1a45aa9accb24b310542279e">applyAntialiasingHint</a>. It is the antialiasing state the painter is put in, when <a class="el" href="classQCPPlotTitle.html#ae4f1f8d24489628dabb7256363b097d2">draw</a> is called on the layerable. If the layerable has multiple entities whose antialiasing setting may be specified individually, this function should set the antialiasing state of the most prominent entity. In this case however, the <a class="el" href="classQCPPlotTitle.html#ae4f1f8d24489628dabb7256363b097d2">draw</a> function usually calls the specialized versions of this function before drawing each entity, effectively overriding the setting of the default antialiasing hint.</p>
  505. <p><b>First example:</b> <a class="el" href="classQCPGraph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a> has multiple entities that have an antialiasing setting: The graph line, fills, scatters and error bars. Those can be configured via <a class="el" href="classQCPLayerable.html#a4fd43e89be4a553ead41652565ff0581">QCPGraph::setAntialiased</a>, <a class="el" href="classQCPAbstractPlottable.html#a089d6b5577120239b55c39ed27c39536">QCPGraph::setAntialiasedFill</a>, <a class="el" href="classQCPAbstractPlottable.html#a2f03f067ede2ed4da6f7d0e4777a3f02">QCPGraph::setAntialiasedScatters</a> etc. Consequently, there isn't only the <a class="el" href="classQCPAbstractPlottable.html#a76e9d6cc7972dc1528f526d163766aca">QCPGraph::applyDefaultAntialiasingHint</a> function (which corresponds to the graph line's antialiasing), but specialized ones like <a class="el" href="classQCPAbstractPlottable.html#ac08a480155895e674dbfe5a5670e0ff3">QCPGraph::applyFillAntialiasingHint</a> and <a class="el" href="classQCPAbstractPlottable.html#a753272ee225a62827e90c3e1e78de4b1">QCPGraph::applyScattersAntialiasingHint</a>. So before drawing one of those entities, <a class="el" href="classQCPGraph.html#a659218cc62c2a7786213d9dd429c1c8d">QCPGraph::draw</a> calls the respective specialized applyAntialiasingHint function.</p>
  506. <p><b>Second example:</b> <a class="el" href="classQCPItemLine.html" title="A line from one point to another. ">QCPItemLine</a> consists only of a line so there is only one antialiasing setting which can be controlled with <a class="el" href="classQCPLayerable.html#a4fd43e89be4a553ead41652565ff0581">QCPItemLine::setAntialiased</a>. (This function is inherited by all layerables. The specialized functions, as seen on <a class="el" href="classQCPGraph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a>, must be added explicitly to the respective layerable subclass.) Consequently it only has the normal <a class="el" href="classQCPAbstractItem.html#a0839031abdd71067e2256a4d53c7a011">QCPItemLine::applyDefaultAntialiasingHint</a>. The <a class="el" href="classQCPItemLine.html#a1fc045dd33919f8006df0692aeb0e84a">QCPItemLine::draw</a> function doesn't need to care about setting any antialiasing states, because the default antialiasing hint is already set on the painter when the <a class="el" href="classQCPPlotTitle.html#ae4f1f8d24489628dabb7256363b097d2">draw</a> function is called, and that's the state it wants to draw the line with. </p>
  507. <p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#ad6d2b4bb0291c2441b2e1ca3d5296df5">QCPLayoutElement</a>.</p>
  508. </div>
  509. </div>
  510. <a class="anchor" id="ae4f1f8d24489628dabb7256363b097d2"></a>
  511. <div class="memitem">
  512. <div class="memproto">
  513. <table class="mlabels">
  514. <tr>
  515. <td class="mlabels-left">
  516. <table class="memname">
  517. <tr>
  518. <td class="memname">void QCPPlotTitle::draw </td>
  519. <td>(</td>
  520. <td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> *&#160;</td>
  521. <td class="paramname"><em>painter</em></td><td>)</td>
  522. <td></td>
  523. </tr>
  524. </table>
  525. </td>
  526. <td class="mlabels-right">
  527. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  528. </tr>
  529. </table>
  530. </div><div class="memdoc">
  531. <p>This function draws the layerable with the specified <em>painter</em>. It is only called by <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>, if the layerable is visible (<a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">setVisible</a>).</p>
  532. <p>Before this function is called, the painter's antialiasing state is set via <a class="el" href="classQCPPlotTitle.html#a0e2a491864bf8d8e8b159ef38e9d85bd">applyDefaultAntialiasingHint</a>, see the documentation there. Further, the clipping rectangle was set to <a class="el" href="classQCPLayerable.html#a07a8f746640c3704b09910df297afcba">clipRect</a>. </p>
  533. <p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a547bcc1e6e2be5645ca781efe0834653">QCPLayoutElement</a>.</p>
  534. </div>
  535. </div>
  536. <a class="anchor" id="a695e6037e72a1e129387e7e4a980faea"></a>
  537. <div class="memitem">
  538. <div class="memproto">
  539. <table class="mlabels">
  540. <tr>
  541. <td class="mlabels-left">
  542. <table class="memname">
  543. <tr>
  544. <td class="memname">QSize QCPPlotTitle::minimumSizeHint </td>
  545. <td>(</td>
  546. <td class="paramname"></td><td>)</td>
  547. <td> const</td>
  548. </tr>
  549. </table>
  550. </td>
  551. <td class="mlabels-right">
  552. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  553. </tr>
  554. </table>
  555. </div><div class="memdoc">
  556. <p>Returns the minimum size this layout element (the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>) may be compressed to.</p>
  557. <p>if a minimum size (<a class="el" href="classQCPLayoutElement.html#a5dd29a3c8bc88440c97c06b67be7886b">setMinimumSize</a>) was not set manually, parent layouts consult this function to determine the minimum allowed size of this layout element. (A manual minimum size is considered set if it is non-zero.) </p>
  558. <p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#aebe14fb71f858c0f98caf8d342a9864a">QCPLayoutElement</a>.</p>
  559. </div>
  560. </div>
  561. <a class="anchor" id="a2afaf11a379038e5ca58040a0eb0ae4c"></a>
  562. <div class="memitem">
  563. <div class="memproto">
  564. <table class="mlabels">
  565. <tr>
  566. <td class="mlabels-left">
  567. <table class="memname">
  568. <tr>
  569. <td class="memname">QSize QCPPlotTitle::maximumSizeHint </td>
  570. <td>(</td>
  571. <td class="paramname"></td><td>)</td>
  572. <td> const</td>
  573. </tr>
  574. </table>
  575. </td>
  576. <td class="mlabels-right">
  577. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  578. </tr>
  579. </table>
  580. </div><div class="memdoc">
  581. <p>Returns the maximum size this layout element (the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>) may be expanded to.</p>
  582. <p>if a maximum size (<a class="el" href="classQCPLayoutElement.html#a74eb5280a737ab44833d506db65efd95">setMaximumSize</a>) was not set manually, parent layouts consult this function to determine the maximum allowed size of this layout element. (A manual maximum size is considered set if it is smaller than Qt's QWIDGETSIZE_MAX.) </p>
  583. <p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#adbd3a00fec44c977150c6be7329eb801">QCPLayoutElement</a>.</p>
  584. </div>
  585. </div>
  586. <a class="anchor" id="a22672ef2abe442b1e73b7ee04cff9bdd"></a>
  587. <div class="memitem">
  588. <div class="memproto">
  589. <table class="mlabels">
  590. <tr>
  591. <td class="mlabels-left">
  592. <table class="memname">
  593. <tr>
  594. <td class="memname">void QCPPlotTitle::selectEvent </td>
  595. <td>(</td>
  596. <td class="paramtype">QMouseEvent *&#160;</td>
  597. <td class="paramname"><em>event</em>, </td>
  598. </tr>
  599. <tr>
  600. <td class="paramkey"></td>
  601. <td></td>
  602. <td class="paramtype">bool&#160;</td>
  603. <td class="paramname"><em>additive</em>, </td>
  604. </tr>
  605. <tr>
  606. <td class="paramkey"></td>
  607. <td></td>
  608. <td class="paramtype">const QVariant &amp;&#160;</td>
  609. <td class="paramname"><em>details</em>, </td>
  610. </tr>
  611. <tr>
  612. <td class="paramkey"></td>
  613. <td></td>
  614. <td class="paramtype">bool *&#160;</td>
  615. <td class="paramname"><em>selectionStateChanged</em>&#160;</td>
  616. </tr>
  617. <tr>
  618. <td></td>
  619. <td>)</td>
  620. <td></td><td></td>
  621. </tr>
  622. </table>
  623. </td>
  624. <td class="mlabels-right">
  625. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  626. </tr>
  627. </table>
  628. </div><div class="memdoc">
  629. <p>This event is called when the layerable shall be selected, as a consequence of a click by the user. Subclasses should react to it by setting their selection state appropriately. The default implementation does nothing.</p>
  630. <p><em>event</em> is the mouse event that caused the selection. <em>additive</em> indicates, whether the user was holding the multi-select-modifier while performing the selection (see <a class="el" href="classQCustomPlot.html#a8fc96e3b5138a06759a2a90c166df516">QCustomPlot::setMultiSelectModifier</a>). if <em>additive</em> is true, the selection state must be toggled (i.e. become selected when unselected and unselected when selected).</p>
  631. <p>Every selectEvent is preceded by a call to <a class="el" href="classQCPPlotTitle.html#a5b7ae716be9134a48f4e378feb0e6699">selectTest</a>, which has returned positively (i.e. returned a value greater than 0 and less than the selection tolerance of the parent <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>). The <em>details</em> data you output from <a class="el" href="classQCPPlotTitle.html#a5b7ae716be9134a48f4e378feb0e6699">selectTest</a> is fed back via <em>details</em> here. You may use it to transport any kind of information from the selectTest to the possibly subsequent selectEvent. Usually <em>details</em> is used to transfer which part was clicked, if it is a layerable that has multiple individually selectable parts (like <a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a>). This way selectEvent doesn't need to do the calculation again to find out which part was actually clicked.</p>
  632. <p><em>selectionStateChanged</em> is an output parameter. If the pointer is non-null, this function must set the value either to true or false, depending on whether the selection state of this layerable was actually changed. For layerables that only are selectable as a whole and not in parts, this is simple: if <em>additive</em> is true, <em>selectionStateChanged</em> must also be set to true, because the selection toggles. If <em>additive</em> is false, <em>selectionStateChanged</em> is only set to true, if the layerable was previously unselected and now is switched to the selected state.</p>
  633. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPPlotTitle.html#a5b7ae716be9134a48f4e378feb0e6699">selectTest</a>, <a class="el" href="classQCPPlotTitle.html#ac6dfce05bebdb9bd0bfacd5ff02f3325">deselectEvent</a> </dd></dl>
  634. <p>Reimplemented from <a class="el" href="classQCPLayerable.html#a7498c2d0d081cf7cad0fb3bb93aa0e91">QCPLayerable</a>.</p>
  635. </div>
  636. </div>
  637. <a class="anchor" id="ac6dfce05bebdb9bd0bfacd5ff02f3325"></a>
  638. <div class="memitem">
  639. <div class="memproto">
  640. <table class="mlabels">
  641. <tr>
  642. <td class="mlabels-left">
  643. <table class="memname">
  644. <tr>
  645. <td class="memname">void QCPPlotTitle::deselectEvent </td>
  646. <td>(</td>
  647. <td class="paramtype">bool *&#160;</td>
  648. <td class="paramname"><em>selectionStateChanged</em></td><td>)</td>
  649. <td></td>
  650. </tr>
  651. </table>
  652. </td>
  653. <td class="mlabels-right">
  654. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  655. </tr>
  656. </table>
  657. </div><div class="memdoc">
  658. <p>This event is called when the layerable shall be deselected, either as consequence of a user interaction or a call to <a class="el" href="classQCustomPlot.html#a9d4808ab925b003054085246c92a257c">QCustomPlot::deselectAll</a>. Subclasses should react to it by unsetting their selection appropriately.</p>
  659. <p>just as in <a class="el" href="classQCPPlotTitle.html#a22672ef2abe442b1e73b7ee04cff9bdd">selectEvent</a>, the output parameter <em>selectionStateChanged</em> (if non-null), must return true or false when the selection state of this layerable has changed or not changed, respectively.</p>
  660. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPPlotTitle.html#a5b7ae716be9134a48f4e378feb0e6699">selectTest</a>, <a class="el" href="classQCPPlotTitle.html#a22672ef2abe442b1e73b7ee04cff9bdd">selectEvent</a> </dd></dl>
  661. <p>Reimplemented from <a class="el" href="classQCPLayerable.html#ae546370644a5551c76af739afc008bee">QCPLayerable</a>.</p>
  662. </div>
  663. </div>
  664. <a class="anchor" id="a7e74004e3a68118b16491848708a8b3a"></a>
  665. <div class="memitem">
  666. <div class="memproto">
  667. <table class="mlabels">
  668. <tr>
  669. <td class="mlabels-left">
  670. <table class="memname">
  671. <tr>
  672. <td class="memname">QFont QCPPlotTitle::mainFont </td>
  673. <td>(</td>
  674. <td class="paramname"></td><td>)</td>
  675. <td> const</td>
  676. </tr>
  677. </table>
  678. </td>
  679. <td class="mlabels-right">
  680. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  681. </tr>
  682. </table>
  683. </div><div class="memdoc">
  684. <p>Returns the main font to be used. This is mSelectedFont if <a class="el" href="classQCPPlotTitle.html#a8d441a889d371307df86f1ab7687a333">setSelected</a> is set to <code>true</code>, else mFont is returned. </p>
  685. </div>
  686. </div>
  687. <a class="anchor" id="ac1b02546563a2e76f97d78a576f82f5a"></a>
  688. <div class="memitem">
  689. <div class="memproto">
  690. <table class="mlabels">
  691. <tr>
  692. <td class="mlabels-left">
  693. <table class="memname">
  694. <tr>
  695. <td class="memname">QColor QCPPlotTitle::mainTextColor </td>
  696. <td>(</td>
  697. <td class="paramname"></td><td>)</td>
  698. <td> const</td>
  699. </tr>
  700. </table>
  701. </td>
  702. <td class="mlabels-right">
  703. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  704. </tr>
  705. </table>
  706. </div><div class="memdoc">
  707. <p>Returns the main color to be used. This is mSelectedTextColor if <a class="el" href="classQCPPlotTitle.html#a8d441a889d371307df86f1ab7687a333">setSelected</a> is set to <code>true</code>, else mTextColor is returned. </p>
  708. </div>
  709. </div>
  710. <hr/>The documentation for this class was generated from the following files:<ul>
  711. <li>src/layoutelements/layoutelement-plottitle.h</li>
  712. <li>src/layoutelements/layoutelement-plottitle.cpp</li>
  713. </ul>
  714. </div><!-- contents -->
  715. </body>
  716. </html>