classQCPAxisRect.html 117 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499
  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>QCPAxisRect 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="#pro-methods">Protected Functions</a> </div>
  23. <div class="headertitle">
  24. <div class="title">QCPAxisRect Class Reference</div> </div>
  25. </div><!--header-->
  26. <div class="contents">
  27. <p>Holds multiple axes and arranges them in a rectangular shape.
  28. <a href="classQCPAxisRect.html#details">More...</a></p>
  29. <div class="dynheader">
  30. Inheritance diagram for QCPAxisRect:</div>
  31. <div class="dyncontent">
  32. <div class="center"><img src="classQCPAxisRect__inherit__graph.png" border="0" usemap="#QCPAxisRect_inherit__map" alt="Inheritance graph"/></div>
  33. <map name="QCPAxisRect_inherit__map" id="QCPAxisRect_inherit__map">
  34. <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>
  35. </div>
  36. <table class="memberdecls">
  37. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  38. Public Functions</h2></td></tr>
  39. <tr class="memitem:a60b31dece805462c1b82eea2e69ba042"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a60b31dece805462c1b82eea2e69ba042">QCPAxisRect</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot, bool setupDefaultAxes=true)</td></tr>
  40. <tr class="separator:a60b31dece805462c1b82eea2e69ba042"><td class="memSeparator" colspan="2">&#160;</td></tr>
  41. <tr class="memitem:a0daa1dadd2a62dbfa37b7f742edd0059"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0daa1dadd2a62dbfa37b7f742edd0059"></a>
  42. QPixmap&#160;</td><td class="memItemRight" valign="bottom"><b>background</b> () const </td></tr>
  43. <tr class="separator:a0daa1dadd2a62dbfa37b7f742edd0059"><td class="memSeparator" colspan="2">&#160;</td></tr>
  44. <tr class="memitem:a67c18777b88fe9c81dee3dd2b5f50e5c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67c18777b88fe9c81dee3dd2b5f50e5c"></a>
  45. bool&#160;</td><td class="memItemRight" valign="bottom"><b>backgroundScaled</b> () const </td></tr>
  46. <tr class="separator:a67c18777b88fe9c81dee3dd2b5f50e5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  47. <tr class="memitem:a3d0f42d6be11a0b3d4576402a2b0032d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3d0f42d6be11a0b3d4576402a2b0032d"></a>
  48. Qt::AspectRatioMode&#160;</td><td class="memItemRight" valign="bottom"><b>backgroundScaledMode</b> () const </td></tr>
  49. <tr class="separator:a3d0f42d6be11a0b3d4576402a2b0032d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  50. <tr class="memitem:af24b46954ce27a26b23770cdb8319080"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af24b46954ce27a26b23770cdb8319080"></a>
  51. Qt::Orientations&#160;</td><td class="memItemRight" valign="bottom"><b>rangeDrag</b> () const </td></tr>
  52. <tr class="separator:af24b46954ce27a26b23770cdb8319080"><td class="memSeparator" colspan="2">&#160;</td></tr>
  53. <tr class="memitem:a3397fc60e5df29089090bc236e9f05f6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3397fc60e5df29089090bc236e9f05f6"></a>
  54. Qt::Orientations&#160;</td><td class="memItemRight" valign="bottom"><b>rangeZoom</b> () const </td></tr>
  55. <tr class="separator:a3397fc60e5df29089090bc236e9f05f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  56. <tr class="memitem:a6d7c22cfc54fac7a3d6ef80b133a8574"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAxis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a6d7c22cfc54fac7a3d6ef80b133a8574">rangeDragAxis</a> (Qt::Orientation orientation)</td></tr>
  57. <tr class="separator:a6d7c22cfc54fac7a3d6ef80b133a8574"><td class="memSeparator" colspan="2">&#160;</td></tr>
  58. <tr class="memitem:a679c63f2b8daccfe6ec5110dce3dd3b6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAxis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a679c63f2b8daccfe6ec5110dce3dd3b6">rangeZoomAxis</a> (Qt::Orientation orientation)</td></tr>
  59. <tr class="separator:a679c63f2b8daccfe6ec5110dce3dd3b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  60. <tr class="memitem:ae4e6c4d143aacc88d2d3c56f117c2fe1"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ae4e6c4d143aacc88d2d3c56f117c2fe1">rangeZoomFactor</a> (Qt::Orientation orientation)</td></tr>
  61. <tr class="separator:ae4e6c4d143aacc88d2d3c56f117c2fe1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  62. <tr class="memitem:af615ab5e52b8e0a9a0eff415b6559db5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground</a> (const QPixmap &amp;pm)</td></tr>
  63. <tr class="separator:af615ab5e52b8e0a9a0eff415b6559db5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  64. <tr class="memitem:ac48a2d5d9b7732e73b86605c69c5e4c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ac48a2d5d9b7732e73b86605c69c5e4c1">setBackground</a> (const QPixmap &amp;pm, bool scaled, Qt::AspectRatioMode mode=Qt::KeepAspectRatioByExpanding)</td></tr>
  65. <tr class="separator:ac48a2d5d9b7732e73b86605c69c5e4c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  66. <tr class="memitem:a22a22b8668735438dc06f9a55fe46b33"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a22a22b8668735438dc06f9a55fe46b33">setBackground</a> (const QBrush &amp;brush)</td></tr>
  67. <tr class="separator:a22a22b8668735438dc06f9a55fe46b33"><td class="memSeparator" colspan="2">&#160;</td></tr>
  68. <tr class="memitem:ae6d36c3e0e968ffb991170a018e7b503"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a> (bool scaled)</td></tr>
  69. <tr class="separator:ae6d36c3e0e968ffb991170a018e7b503"><td class="memSeparator" colspan="2">&#160;</td></tr>
  70. <tr class="memitem:a5ef77ea829c9de7ba248e473f48f7305"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a> (Qt::AspectRatioMode mode)</td></tr>
  71. <tr class="separator:a5ef77ea829c9de7ba248e473f48f7305"><td class="memSeparator" colspan="2">&#160;</td></tr>
  72. <tr class="memitem:ae6aef2f7211ba6097c925dcd26008418"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ae6aef2f7211ba6097c925dcd26008418">setRangeDrag</a> (Qt::Orientations orientations)</td></tr>
  73. <tr class="separator:ae6aef2f7211ba6097c925dcd26008418"><td class="memSeparator" colspan="2">&#160;</td></tr>
  74. <tr class="memitem:a7960a9d222f1c31d558b064b60f86a31"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a7960a9d222f1c31d558b064b60f86a31">setRangeZoom</a> (Qt::Orientations orientations)</td></tr>
  75. <tr class="separator:a7960a9d222f1c31d558b064b60f86a31"><td class="memSeparator" colspan="2">&#160;</td></tr>
  76. <tr class="memitem:a648cce336bd99daac4a5ca3e5743775d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">setRangeDragAxes</a> (<a class="el" href="classQCPAxis.html">QCPAxis</a> *horizontal, <a class="el" href="classQCPAxis.html">QCPAxis</a> *vertical)</td></tr>
  77. <tr class="separator:a648cce336bd99daac4a5ca3e5743775d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:a9442cca2aa358405f39a64d51eca13d2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">setRangeZoomAxes</a> (<a class="el" href="classQCPAxis.html">QCPAxis</a> *horizontal, <a class="el" href="classQCPAxis.html">QCPAxis</a> *vertical)</td></tr>
  79. <tr class="separator:a9442cca2aa358405f39a64d51eca13d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  80. <tr class="memitem:a895d7ac745ea614e04056244b3c138ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a895d7ac745ea614e04056244b3c138ac">setRangeZoomFactor</a> (double horizontalFactor, double verticalFactor)</td></tr>
  81. <tr class="separator:a895d7ac745ea614e04056244b3c138ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
  82. <tr class="memitem:ae83d187b03fc6fa4f00765ad50cd3fc3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ae83d187b03fc6fa4f00765ad50cd3fc3">setRangeZoomFactor</a> (double factor)</td></tr>
  83. <tr class="separator:ae83d187b03fc6fa4f00765ad50cd3fc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:a16e3e4646e52e4b5d5b865076c29ae58"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a16e3e4646e52e4b5d5b865076c29ae58">axisCount</a> (<a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> type) const </td></tr>
  85. <tr class="separator:a16e3e4646e52e4b5d5b865076c29ae58"><td class="memSeparator" colspan="2">&#160;</td></tr>
  86. <tr class="memitem:a560de44e47a4af0f86c59102a094b1e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAxis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">axis</a> (<a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> type, int index=0) const </td></tr>
  87. <tr class="separator:a560de44e47a4af0f86c59102a094b1e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. <tr class="memitem:a66654d51ca611ef036ded36250cd2518"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="classQCPAxis.html">QCPAxis</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a66654d51ca611ef036ded36250cd2518">axes</a> (QCPAxis::AxisTypes types) const </td></tr>
  89. <tr class="separator:a66654d51ca611ef036ded36250cd2518"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. <tr class="memitem:a18dcdc0dd6c7520bc9f3d15a7a3feec2"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="classQCPAxis.html">QCPAxis</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a18dcdc0dd6c7520bc9f3d15a7a3feec2">axes</a> () const </td></tr>
  91. <tr class="separator:a18dcdc0dd6c7520bc9f3d15a7a3feec2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  92. <tr class="memitem:a2dc336092ccc57d44a46194c8a23e4f4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAxis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a2dc336092ccc57d44a46194c8a23e4f4">addAxis</a> (<a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> type, <a class="el" href="classQCPAxis.html">QCPAxis</a> *<a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">axis</a>=0)</td></tr>
  93. <tr class="separator:a2dc336092ccc57d44a46194c8a23e4f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  94. <tr class="memitem:a792e1f3d9cb1591fca135bb0de9b81fc"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="classQCPAxis.html">QCPAxis</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a792e1f3d9cb1591fca135bb0de9b81fc">addAxes</a> (QCPAxis::AxisTypes types)</td></tr>
  95. <tr class="separator:a792e1f3d9cb1591fca135bb0de9b81fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <tr class="memitem:a03c39cd9704f0d36fb6cf980cdddcbaa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a03c39cd9704f0d36fb6cf980cdddcbaa">removeAxis</a> (<a class="el" href="classQCPAxis.html">QCPAxis</a> *<a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">axis</a>)</td></tr>
  97. <tr class="separator:a03c39cd9704f0d36fb6cf980cdddcbaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <tr class="memitem:a4114887c7141b59650b7488f930993e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayoutInset.html">QCPLayoutInset</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a4114887c7141b59650b7488f930993e5">insetLayout</a> () const </td></tr>
  99. <tr class="separator:a4114887c7141b59650b7488f930993e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:a5fa906175447b14206954f77fc7f1ef4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a5fa906175447b14206954f77fc7f1ef4">setupFullAxesBox</a> (bool connectRanges=false)</td></tr>
  101. <tr class="separator:a5fa906175447b14206954f77fc7f1ef4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:a5b0d629c8de5572945eeae79a142296e"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a5b0d629c8de5572945eeae79a142296e">plottables</a> () const </td></tr>
  103. <tr class="separator:a5b0d629c8de5572945eeae79a142296e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:afa4ff90901d9275f670e24b40e3c1b25"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="classQCPGraph.html">QCPGraph</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#afa4ff90901d9275f670e24b40e3c1b25">graphs</a> () const </td></tr>
  105. <tr class="separator:afa4ff90901d9275f670e24b40e3c1b25"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:a0f17ed539962cfcbaca8ce0b1776c840"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a0f17ed539962cfcbaca8ce0b1776c840">items</a> () const </td></tr>
  107. <tr class="separator:a0f17ed539962cfcbaca8ce0b1776c840"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:a55b3ecf72a3a65b053f7651b88db458d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a55b3ecf72a3a65b053f7651b88db458d">left</a> () const </td></tr>
  109. <tr class="separator:a55b3ecf72a3a65b053f7651b88db458d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:a6d0f989fc552aa2b563cf82f8fc81e61"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a6d0f989fc552aa2b563cf82f8fc81e61">right</a> () const </td></tr>
  111. <tr class="separator:a6d0f989fc552aa2b563cf82f8fc81e61"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:ac45aef1eb75cea46b241b6303028a607"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ac45aef1eb75cea46b241b6303028a607">top</a> () const </td></tr>
  113. <tr class="separator:ac45aef1eb75cea46b241b6303028a607"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:af2b5982ebe7e6f781b9bf1cc371a60d8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#af2b5982ebe7e6f781b9bf1cc371a60d8">bottom</a> () const </td></tr>
  115. <tr class="separator:af2b5982ebe7e6f781b9bf1cc371a60d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a45bf5c17f4ca29131b7eb0db06efc259"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a45bf5c17f4ca29131b7eb0db06efc259">width</a> () const </td></tr>
  117. <tr class="separator:a45bf5c17f4ca29131b7eb0db06efc259"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:a1c55c4f3bef40cf01b21820316c8469e"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a1c55c4f3bef40cf01b21820316c8469e">height</a> () const </td></tr>
  119. <tr class="separator:a1c55c4f3bef40cf01b21820316c8469e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:a871b9fe49e92b39a3cbe29a59e458536"><td class="memItemLeft" align="right" valign="top">QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a871b9fe49e92b39a3cbe29a59e458536">size</a> () const </td></tr>
  121. <tr class="separator:a871b9fe49e92b39a3cbe29a59e458536"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a88acbe716bcf5072790a6f95637c40d8"><td class="memItemLeft" align="right" valign="top">QPoint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a88acbe716bcf5072790a6f95637c40d8">topLeft</a> () const </td></tr>
  123. <tr class="separator:a88acbe716bcf5072790a6f95637c40d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:a232409546394c23b59407bc62fa460a8"><td class="memItemLeft" align="right" valign="top">QPoint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a232409546394c23b59407bc62fa460a8">topRight</a> () const </td></tr>
  125. <tr class="separator:a232409546394c23b59407bc62fa460a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:a724b0333971ea6a338f0dbd814dc97ae"><td class="memItemLeft" align="right" valign="top">QPoint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a724b0333971ea6a338f0dbd814dc97ae">bottomLeft</a> () const </td></tr>
  127. <tr class="separator:a724b0333971ea6a338f0dbd814dc97ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:a49ea3c7dff834b47e266cbf3d79f78b9"><td class="memItemLeft" align="right" valign="top">QPoint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a49ea3c7dff834b47e266cbf3d79f78b9">bottomRight</a> () const </td></tr>
  129. <tr class="separator:a49ea3c7dff834b47e266cbf3d79f78b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:aea5e6042bca198424fa1bc02fc282e59"><td class="memItemLeft" align="right" valign="top">QPoint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#aea5e6042bca198424fa1bc02fc282e59">center</a> () const </td></tr>
  131. <tr class="separator:aea5e6042bca198424fa1bc02fc282e59"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a255080a017df9083a60a321ef2ba9ed8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a255080a017df9083a60a321ef2ba9ed8">update</a> (<a class="el" href="classQCPLayoutElement.html#a0d83360e05735735aaf6d7983c56374d">UpdatePhase</a> phase)</td></tr>
  133. <tr class="separator:a255080a017df9083a60a321ef2ba9ed8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:a2bda6bf2b5b5797f92583cecd01c8949"><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="classQCPAxisRect.html#a2bda6bf2b5b5797f92583cecd01c8949">elements</a> (bool recursive) const </td></tr>
  135. <tr class="separator:a2bda6bf2b5b5797f92583cecd01c8949"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <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>
  137. <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>
  138. <tr class="separator:a8947f0ada17e672aaba3d424cbbb67e3 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. <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>
  140. <tr class="separator:a6235f5384db871fc6e3387a1bc558b0d inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  141. <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>
  142. <tr class="separator:affdfea003469aac3d0fac5f4e06171bc inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:a60bbddee2d1230c2414bd776f44d17b8 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a60bbddee2d1230c2414bd776f44d17b8"></a>
  144. QRect&#160;</td><td class="memItemRight" valign="bottom"><b>outerRect</b> () const </td></tr>
  145. <tr class="separator:a60bbddee2d1230c2414bd776f44d17b8 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:a85ff977dfcced84eef32d9f819ec9543 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a85ff977dfcced84eef32d9f819ec9543"></a>
  147. QMargins&#160;</td><td class="memItemRight" valign="bottom"><b>margins</b> () const </td></tr>
  148. <tr class="separator:a85ff977dfcced84eef32d9f819ec9543 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:a60ec7f377c26726174d536bffb632002 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a60ec7f377c26726174d536bffb632002"></a>
  150. QMargins&#160;</td><td class="memItemRight" valign="bottom"><b>minimumMargins</b> () const </td></tr>
  151. <tr class="separator:a60ec7f377c26726174d536bffb632002 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:a2f499b1179b3126e22d0d7508124ccb3 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2f499b1179b3126e22d0d7508124ccb3"></a>
  153. QCP::MarginSides&#160;</td><td class="memItemRight" valign="bottom"><b>autoMargins</b> () const </td></tr>
  154. <tr class="separator:a2f499b1179b3126e22d0d7508124ccb3 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:ae71f9230171d2d898e21dc461fc3df03 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae71f9230171d2d898e21dc461fc3df03"></a>
  156. QSize&#160;</td><td class="memItemRight" valign="bottom"><b>minimumSize</b> () const </td></tr>
  157. <tr class="separator:ae71f9230171d2d898e21dc461fc3df03 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:a1fc85c79e15c2ab8051eccd455fccc4a inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1fc85c79e15c2ab8051eccd455fccc4a"></a>
  159. QSize&#160;</td><td class="memItemRight" valign="bottom"><b>maximumSize</b> () const </td></tr>
  160. <tr class="separator:a1fc85c79e15c2ab8051eccd455fccc4a inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr class="memitem:a22cb1bb62c452fd802e43ca2524660db inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22cb1bb62c452fd802e43ca2524660db"></a>
  162. <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>
  163. <tr class="separator:a22cb1bb62c452fd802e43ca2524660db inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:ac43921c997570389c14a1671bc3ea499 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac43921c997570389c14a1671bc3ea499"></a>
  165. QHash&lt; <a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a>, <br class="typebreak"/>
  166. <a class="el" href="classQCPMarginGroup.html">QCPMarginGroup</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>marginGroups</b> () const </td></tr>
  167. <tr class="separator:ac43921c997570389c14a1671bc3ea499 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <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>
  169. <tr class="separator:a38975ea13e36de8e53391ce41d94bc0f inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. <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>
  171. <tr class="separator:a8f450b1f3f992ad576fce2c63d8b79cf inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  172. <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>
  173. <tr class="separator:a0a8a17abc16b7923159fcc7608f94673 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  174. <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>
  175. <tr class="separator:accfda49994e3e6d51ed14504abf9d27d inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <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>
  177. <tr class="separator:a5dd29a3c8bc88440c97c06b67be7886b inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  178. <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>
  179. <tr class="separator:a8e0447614a0bf92de9a7304588c6b96e inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. <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>
  181. <tr class="separator:a74eb5280a737ab44833d506db65efd95 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <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>
  183. <tr class="separator:a03e0e9c48f230217c529b0819f832d84 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. <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>
  185. <tr class="separator:a516e56f76b6bc100e8e71d329866847d inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. <tr class="memitem:aebe14fb71f858c0f98caf8d342a9864a inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#aebe14fb71f858c0f98caf8d342a9864a">minimumSizeHint</a> () const </td></tr>
  187. <tr class="separator:aebe14fb71f858c0f98caf8d342a9864a inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  188. <tr class="memitem:adbd3a00fec44c977150c6be7329eb801 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#adbd3a00fec44c977150c6be7329eb801">maximumSizeHint</a> () const </td></tr>
  189. <tr class="separator:adbd3a00fec44c977150c6be7329eb801 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  190. <tr class="memitem:a9fcf5d0ea19f2c23b2b528bce2c6f095 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a9fcf5d0ea19f2c23b2b528bce2c6f095">selectTest</a> (const QPointF &amp;pos, bool onlySelectable, QVariant *details=0) const </td></tr>
  191. <tr class="separator:a9fcf5d0ea19f2c23b2b528bce2c6f095 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  192. <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>
  193. <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>
  194. <tr class="separator:a74c0fa237f29bf0e49565013fc5d1ec0 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  195. <tr class="memitem:a10a3cc92e0fa63e4a929e61d34e275a7 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10a3cc92e0fa63e4a929e61d34e275a7"></a>
  196. bool&#160;</td><td class="memItemRight" valign="bottom"><b>visible</b> () const </td></tr>
  197. <tr class="separator:a10a3cc92e0fa63e4a929e61d34e275a7 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  198. <tr class="memitem:ab7e0e94461566093d36ffc0f5312b109 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7e0e94461566093d36ffc0f5312b109"></a>
  199. <a class="el" href="classQCustomPlot.html">QCustomPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>parentPlot</b> () const </td></tr>
  200. <tr class="separator:ab7e0e94461566093d36ffc0f5312b109 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  201. <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>
  202. <tr class="separator:a98d79f5b716d45eac4347befe546d0ec inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  203. <tr class="memitem:aea67e8c19145e70d68c286a36f6b8300 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aea67e8c19145e70d68c286a36f6b8300"></a>
  204. <a class="el" href="classQCPLayer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>layer</b> () const </td></tr>
  205. <tr class="separator:aea67e8c19145e70d68c286a36f6b8300 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  206. <tr class="memitem:aef5cb4aa899ed9dc9384fd614560291e inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef5cb4aa899ed9dc9384fd614560291e"></a>
  207. bool&#160;</td><td class="memItemRight" valign="bottom"><b>antialiased</b> () const </td></tr>
  208. <tr class="separator:aef5cb4aa899ed9dc9384fd614560291e inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  209. <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>
  210. <tr class="separator:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  211. <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>
  212. <tr class="separator:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  213. <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>
  214. <tr class="separator:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  215. <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>
  216. <tr class="separator:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  217. <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>
  218. <tr class="separator:a30809f7455e9794bca7b6c737622fa63 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  219. </table><table class="memberdecls">
  220. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  221. Protected Functions</h2></td></tr>
  222. <tr class="memitem:a9a6dd0763701cbc7d01f899bcbb3f9ca"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a9a6dd0763701cbc7d01f899bcbb3f9ca">applyDefaultAntialiasingHint</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter) const </td></tr>
  223. <tr class="separator:a9a6dd0763701cbc7d01f899bcbb3f9ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
  224. <tr class="memitem:afb1bbbbda8345cd2710d92ee48440b53"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#afb1bbbbda8345cd2710d92ee48440b53">draw</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter)</td></tr>
  225. <tr class="separator:afb1bbbbda8345cd2710d92ee48440b53"><td class="memSeparator" colspan="2">&#160;</td></tr>
  226. <tr class="memitem:ae79f18302e6507586aa8c032a5f9ed1c"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ae79f18302e6507586aa8c032a5f9ed1c">calculateAutoMargin</a> (<a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a> side)</td></tr>
  227. <tr class="separator:ae79f18302e6507586aa8c032a5f9ed1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  228. <tr class="memitem:a77501dbeccdac7256f7979b05077c04e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a77501dbeccdac7256f7979b05077c04e">mousePressEvent</a> (QMouseEvent *event)</td></tr>
  229. <tr class="separator:a77501dbeccdac7256f7979b05077c04e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  230. <tr class="memitem:a4baf3d5dd69166788f6ceda0ea182c6e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a4baf3d5dd69166788f6ceda0ea182c6e">mouseMoveEvent</a> (QMouseEvent *event)</td></tr>
  231. <tr class="separator:a4baf3d5dd69166788f6ceda0ea182c6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  232. <tr class="memitem:adf6c99780cea55ab39459a6eaad3a94a"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#adf6c99780cea55ab39459a6eaad3a94a">mouseReleaseEvent</a> (QMouseEvent *event)</td></tr>
  233. <tr class="separator:adf6c99780cea55ab39459a6eaad3a94a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  234. <tr class="memitem:a5acf41fc30aa68ea263246ecfad85c31"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a5acf41fc30aa68ea263246ecfad85c31">wheelEvent</a> (QWheelEvent *event)</td></tr>
  235. <tr class="separator:a5acf41fc30aa68ea263246ecfad85c31"><td class="memSeparator" colspan="2">&#160;</td></tr>
  236. <tr class="memitem:ab49d338d1ce74b476fcead5b32cf06dc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ab49d338d1ce74b476fcead5b32cf06dc">drawBackground</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter)</td></tr>
  237. <tr class="separator:ab49d338d1ce74b476fcead5b32cf06dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  238. <tr class="memitem:a6024ccdc74f5dc0e8a0fe482e5b28a20"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a6024ccdc74f5dc0e8a0fe482e5b28a20">updateAxesOffset</a> (<a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> type)</td></tr>
  239. <tr class="separator:a6024ccdc74f5dc0e8a0fe482e5b28a20"><td class="memSeparator" colspan="2">&#160;</td></tr>
  240. <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>
  241. <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>
  242. <tr class="separator:aa8fef6486cb6ceb7c82cbdd50bc32ee9 inherit pro_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  243. <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>
  244. <tr class="separator:a1478899e80e8244b411e96ec3b2e5ce2 inherit pro_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  245. <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>
  246. <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>
  247. <tr class="separator:aa4035e586b7f317a06ba7e74e242a5ea inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  248. <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>
  249. <tr class="separator:a07a8f746640c3704b09910df297afcba inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  250. <tr class="memitem:a7498c2d0d081cf7cad0fb3bb93aa0e91 inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a7498c2d0d081cf7cad0fb3bb93aa0e91">selectEvent</a> (QMouseEvent *event, bool additive, const QVariant &amp;details, bool *selectionStateChanged)</td></tr>
  251. <tr class="separator:a7498c2d0d081cf7cad0fb3bb93aa0e91 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  252. <tr class="memitem:ae546370644a5551c76af739afc008bee inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#ae546370644a5551c76af739afc008bee">deselectEvent</a> (bool *selectionStateChanged)</td></tr>
  253. <tr class="separator:ae546370644a5551c76af739afc008bee inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  254. <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>
  255. <tr class="separator:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  256. <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>
  257. <tr class="separator:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  258. <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>
  259. <tr class="separator:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  260. <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>
  261. <tr class="separator:a62bd552d1a45aa9accb24b310542279e inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  262. </table><table class="memberdecls">
  263. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  264. Additional Inherited Members</h2></td></tr>
  265. <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>
  266. <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>
  267. <tr class="separator:a0d83360e05735735aaf6d7983c56374d inherit pub_types_classQCPLayoutElement"><td class="memSeparator" colspan="2">&#160;</td></tr>
  268. <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>
  269. <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>
  270. <tr class="separator:abbf8657cedea73ac1c3499b521c90eba inherit signals_classQCPLayerable"><td class="memSeparator" colspan="2">&#160;</td></tr>
  271. </table>
  272. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  273. <div class="textblock"><p>Holds multiple axes and arranges them in a rectangular shape. </p>
  274. <p>This class represents an axis rect, a rectangular area that is bounded on all sides with an arbitrary number of axes.</p>
  275. <p>Initially <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> has one axis rect, accessible via <a class="el" href="classQCustomPlot.html#a4a37a1add5fe63060ac518cf0a4c4050">QCustomPlot::axisRect()</a>. However, the layout system allows to have multiple axis rects, e.g. arranged in a grid layout (<a class="el" href="classQCustomPlot.html#afd280d4d621ae64a106543a545c508d7">QCustomPlot::plotLayout</a>).</p>
  276. <p>By default, <a class="el" href="classQCPAxisRect.html" title="Holds multiple axes and arranges them in a rectangular shape. ">QCPAxisRect</a> comes with four axes, at bottom, top, left and right. They can be accessed via <a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">axis</a> by providing the respective axis type (<a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a>) and index. If you need all axes in the axis rect, use <a class="el" href="classQCPAxisRect.html#a66654d51ca611ef036ded36250cd2518">axes</a>. The top and right axes are set to be invisible initially (<a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">QCPAxis::setVisible</a>). To add more axes to a side, use <a class="el" href="classQCPAxisRect.html#a2dc336092ccc57d44a46194c8a23e4f4">addAxis</a> or <a class="el" href="classQCPAxisRect.html#a792e1f3d9cb1591fca135bb0de9b81fc">addAxes</a>. To remove an axis, use <a class="el" href="classQCPAxisRect.html#a03c39cd9704f0d36fb6cf980cdddcbaa">removeAxis</a>.</p>
  277. <p>The axis rect layerable itself only draws a background pixmap or color, if specified (<a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground</a>). It is placed on the "background" layer initially (see <a class="el" href="classQCPLayer.html">QCPLayer</a> for an explanation of the <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> layer system). The axes that are held by the axis rect can be placed on other layers, independently of the axis rect.</p>
  278. <p>Every axis rect has a child layout of type <a class="el" href="classQCPLayoutInset.html">QCPLayoutInset</a>. It is accessible via <a class="el" href="classQCPAxisRect.html#a4114887c7141b59650b7488f930993e5">insetLayout</a> and can be used to have other layout elements (or even other layouts with multiple elements) hovering inside the axis rect.</p>
  279. <p>If an axis rect is clicked and dragged, it processes this by moving certain axis ranges. The behaviour can be controlled with <a class="el" href="classQCPAxisRect.html#ae6aef2f7211ba6097c925dcd26008418">setRangeDrag</a> and <a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">setRangeDragAxes</a>. If the mouse wheel is scrolled while the cursor is on the axis rect, certain axes are scaled. This is controllable via <a class="el" href="classQCPAxisRect.html#a7960a9d222f1c31d558b064b60f86a31">setRangeZoom</a>, <a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">setRangeZoomAxes</a> and <a class="el" href="classQCPAxisRect.html#a895d7ac745ea614e04056244b3c138ac">setRangeZoomFactor</a>. These interactions are only enabled if <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> contains <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18">QCP::iRangeDrag</a> and <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14">QCP::iRangeZoom</a>.</p>
  280. <div class="image">
  281. <img src="AxisRectSpacingOverview.png" alt="AxisRectSpacingOverview.png"/>
  282. </div>
  283. <center>Overview of the spacings and paddings that define the geometry of an axis. The dashed line on the far left indicates the viewport/widget border.</center> </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  284. <a class="anchor" id="a60b31dece805462c1b82eea2e69ba042"></a>
  285. <div class="memitem">
  286. <div class="memproto">
  287. <table class="mlabels">
  288. <tr>
  289. <td class="mlabels-left">
  290. <table class="memname">
  291. <tr>
  292. <td class="memname">QCPAxisRect::QCPAxisRect </td>
  293. <td>(</td>
  294. <td class="paramtype"><a class="el" href="classQCustomPlot.html">QCustomPlot</a> *&#160;</td>
  295. <td class="paramname"><em>parentPlot</em>, </td>
  296. </tr>
  297. <tr>
  298. <td class="paramkey"></td>
  299. <td></td>
  300. <td class="paramtype">bool&#160;</td>
  301. <td class="paramname"><em>setupDefaultAxes</em> = <code>true</code>&#160;</td>
  302. </tr>
  303. <tr>
  304. <td></td>
  305. <td>)</td>
  306. <td></td><td></td>
  307. </tr>
  308. </table>
  309. </td>
  310. <td class="mlabels-right">
  311. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  312. </tr>
  313. </table>
  314. </div><div class="memdoc">
  315. <p>Creates a <a class="el" href="classQCPAxisRect.html" title="Holds multiple axes and arranges them in a rectangular shape. ">QCPAxisRect</a> instance and sets default values. An axis is added for each of the four sides, the top and right axes are set invisible initially. </p>
  316. </div>
  317. </div>
  318. <h2 class="groupheader">Member Function Documentation</h2>
  319. <a class="anchor" id="a6d7c22cfc54fac7a3d6ef80b133a8574"></a>
  320. <div class="memitem">
  321. <div class="memproto">
  322. <table class="memname">
  323. <tr>
  324. <td class="memname"><a class="el" href="classQCPAxis.html">QCPAxis</a> * QCPAxisRect::rangeDragAxis </td>
  325. <td>(</td>
  326. <td class="paramtype">Qt::Orientation&#160;</td>
  327. <td class="paramname"><em>orientation</em></td><td>)</td>
  328. <td></td>
  329. </tr>
  330. </table>
  331. </div><div class="memdoc">
  332. <p>Returns the range drag axis of the <em>orientation</em> provided.</p>
  333. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">setRangeDragAxes</a> </dd></dl>
  334. </div>
  335. </div>
  336. <a class="anchor" id="a679c63f2b8daccfe6ec5110dce3dd3b6"></a>
  337. <div class="memitem">
  338. <div class="memproto">
  339. <table class="memname">
  340. <tr>
  341. <td class="memname"><a class="el" href="classQCPAxis.html">QCPAxis</a> * QCPAxisRect::rangeZoomAxis </td>
  342. <td>(</td>
  343. <td class="paramtype">Qt::Orientation&#160;</td>
  344. <td class="paramname"><em>orientation</em></td><td>)</td>
  345. <td></td>
  346. </tr>
  347. </table>
  348. </div><div class="memdoc">
  349. <p>Returns the range zoom axis of the <em>orientation</em> provided.</p>
  350. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">setRangeZoomAxes</a> </dd></dl>
  351. </div>
  352. </div>
  353. <a class="anchor" id="ae4e6c4d143aacc88d2d3c56f117c2fe1"></a>
  354. <div class="memitem">
  355. <div class="memproto">
  356. <table class="memname">
  357. <tr>
  358. <td class="memname">double QCPAxisRect::rangeZoomFactor </td>
  359. <td>(</td>
  360. <td class="paramtype">Qt::Orientation&#160;</td>
  361. <td class="paramname"><em>orientation</em></td><td>)</td>
  362. <td></td>
  363. </tr>
  364. </table>
  365. </div><div class="memdoc">
  366. <p>Returns the range zoom factor of the <em>orientation</em> provided.</p>
  367. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a895d7ac745ea614e04056244b3c138ac">setRangeZoomFactor</a> </dd></dl>
  368. </div>
  369. </div>
  370. <a class="anchor" id="af615ab5e52b8e0a9a0eff415b6559db5"></a>
  371. <div class="memitem">
  372. <div class="memproto">
  373. <table class="memname">
  374. <tr>
  375. <td class="memname">void QCPAxisRect::setBackground </td>
  376. <td>(</td>
  377. <td class="paramtype">const QPixmap &amp;&#160;</td>
  378. <td class="paramname"><em>pm</em></td><td>)</td>
  379. <td></td>
  380. </tr>
  381. </table>
  382. </div><div class="memdoc">
  383. <p>Sets <em>pm</em> as the axis background pixmap. The axis background pixmap will be drawn inside the axis rect. Since axis rects place themselves on the "background" layer by default, the axis rect backgrounds are usually drawn below everything else.</p>
  384. <p>For cases where the provided pixmap doesn't have the same size as the axis rect, scaling can be enabled with <a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a> and the scaling mode (i.e. whether and how the aspect ratio is preserved) can be set with <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a>. To set all these options in one call, consider using the overloaded version of this function.</p>
  385. <p>Below the pixmap, the axis rect may be optionally filled with a brush, if specified with <a class="el" href="classQCPAxisRect.html#a22a22b8668735438dc06f9a55fe46b33">setBackground(const QBrush &amp;brush)</a>.</p>
  386. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a>, <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a>, <a class="el" href="classQCPAxisRect.html#a22a22b8668735438dc06f9a55fe46b33">setBackground(const QBrush &amp;brush)</a> </dd></dl>
  387. </div>
  388. </div>
  389. <a class="anchor" id="ac48a2d5d9b7732e73b86605c69c5e4c1"></a>
  390. <div class="memitem">
  391. <div class="memproto">
  392. <table class="memname">
  393. <tr>
  394. <td class="memname">void QCPAxisRect::setBackground </td>
  395. <td>(</td>
  396. <td class="paramtype">const QPixmap &amp;&#160;</td>
  397. <td class="paramname"><em>pm</em>, </td>
  398. </tr>
  399. <tr>
  400. <td class="paramkey"></td>
  401. <td></td>
  402. <td class="paramtype">bool&#160;</td>
  403. <td class="paramname"><em>scaled</em>, </td>
  404. </tr>
  405. <tr>
  406. <td class="paramkey"></td>
  407. <td></td>
  408. <td class="paramtype">Qt::AspectRatioMode&#160;</td>
  409. <td class="paramname"><em>mode</em> = <code>Qt::KeepAspectRatioByExpanding</code>&#160;</td>
  410. </tr>
  411. <tr>
  412. <td></td>
  413. <td>)</td>
  414. <td></td><td></td>
  415. </tr>
  416. </table>
  417. </div><div class="memdoc">
  418. <p>This is an overloaded function.</p>
  419. <p>Allows setting the background pixmap of the axis rect, whether it shall be scaled and how it shall be scaled in one call.</p>
  420. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground(const QPixmap &amp;pm)</a>, <a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a>, <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a> </dd></dl>
  421. </div>
  422. </div>
  423. <a class="anchor" id="a22a22b8668735438dc06f9a55fe46b33"></a>
  424. <div class="memitem">
  425. <div class="memproto">
  426. <table class="memname">
  427. <tr>
  428. <td class="memname">void QCPAxisRect::setBackground </td>
  429. <td>(</td>
  430. <td class="paramtype">const QBrush &amp;&#160;</td>
  431. <td class="paramname"><em>brush</em></td><td>)</td>
  432. <td></td>
  433. </tr>
  434. </table>
  435. </div><div class="memdoc">
  436. <p>This is an overloaded function.</p>
  437. <p>Sets <em>brush</em> as the background brush. The axis rect background will be filled with this brush. Since axis rects place themselves on the "background" layer by default, the axis rect backgrounds are usually drawn below everything else.</p>
  438. <p>The brush will be drawn before (under) any background pixmap, which may be specified with <a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground(const QPixmap &amp;pm)</a>.</p>
  439. <p>To disable drawing of a background brush, set <em>brush</em> to Qt::NoBrush.</p>
  440. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground(const QPixmap &amp;pm)</a> </dd></dl>
  441. </div>
  442. </div>
  443. <a class="anchor" id="ae6d36c3e0e968ffb991170a018e7b503"></a>
  444. <div class="memitem">
  445. <div class="memproto">
  446. <table class="memname">
  447. <tr>
  448. <td class="memname">void QCPAxisRect::setBackgroundScaled </td>
  449. <td>(</td>
  450. <td class="paramtype">bool&#160;</td>
  451. <td class="paramname"><em>scaled</em></td><td>)</td>
  452. <td></td>
  453. </tr>
  454. </table>
  455. </div><div class="memdoc">
  456. <p>Sets whether the axis background pixmap shall be scaled to fit the axis rect or not. If <em>scaled</em> is set to true, you may control whether and how the aspect ratio of the original pixmap is preserved with <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a>.</p>
  457. <p>Note that the scaled version of the original pixmap is buffered, so there is no performance penalty on replots. (Except when the axis rect dimensions are changed continuously.)</p>
  458. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground</a>, <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a> </dd></dl>
  459. </div>
  460. </div>
  461. <a class="anchor" id="a5ef77ea829c9de7ba248e473f48f7305"></a>
  462. <div class="memitem">
  463. <div class="memproto">
  464. <table class="memname">
  465. <tr>
  466. <td class="memname">void QCPAxisRect::setBackgroundScaledMode </td>
  467. <td>(</td>
  468. <td class="paramtype">Qt::AspectRatioMode&#160;</td>
  469. <td class="paramname"><em>mode</em></td><td>)</td>
  470. <td></td>
  471. </tr>
  472. </table>
  473. </div><div class="memdoc">
  474. <p>If scaling of the axis background pixmap is enabled (<a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a>), use this function to define whether and how the aspect ratio of the original pixmap passed to <a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground</a> is preserved. </p>
  475. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground</a>, <a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a> </dd></dl>
  476. </div>
  477. </div>
  478. <a class="anchor" id="ae6aef2f7211ba6097c925dcd26008418"></a>
  479. <div class="memitem">
  480. <div class="memproto">
  481. <table class="memname">
  482. <tr>
  483. <td class="memname">void QCPAxisRect::setRangeDrag </td>
  484. <td>(</td>
  485. <td class="paramtype">Qt::Orientations&#160;</td>
  486. <td class="paramname"><em>orientations</em></td><td>)</td>
  487. <td></td>
  488. </tr>
  489. </table>
  490. </div><div class="memdoc">
  491. <p>Sets which axis orientation may be range dragged by the user with mouse interaction. What orientation corresponds to which specific axis can be set with <a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">setRangeDragAxes(QCPAxis *horizontal, QCPAxis *vertical)</a>. By default, the horizontal axis is the bottom axis (xAxis) and the vertical axis is the left axis (yAxis).</p>
  492. <p>To disable range dragging entirely, pass 0 as <em>orientations</em> or remove <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18">QCP::iRangeDrag</a> from <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a>. To enable range dragging for both directions, pass <code>Qt::Horizontal | Qt::Vertical</code> as <em>orientations</em>.</p>
  493. <p>In addition to setting <em>orientations</em> to a non-zero value, make sure <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> contains <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18">QCP::iRangeDrag</a> to enable the range dragging interaction.</p>
  494. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a7960a9d222f1c31d558b064b60f86a31">setRangeZoom</a>, <a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">setRangeDragAxes</a>, <a class="el" href="classQCustomPlot.html#a775bdcb6329d44701aeaa6135b0e5265">QCustomPlot::setNoAntialiasingOnDrag</a> </dd></dl>
  495. </div>
  496. </div>
  497. <a class="anchor" id="a7960a9d222f1c31d558b064b60f86a31"></a>
  498. <div class="memitem">
  499. <div class="memproto">
  500. <table class="memname">
  501. <tr>
  502. <td class="memname">void QCPAxisRect::setRangeZoom </td>
  503. <td>(</td>
  504. <td class="paramtype">Qt::Orientations&#160;</td>
  505. <td class="paramname"><em>orientations</em></td><td>)</td>
  506. <td></td>
  507. </tr>
  508. </table>
  509. </div><div class="memdoc">
  510. <p>Sets which axis orientation may be zoomed by the user with the mouse wheel. What orientation corresponds to which specific axis can be set with <a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">setRangeZoomAxes</a>(<a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a> *horizontal, <a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a> *vertical). By default, the horizontal axis is the bottom axis (xAxis) and the vertical axis is the left axis (yAxis).</p>
  511. <p>To disable range zooming entirely, pass 0 as <em>orientations</em> or remove <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14">QCP::iRangeZoom</a> from <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a>. To enable range zooming for both directions, pass <code>Qt::Horizontal | Qt::Vertical</code> as <em>orientations</em>.</p>
  512. <p>In addition to setting <em>orientations</em> to a non-zero value, make sure <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> contains <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14">QCP::iRangeZoom</a> to enable the range zooming interaction.</p>
  513. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a895d7ac745ea614e04056244b3c138ac">setRangeZoomFactor</a>, <a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">setRangeZoomAxes</a>, <a class="el" href="classQCPAxisRect.html#ae6aef2f7211ba6097c925dcd26008418">setRangeDrag</a> </dd></dl>
  514. </div>
  515. </div>
  516. <a class="anchor" id="a648cce336bd99daac4a5ca3e5743775d"></a>
  517. <div class="memitem">
  518. <div class="memproto">
  519. <table class="memname">
  520. <tr>
  521. <td class="memname">void QCPAxisRect::setRangeDragAxes </td>
  522. <td>(</td>
  523. <td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> *&#160;</td>
  524. <td class="paramname"><em>horizontal</em>, </td>
  525. </tr>
  526. <tr>
  527. <td class="paramkey"></td>
  528. <td></td>
  529. <td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> *&#160;</td>
  530. <td class="paramname"><em>vertical</em>&#160;</td>
  531. </tr>
  532. <tr>
  533. <td></td>
  534. <td>)</td>
  535. <td></td><td></td>
  536. </tr>
  537. </table>
  538. </div><div class="memdoc">
  539. <p>Sets the axes whose range will be dragged when <a class="el" href="classQCPAxisRect.html#ae6aef2f7211ba6097c925dcd26008418">setRangeDrag</a> enables mouse range dragging on the <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> widget.</p>
  540. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">setRangeZoomAxes</a> </dd></dl>
  541. </div>
  542. </div>
  543. <a class="anchor" id="a9442cca2aa358405f39a64d51eca13d2"></a>
  544. <div class="memitem">
  545. <div class="memproto">
  546. <table class="memname">
  547. <tr>
  548. <td class="memname">void QCPAxisRect::setRangeZoomAxes </td>
  549. <td>(</td>
  550. <td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> *&#160;</td>
  551. <td class="paramname"><em>horizontal</em>, </td>
  552. </tr>
  553. <tr>
  554. <td class="paramkey"></td>
  555. <td></td>
  556. <td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> *&#160;</td>
  557. <td class="paramname"><em>vertical</em>&#160;</td>
  558. </tr>
  559. <tr>
  560. <td></td>
  561. <td>)</td>
  562. <td></td><td></td>
  563. </tr>
  564. </table>
  565. </div><div class="memdoc">
  566. <p>Sets the axes whose range will be zoomed when <a class="el" href="classQCPAxisRect.html#a7960a9d222f1c31d558b064b60f86a31">setRangeZoom</a> enables mouse wheel zooming on the <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> widget. The two axes can be zoomed with different strengths, when different factors are passed to <a class="el" href="classQCPAxisRect.html#a895d7ac745ea614e04056244b3c138ac">setRangeZoomFactor(double horizontalFactor, double verticalFactor)</a>.</p>
  567. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">setRangeDragAxes</a> </dd></dl>
  568. </div>
  569. </div>
  570. <a class="anchor" id="a895d7ac745ea614e04056244b3c138ac"></a>
  571. <div class="memitem">
  572. <div class="memproto">
  573. <table class="memname">
  574. <tr>
  575. <td class="memname">void QCPAxisRect::setRangeZoomFactor </td>
  576. <td>(</td>
  577. <td class="paramtype">double&#160;</td>
  578. <td class="paramname"><em>horizontalFactor</em>, </td>
  579. </tr>
  580. <tr>
  581. <td class="paramkey"></td>
  582. <td></td>
  583. <td class="paramtype">double&#160;</td>
  584. <td class="paramname"><em>verticalFactor</em>&#160;</td>
  585. </tr>
  586. <tr>
  587. <td></td>
  588. <td>)</td>
  589. <td></td><td></td>
  590. </tr>
  591. </table>
  592. </div><div class="memdoc">
  593. <p>Sets how strong one rotation step of the mouse wheel zooms, when range zoom was activated with <a class="el" href="classQCPAxisRect.html#a7960a9d222f1c31d558b064b60f86a31">setRangeZoom</a>. The two parameters <em>horizontalFactor</em> and <em>verticalFactor</em> provide a way to let the horizontal axis zoom at different rates than the vertical axis. Which axis is horizontal and which is vertical, can be set with <a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">setRangeZoomAxes</a>.</p>
  594. <p>When the zoom factor is greater than one, scrolling the mouse wheel backwards (towards the user) will zoom in (make the currently visible range smaller). For zoom factors smaller than one, the same scrolling direction will zoom out. </p>
  595. </div>
  596. </div>
  597. <a class="anchor" id="ae83d187b03fc6fa4f00765ad50cd3fc3"></a>
  598. <div class="memitem">
  599. <div class="memproto">
  600. <table class="memname">
  601. <tr>
  602. <td class="memname">void QCPAxisRect::setRangeZoomFactor </td>
  603. <td>(</td>
  604. <td class="paramtype">double&#160;</td>
  605. <td class="paramname"><em>factor</em></td><td>)</td>
  606. <td></td>
  607. </tr>
  608. </table>
  609. </div><div class="memdoc">
  610. <p>This is an overloaded function.</p>
  611. <p>Sets both the horizontal and vertical zoom <em>factor</em>. </p>
  612. </div>
  613. </div>
  614. <a class="anchor" id="a16e3e4646e52e4b5d5b865076c29ae58"></a>
  615. <div class="memitem">
  616. <div class="memproto">
  617. <table class="memname">
  618. <tr>
  619. <td class="memname">int QCPAxisRect::axisCount </td>
  620. <td>(</td>
  621. <td class="paramtype"><a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a>&#160;</td>
  622. <td class="paramname"><em>type</em></td><td>)</td>
  623. <td> const</td>
  624. </tr>
  625. </table>
  626. </div><div class="memdoc">
  627. <p>Returns the number of axes on the axis rect side specified with <em>type</em>.</p>
  628. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">axis</a> </dd></dl>
  629. </div>
  630. </div>
  631. <a class="anchor" id="a560de44e47a4af0f86c59102a094b1e4"></a>
  632. <div class="memitem">
  633. <div class="memproto">
  634. <table class="memname">
  635. <tr>
  636. <td class="memname"><a class="el" href="classQCPAxis.html">QCPAxis</a> * QCPAxisRect::axis </td>
  637. <td>(</td>
  638. <td class="paramtype"><a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a>&#160;</td>
  639. <td class="paramname"><em>type</em>, </td>
  640. </tr>
  641. <tr>
  642. <td class="paramkey"></td>
  643. <td></td>
  644. <td class="paramtype">int&#160;</td>
  645. <td class="paramname"><em>index</em> = <code>0</code>&#160;</td>
  646. </tr>
  647. <tr>
  648. <td></td>
  649. <td>)</td>
  650. <td></td><td> const</td>
  651. </tr>
  652. </table>
  653. </div><div class="memdoc">
  654. <p>Returns the axis with the given <em>index</em> on the axis rect side specified with <em>type</em>.</p>
  655. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a16e3e4646e52e4b5d5b865076c29ae58">axisCount</a>, <a class="el" href="classQCPAxisRect.html#a66654d51ca611ef036ded36250cd2518">axes</a> </dd></dl>
  656. </div>
  657. </div>
  658. <a class="anchor" id="a66654d51ca611ef036ded36250cd2518"></a>
  659. <div class="memitem">
  660. <div class="memproto">
  661. <table class="memname">
  662. <tr>
  663. <td class="memname">QList&lt; <a class="el" href="classQCPAxis.html">QCPAxis</a> * &gt; QCPAxisRect::axes </td>
  664. <td>(</td>
  665. <td class="paramtype">QCPAxis::AxisTypes&#160;</td>
  666. <td class="paramname"><em>types</em></td><td>)</td>
  667. <td> const</td>
  668. </tr>
  669. </table>
  670. </div><div class="memdoc">
  671. <p>Returns all axes on the axis rect sides specified with <em>types</em>.</p>
  672. <p><em>types</em> may be a single <a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> or an <code>or</code>-combination, to get the axes of multiple sides.</p>
  673. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">axis</a> </dd></dl>
  674. </div>
  675. </div>
  676. <a class="anchor" id="a18dcdc0dd6c7520bc9f3d15a7a3feec2"></a>
  677. <div class="memitem">
  678. <div class="memproto">
  679. <table class="memname">
  680. <tr>
  681. <td class="memname">QList&lt; <a class="el" href="classQCPAxis.html">QCPAxis</a> * &gt; QCPAxisRect::axes </td>
  682. <td>(</td>
  683. <td class="paramname"></td><td>)</td>
  684. <td> const</td>
  685. </tr>
  686. </table>
  687. </div><div class="memdoc">
  688. <p>This is an overloaded function.</p>
  689. <p>Returns all axes of this axis rect. </p>
  690. </div>
  691. </div>
  692. <a class="anchor" id="a2dc336092ccc57d44a46194c8a23e4f4"></a>
  693. <div class="memitem">
  694. <div class="memproto">
  695. <table class="memname">
  696. <tr>
  697. <td class="memname"><a class="el" href="classQCPAxis.html">QCPAxis</a> * QCPAxisRect::addAxis </td>
  698. <td>(</td>
  699. <td class="paramtype"><a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a>&#160;</td>
  700. <td class="paramname"><em>type</em>, </td>
  701. </tr>
  702. <tr>
  703. <td class="paramkey"></td>
  704. <td></td>
  705. <td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> *&#160;</td>
  706. <td class="paramname"><em>axis</em> = <code>0</code>&#160;</td>
  707. </tr>
  708. <tr>
  709. <td></td>
  710. <td>)</td>
  711. <td></td><td></td>
  712. </tr>
  713. </table>
  714. </div><div class="memdoc">
  715. <p>Adds a new axis to the axis rect side specified with <em>type</em>, and returns it. If <em>axis</em> is 0, a new <a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a> instance is created internally.</p>
  716. <p>You may inject <a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a> instances (or sublasses of <a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a>) by setting <em>axis</em> to an axis that was previously created outside <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>. It is important to note that <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> takes ownership of the axis, so you may not delete it afterwards. Further, the <em>axis</em> must have been created with this axis rect as parent and with the same axis type as specified in <em>type</em>. If this is not the case, a debug output is generated, the axis is not added, and the method returns 0.</p>
  717. <p>This method can not be used to move <em>axis</em> between axis rects. The same <em>axis</em> instance must not be added multiple times to the same or different axis rects.</p>
  718. <p>If an axis rect side already contains one or more axes, the lower and upper endings of the new axis (<a class="el" href="classQCPAxis.html#a08af1c72db9ae4dc8cb8a973d44405ab">QCPAxis::setLowerEnding</a>, <a class="el" href="classQCPAxis.html#a69119b892fc306f651763596685aa377">QCPAxis::setUpperEnding</a>) are set to <a class="el" href="classQCPLineEnding.html#a5ef16e6876b4b74959c7261d8d4c2cd5a126c390f0c359fcd8df1fc5e38d26d5b">QCPLineEnding::esHalfBar</a>.</p>
  719. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a792e1f3d9cb1591fca135bb0de9b81fc">addAxes</a>, <a class="el" href="classQCPAxisRect.html#a5fa906175447b14206954f77fc7f1ef4">setupFullAxesBox</a> </dd></dl>
  720. </div>
  721. </div>
  722. <a class="anchor" id="a792e1f3d9cb1591fca135bb0de9b81fc"></a>
  723. <div class="memitem">
  724. <div class="memproto">
  725. <table class="memname">
  726. <tr>
  727. <td class="memname">QList&lt; <a class="el" href="classQCPAxis.html">QCPAxis</a> * &gt; QCPAxisRect::addAxes </td>
  728. <td>(</td>
  729. <td class="paramtype">QCPAxis::AxisTypes&#160;</td>
  730. <td class="paramname"><em>types</em></td><td>)</td>
  731. <td></td>
  732. </tr>
  733. </table>
  734. </div><div class="memdoc">
  735. <p>Adds a new axis with <a class="el" href="classQCPAxisRect.html#a2dc336092ccc57d44a46194c8a23e4f4">addAxis</a> to each axis rect side specified in <em>types</em>. This may be an <code>or</code>-combination of <a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a>, so axes can be added to multiple sides at once.</p>
  736. <p>Returns a list of the added axes.</p>
  737. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a2dc336092ccc57d44a46194c8a23e4f4">addAxis</a>, <a class="el" href="classQCPAxisRect.html#a5fa906175447b14206954f77fc7f1ef4">setupFullAxesBox</a> </dd></dl>
  738. </div>
  739. </div>
  740. <a class="anchor" id="a03c39cd9704f0d36fb6cf980cdddcbaa"></a>
  741. <div class="memitem">
  742. <div class="memproto">
  743. <table class="memname">
  744. <tr>
  745. <td class="memname">bool QCPAxisRect::removeAxis </td>
  746. <td>(</td>
  747. <td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> *&#160;</td>
  748. <td class="paramname"><em>axis</em></td><td>)</td>
  749. <td></td>
  750. </tr>
  751. </table>
  752. </div><div class="memdoc">
  753. <p>Removes the specified <em>axis</em> from the axis rect and deletes it.</p>
  754. <p>Returns true on success, i.e. if <em>axis</em> was a valid axis in this axis rect.</p>
  755. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a2dc336092ccc57d44a46194c8a23e4f4">addAxis</a> </dd></dl>
  756. </div>
  757. </div>
  758. <a class="anchor" id="a4114887c7141b59650b7488f930993e5"></a>
  759. <div class="memitem">
  760. <div class="memproto">
  761. <table class="mlabels">
  762. <tr>
  763. <td class="mlabels-left">
  764. <table class="memname">
  765. <tr>
  766. <td class="memname"><a class="el" href="classQCPLayoutInset.html">QCPLayoutInset</a> * QCPAxisRect::insetLayout </td>
  767. <td>(</td>
  768. <td class="paramname"></td><td>)</td>
  769. <td> const</td>
  770. </tr>
  771. </table>
  772. </td>
  773. <td class="mlabels-right">
  774. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  775. </tr>
  776. </table>
  777. </div><div class="memdoc">
  778. <p>Returns the inset layout of this axis rect. It can be used to place other layout elements (or even layouts with multiple other elements) inside/on top of an axis rect.</p>
  779. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPLayoutInset.html" title="A layout that places child elements aligned to the border or arbitrarily positioned. ">QCPLayoutInset</a> </dd></dl>
  780. </div>
  781. </div>
  782. <a class="anchor" id="a5fa906175447b14206954f77fc7f1ef4"></a>
  783. <div class="memitem">
  784. <div class="memproto">
  785. <table class="memname">
  786. <tr>
  787. <td class="memname">void QCPAxisRect::setupFullAxesBox </td>
  788. <td>(</td>
  789. <td class="paramtype">bool&#160;</td>
  790. <td class="paramname"><em>connectRanges</em> = <code>false</code></td><td>)</td>
  791. <td></td>
  792. </tr>
  793. </table>
  794. </div><div class="memdoc">
  795. <p>Convenience function to create an axis on each side that doesn't have any axes yet and set their visibility to true. Further, the top/right axes are assigned the following properties of the bottom/left axes:</p>
  796. <ul>
  797. <li>range (<a class="el" href="classQCPAxis.html#aebdfea5d44c3a0ad2b4700cd4d25b641">QCPAxis::setRange</a>) </li>
  798. <li>range reversed (<a class="el" href="classQCPAxis.html#a2172fdb196b1a0dc3f40992fcad8e9e1">QCPAxis::setRangeReversed</a>) </li>
  799. <li>scale type (<a class="el" href="classQCPAxis.html#adef29cae617af4f519f6c40d1a866ca6">QCPAxis::setScaleType</a>) </li>
  800. <li>scale log base (<a class="el" href="classQCPAxis.html#a726186054be90487885a748aa1b42188">QCPAxis::setScaleLogBase</a>) </li>
  801. <li>ticks (<a class="el" href="classQCPAxis.html#ac891409315bc379e3b1abdb162c1a011">QCPAxis::setTicks</a>) </li>
  802. <li>auto (major) tick count (<a class="el" href="classQCPAxis.html#a7c7111cbeac9ec5fcb40f93a1ef51a0b">QCPAxis::setAutoTickCount</a>) </li>
  803. <li>sub tick count (<a class="el" href="classQCPAxis.html#a4b1554ead9d7f9799650d51383e326dd">QCPAxis::setSubTickCount</a>) </li>
  804. <li>auto sub ticks (<a class="el" href="classQCPAxis.html#adcbdec7a60054b88571e89599f4a45bf">QCPAxis::setAutoSubTicks</a>) </li>
  805. <li>tick step (<a class="el" href="classQCPAxis.html#af727db0acc6492c4c774c0700e738205">QCPAxis::setTickStep</a>) </li>
  806. <li>auto tick step (<a class="el" href="classQCPAxis.html#a99fe77b034e06f5b723995beab96e741">QCPAxis::setAutoTickStep</a>) </li>
  807. <li>number format (<a class="el" href="classQCPAxis.html#ae585a54dc2aac662e90a2ca82f002590">QCPAxis::setNumberFormat</a>) </li>
  808. <li>number precision (<a class="el" href="classQCPAxis.html#a21dc8023ad7500382ad9574b48137e63">QCPAxis::setNumberPrecision</a>) </li>
  809. <li>tick label type (<a class="el" href="classQCPAxis.html#a54f24f5ce8feea25209388a863d7e448">QCPAxis::setTickLabelType</a>) </li>
  810. <li>date time format (<a class="el" href="classQCPAxis.html#a2ee0191daa03524a682113e63e05f7a7">QCPAxis::setDateTimeFormat</a>) </li>
  811. <li>date time spec (<a class="el" href="classQCPAxis.html#a262e06731debed7eee11fa6a81d67eaf">QCPAxis::setDateTimeSpec</a>)</li>
  812. </ul>
  813. <p>Tick labels (<a class="el" href="classQCPAxis.html#a04ba16e1f6f78d70f938519576ed32c8">QCPAxis::setTickLabels</a>) of the right and top axes are set to false.</p>
  814. <p>If <em>connectRanges</em> is true, the <a class="el" href="classQCPAxis.html#a0894084e4c16a1736534c4095746f910">rangeChanged</a> signals of the bottom and left axes are connected to the <a class="el" href="classQCPAxis.html#aebdfea5d44c3a0ad2b4700cd4d25b641">QCPAxis::setRange</a> slots of the top and right axes. </p>
  815. </div>
  816. </div>
  817. <a class="anchor" id="a5b0d629c8de5572945eeae79a142296e"></a>
  818. <div class="memitem">
  819. <div class="memproto">
  820. <table class="memname">
  821. <tr>
  822. <td class="memname">QList&lt; <a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * &gt; QCPAxisRect::plottables </td>
  823. <td>(</td>
  824. <td class="paramname"></td><td>)</td>
  825. <td> const</td>
  826. </tr>
  827. </table>
  828. </div><div class="memdoc">
  829. <p>Returns a list of all the plottables that are associated with this axis rect.</p>
  830. <p>A plottable is considered associated with an axis rect if its key or value axis (or both) is in this axis rect.</p>
  831. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#afa4ff90901d9275f670e24b40e3c1b25">graphs</a>, <a class="el" href="classQCPAxisRect.html#a0f17ed539962cfcbaca8ce0b1776c840">items</a> </dd></dl>
  832. </div>
  833. </div>
  834. <a class="anchor" id="afa4ff90901d9275f670e24b40e3c1b25"></a>
  835. <div class="memitem">
  836. <div class="memproto">
  837. <table class="memname">
  838. <tr>
  839. <td class="memname">QList&lt; <a class="el" href="classQCPGraph.html">QCPGraph</a> * &gt; QCPAxisRect::graphs </td>
  840. <td>(</td>
  841. <td class="paramname"></td><td>)</td>
  842. <td> const</td>
  843. </tr>
  844. </table>
  845. </div><div class="memdoc">
  846. <p>Returns a list of all the graphs that are associated with this axis rect.</p>
  847. <p>A graph is considered associated with an axis rect if its key or value axis (or both) is in this axis rect.</p>
  848. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a5b0d629c8de5572945eeae79a142296e">plottables</a>, <a class="el" href="classQCPAxisRect.html#a0f17ed539962cfcbaca8ce0b1776c840">items</a> </dd></dl>
  849. </div>
  850. </div>
  851. <a class="anchor" id="a0f17ed539962cfcbaca8ce0b1776c840"></a>
  852. <div class="memitem">
  853. <div class="memproto">
  854. <table class="memname">
  855. <tr>
  856. <td class="memname">QList&lt; <a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * &gt; QCPAxisRect::items </td>
  857. <td>(</td>
  858. <td class="paramname"></td><td>)</td>
  859. <td> const</td>
  860. </tr>
  861. </table>
  862. </div><div class="memdoc">
  863. <p>Returns a list of all the items that are associated with this axis rect.</p>
  864. <p>An item is considered associated with an axis rect if any of its positions has key or value axis set to an axis that is in this axis rect, or if any of its positions has <a class="el" href="classQCPItemPosition.html#a0cd9b326fb324710169e92e8ca0041c2">QCPItemPosition::setAxisRect</a> set to the axis rect, or if the clip axis rect (<a class="el" href="classQCPAbstractItem.html#a7dc75fcbcd10206fe0b75d757ea7a347">QCPAbstractItem::setClipAxisRect</a>) is set to this axis rect.</p>
  865. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a5b0d629c8de5572945eeae79a142296e">plottables</a>, <a class="el" href="classQCPAxisRect.html#afa4ff90901d9275f670e24b40e3c1b25">graphs</a> </dd></dl>
  866. </div>
  867. </div>
  868. <a class="anchor" id="a55b3ecf72a3a65b053f7651b88db458d"></a>
  869. <div class="memitem">
  870. <div class="memproto">
  871. <table class="mlabels">
  872. <tr>
  873. <td class="mlabels-left">
  874. <table class="memname">
  875. <tr>
  876. <td class="memname">int QCPAxisRect::left </td>
  877. <td>(</td>
  878. <td class="paramname"></td><td>)</td>
  879. <td> const</td>
  880. </tr>
  881. </table>
  882. </td>
  883. <td class="mlabels-right">
  884. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  885. </tr>
  886. </table>
  887. </div><div class="memdoc">
  888. <p>Returns the pixel position of the left border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
  889. </div>
  890. </div>
  891. <a class="anchor" id="a6d0f989fc552aa2b563cf82f8fc81e61"></a>
  892. <div class="memitem">
  893. <div class="memproto">
  894. <table class="mlabels">
  895. <tr>
  896. <td class="mlabels-left">
  897. <table class="memname">
  898. <tr>
  899. <td class="memname">int QCPAxisRect::right </td>
  900. <td>(</td>
  901. <td class="paramname"></td><td>)</td>
  902. <td> const</td>
  903. </tr>
  904. </table>
  905. </td>
  906. <td class="mlabels-right">
  907. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  908. </tr>
  909. </table>
  910. </div><div class="memdoc">
  911. <p>Returns the pixel position of the right border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
  912. </div>
  913. </div>
  914. <a class="anchor" id="ac45aef1eb75cea46b241b6303028a607"></a>
  915. <div class="memitem">
  916. <div class="memproto">
  917. <table class="mlabels">
  918. <tr>
  919. <td class="mlabels-left">
  920. <table class="memname">
  921. <tr>
  922. <td class="memname">int QCPAxisRect::top </td>
  923. <td>(</td>
  924. <td class="paramname"></td><td>)</td>
  925. <td> const</td>
  926. </tr>
  927. </table>
  928. </td>
  929. <td class="mlabels-right">
  930. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  931. </tr>
  932. </table>
  933. </div><div class="memdoc">
  934. <p>Returns the pixel position of the top border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
  935. </div>
  936. </div>
  937. <a class="anchor" id="af2b5982ebe7e6f781b9bf1cc371a60d8"></a>
  938. <div class="memitem">
  939. <div class="memproto">
  940. <table class="mlabels">
  941. <tr>
  942. <td class="mlabels-left">
  943. <table class="memname">
  944. <tr>
  945. <td class="memname">int QCPAxisRect::bottom </td>
  946. <td>(</td>
  947. <td class="paramname"></td><td>)</td>
  948. <td> const</td>
  949. </tr>
  950. </table>
  951. </td>
  952. <td class="mlabels-right">
  953. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  954. </tr>
  955. </table>
  956. </div><div class="memdoc">
  957. <p>Returns the pixel position of the bottom border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
  958. </div>
  959. </div>
  960. <a class="anchor" id="a45bf5c17f4ca29131b7eb0db06efc259"></a>
  961. <div class="memitem">
  962. <div class="memproto">
  963. <table class="mlabels">
  964. <tr>
  965. <td class="mlabels-left">
  966. <table class="memname">
  967. <tr>
  968. <td class="memname">int QCPAxisRect::width </td>
  969. <td>(</td>
  970. <td class="paramname"></td><td>)</td>
  971. <td> const</td>
  972. </tr>
  973. </table>
  974. </td>
  975. <td class="mlabels-right">
  976. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  977. </tr>
  978. </table>
  979. </div><div class="memdoc">
  980. <p>Returns the pixel width of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
  981. </div>
  982. </div>
  983. <a class="anchor" id="a1c55c4f3bef40cf01b21820316c8469e"></a>
  984. <div class="memitem">
  985. <div class="memproto">
  986. <table class="mlabels">
  987. <tr>
  988. <td class="mlabels-left">
  989. <table class="memname">
  990. <tr>
  991. <td class="memname">int QCPAxisRect::height </td>
  992. <td>(</td>
  993. <td class="paramname"></td><td>)</td>
  994. <td> const</td>
  995. </tr>
  996. </table>
  997. </td>
  998. <td class="mlabels-right">
  999. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1000. </tr>
  1001. </table>
  1002. </div><div class="memdoc">
  1003. <p>Returns the pixel height of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
  1004. </div>
  1005. </div>
  1006. <a class="anchor" id="a871b9fe49e92b39a3cbe29a59e458536"></a>
  1007. <div class="memitem">
  1008. <div class="memproto">
  1009. <table class="mlabels">
  1010. <tr>
  1011. <td class="mlabels-left">
  1012. <table class="memname">
  1013. <tr>
  1014. <td class="memname">QSize QCPAxisRect::size </td>
  1015. <td>(</td>
  1016. <td class="paramname"></td><td>)</td>
  1017. <td> const</td>
  1018. </tr>
  1019. </table>
  1020. </td>
  1021. <td class="mlabels-right">
  1022. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1023. </tr>
  1024. </table>
  1025. </div><div class="memdoc">
  1026. <p>Returns the pixel size of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
  1027. </div>
  1028. </div>
  1029. <a class="anchor" id="a88acbe716bcf5072790a6f95637c40d8"></a>
  1030. <div class="memitem">
  1031. <div class="memproto">
  1032. <table class="mlabels">
  1033. <tr>
  1034. <td class="mlabels-left">
  1035. <table class="memname">
  1036. <tr>
  1037. <td class="memname">QPoint QCPAxisRect::topLeft </td>
  1038. <td>(</td>
  1039. <td class="paramname"></td><td>)</td>
  1040. <td> const</td>
  1041. </tr>
  1042. </table>
  1043. </td>
  1044. <td class="mlabels-right">
  1045. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1046. </tr>
  1047. </table>
  1048. </div><div class="memdoc">
  1049. <p>Returns the top left corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
  1050. </div>
  1051. </div>
  1052. <a class="anchor" id="a232409546394c23b59407bc62fa460a8"></a>
  1053. <div class="memitem">
  1054. <div class="memproto">
  1055. <table class="mlabels">
  1056. <tr>
  1057. <td class="mlabels-left">
  1058. <table class="memname">
  1059. <tr>
  1060. <td class="memname">QPoint QCPAxisRect::topRight </td>
  1061. <td>(</td>
  1062. <td class="paramname"></td><td>)</td>
  1063. <td> const</td>
  1064. </tr>
  1065. </table>
  1066. </td>
  1067. <td class="mlabels-right">
  1068. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1069. </tr>
  1070. </table>
  1071. </div><div class="memdoc">
  1072. <p>Returns the top right corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
  1073. </div>
  1074. </div>
  1075. <a class="anchor" id="a724b0333971ea6a338f0dbd814dc97ae"></a>
  1076. <div class="memitem">
  1077. <div class="memproto">
  1078. <table class="mlabels">
  1079. <tr>
  1080. <td class="mlabels-left">
  1081. <table class="memname">
  1082. <tr>
  1083. <td class="memname">QPoint QCPAxisRect::bottomLeft </td>
  1084. <td>(</td>
  1085. <td class="paramname"></td><td>)</td>
  1086. <td> const</td>
  1087. </tr>
  1088. </table>
  1089. </td>
  1090. <td class="mlabels-right">
  1091. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1092. </tr>
  1093. </table>
  1094. </div><div class="memdoc">
  1095. <p>Returns the bottom left corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
  1096. </div>
  1097. </div>
  1098. <a class="anchor" id="a49ea3c7dff834b47e266cbf3d79f78b9"></a>
  1099. <div class="memitem">
  1100. <div class="memproto">
  1101. <table class="mlabels">
  1102. <tr>
  1103. <td class="mlabels-left">
  1104. <table class="memname">
  1105. <tr>
  1106. <td class="memname">QPoint QCPAxisRect::bottomRight </td>
  1107. <td>(</td>
  1108. <td class="paramname"></td><td>)</td>
  1109. <td> const</td>
  1110. </tr>
  1111. </table>
  1112. </td>
  1113. <td class="mlabels-right">
  1114. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1115. </tr>
  1116. </table>
  1117. </div><div class="memdoc">
  1118. <p>Returns the bottom right corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
  1119. </div>
  1120. </div>
  1121. <a class="anchor" id="aea5e6042bca198424fa1bc02fc282e59"></a>
  1122. <div class="memitem">
  1123. <div class="memproto">
  1124. <table class="mlabels">
  1125. <tr>
  1126. <td class="mlabels-left">
  1127. <table class="memname">
  1128. <tr>
  1129. <td class="memname">QPoint QCPAxisRect::center </td>
  1130. <td>(</td>
  1131. <td class="paramname"></td><td>)</td>
  1132. <td> const</td>
  1133. </tr>
  1134. </table>
  1135. </td>
  1136. <td class="mlabels-right">
  1137. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1138. </tr>
  1139. </table>
  1140. </div><div class="memdoc">
  1141. <p>Returns the center of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
  1142. </div>
  1143. </div>
  1144. <a class="anchor" id="a255080a017df9083a60a321ef2ba9ed8"></a>
  1145. <div class="memitem">
  1146. <div class="memproto">
  1147. <table class="mlabels">
  1148. <tr>
  1149. <td class="mlabels-left">
  1150. <table class="memname">
  1151. <tr>
  1152. <td class="memname">void QCPAxisRect::update </td>
  1153. <td>(</td>
  1154. <td class="paramtype"><a class="el" href="classQCPLayoutElement.html#a0d83360e05735735aaf6d7983c56374d">UpdatePhase</a>&#160;</td>
  1155. <td class="paramname"><em>phase</em></td><td>)</td>
  1156. <td></td>
  1157. </tr>
  1158. </table>
  1159. </td>
  1160. <td class="mlabels-right">
  1161. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  1162. </tr>
  1163. </table>
  1164. </div><div class="memdoc">
  1165. <p>This method is called automatically upon replot and doesn't need to be called by users of <a class="el" href="classQCPAxisRect.html" title="Holds multiple axes and arranges them in a rectangular shape. ">QCPAxisRect</a>.</p>
  1166. <p>Calls the base class implementation to update the margins (see <a class="el" href="classQCPLayoutElement.html#a929c2ec62e0e0e1d8418eaa802e2af9b">QCPLayoutElement::update</a>), and finally passes the <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a> to the inset layout (<a class="el" href="classQCPAxisRect.html#a4114887c7141b59650b7488f930993e5">insetLayout</a>) and calls its QCPInsetLayout::update function. </p>
  1167. <p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a929c2ec62e0e0e1d8418eaa802e2af9b">QCPLayoutElement</a>.</p>
  1168. </div>
  1169. </div>
  1170. <a class="anchor" id="a2bda6bf2b5b5797f92583cecd01c8949"></a>
  1171. <div class="memitem">
  1172. <div class="memproto">
  1173. <table class="mlabels">
  1174. <tr>
  1175. <td class="mlabels-left">
  1176. <table class="memname">
  1177. <tr>
  1178. <td class="memname">QList&lt; <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> * &gt; QCPAxisRect::elements </td>
  1179. <td>(</td>
  1180. <td class="paramtype">bool&#160;</td>
  1181. <td class="paramname"><em>recursive</em></td><td>)</td>
  1182. <td> const</td>
  1183. </tr>
  1184. </table>
  1185. </td>
  1186. <td class="mlabels-right">
  1187. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  1188. </tr>
  1189. </table>
  1190. </div><div class="memdoc">
  1191. <p>Returns a list of all child elements in this layout element. If <em>recursive</em> is true, all sub-child elements are included in the list, too.</p>
  1192. <dl class="section warning"><dt>Warning</dt><dd>There may be entries with value 0 in the returned list. (For example, <a class="el" href="classQCPLayoutGrid.html" title="A layout that arranges child elements in a grid. ">QCPLayoutGrid</a> may have empty cells which yield 0 at the respective index.) </dd></dl>
  1193. <p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a311d60d78e62ef8eaaedb1b6ceb9e788">QCPLayoutElement</a>.</p>
  1194. </div>
  1195. </div>
  1196. <a class="anchor" id="a9a6dd0763701cbc7d01f899bcbb3f9ca"></a>
  1197. <div class="memitem">
  1198. <div class="memproto">
  1199. <table class="mlabels">
  1200. <tr>
  1201. <td class="mlabels-left">
  1202. <table class="memname">
  1203. <tr>
  1204. <td class="memname">void QCPAxisRect::applyDefaultAntialiasingHint </td>
  1205. <td>(</td>
  1206. <td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> *&#160;</td>
  1207. <td class="paramname"><em>painter</em></td><td>)</td>
  1208. <td> const</td>
  1209. </tr>
  1210. </table>
  1211. </td>
  1212. <td class="mlabels-right">
  1213. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  1214. </tr>
  1215. </table>
  1216. </div><div class="memdoc">
  1217. <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="classQCPAxisRect.html#afb1bbbbda8345cd2710d92ee48440b53">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="classQCPAxisRect.html#afb1bbbbda8345cd2710d92ee48440b53">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>
  1218. <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>
  1219. <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="classQCPAxisRect.html#afb1bbbbda8345cd2710d92ee48440b53">draw</a> function is called, and that's the state it wants to draw the line with. </p>
  1220. <p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#ad6d2b4bb0291c2441b2e1ca3d5296df5">QCPLayoutElement</a>.</p>
  1221. </div>
  1222. </div>
  1223. <a class="anchor" id="afb1bbbbda8345cd2710d92ee48440b53"></a>
  1224. <div class="memitem">
  1225. <div class="memproto">
  1226. <table class="mlabels">
  1227. <tr>
  1228. <td class="mlabels-left">
  1229. <table class="memname">
  1230. <tr>
  1231. <td class="memname">void QCPAxisRect::draw </td>
  1232. <td>(</td>
  1233. <td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> *&#160;</td>
  1234. <td class="paramname"><em>painter</em></td><td>)</td>
  1235. <td></td>
  1236. </tr>
  1237. </table>
  1238. </td>
  1239. <td class="mlabels-right">
  1240. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  1241. </tr>
  1242. </table>
  1243. </div><div class="memdoc">
  1244. <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>
  1245. <p>Before this function is called, the painter's antialiasing state is set via <a class="el" href="classQCPAxisRect.html#a9a6dd0763701cbc7d01f899bcbb3f9ca">applyDefaultAntialiasingHint</a>, see the documentation there. Further, the clipping rectangle was set to <a class="el" href="classQCPLayerable.html#a07a8f746640c3704b09910df297afcba">clipRect</a>. </p>
  1246. <p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a547bcc1e6e2be5645ca781efe0834653">QCPLayoutElement</a>.</p>
  1247. </div>
  1248. </div>
  1249. <a class="anchor" id="ae79f18302e6507586aa8c032a5f9ed1c"></a>
  1250. <div class="memitem">
  1251. <div class="memproto">
  1252. <table class="mlabels">
  1253. <tr>
  1254. <td class="mlabels-left">
  1255. <table class="memname">
  1256. <tr>
  1257. <td class="memname">int QCPAxisRect::calculateAutoMargin </td>
  1258. <td>(</td>
  1259. <td class="paramtype"><a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a>&#160;</td>
  1260. <td class="paramname"><em>side</em></td><td>)</td>
  1261. <td></td>
  1262. </tr>
  1263. </table>
  1264. </td>
  1265. <td class="mlabels-right">
  1266. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  1267. </tr>
  1268. </table>
  1269. </div><div class="memdoc">
  1270. <p>Returns the margin size for this <em>side</em>. It is used if automatic margins is enabled for this <em>side</em> (see <a class="el" href="classQCPLayoutElement.html#accfda49994e3e6d51ed14504abf9d27d">setAutoMargins</a>). If a minimum margin was set with <a class="el" href="classQCPLayoutElement.html#a0a8a17abc16b7923159fcc7608f94673">setMinimumMargins</a>, the returned value will not be smaller than the specified minimum margin.</p>
  1271. <p>The default implementation just returns the respective manual margin (<a class="el" href="classQCPLayoutElement.html#a8f450b1f3f992ad576fce2c63d8b79cf">setMargins</a>) or the minimum margin, whichever is larger. </p>
  1272. <p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a005c9f0fe84bc1591a2cf2c46fd477b4">QCPLayoutElement</a>.</p>
  1273. </div>
  1274. </div>
  1275. <a class="anchor" id="a77501dbeccdac7256f7979b05077c04e"></a>
  1276. <div class="memitem">
  1277. <div class="memproto">
  1278. <table class="mlabels">
  1279. <tr>
  1280. <td class="mlabels-left">
  1281. <table class="memname">
  1282. <tr>
  1283. <td class="memname">void QCPAxisRect::mousePressEvent </td>
  1284. <td>(</td>
  1285. <td class="paramtype">QMouseEvent *&#160;</td>
  1286. <td class="paramname"><em>event</em></td><td>)</td>
  1287. <td></td>
  1288. </tr>
  1289. </table>
  1290. </td>
  1291. <td class="mlabels-right">
  1292. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  1293. </tr>
  1294. </table>
  1295. </div><div class="memdoc">
  1296. <p>Event handler for when a mouse button is pressed on the axis rect. If the left mouse button is pressed, the range dragging interaction is initialized (the actual range manipulation happens in the <a class="el" href="classQCPAxisRect.html#a4baf3d5dd69166788f6ceda0ea182c6e">mouseMoveEvent</a>).</p>
  1297. <p>The mDragging flag is set to true and some anchor points are set that are needed to determine the distance the mouse was dragged in the mouse move/release events later.</p>
  1298. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a4baf3d5dd69166788f6ceda0ea182c6e">mouseMoveEvent</a>, <a class="el" href="classQCPAxisRect.html#adf6c99780cea55ab39459a6eaad3a94a">mouseReleaseEvent</a> </dd></dl>
  1299. <p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a2d82ea21fe0ee628f177bd824bc51a71">QCPLayoutElement</a>.</p>
  1300. </div>
  1301. </div>
  1302. <a class="anchor" id="a4baf3d5dd69166788f6ceda0ea182c6e"></a>
  1303. <div class="memitem">
  1304. <div class="memproto">
  1305. <table class="mlabels">
  1306. <tr>
  1307. <td class="mlabels-left">
  1308. <table class="memname">
  1309. <tr>
  1310. <td class="memname">void QCPAxisRect::mouseMoveEvent </td>
  1311. <td>(</td>
  1312. <td class="paramtype">QMouseEvent *&#160;</td>
  1313. <td class="paramname"><em>event</em></td><td>)</td>
  1314. <td></td>
  1315. </tr>
  1316. </table>
  1317. </td>
  1318. <td class="mlabels-right">
  1319. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  1320. </tr>
  1321. </table>
  1322. </div><div class="memdoc">
  1323. <p>Event handler for when the mouse is moved on the axis rect. If range dragging was activated in a preceding <a class="el" href="classQCPAxisRect.html#a77501dbeccdac7256f7979b05077c04e">mousePressEvent</a>, the range is moved accordingly.</p>
  1324. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a77501dbeccdac7256f7979b05077c04e">mousePressEvent</a>, <a class="el" href="classQCPAxisRect.html#adf6c99780cea55ab39459a6eaad3a94a">mouseReleaseEvent</a> </dd></dl>
  1325. <p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a14f4acf58cdb8dd2c6c571479c4c4a40">QCPLayoutElement</a>.</p>
  1326. </div>
  1327. </div>
  1328. <a class="anchor" id="adf6c99780cea55ab39459a6eaad3a94a"></a>
  1329. <div class="memitem">
  1330. <div class="memproto">
  1331. <table class="mlabels">
  1332. <tr>
  1333. <td class="mlabels-left">
  1334. <table class="memname">
  1335. <tr>
  1336. <td class="memname">void QCPAxisRect::mouseReleaseEvent </td>
  1337. <td>(</td>
  1338. <td class="paramtype">QMouseEvent *&#160;</td>
  1339. <td class="paramname"><em>event</em></td><td>)</td>
  1340. <td></td>
  1341. </tr>
  1342. </table>
  1343. </td>
  1344. <td class="mlabels-right">
  1345. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  1346. </tr>
  1347. </table>
  1348. </div><div class="memdoc">
  1349. <p>This event is called, if the mouse was previously pressed inside the outer rect of this layout element and is now released. </p>
  1350. <p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#ae526ac828cce1e5bb94eaa85776d7404">QCPLayoutElement</a>.</p>
  1351. </div>
  1352. </div>
  1353. <a class="anchor" id="a5acf41fc30aa68ea263246ecfad85c31"></a>
  1354. <div class="memitem">
  1355. <div class="memproto">
  1356. <table class="mlabels">
  1357. <tr>
  1358. <td class="mlabels-left">
  1359. <table class="memname">
  1360. <tr>
  1361. <td class="memname">void QCPAxisRect::wheelEvent </td>
  1362. <td>(</td>
  1363. <td class="paramtype">QWheelEvent *&#160;</td>
  1364. <td class="paramname"><em>event</em></td><td>)</td>
  1365. <td></td>
  1366. </tr>
  1367. </table>
  1368. </td>
  1369. <td class="mlabels-right">
  1370. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  1371. </tr>
  1372. </table>
  1373. </div><div class="memdoc">
  1374. <p>Event handler for mouse wheel events. If rangeZoom is Qt::Horizontal, Qt::Vertical or both, the ranges of the axes defined as rangeZoomHorzAxis and rangeZoomVertAxis are scaled. The center of the scaling operation is the current cursor position inside the axis rect. The scaling factor is dependant on the mouse wheel delta (which direction the wheel was rotated) to provide a natural zooming feel. The Strength of the zoom can be controlled via <a class="el" href="classQCPAxisRect.html#a895d7ac745ea614e04056244b3c138ac">setRangeZoomFactor</a>.</p>
  1375. <p>Note, that event-&gt;delta() is usually +/-120 for single rotation steps. However, if the mouse wheel is turned rapidly, many steps may bunch up to one event, so the event-&gt;delta() may then be multiples of 120. This is taken into account here, by calculating <em>wheelSteps</em> and using it as exponent of the range zoom factor. This takes care of the wheel direction automatically, by inverting the factor, when the wheel step is negative (f^-1 = 1/f). </p>
  1376. <p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a300521d2fd18a893c1b85f6be11ce2bf">QCPLayoutElement</a>.</p>
  1377. </div>
  1378. </div>
  1379. <a class="anchor" id="ab49d338d1ce74b476fcead5b32cf06dc"></a>
  1380. <div class="memitem">
  1381. <div class="memproto">
  1382. <table class="mlabels">
  1383. <tr>
  1384. <td class="mlabels-left">
  1385. <table class="memname">
  1386. <tr>
  1387. <td class="memname">void QCPAxisRect::drawBackground </td>
  1388. <td>(</td>
  1389. <td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> *&#160;</td>
  1390. <td class="paramname"><em>painter</em></td><td>)</td>
  1391. <td></td>
  1392. </tr>
  1393. </table>
  1394. </td>
  1395. <td class="mlabels-right">
  1396. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  1397. </tr>
  1398. </table>
  1399. </div><div class="memdoc">
  1400. <p>Draws the background of this axis rect. It may consist of a background fill (a QBrush) and a pixmap.</p>
  1401. <p>If a brush was given via <a class="el" href="classQCPAxisRect.html#a22a22b8668735438dc06f9a55fe46b33">setBackground(const QBrush &amp;brush)</a>, this function first draws an according filling inside the axis rect with the provided <em>painter</em>.</p>
  1402. <p>Then, if a pixmap was provided via <a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground</a>, this function buffers the scaled version depending on <a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a> and <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a> and then draws it inside the axis rect with the provided <em>painter</em>. The scaled version is buffered in mScaledBackgroundPixmap to prevent expensive rescaling at every redraw. It is only updated, when the axis rect has changed in a way that requires a rescale of the background pixmap (this is dependant on the <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a>), or when a differend axis backgroud pixmap was set.</p>
  1403. <dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground</a>, <a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a>, <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a> </dd></dl>
  1404. </div>
  1405. </div>
  1406. <a class="anchor" id="a6024ccdc74f5dc0e8a0fe482e5b28a20"></a>
  1407. <div class="memitem">
  1408. <div class="memproto">
  1409. <table class="mlabels">
  1410. <tr>
  1411. <td class="mlabels-left">
  1412. <table class="memname">
  1413. <tr>
  1414. <td class="memname">void QCPAxisRect::updateAxesOffset </td>
  1415. <td>(</td>
  1416. <td class="paramtype"><a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a>&#160;</td>
  1417. <td class="paramname"><em>type</em></td><td>)</td>
  1418. <td></td>
  1419. </tr>
  1420. </table>
  1421. </td>
  1422. <td class="mlabels-right">
  1423. <span class="mlabels"><span class="mlabel">protected</span></span> </td>
  1424. </tr>
  1425. </table>
  1426. </div><div class="memdoc">
  1427. <p>This function makes sure multiple axes on the side specified with <em>type</em> don't collide, but are distributed according to their respective space requirement (<a class="el" href="classQCPAxis.html#a47bdb0a55de6759489ee47665199aebb">QCPAxis::calculateMargin</a>).</p>
  1428. <p>It does this by setting an appropriate offset (<a class="el" href="classQCPAxis.html#a04a652603cbe50eba9969ee6d68873c3">QCPAxis::setOffset</a>) on all axes except the one with index zero.</p>
  1429. <p>This function is called by <a class="el" href="classQCPAxisRect.html#ae79f18302e6507586aa8c032a5f9ed1c">calculateAutoMargin</a>. </p>
  1430. </div>
  1431. </div>
  1432. <hr/>The documentation for this class was generated from the following files:<ul>
  1433. <li>src/layoutelements/layoutelement-axisrect.h</li>
  1434. <li>src/layoutelements/layoutelement-axisrect.cpp</li>
  1435. </ul>
  1436. </div><!-- contents -->
  1437. </body>
  1438. </html>