説明なし

class_q_custom_plot.html 210KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>My Project: QCustomPlot Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td style="padding-left: 0.5em;">
  26. <div id="projectname">My Project
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.9.1 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  42. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  43. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  44. <li><a href="files.html"><span>Files</span></a></li>
  45. <li>
  46. <div id="MSearchBox" class="MSearchBoxInactive">
  47. <span class="left">
  48. <img id="MSearchSelect" src="search/mag_sel.png"
  49. onmouseover="return searchBox.OnSearchSelectShow()"
  50. onmouseout="return searchBox.OnSearchSelectHide()"
  51. alt=""/>
  52. <input type="text" id="MSearchField" value="Search" accesskey="S"
  53. onfocus="searchBox.OnSearchFieldFocus(true)"
  54. onblur="searchBox.OnSearchFieldFocus(false)"
  55. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  56. </span><span class="right">
  57. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  58. </span>
  59. </div>
  60. </li>
  61. </ul>
  62. </div>
  63. <div id="navrow2" class="tabs2">
  64. <ul class="tablist">
  65. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  66. <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
  67. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  68. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  69. </ul>
  70. </div>
  71. <!-- window showing the filter options -->
  72. <div id="MSearchSelectWindow"
  73. onmouseover="return searchBox.OnSearchSelectShow()"
  74. onmouseout="return searchBox.OnSearchSelectHide()"
  75. onkeydown="return searchBox.OnSearchSelectKey(event)">
  76. </div>
  77. <!-- iframe showing the search results (closed by default) -->
  78. <div id="MSearchResultsWindow">
  79. <iframe src="javascript:void(0)" frameborder="0"
  80. name="MSearchResults" id="MSearchResults">
  81. </iframe>
  82. </div>
  83. </div><!-- top -->
  84. <div class="header">
  85. <div class="summary">
  86. <a href="#pub-types">Public Types</a> &#124;
  87. <a href="#signals">Signals</a> &#124;
  88. <a href="#pub-methods">Public Member Functions</a> &#124;
  89. <a href="#pub-attribs">Public Attributes</a> &#124;
  90. <a href="#pro-methods">Protected Member Functions</a> &#124;
  91. <a href="#pro-attribs">Protected Attributes</a> &#124;
  92. <a href="#friends">Friends</a> &#124;
  93. <a href="class_q_custom_plot-members.html">List of all members</a> </div>
  94. <div class="headertitle">
  95. <div class="title">QCustomPlot Class Reference</div> </div>
  96. </div><!--header-->
  97. <div class="contents">
  98. <p>The central class of the library. This is the QWidget which displays the plot and interacts with the user.
  99. <a href="class_q_custom_plot.html#details">More...</a></p>
  100. <div class="dynheader">
  101. Inheritance diagram for QCustomPlot:</div>
  102. <div class="dyncontent">
  103. <div class="center">
  104. <img src="class_q_custom_plot.png" usemap="#QCustomPlot_map" alt=""/>
  105. <map id="QCustomPlot_map" name="QCustomPlot_map">
  106. </map>
  107. </div></div>
  108. <table class="memberdecls">
  109. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  110. Public Types</h2></td></tr>
  111. <tr class="memitem:a75a8afbe6ef333b1f3d47abb25b9add7"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">LayerInsertMode</a> { <a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7aee39cf650cd24e68552da0b697ce4a93">limBelow</a>,
  112. <a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a>
  113. }</td></tr>
  114. <tr class="separator:a75a8afbe6ef333b1f3d47abb25b9add7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. </table><table class="memberdecls">
  116. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
  117. Signals</h2></td></tr>
  118. <tr class="memitem:a9b232142c64fcf273a953ee08e5b90e9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a9b232142c64fcf273a953ee08e5b90e9">mouseDoubleClick</a> (QMouseEvent *event)</td></tr>
  119. <tr class="separator:a9b232142c64fcf273a953ee08e5b90e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:aca75bf9afb5dd19349c375de2a87a051"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#aca75bf9afb5dd19349c375de2a87a051">mousePress</a> (QMouseEvent *event)</td></tr>
  121. <tr class="separator:aca75bf9afb5dd19349c375de2a87a051"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a742ca4f94688bed2a685fd8a56ce5704"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a742ca4f94688bed2a685fd8a56ce5704">mouseMove</a> (QMouseEvent *event)</td></tr>
  123. <tr class="separator:a742ca4f94688bed2a685fd8a56ce5704"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:ac8dc0ee6bb98e923c00b4ebafbe6134d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ac8dc0ee6bb98e923c00b4ebafbe6134d">mouseRelease</a> (QMouseEvent *event)</td></tr>
  125. <tr class="separator:ac8dc0ee6bb98e923c00b4ebafbe6134d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:ac80a14206f99304a91d2aa55775ec3ff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ac80a14206f99304a91d2aa55775ec3ff">mouseWheel</a> (QWheelEvent *event)</td></tr>
  127. <tr class="separator:ac80a14206f99304a91d2aa55775ec3ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:a57e5efa8a854620e9bf62d31fc139f53"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a57e5efa8a854620e9bf62d31fc139f53">plottableClick</a> (<a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *<a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>, QMouseEvent *event)</td></tr>
  129. <tr class="separator:a57e5efa8a854620e9bf62d31fc139f53"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:af2e6f1cea923dae437681d01ce7d0c31"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#af2e6f1cea923dae437681d01ce7d0c31">plottableDoubleClick</a> (<a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *<a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>, QMouseEvent *event)</td></tr>
  131. <tr class="separator:af2e6f1cea923dae437681d01ce7d0c31"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:ae16b51f52d2b7aebbc7e3e74e6ff2e4b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ae16b51f52d2b7aebbc7e3e74e6ff2e4b">itemClick</a> (<a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *<a class="el" href="class_q_custom_plot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>, QMouseEvent *event)</td></tr>
  133. <tr class="separator:ae16b51f52d2b7aebbc7e3e74e6ff2e4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:ac83aa9f5a3e9bb3efc9cdc763dcd42a6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ac83aa9f5a3e9bb3efc9cdc763dcd42a6">itemDoubleClick</a> (<a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *<a class="el" href="class_q_custom_plot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>, QMouseEvent *event)</td></tr>
  135. <tr class="separator:ac83aa9f5a3e9bb3efc9cdc763dcd42a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:abf635f8b56ab5c16d5de9f358543e82b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#abf635f8b56ab5c16d5de9f358543e82b">axisClick</a> (<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *axis, <a class="el" href="class_q_c_p_axis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a> part, QMouseEvent *event)</td></tr>
  137. <tr class="separator:abf635f8b56ab5c16d5de9f358543e82b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:a6df35357460181a72da3e93d600f5256"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6df35357460181a72da3e93d600f5256">axisDoubleClick</a> (<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *axis, <a class="el" href="class_q_c_p_axis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a> part, QMouseEvent *event)</td></tr>
  139. <tr class="separator:a6df35357460181a72da3e93d600f5256"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:a79cff0baafbca10a3aaf694d2d3b9ab3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a79cff0baafbca10a3aaf694d2d3b9ab3">legendClick</a> (<a class="el" href="class_q_c_p_legend.html">QCPLegend</a> *legend, <a class="el" href="class_q_c_p_abstract_legend_item.html">QCPAbstractLegendItem</a> *<a class="el" href="class_q_custom_plot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>, QMouseEvent *event)</td></tr>
  141. <tr class="separator:a79cff0baafbca10a3aaf694d2d3b9ab3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:a0250f835c044521df1619b132288bca7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a0250f835c044521df1619b132288bca7">legendDoubleClick</a> (<a class="el" href="class_q_c_p_legend.html">QCPLegend</a> *legend, <a class="el" href="class_q_c_p_abstract_legend_item.html">QCPAbstractLegendItem</a> *<a class="el" href="class_q_custom_plot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>, QMouseEvent *event)</td></tr>
  143. <tr class="separator:a0250f835c044521df1619b132288bca7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:a2137a819e518fee7edd1c0bf5984d8d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a2137a819e518fee7edd1c0bf5984d8d6">titleClick</a> (QMouseEvent *event, <a class="el" href="class_q_c_p_plot_title.html">QCPPlotTitle</a> *title)</td></tr>
  145. <tr class="separator:a2137a819e518fee7edd1c0bf5984d8d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:ad51d65f6abf5edfaeef6e0519a4c1a2f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ad51d65f6abf5edfaeef6e0519a4c1a2f">titleDoubleClick</a> (QMouseEvent *event, <a class="el" href="class_q_c_p_plot_title.html">QCPPlotTitle</a> *title)</td></tr>
  147. <tr class="separator:ad51d65f6abf5edfaeef6e0519a4c1a2f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a500c64a109bc773c973ad274f2fa4190"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a500c64a109bc773c973ad274f2fa4190">selectionChangedByUser</a> ()</td></tr>
  149. <tr class="separator:a500c64a109bc773c973ad274f2fa4190"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:a0cd30e29b73efd6afe096e44bc5956f5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a0cd30e29b73efd6afe096e44bc5956f5">beforeReplot</a> ()</td></tr>
  151. <tr class="separator:a0cd30e29b73efd6afe096e44bc5956f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:a6f4fa624af060bc5919c5f266cf426a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6f4fa624af060bc5919c5f266cf426a0">afterReplot</a> ()</td></tr>
  153. <tr class="separator:a6f4fa624af060bc5919c5f266cf426a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. </table><table class="memberdecls">
  155. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  156. Public Member Functions</h2></td></tr>
  157. <tr class="memitem:a45b99626558651a6428b83972b0b34b8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a45b99626558651a6428b83972b0b34b8">QCustomPlot</a> (QWidget *parent=0)</td></tr>
  158. <tr class="separator:a45b99626558651a6428b83972b0b34b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:a953ecdbc28018e7e84cb6213ad3d88c2"><td class="memItemLeft" align="right" valign="top">QRect&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a953ecdbc28018e7e84cb6213ad3d88c2">viewport</a> () const </td></tr>
  160. <tr class="separator:a953ecdbc28018e7e84cb6213ad3d88c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr class="memitem:a4643ddc8249cc4f51725650677c2b779"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4643ddc8249cc4f51725650677c2b779"></a>
  162. QPixmap&#160;</td><td class="memItemRight" valign="bottom"><b>background</b> () const </td></tr>
  163. <tr class="separator:a4643ddc8249cc4f51725650677c2b779"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:af9a6e0fe88e4b8ae5504ee9646abb121"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9a6e0fe88e4b8ae5504ee9646abb121"></a>
  165. bool&#160;</td><td class="memItemRight" valign="bottom"><b>backgroundScaled</b> () const </td></tr>
  166. <tr class="separator:af9a6e0fe88e4b8ae5504ee9646abb121"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. <tr class="memitem:a3394512baf54fbcdc7613ac44a07c3b6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3394512baf54fbcdc7613ac44a07c3b6"></a>
  168. Qt::AspectRatioMode&#160;</td><td class="memItemRight" valign="bottom"><b>backgroundScaledMode</b> () const </td></tr>
  169. <tr class="separator:a3394512baf54fbcdc7613ac44a07c3b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. <tr class="memitem:afd280d4d621ae64a106543a545c508d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layout_grid.html">QCPLayoutGrid</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#afd280d4d621ae64a106543a545c508d7">plotLayout</a> () const </td></tr>
  171. <tr class="separator:afd280d4d621ae64a106543a545c508d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  172. <tr class="memitem:a81e954fbb485bb44c609e5707f0067b3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81e954fbb485bb44c609e5707f0067b3"></a>
  173. QCP::AntialiasedElements&#160;</td><td class="memItemRight" valign="bottom"><b>antialiasedElements</b> () const </td></tr>
  174. <tr class="separator:a81e954fbb485bb44c609e5707f0067b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  175. <tr class="memitem:a8060cee59757213764382a78d3196189"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8060cee59757213764382a78d3196189"></a>
  176. QCP::AntialiasedElements&#160;</td><td class="memItemRight" valign="bottom"><b>notAntialiasedElements</b> () const </td></tr>
  177. <tr class="separator:a8060cee59757213764382a78d3196189"><td class="memSeparator" colspan="2">&#160;</td></tr>
  178. <tr class="memitem:ad1599fc3fd1833b5988f6b89c1f616ca"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1599fc3fd1833b5988f6b89c1f616ca"></a>
  179. bool&#160;</td><td class="memItemRight" valign="bottom"><b>autoAddPlottableToLegend</b> () const </td></tr>
  180. <tr class="separator:ad1599fc3fd1833b5988f6b89c1f616ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
  181. <tr class="memitem:a12401c02b6949a717f5749bb28c62983"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a12401c02b6949a717f5749bb28c62983"></a>
  182. const QCP::Interactions&#160;</td><td class="memItemRight" valign="bottom"><b>interactions</b> () const </td></tr>
  183. <tr class="separator:a12401c02b6949a717f5749bb28c62983"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. <tr class="memitem:a7b738074c75e80070ef6a10263c6cd69"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b738074c75e80070ef6a10263c6cd69"></a>
  185. int&#160;</td><td class="memItemRight" valign="bottom"><b>selectionTolerance</b> () const </td></tr>
  186. <tr class="separator:a7b738074c75e80070ef6a10263c6cd69"><td class="memSeparator" colspan="2">&#160;</td></tr>
  187. <tr class="memitem:ae07f2895a34d13a97a10cae4d8e17a36"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae07f2895a34d13a97a10cae4d8e17a36"></a>
  188. bool&#160;</td><td class="memItemRight" valign="bottom"><b>noAntialiasingOnDrag</b> () const </td></tr>
  189. <tr class="separator:ae07f2895a34d13a97a10cae4d8e17a36"><td class="memSeparator" colspan="2">&#160;</td></tr>
  190. <tr class="memitem:a130b55e205697a5288081e9fc11e443e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a130b55e205697a5288081e9fc11e443e"></a>
  191. QCP::PlottingHints&#160;</td><td class="memItemRight" valign="bottom"><b>plottingHints</b> () const </td></tr>
  192. <tr class="separator:a130b55e205697a5288081e9fc11e443e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  193. <tr class="memitem:a9b6b1a0fea8da3fda6d5e3d687202877"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b6b1a0fea8da3fda6d5e3d687202877"></a>
  194. Qt::KeyboardModifier&#160;</td><td class="memItemRight" valign="bottom"><b>multiSelectModifier</b> () const </td></tr>
  195. <tr class="separator:a9b6b1a0fea8da3fda6d5e3d687202877"><td class="memSeparator" colspan="2">&#160;</td></tr>
  196. <tr class="memitem:a3f9bc4b939dd8aaba9339fd09f273fc4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a3f9bc4b939dd8aaba9339fd09f273fc4">setViewport</a> (const QRect &amp;rect)</td></tr>
  197. <tr class="separator:a3f9bc4b939dd8aaba9339fd09f273fc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  198. <tr class="memitem:a130358592cfca353ff3cf5571b49fb00"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a> (const QPixmap &amp;pm)</td></tr>
  199. <tr class="separator:a130358592cfca353ff3cf5571b49fb00"><td class="memSeparator" colspan="2">&#160;</td></tr>
  200. <tr class="memitem:a8513971d6aa24d8b0d6a68d45b542130"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a8513971d6aa24d8b0d6a68d45b542130">setBackground</a> (const QPixmap &amp;pm, bool scaled, Qt::AspectRatioMode mode=Qt::KeepAspectRatioByExpanding)</td></tr>
  201. <tr class="separator:a8513971d6aa24d8b0d6a68d45b542130"><td class="memSeparator" colspan="2">&#160;</td></tr>
  202. <tr class="memitem:a8ed256cf467bfa7ba1f9feaae62c3bd0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a8ed256cf467bfa7ba1f9feaae62c3bd0">setBackground</a> (const QBrush &amp;brush)</td></tr>
  203. <tr class="separator:a8ed256cf467bfa7ba1f9feaae62c3bd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  204. <tr class="memitem:a36f0fa1317325dc7b7efea615ee2de1f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a> (bool scaled)</td></tr>
  205. <tr class="separator:a36f0fa1317325dc7b7efea615ee2de1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  206. <tr class="memitem:a4c0eb4865b7949f62e1cb97db04a3de0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> (Qt::AspectRatioMode mode)</td></tr>
  207. <tr class="separator:a4c0eb4865b7949f62e1cb97db04a3de0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  208. <tr class="memitem:af6f91e5eab1be85f67c556e98c3745e8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> (const QCP::AntialiasedElements &amp;antialiasedElements)</td></tr>
  209. <tr class="separator:af6f91e5eab1be85f67c556e98c3745e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  210. <tr class="memitem:aeef813bcf7efab8e765f9f87ec454691"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#aeef813bcf7efab8e765f9f87ec454691">setAntialiasedElement</a> (<a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> antialiasedElement, bool enabled=true)</td></tr>
  211. <tr class="separator:aeef813bcf7efab8e765f9f87ec454691"><td class="memSeparator" colspan="2">&#160;</td></tr>
  212. <tr class="memitem:ae10d685b5eabea2999fb8775ca173c24"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> (const QCP::AntialiasedElements &amp;notAntialiasedElements)</td></tr>
  213. <tr class="separator:ae10d685b5eabea2999fb8775ca173c24"><td class="memSeparator" colspan="2">&#160;</td></tr>
  214. <tr class="memitem:afc657938a707c890e449ae89203a076d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#afc657938a707c890e449ae89203a076d">setNotAntialiasedElement</a> (<a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> notAntialiasedElement, bool enabled=true)</td></tr>
  215. <tr class="separator:afc657938a707c890e449ae89203a076d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  216. <tr class="memitem:ad8858410c2db47b7104040a3aa61c3fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ad8858410c2db47b7104040a3aa61c3fc">setAutoAddPlottableToLegend</a> (bool on)</td></tr>
  217. <tr class="separator:ad8858410c2db47b7104040a3aa61c3fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  218. <tr class="memitem:a5ee1e2f6ae27419deca53e75907c27e5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> (const QCP::Interactions &amp;interactions)</td></tr>
  219. <tr class="separator:a5ee1e2f6ae27419deca53e75907c27e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  220. <tr class="memitem:a422bf1bc6d56dac75a3d805d9a65902c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a422bf1bc6d56dac75a3d805d9a65902c">setInteraction</a> (const <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> &amp;interaction, bool enabled=true)</td></tr>
  221. <tr class="separator:a422bf1bc6d56dac75a3d805d9a65902c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  222. <tr class="memitem:a4dc31241d7b09680950e19e5f971ed93"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a> (int pixels)</td></tr>
  223. <tr class="separator:a4dc31241d7b09680950e19e5f971ed93"><td class="memSeparator" colspan="2">&#160;</td></tr>
  224. <tr class="memitem:a775bdcb6329d44701aeaa6135b0e5265"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a775bdcb6329d44701aeaa6135b0e5265">setNoAntialiasingOnDrag</a> (bool enabled)</td></tr>
  225. <tr class="separator:a775bdcb6329d44701aeaa6135b0e5265"><td class="memSeparator" colspan="2">&#160;</td></tr>
  226. <tr class="memitem:a94a33cbdadbbac5934843508bcfc210d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a94a33cbdadbbac5934843508bcfc210d">setPlottingHints</a> (const QCP::PlottingHints &amp;hints)</td></tr>
  227. <tr class="separator:a94a33cbdadbbac5934843508bcfc210d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  228. <tr class="memitem:a3b7c97bb6c16464e9e15190c07abe9a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a3b7c97bb6c16464e9e15190c07abe9a9">setPlottingHint</a> (<a class="el" href="namespace_q_c_p.html#a5400e5fcb9528d92002ddb938c1f4ef4">QCP::PlottingHint</a> hint, bool enabled=true)</td></tr>
  229. <tr class="separator:a3b7c97bb6c16464e9e15190c07abe9a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  230. <tr class="memitem:a8fc96e3b5138a06759a2a90c166df516"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a8fc96e3b5138a06759a2a90c166df516">setMultiSelectModifier</a> (Qt::KeyboardModifier modifier)</td></tr>
  231. <tr class="separator:a8fc96e3b5138a06759a2a90c166df516"><td class="memSeparator" colspan="2">&#160;</td></tr>
  232. <tr class="memitem:a32de81ff53e263e785b83b52ecd99d6f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a> (int index)</td></tr>
  233. <tr class="separator:a32de81ff53e263e785b83b52ecd99d6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  234. <tr class="memitem:adea38bdc660da9412ba69fb939031567"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#adea38bdc660da9412ba69fb939031567">plottable</a> ()</td></tr>
  235. <tr class="separator:adea38bdc660da9412ba69fb939031567"><td class="memSeparator" colspan="2">&#160;</td></tr>
  236. <tr class="memitem:ab7ad9174f701f9c6f64e378df77927a6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> (<a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *<a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>)</td></tr>
  237. <tr class="separator:ab7ad9174f701f9c6f64e378df77927a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  238. <tr class="memitem:af3dafd56884208474f311d6226513ab2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#af3dafd56884208474f311d6226513ab2">removePlottable</a> (<a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *<a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>)</td></tr>
  239. <tr class="separator:af3dafd56884208474f311d6226513ab2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  240. <tr class="memitem:afc210e0021480f8119bccf37839dbcc8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#afc210e0021480f8119bccf37839dbcc8">removePlottable</a> (int index)</td></tr>
  241. <tr class="separator:afc210e0021480f8119bccf37839dbcc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  242. <tr class="memitem:a9a409bb3201878adb7ffba1c89c4e004"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a9a409bb3201878adb7ffba1c89c4e004">clearPlottables</a> ()</td></tr>
  243. <tr class="separator:a9a409bb3201878adb7ffba1c89c4e004"><td class="memSeparator" colspan="2">&#160;</td></tr>
  244. <tr class="memitem:a2dbfbf15dc38713f9a1c445a3dd2e989"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a2dbfbf15dc38713f9a1c445a3dd2e989">plottableCount</a> () const </td></tr>
  245. <tr class="separator:a2dbfbf15dc38713f9a1c445a3dd2e989"><td class="memSeparator" colspan="2">&#160;</td></tr>
  246. <tr class="memitem:a6721b8c689bb7f2f400987e580508fe8"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a> () const </td></tr>
  247. <tr class="separator:a6721b8c689bb7f2f400987e580508fe8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  248. <tr class="memitem:ac1d1bc6ae4e13616fb02cef6d9e2188e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ac1d1bc6ae4e13616fb02cef6d9e2188e">plottableAt</a> (const QPointF &amp;pos, bool onlySelectable=false) const </td></tr>
  249. <tr class="separator:ac1d1bc6ae4e13616fb02cef6d9e2188e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  250. <tr class="memitem:a4fc28914e2ee91aab424b7ce46b6bdf1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a4fc28914e2ee91aab424b7ce46b6bdf1">hasPlottable</a> (<a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *<a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>) const </td></tr>
  251. <tr class="separator:a4fc28914e2ee91aab424b7ce46b6bdf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  252. <tr class="memitem:a6d3ed93c2bf46ab7fa670d66be4cddaf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6d3ed93c2bf46ab7fa670d66be4cddaf">graph</a> (int index) const </td></tr>
  253. <tr class="separator:a6d3ed93c2bf46ab7fa670d66be4cddaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  254. <tr class="memitem:a80c40ced2a74eefe9e92de1e82ba2274"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a80c40ced2a74eefe9e92de1e82ba2274">graph</a> () const </td></tr>
  255. <tr class="separator:a80c40ced2a74eefe9e92de1e82ba2274"><td class="memSeparator" colspan="2">&#160;</td></tr>
  256. <tr class="memitem:a6fb2873d35a8a8089842d81a70a54167"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a> (<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *keyAxis=0, <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *valueAxis=0)</td></tr>
  257. <tr class="separator:a6fb2873d35a8a8089842d81a70a54167"><td class="memSeparator" colspan="2">&#160;</td></tr>
  258. <tr class="memitem:a903561be895fb6528a770d66ac5e6713"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a903561be895fb6528a770d66ac5e6713">removeGraph</a> (<a class="el" href="class_q_c_p_graph.html">QCPGraph</a> *<a class="el" href="class_q_custom_plot.html#a6d3ed93c2bf46ab7fa670d66be4cddaf">graph</a>)</td></tr>
  259. <tr class="separator:a903561be895fb6528a770d66ac5e6713"><td class="memSeparator" colspan="2">&#160;</td></tr>
  260. <tr class="memitem:a9554b3d2d5b10c0f884bd4010b6c192c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a9554b3d2d5b10c0f884bd4010b6c192c">removeGraph</a> (int index)</td></tr>
  261. <tr class="separator:a9554b3d2d5b10c0f884bd4010b6c192c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  262. <tr class="memitem:ab0f3abff2d2f7df3668b5836f39207fa"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ab0f3abff2d2f7df3668b5836f39207fa">clearGraphs</a> ()</td></tr>
  263. <tr class="separator:ab0f3abff2d2f7df3668b5836f39207fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  264. <tr class="memitem:a7d9b4d19114b2fde60f0233eeb0aa682"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a7d9b4d19114b2fde60f0233eeb0aa682">graphCount</a> () const </td></tr>
  265. <tr class="separator:a7d9b4d19114b2fde60f0233eeb0aa682"><td class="memSeparator" colspan="2">&#160;</td></tr>
  266. <tr class="memitem:ad2a0493bdd01e7aa99a4209ae3a5b67b"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ad2a0493bdd01e7aa99a4209ae3a5b67b">selectedGraphs</a> () const </td></tr>
  267. <tr class="separator:ad2a0493bdd01e7aa99a4209ae3a5b67b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  268. <tr class="memitem:a3e842b5a65b1d17fbb96cfb1fa1314d1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a> (int index) const </td></tr>
  269. <tr class="separator:a3e842b5a65b1d17fbb96cfb1fa1314d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  270. <tr class="memitem:a700399eae539798c5baf64a37c7f2135"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a700399eae539798c5baf64a37c7f2135">item</a> () const </td></tr>
  271. <tr class="separator:a700399eae539798c5baf64a37c7f2135"><td class="memSeparator" colspan="2">&#160;</td></tr>
  272. <tr class="memitem:aa500620379262321685cb7a7674cbd2a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> (<a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *<a class="el" href="class_q_custom_plot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>)</td></tr>
  273. <tr class="separator:aa500620379262321685cb7a7674cbd2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  274. <tr class="memitem:ae04446557292551e8fb6e2c106e1848d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ae04446557292551e8fb6e2c106e1848d">removeItem</a> (<a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *<a class="el" href="class_q_custom_plot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>)</td></tr>
  275. <tr class="separator:ae04446557292551e8fb6e2c106e1848d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  276. <tr class="memitem:abcfdda3d601c0441cab136137d715dea"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#abcfdda3d601c0441cab136137d715dea">removeItem</a> (int index)</td></tr>
  277. <tr class="separator:abcfdda3d601c0441cab136137d715dea"><td class="memSeparator" colspan="2">&#160;</td></tr>
  278. <tr class="memitem:abdfd07d4f0591d0cf967f85013fd3645"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#abdfd07d4f0591d0cf967f85013fd3645">clearItems</a> ()</td></tr>
  279. <tr class="separator:abdfd07d4f0591d0cf967f85013fd3645"><td class="memSeparator" colspan="2">&#160;</td></tr>
  280. <tr class="memitem:a6fc860e30df17fd5c46056bf6fe29390"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6fc860e30df17fd5c46056bf6fe29390">itemCount</a> () const </td></tr>
  281. <tr class="separator:a6fc860e30df17fd5c46056bf6fe29390"><td class="memSeparator" colspan="2">&#160;</td></tr>
  282. <tr class="memitem:a1a48b13547e2d9ac5cd6927516f47a2e"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a1a48b13547e2d9ac5cd6927516f47a2e">selectedItems</a> () const </td></tr>
  283. <tr class="separator:a1a48b13547e2d9ac5cd6927516f47a2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  284. <tr class="memitem:a793e4b04e0ede11a733021907368fa83"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a793e4b04e0ede11a733021907368fa83">itemAt</a> (const QPointF &amp;pos, bool onlySelectable=false) const </td></tr>
  285. <tr class="separator:a793e4b04e0ede11a733021907368fa83"><td class="memSeparator" colspan="2">&#160;</td></tr>
  286. <tr class="memitem:ab4199c38b03e63a2623c82453fe8add5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ab4199c38b03e63a2623c82453fe8add5">hasItem</a> (<a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *<a class="el" href="class_q_custom_plot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>) const </td></tr>
  287. <tr class="separator:ab4199c38b03e63a2623c82453fe8add5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  288. <tr class="memitem:aac492da01782820454e9136a8db28182"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#aac492da01782820454e9136a8db28182">layer</a> (const QString &amp;name) const </td></tr>
  289. <tr class="separator:aac492da01782820454e9136a8db28182"><td class="memSeparator" colspan="2">&#160;</td></tr>
  290. <tr class="memitem:a1e73051e371f1815b48d8b355be0d2ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a1e73051e371f1815b48d8b355be0d2ab">layer</a> (int index) const </td></tr>
  291. <tr class="separator:a1e73051e371f1815b48d8b355be0d2ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  292. <tr class="memitem:af73057345656cbd1463454982d808b00"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#af73057345656cbd1463454982d808b00">currentLayer</a> () const </td></tr>
  293. <tr class="separator:af73057345656cbd1463454982d808b00"><td class="memSeparator" colspan="2">&#160;</td></tr>
  294. <tr class="memitem:a73a6dc47c653bb6f8f030abca5a11852"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a73a6dc47c653bb6f8f030abca5a11852">setCurrentLayer</a> (const QString &amp;name)</td></tr>
  295. <tr class="separator:a73a6dc47c653bb6f8f030abca5a11852"><td class="memSeparator" colspan="2">&#160;</td></tr>
  296. <tr class="memitem:a23a4d3cadad1a0063c5fe19aac5659e6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a23a4d3cadad1a0063c5fe19aac5659e6">setCurrentLayer</a> (<a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *<a class="el" href="class_q_custom_plot.html#aac492da01782820454e9136a8db28182">layer</a>)</td></tr>
  297. <tr class="separator:a23a4d3cadad1a0063c5fe19aac5659e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  298. <tr class="memitem:a1b3926884f5bd4bdda1495d8b3c891d0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a1b3926884f5bd4bdda1495d8b3c891d0">layerCount</a> () const </td></tr>
  299. <tr class="separator:a1b3926884f5bd4bdda1495d8b3c891d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  300. <tr class="memitem:ad5255393df078448bb6ac83fa5db5f52"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a> (const QString &amp;name, <a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *otherLayer=0, <a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">LayerInsertMode</a> insertMode=<a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a>)</td></tr>
  301. <tr class="separator:ad5255393df078448bb6ac83fa5db5f52"><td class="memSeparator" colspan="2">&#160;</td></tr>
  302. <tr class="memitem:a40f75e342c5eaab6a86066a42a0e2a94"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> (<a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *<a class="el" href="class_q_custom_plot.html#aac492da01782820454e9136a8db28182">layer</a>)</td></tr>
  303. <tr class="separator:a40f75e342c5eaab6a86066a42a0e2a94"><td class="memSeparator" colspan="2">&#160;</td></tr>
  304. <tr class="memitem:ae896140beff19424e9e9e02d6e331104"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a> (<a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *<a class="el" href="class_q_custom_plot.html#aac492da01782820454e9136a8db28182">layer</a>, <a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *otherLayer, <a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">LayerInsertMode</a> insertMode=<a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a>)</td></tr>
  305. <tr class="separator:ae896140beff19424e9e9e02d6e331104"><td class="memSeparator" colspan="2">&#160;</td></tr>
  306. <tr class="memitem:a340fa24b1607e445cedda9685670ead3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a340fa24b1607e445cedda9685670ead3">axisRectCount</a> () const </td></tr>
  307. <tr class="separator:a340fa24b1607e445cedda9685670ead3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  308. <tr class="memitem:a4a37a1add5fe63060ac518cf0a4c4050"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_axis_rect.html">QCPAxisRect</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a4a37a1add5fe63060ac518cf0a4c4050">axisRect</a> (int index=0) const </td></tr>
  309. <tr class="separator:a4a37a1add5fe63060ac518cf0a4c4050"><td class="memSeparator" colspan="2">&#160;</td></tr>
  310. <tr class="memitem:afd67094aaeccbc5719761348b2d8c891"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_q_c_p_axis_rect.html">QCPAxisRect</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#afd67094aaeccbc5719761348b2d8c891">axisRects</a> () const </td></tr>
  311. <tr class="separator:afd67094aaeccbc5719761348b2d8c891"><td class="memSeparator" colspan="2">&#160;</td></tr>
  312. <tr class="memitem:a840458186d4483c8a42d6a399448d38f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layout_element.html">QCPLayoutElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a840458186d4483c8a42d6a399448d38f">layoutElementAt</a> (const QPointF &amp;pos) const </td></tr>
  313. <tr class="separator:a840458186d4483c8a42d6a399448d38f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  314. <tr class="memitem:ad86528f2cee6c7e446dea4a6e8839935"><td class="memItemLeft" align="right" valign="top">Q_SLOT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ad86528f2cee6c7e446dea4a6e8839935">rescaleAxes</a> (bool onlyVisiblePlottables=false)</td></tr>
  315. <tr class="separator:ad86528f2cee6c7e446dea4a6e8839935"><td class="memSeparator" colspan="2">&#160;</td></tr>
  316. <tr class="memitem:aa6baf867e8beb96ed5bd471f83ece903"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#aa6baf867e8beb96ed5bd471f83ece903">selectedAxes</a> () const </td></tr>
  317. <tr class="separator:aa6baf867e8beb96ed5bd471f83ece903"><td class="memSeparator" colspan="2">&#160;</td></tr>
  318. <tr class="memitem:a1ea6297300c3e2770e65f95836411755"><td class="memItemLeft" align="right" valign="top">QList&lt; <a class="el" href="class_q_c_p_legend.html">QCPLegend</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a1ea6297300c3e2770e65f95836411755">selectedLegends</a> () const </td></tr>
  319. <tr class="separator:a1ea6297300c3e2770e65f95836411755"><td class="memSeparator" colspan="2">&#160;</td></tr>
  320. <tr class="memitem:a9d4808ab925b003054085246c92a257c"><td class="memItemLeft" align="right" valign="top">Q_SLOT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> ()</td></tr>
  321. <tr class="separator:a9d4808ab925b003054085246c92a257c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  322. <tr class="memitem:a84e33ad7492180f20ff520e557ed102d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a84e33ad7492180f20ff520e557ed102d">savePdf</a> (const QString &amp;fileName, bool noCosmeticPen=false, int width=0, int height=0)</td></tr>
  323. <tr class="separator:a84e33ad7492180f20ff520e557ed102d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  324. <tr class="memitem:a7636261aff1f6d25c9da749ece3fc8b8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a> (const QString &amp;fileName, int width=0, int height=0, double scale=1.0, int quality=-1)</td></tr>
  325. <tr class="separator:a7636261aff1f6d25c9da749ece3fc8b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  326. <tr class="memitem:a490c722092d1771e8ce4a7a73dfd84ab"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a> (const QString &amp;fileName, int width=0, int height=0, double scale=1.0, int quality=-1)</td></tr>
  327. <tr class="separator:a490c722092d1771e8ce4a7a73dfd84ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  328. <tr class="memitem:a6629d9e8e6da4bf18055ee0257fdce9a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a> (const QString &amp;fileName, int width=0, int height=0, double scale=1.0)</td></tr>
  329. <tr class="separator:a6629d9e8e6da4bf18055ee0257fdce9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  330. <tr class="memitem:ab528b84cf92baabe29b1d0ef2f77c93e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> (const QString &amp;fileName, int width, int height, double scale, const char *format, int quality=-1)</td></tr>
  331. <tr class="separator:ab528b84cf92baabe29b1d0ef2f77c93e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  332. <tr class="memitem:aabb974d71ce96c137dc04eb6eab844fe"><td class="memItemLeft" align="right" valign="top">QPixmap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#aabb974d71ce96c137dc04eb6eab844fe">toPixmap</a> (int width=0, int height=0, double scale=1.0)</td></tr>
  333. <tr class="separator:aabb974d71ce96c137dc04eb6eab844fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  334. <tr class="memitem:a1be68d5c0f1e086d6374d1340a193fb9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a1be68d5c0f1e086d6374d1340a193fb9">toPainter</a> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter, int width=0, int height=0)</td></tr>
  335. <tr class="separator:a1be68d5c0f1e086d6374d1340a193fb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  336. <tr class="memitem:a563540b54b2a09c8ef092d42e9621f42"><td class="memItemLeft" align="right" valign="top">Q_SLOT void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a563540b54b2a09c8ef092d42e9621f42">replot</a> ()</td></tr>
  337. <tr class="separator:a563540b54b2a09c8ef092d42e9621f42"><td class="memSeparator" colspan="2">&#160;</td></tr>
  338. </table><table class="memberdecls">
  339. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  340. Public Attributes</h2></td></tr>
  341. <tr class="memitem:a968b5ac86c181a49bba78c2b62a80cb3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a968b5ac86c181a49bba78c2b62a80cb3"></a>
  342. <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>xAxis</b></td></tr>
  343. <tr class="separator:a968b5ac86c181a49bba78c2b62a80cb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  344. <tr class="memitem:af6fea5679725b152c14facd920b19367"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6fea5679725b152c14facd920b19367"></a>
  345. <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>yAxis</b></td></tr>
  346. <tr class="separator:af6fea5679725b152c14facd920b19367"><td class="memSeparator" colspan="2">&#160;</td></tr>
  347. <tr class="memitem:ada41599f22cad901c030f3dcbdd82fd9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ada41599f22cad901c030f3dcbdd82fd9"></a>
  348. <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>xAxis2</b></td></tr>
  349. <tr class="separator:ada41599f22cad901c030f3dcbdd82fd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  350. <tr class="memitem:af13fdc5bce7d0fabd640f13ba805c0b7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af13fdc5bce7d0fabd640f13ba805c0b7"></a>
  351. <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>yAxis2</b></td></tr>
  352. <tr class="separator:af13fdc5bce7d0fabd640f13ba805c0b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  353. <tr class="memitem:a73da53368aa4c2db3d874cf0db50d140"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a73da53368aa4c2db3d874cf0db50d140"></a>
  354. <a class="el" href="class_q_c_p_legend.html">QCPLegend</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>legend</b></td></tr>
  355. <tr class="separator:a73da53368aa4c2db3d874cf0db50d140"><td class="memSeparator" colspan="2">&#160;</td></tr>
  356. </table><table class="memberdecls">
  357. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  358. Protected Member Functions</h2></td></tr>
  359. <tr class="memitem:a4904f06d831afae29cd5d10e889388c3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4904f06d831afae29cd5d10e889388c3"></a>
  360. virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><b>minimumSizeHint</b> () const </td></tr>
  361. <tr class="separator:a4904f06d831afae29cd5d10e889388c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  362. <tr class="memitem:a21d84d299c3651ec36d11a7826274a3c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a21d84d299c3651ec36d11a7826274a3c"></a>
  363. virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><b>sizeHint</b> () const </td></tr>
  364. <tr class="separator:a21d84d299c3651ec36d11a7826274a3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  365. <tr class="memitem:a2bbc3b1c24bfcc8a7cc1f3008cdd9b73"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2bbc3b1c24bfcc8a7cc1f3008cdd9b73"></a>
  366. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>paintEvent</b> (QPaintEvent *event)</td></tr>
  367. <tr class="separator:a2bbc3b1c24bfcc8a7cc1f3008cdd9b73"><td class="memSeparator" colspan="2">&#160;</td></tr>
  368. <tr class="memitem:a13e05523a40c3f08875df5cde85cf0d9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a13e05523a40c3f08875df5cde85cf0d9"></a>
  369. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>resizeEvent</b> (QResizeEvent *event)</td></tr>
  370. <tr class="separator:a13e05523a40c3f08875df5cde85cf0d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  371. <tr class="memitem:a77591913a5b543bdc465dd5e08325a49"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a77591913a5b543bdc465dd5e08325a49"></a>
  372. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mouseDoubleClickEvent</b> (QMouseEvent *event)</td></tr>
  373. <tr class="separator:a77591913a5b543bdc465dd5e08325a49"><td class="memSeparator" colspan="2">&#160;</td></tr>
  374. <tr class="memitem:abce84fa2c71e47b9295d67e8fce84bb4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abce84fa2c71e47b9295d67e8fce84bb4"></a>
  375. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mousePressEvent</b> (QMouseEvent *event)</td></tr>
  376. <tr class="separator:abce84fa2c71e47b9295d67e8fce84bb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  377. <tr class="memitem:ac64727a4f442770f6e5e6be2d0530843"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac64727a4f442770f6e5e6be2d0530843"></a>
  378. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mouseMoveEvent</b> (QMouseEvent *event)</td></tr>
  379. <tr class="separator:ac64727a4f442770f6e5e6be2d0530843"><td class="memSeparator" colspan="2">&#160;</td></tr>
  380. <tr class="memitem:a724e97d2e8c03e68adac5f4b6164a1b3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a724e97d2e8c03e68adac5f4b6164a1b3"></a>
  381. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>mouseReleaseEvent</b> (QMouseEvent *event)</td></tr>
  382. <tr class="separator:a724e97d2e8c03e68adac5f4b6164a1b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  383. <tr class="memitem:a7b8bd7e8d3a1d23a8595e9c6a6b76ef1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b8bd7e8d3a1d23a8595e9c6a6b76ef1"></a>
  384. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>wheelEvent</b> (QWheelEvent *event)</td></tr>
  385. <tr class="separator:a7b8bd7e8d3a1d23a8595e9c6a6b76ef1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  386. <tr class="memitem:ad7a7d878bf050f101a43008e7d8fdb52"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7a7d878bf050f101a43008e7d8fdb52"></a>
  387. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>draw</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter)</td></tr>
  388. <tr class="separator:ad7a7d878bf050f101a43008e7d8fdb52"><td class="memSeparator" colspan="2">&#160;</td></tr>
  389. <tr class="memitem:a8b46607021c463c94709d3504951cb47"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b46607021c463c94709d3504951cb47"></a>
  390. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>axisRemoved</b> (<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *axis)</td></tr>
  391. <tr class="separator:a8b46607021c463c94709d3504951cb47"><td class="memSeparator" colspan="2">&#160;</td></tr>
  392. <tr class="memitem:a9d173454555021c9ffd4f675c4d9037a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d173454555021c9ffd4f675c4d9037a"></a>
  393. virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>legendRemoved</b> (<a class="el" href="class_q_c_p_legend.html">QCPLegend</a> *legend)</td></tr>
  394. <tr class="separator:a9d173454555021c9ffd4f675c4d9037a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  395. <tr class="memitem:a3117754df3a5638787a6223c7147970f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3117754df3a5638787a6223c7147970f"></a>
  396. void&#160;</td><td class="memItemRight" valign="bottom"><b>updateLayerIndices</b> () const </td></tr>
  397. <tr class="separator:a3117754df3a5638787a6223c7147970f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  398. <tr class="memitem:a3fffd1d8364f657482ae985e0b5aa028"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3fffd1d8364f657482ae985e0b5aa028"></a>
  399. <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>layerableAt</b> (const QPointF &amp;pos, bool onlySelectable, QVariant *selectionDetails=0) const </td></tr>
  400. <tr class="separator:a3fffd1d8364f657482ae985e0b5aa028"><td class="memSeparator" colspan="2">&#160;</td></tr>
  401. <tr class="memitem:a05dd52438cee4353b18c1e53a439008d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05dd52438cee4353b18c1e53a439008d"></a>
  402. void&#160;</td><td class="memItemRight" valign="bottom"><b>drawBackground</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter)</td></tr>
  403. <tr class="separator:a05dd52438cee4353b18c1e53a439008d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  404. </table><table class="memberdecls">
  405. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
  406. Protected Attributes</h2></td></tr>
  407. <tr class="memitem:ac0a7c38a715526c257cff95774f83ab6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac0a7c38a715526c257cff95774f83ab6"></a>
  408. QRect&#160;</td><td class="memItemRight" valign="bottom"><b>mViewport</b></td></tr>
  409. <tr class="separator:ac0a7c38a715526c257cff95774f83ab6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  410. <tr class="memitem:ac97298756882a0eecd98151679850ac1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac97298756882a0eecd98151679850ac1"></a>
  411. <a class="el" href="class_q_c_p_layout_grid.html">QCPLayoutGrid</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mPlotLayout</b></td></tr>
  412. <tr class="separator:ac97298756882a0eecd98151679850ac1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  413. <tr class="memitem:aaf3ea6a4cb04d35a149cc9a0cdac3394"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf3ea6a4cb04d35a149cc9a0cdac3394"></a>
  414. bool&#160;</td><td class="memItemRight" valign="bottom"><b>mAutoAddPlottableToLegend</b></td></tr>
  415. <tr class="separator:aaf3ea6a4cb04d35a149cc9a0cdac3394"><td class="memSeparator" colspan="2">&#160;</td></tr>
  416. <tr class="memitem:a62bf8e4e7f8d23fc1e9301ba0148269f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62bf8e4e7f8d23fc1e9301ba0148269f"></a>
  417. QList&lt; <a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mPlottables</b></td></tr>
  418. <tr class="separator:a62bf8e4e7f8d23fc1e9301ba0148269f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  419. <tr class="memitem:adaf8d407d72a725169d7dbed2ee386bb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adaf8d407d72a725169d7dbed2ee386bb"></a>
  420. QList&lt; <a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mGraphs</b></td></tr>
  421. <tr class="separator:adaf8d407d72a725169d7dbed2ee386bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  422. <tr class="memitem:a6a93905372326e31e98d6c3bc8953ec8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6a93905372326e31e98d6c3bc8953ec8"></a>
  423. QList&lt; <a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mItems</b></td></tr>
  424. <tr class="separator:a6a93905372326e31e98d6c3bc8953ec8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  425. <tr class="memitem:a72ee313041b873d76c198793ce7e6c37"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72ee313041b873d76c198793ce7e6c37"></a>
  426. QList&lt; <a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mLayers</b></td></tr>
  427. <tr class="separator:a72ee313041b873d76c198793ce7e6c37"><td class="memSeparator" colspan="2">&#160;</td></tr>
  428. <tr class="memitem:aa333200629256830e273873b582a5524"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa333200629256830e273873b582a5524"></a>
  429. QCP::AntialiasedElements&#160;</td><td class="memItemRight" valign="bottom"><b>mAntialiasedElements</b></td></tr>
  430. <tr class="separator:aa333200629256830e273873b582a5524"><td class="memSeparator" colspan="2">&#160;</td></tr>
  431. <tr class="memitem:a2b6ebcad00a90ba07f146cefcd4293da"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b6ebcad00a90ba07f146cefcd4293da"></a>
  432. QCP::AntialiasedElements&#160;</td><td class="memItemRight" valign="bottom"><b>mNotAntialiasedElements</b></td></tr>
  433. <tr class="separator:a2b6ebcad00a90ba07f146cefcd4293da"><td class="memSeparator" colspan="2">&#160;</td></tr>
  434. <tr class="memitem:ad717377ceba7493b4b32f0bcbbdf1895"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad717377ceba7493b4b32f0bcbbdf1895"></a>
  435. QCP::Interactions&#160;</td><td class="memItemRight" valign="bottom"><b>mInteractions</b></td></tr>
  436. <tr class="separator:ad717377ceba7493b4b32f0bcbbdf1895"><td class="memSeparator" colspan="2">&#160;</td></tr>
  437. <tr class="memitem:abc36e12dd0482117ad810a800c847722"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abc36e12dd0482117ad810a800c847722"></a>
  438. int&#160;</td><td class="memItemRight" valign="bottom"><b>mSelectionTolerance</b></td></tr>
  439. <tr class="separator:abc36e12dd0482117ad810a800c847722"><td class="memSeparator" colspan="2">&#160;</td></tr>
  440. <tr class="memitem:ac83df968435f6b8ec79f2993ab9124e8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac83df968435f6b8ec79f2993ab9124e8"></a>
  441. bool&#160;</td><td class="memItemRight" valign="bottom"><b>mNoAntialiasingOnDrag</b></td></tr>
  442. <tr class="separator:ac83df968435f6b8ec79f2993ab9124e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  443. <tr class="memitem:a3aef5de4ac012178e3293248e9c63737"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3aef5de4ac012178e3293248e9c63737"></a>
  444. QBrush&#160;</td><td class="memItemRight" valign="bottom"><b>mBackgroundBrush</b></td></tr>
  445. <tr class="separator:a3aef5de4ac012178e3293248e9c63737"><td class="memSeparator" colspan="2">&#160;</td></tr>
  446. <tr class="memitem:ae8f4677399324a78c5f8dbfb95a34f90"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae8f4677399324a78c5f8dbfb95a34f90"></a>
  447. QPixmap&#160;</td><td class="memItemRight" valign="bottom"><b>mBackgroundPixmap</b></td></tr>
  448. <tr class="separator:ae8f4677399324a78c5f8dbfb95a34f90"><td class="memSeparator" colspan="2">&#160;</td></tr>
  449. <tr class="memitem:a081bf046501d52642dc6d7e3bdb97d57"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a081bf046501d52642dc6d7e3bdb97d57"></a>
  450. QPixmap&#160;</td><td class="memItemRight" valign="bottom"><b>mScaledBackgroundPixmap</b></td></tr>
  451. <tr class="separator:a081bf046501d52642dc6d7e3bdb97d57"><td class="memSeparator" colspan="2">&#160;</td></tr>
  452. <tr class="memitem:a62fe584b20680b1b2e1c7efb5c5416a5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62fe584b20680b1b2e1c7efb5c5416a5"></a>
  453. bool&#160;</td><td class="memItemRight" valign="bottom"><b>mBackgroundScaled</b></td></tr>
  454. <tr class="separator:a62fe584b20680b1b2e1c7efb5c5416a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  455. <tr class="memitem:ab82e8a5e3ad6b486f95d6da8bf49e9aa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab82e8a5e3ad6b486f95d6da8bf49e9aa"></a>
  456. Qt::AspectRatioMode&#160;</td><td class="memItemRight" valign="bottom"><b>mBackgroundScaledMode</b></td></tr>
  457. <tr class="separator:ab82e8a5e3ad6b486f95d6da8bf49e9aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  458. <tr class="memitem:aa27569c92e74395af10151357d268628"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa27569c92e74395af10151357d268628"></a>
  459. <a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mCurrentLayer</b></td></tr>
  460. <tr class="separator:aa27569c92e74395af10151357d268628"><td class="memSeparator" colspan="2">&#160;</td></tr>
  461. <tr class="memitem:aa184197a6101a9cc5807469e1d006c9e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa184197a6101a9cc5807469e1d006c9e"></a>
  462. QCP::PlottingHints&#160;</td><td class="memItemRight" valign="bottom"><b>mPlottingHints</b></td></tr>
  463. <tr class="separator:aa184197a6101a9cc5807469e1d006c9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  464. <tr class="memitem:a0e97e701c5671e7e463d2ce0211d0f8a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e97e701c5671e7e463d2ce0211d0f8a"></a>
  465. Qt::KeyboardModifier&#160;</td><td class="memItemRight" valign="bottom"><b>mMultiSelectModifier</b></td></tr>
  466. <tr class="separator:a0e97e701c5671e7e463d2ce0211d0f8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  467. <tr class="memitem:a753630df96e0672098d9e88bd41d1913"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a753630df96e0672098d9e88bd41d1913"></a>
  468. QPixmap&#160;</td><td class="memItemRight" valign="bottom"><b>mPaintBuffer</b></td></tr>
  469. <tr class="separator:a753630df96e0672098d9e88bd41d1913"><td class="memSeparator" colspan="2">&#160;</td></tr>
  470. <tr class="memitem:ac57090da95056ae4dd67be67adfa85bd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac57090da95056ae4dd67be67adfa85bd"></a>
  471. QPoint&#160;</td><td class="memItemRight" valign="bottom"><b>mMousePressPos</b></td></tr>
  472. <tr class="separator:ac57090da95056ae4dd67be67adfa85bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  473. <tr class="memitem:a9ef6aa831ac6c71a058fa84b1d5fb152"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ef6aa831ac6c71a058fa84b1d5fb152"></a>
  474. <a class="el" href="class_q_c_p_layout_element.html">QCPLayoutElement</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>mMouseEventElement</b></td></tr>
  475. <tr class="separator:a9ef6aa831ac6c71a058fa84b1d5fb152"><td class="memSeparator" colspan="2">&#160;</td></tr>
  476. <tr class="memitem:ab30daeca6612c3948afd368dce5f1c39"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab30daeca6612c3948afd368dce5f1c39"></a>
  477. bool&#160;</td><td class="memItemRight" valign="bottom"><b>mReplotting</b></td></tr>
  478. <tr class="separator:ab30daeca6612c3948afd368dce5f1c39"><td class="memSeparator" colspan="2">&#160;</td></tr>
  479. </table><table class="memberdecls">
  480. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
  481. Friends</h2></td></tr>
  482. <tr class="memitem:a8429035e7adfbd7f05805a6530ad5e3b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8429035e7adfbd7f05805a6530ad5e3b"></a>
  483. class&#160;</td><td class="memItemRight" valign="bottom"><b>QCPLegend</b></td></tr>
  484. <tr class="separator:a8429035e7adfbd7f05805a6530ad5e3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  485. <tr class="memitem:af123edeca169ec7a31958a1d714e1a8a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af123edeca169ec7a31958a1d714e1a8a"></a>
  486. class&#160;</td><td class="memItemRight" valign="bottom"><b>QCPAxis</b></td></tr>
  487. <tr class="separator:af123edeca169ec7a31958a1d714e1a8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  488. <tr class="memitem:a5dbf96bf7664c1b6fce49063eeea6eef"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5dbf96bf7664c1b6fce49063eeea6eef"></a>
  489. class&#160;</td><td class="memItemRight" valign="bottom"><b>QCPLayer</b></td></tr>
  490. <tr class="separator:a5dbf96bf7664c1b6fce49063eeea6eef"><td class="memSeparator" colspan="2">&#160;</td></tr>
  491. <tr class="memitem:acbf20ecb140f66c5fd1bc64ae0762990"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acbf20ecb140f66c5fd1bc64ae0762990"></a>
  492. class&#160;</td><td class="memItemRight" valign="bottom"><b>QCPAxisRect</b></td></tr>
  493. <tr class="separator:acbf20ecb140f66c5fd1bc64ae0762990"><td class="memSeparator" colspan="2">&#160;</td></tr>
  494. </table>
  495. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  496. <div class="textblock"><p>The central class of the library. This is the QWidget which displays the plot and interacts with the user. </p>
  497. <p>For tutorials on how to use <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>, see the website<br />
  498. <a href="http://www.qcustomplot.com/">http://www.qcustomplot.com/</a> </p>
  499. </div><h2 class="groupheader">Member Enumeration Documentation</h2>
  500. <a class="anchor" id="a75a8afbe6ef333b1f3d47abb25b9add7"></a>
  501. <div class="memitem">
  502. <div class="memproto">
  503. <table class="memname">
  504. <tr>
  505. <td class="memname">enum <a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">QCustomPlot::LayerInsertMode</a></td>
  506. </tr>
  507. </table>
  508. </div><div class="memdoc">
  509. <p>Defines how a layer should be inserted relative to an other layer.</p>
  510. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a> </dd></dl>
  511. <table class="fieldtable">
  512. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a75a8afbe6ef333b1f3d47abb25b9add7aee39cf650cd24e68552da0b697ce4a93"></a>limBelow&#160;</td><td class="fielddoc">
  513. <p>Layer is inserted below other layer. </p>
  514. </td></tr>
  515. <tr><td class="fieldname"><a class="anchor" id="a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41"></a>limAbove&#160;</td><td class="fielddoc">
  516. <p>Layer is inserted above other layer. </p>
  517. </td></tr>
  518. </table>
  519. </div>
  520. </div>
  521. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  522. <a class="anchor" id="a45b99626558651a6428b83972b0b34b8"></a>
  523. <div class="memitem">
  524. <div class="memproto">
  525. <table class="mlabels">
  526. <tr>
  527. <td class="mlabels-left">
  528. <table class="memname">
  529. <tr>
  530. <td class="memname">QCustomPlot::QCustomPlot </td>
  531. <td>(</td>
  532. <td class="paramtype">QWidget *&#160;</td>
  533. <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
  534. <td></td>
  535. </tr>
  536. </table>
  537. </td>
  538. <td class="mlabels-right">
  539. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  540. </tr>
  541. </table>
  542. </div><div class="memdoc">
  543. <p>Constructs a <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> and sets reasonable default values. </p>
  544. </div>
  545. </div>
  546. <h2 class="groupheader">Member Function Documentation</h2>
  547. <a class="anchor" id="a6fb2873d35a8a8089842d81a70a54167"></a>
  548. <div class="memitem">
  549. <div class="memproto">
  550. <table class="memname">
  551. <tr>
  552. <td class="memname"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * QCustomPlot::addGraph </td>
  553. <td>(</td>
  554. <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td>
  555. <td class="paramname"><em>keyAxis</em> = <code>0</code>, </td>
  556. </tr>
  557. <tr>
  558. <td class="paramkey"></td>
  559. <td></td>
  560. <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td>
  561. <td class="paramname"><em>valueAxis</em> = <code>0</code>&#160;</td>
  562. </tr>
  563. <tr>
  564. <td></td>
  565. <td>)</td>
  566. <td></td><td></td>
  567. </tr>
  568. </table>
  569. </div><div class="memdoc">
  570. <p>Creates a new graph inside the plot. If <em>keyAxis</em> and <em>valueAxis</em> are left unspecified (0), the bottom (xAxis) is used as key and the left (yAxis) is used as value axis. If specified, <em>keyAxis</em> and <em>valueAxis</em> must reside in this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
  571. <p><em>keyAxis</em> will be used as key axis (typically "x") and <em>valueAxis</em> as value axis (typically "y") for the graph.</p>
  572. <p>Returns a pointer to the newly created graph, or 0 if adding the graph failed.</p>
  573. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a6d3ed93c2bf46ab7fa670d66be4cddaf">graph</a>, <a class="el" href="class_q_custom_plot.html#a7d9b4d19114b2fde60f0233eeb0aa682">graphCount</a>, <a class="el" href="class_q_custom_plot.html#a903561be895fb6528a770d66ac5e6713">removeGraph</a>, <a class="el" href="class_q_custom_plot.html#ab0f3abff2d2f7df3668b5836f39207fa">clearGraphs</a> </dd></dl>
  574. </div>
  575. </div>
  576. <a class="anchor" id="aa500620379262321685cb7a7674cbd2a"></a>
  577. <div class="memitem">
  578. <div class="memproto">
  579. <table class="memname">
  580. <tr>
  581. <td class="memname">bool QCustomPlot::addItem </td>
  582. <td>(</td>
  583. <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td>
  584. <td class="paramname"><em>item</em></td><td>)</td>
  585. <td></td>
  586. </tr>
  587. </table>
  588. </div><div class="memdoc">
  589. <p>Adds the specified item to the plot. <a class="el" href="class_q_custom_plot.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 item.</p>
  590. <p>Returns true on success, i.e. when <em>item</em> wasn't already in the plot and the parent plot of <em>item</em> is this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
  591. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>, <a class="el" href="class_q_custom_plot.html#a6fc860e30df17fd5c46056bf6fe29390">itemCount</a>, <a class="el" href="class_q_custom_plot.html#ae04446557292551e8fb6e2c106e1848d">removeItem</a>, <a class="el" href="class_q_custom_plot.html#abdfd07d4f0591d0cf967f85013fd3645">clearItems</a> </dd></dl>
  592. </div>
  593. </div>
  594. <a class="anchor" id="ad5255393df078448bb6ac83fa5db5f52"></a>
  595. <div class="memitem">
  596. <div class="memproto">
  597. <table class="memname">
  598. <tr>
  599. <td class="memname">bool QCustomPlot::addLayer </td>
  600. <td>(</td>
  601. <td class="paramtype">const QString &amp;&#160;</td>
  602. <td class="paramname"><em>name</em>, </td>
  603. </tr>
  604. <tr>
  605. <td class="paramkey"></td>
  606. <td></td>
  607. <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td>
  608. <td class="paramname"><em>otherLayer</em> = <code>0</code>, </td>
  609. </tr>
  610. <tr>
  611. <td class="paramkey"></td>
  612. <td></td>
  613. <td class="paramtype"><a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">QCustomPlot::LayerInsertMode</a>&#160;</td>
  614. <td class="paramname"><em>insertMode</em> = <code><a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a></code>&#160;</td>
  615. </tr>
  616. <tr>
  617. <td></td>
  618. <td>)</td>
  619. <td></td><td></td>
  620. </tr>
  621. </table>
  622. </div><div class="memdoc">
  623. <p>Adds a new layer to this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> instance. The new layer will have the name <em>name</em>, which must be unique. Depending on <em>insertMode</em>, it is positioned either below or above <em>otherLayer</em>.</p>
  624. <p>Returns true on success, i.e. if there is no other layer named <em>name</em> and <em>otherLayer</em> is a valid layer inside this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
  625. <p>If <em>otherLayer</em> is 0, the highest layer in the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> will be used.</p>
  626. <p>For an explanation of what layers are in <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>, see the documentation of <a class="el" href="class_q_c_p_layer.html">QCPLayer</a>.</p>
  627. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aac492da01782820454e9136a8db28182">layer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="class_q_custom_plot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> </dd></dl>
  628. </div>
  629. </div>
  630. <a class="anchor" id="ab7ad9174f701f9c6f64e378df77927a6"></a>
  631. <div class="memitem">
  632. <div class="memproto">
  633. <table class="memname">
  634. <tr>
  635. <td class="memname">bool QCustomPlot::addPlottable </td>
  636. <td>(</td>
  637. <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td>
  638. <td class="paramname"><em>plottable</em></td><td>)</td>
  639. <td></td>
  640. </tr>
  641. </table>
  642. </div><div class="memdoc">
  643. <p>Adds the specified plottable to the plot and, if <a class="el" href="class_q_custom_plot.html#ad8858410c2db47b7104040a3aa61c3fc">setAutoAddPlottableToLegend</a> is enabled, to the legend (QCustomPlot::legend). <a class="el" href="class_q_custom_plot.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 plottable.</p>
  644. <p>Returns true on success, i.e. when <em>plottable</em> isn't already in the plot and the parent plot of <em>plottable</em> is this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> (the latter is controlled by what axes were passed in the plottable's constructor).</p>
  645. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>, <a class="el" href="class_q_custom_plot.html#a2dbfbf15dc38713f9a1c445a3dd2e989">plottableCount</a>, <a class="el" href="class_q_custom_plot.html#af3dafd56884208474f311d6226513ab2">removePlottable</a>, <a class="el" href="class_q_custom_plot.html#a9a409bb3201878adb7ffba1c89c4e004">clearPlottables</a> </dd></dl>
  646. </div>
  647. </div>
  648. <a class="anchor" id="a6f4fa624af060bc5919c5f266cf426a0"></a>
  649. <div class="memitem">
  650. <div class="memproto">
  651. <table class="mlabels">
  652. <tr>
  653. <td class="mlabels-left">
  654. <table class="memname">
  655. <tr>
  656. <td class="memname">void QCustomPlot::afterReplot </td>
  657. <td>(</td>
  658. <td class="paramname"></td><td>)</td>
  659. <td></td>
  660. </tr>
  661. </table>
  662. </td>
  663. <td class="mlabels-right">
  664. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  665. </tr>
  666. </table>
  667. </div><div class="memdoc">
  668. <p>This signal is emitted immediately after a replot has taken place (caused by a call to the slot <a class="el" href="class_q_custom_plot.html#a563540b54b2a09c8ef092d42e9621f42">replot</a>).</p>
  669. <p>It is safe to mutually connect the replot slot with this signal on two QCustomPlots to make them replot synchronously, it won't cause an infinite recursion.</p>
  670. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a563540b54b2a09c8ef092d42e9621f42">replot</a>, <a class="el" href="class_q_custom_plot.html#a0cd30e29b73efd6afe096e44bc5956f5">beforeReplot</a> </dd></dl>
  671. </div>
  672. </div>
  673. <a class="anchor" id="abf635f8b56ab5c16d5de9f358543e82b"></a>
  674. <div class="memitem">
  675. <div class="memproto">
  676. <table class="mlabels">
  677. <tr>
  678. <td class="mlabels-left">
  679. <table class="memname">
  680. <tr>
  681. <td class="memname">void QCustomPlot::axisClick </td>
  682. <td>(</td>
  683. <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td>
  684. <td class="paramname"><em>axis</em>, </td>
  685. </tr>
  686. <tr>
  687. <td class="paramkey"></td>
  688. <td></td>
  689. <td class="paramtype"><a class="el" href="class_q_c_p_axis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a>&#160;</td>
  690. <td class="paramname"><em>part</em>, </td>
  691. </tr>
  692. <tr>
  693. <td class="paramkey"></td>
  694. <td></td>
  695. <td class="paramtype">QMouseEvent *&#160;</td>
  696. <td class="paramname"><em>event</em>&#160;</td>
  697. </tr>
  698. <tr>
  699. <td></td>
  700. <td>)</td>
  701. <td></td><td></td>
  702. </tr>
  703. </table>
  704. </td>
  705. <td class="mlabels-right">
  706. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  707. </tr>
  708. </table>
  709. </div><div class="memdoc">
  710. <p>This signal is emitted when an axis is clicked.</p>
  711. <p><em>event</em> is the mouse event that caused the click, <em>axis</em> is the axis that received the click and <em>part</em> indicates the part of the axis that was clicked.</p>
  712. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a6df35357460181a72da3e93d600f5256">axisDoubleClick</a> </dd></dl>
  713. </div>
  714. </div>
  715. <a class="anchor" id="a6df35357460181a72da3e93d600f5256"></a>
  716. <div class="memitem">
  717. <div class="memproto">
  718. <table class="mlabels">
  719. <tr>
  720. <td class="mlabels-left">
  721. <table class="memname">
  722. <tr>
  723. <td class="memname">void QCustomPlot::axisDoubleClick </td>
  724. <td>(</td>
  725. <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *&#160;</td>
  726. <td class="paramname"><em>axis</em>, </td>
  727. </tr>
  728. <tr>
  729. <td class="paramkey"></td>
  730. <td></td>
  731. <td class="paramtype"><a class="el" href="class_q_c_p_axis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a>&#160;</td>
  732. <td class="paramname"><em>part</em>, </td>
  733. </tr>
  734. <tr>
  735. <td class="paramkey"></td>
  736. <td></td>
  737. <td class="paramtype">QMouseEvent *&#160;</td>
  738. <td class="paramname"><em>event</em>&#160;</td>
  739. </tr>
  740. <tr>
  741. <td></td>
  742. <td>)</td>
  743. <td></td><td></td>
  744. </tr>
  745. </table>
  746. </td>
  747. <td class="mlabels-right">
  748. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  749. </tr>
  750. </table>
  751. </div><div class="memdoc">
  752. <p>This signal is emitted when an axis is double clicked.</p>
  753. <p><em>event</em> is the mouse event that caused the click, <em>axis</em> is the axis that received the click and <em>part</em> indicates the part of the axis that was clicked.</p>
  754. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#abf635f8b56ab5c16d5de9f358543e82b">axisClick</a> </dd></dl>
  755. </div>
  756. </div>
  757. <a class="anchor" id="a4a37a1add5fe63060ac518cf0a4c4050"></a>
  758. <div class="memitem">
  759. <div class="memproto">
  760. <table class="memname">
  761. <tr>
  762. <td class="memname"><a class="el" href="class_q_c_p_axis_rect.html">QCPAxisRect</a> * QCustomPlot::axisRect </td>
  763. <td>(</td>
  764. <td class="paramtype">int&#160;</td>
  765. <td class="paramname"><em>index</em> = <code>0</code></td><td>)</td>
  766. <td> const</td>
  767. </tr>
  768. </table>
  769. </div><div class="memdoc">
  770. <p>Returns the axis rect with <em>index</em>.</p>
  771. <p>Initially, only one axis rect (with index 0) exists in the plot. If multiple axis rects were added, all of them may be accessed with this function in a linear fashion (even when they are nested in a layout hierarchy or inside other axis rects via <a class="el" href="class_q_c_p_axis_rect.html#a4114887c7141b59650b7488f930993e5">QCPAxisRect::insetLayout</a>).</p>
  772. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a340fa24b1607e445cedda9685670ead3">axisRectCount</a>, <a class="el" href="class_q_custom_plot.html#afd67094aaeccbc5719761348b2d8c891">axisRects</a> </dd></dl>
  773. </div>
  774. </div>
  775. <a class="anchor" id="a340fa24b1607e445cedda9685670ead3"></a>
  776. <div class="memitem">
  777. <div class="memproto">
  778. <table class="memname">
  779. <tr>
  780. <td class="memname">int QCustomPlot::axisRectCount </td>
  781. <td>(</td>
  782. <td class="paramname"></td><td>)</td>
  783. <td> const</td>
  784. </tr>
  785. </table>
  786. </div><div class="memdoc">
  787. <p>Returns the number of axis rects in the plot.</p>
  788. <p>All axis rects can be accessed via <a class="el" href="class_q_custom_plot.html#a4a37a1add5fe63060ac518cf0a4c4050">QCustomPlot::axisRect()</a>.</p>
  789. <p>Initially, only one axis rect exists in the plot.</p>
  790. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a4a37a1add5fe63060ac518cf0a4c4050">axisRect</a>, <a class="el" href="class_q_custom_plot.html#afd67094aaeccbc5719761348b2d8c891">axisRects</a> </dd></dl>
  791. </div>
  792. </div>
  793. <a class="anchor" id="afd67094aaeccbc5719761348b2d8c891"></a>
  794. <div class="memitem">
  795. <div class="memproto">
  796. <table class="memname">
  797. <tr>
  798. <td class="memname">QList&lt; <a class="el" href="class_q_c_p_axis_rect.html">QCPAxisRect</a> * &gt; QCustomPlot::axisRects </td>
  799. <td>(</td>
  800. <td class="paramname"></td><td>)</td>
  801. <td> const</td>
  802. </tr>
  803. </table>
  804. </div><div class="memdoc">
  805. <p>Returns all axis rects in the plot.</p>
  806. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a340fa24b1607e445cedda9685670ead3">axisRectCount</a>, <a class="el" href="class_q_custom_plot.html#a4a37a1add5fe63060ac518cf0a4c4050">axisRect</a> </dd></dl>
  807. </div>
  808. </div>
  809. <a class="anchor" id="a0cd30e29b73efd6afe096e44bc5956f5"></a>
  810. <div class="memitem">
  811. <div class="memproto">
  812. <table class="mlabels">
  813. <tr>
  814. <td class="mlabels-left">
  815. <table class="memname">
  816. <tr>
  817. <td class="memname">void QCustomPlot::beforeReplot </td>
  818. <td>(</td>
  819. <td class="paramname"></td><td>)</td>
  820. <td></td>
  821. </tr>
  822. </table>
  823. </td>
  824. <td class="mlabels-right">
  825. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  826. </tr>
  827. </table>
  828. </div><div class="memdoc">
  829. <p>This signal is emitted immediately before a replot takes place (caused by a call to the slot <a class="el" href="class_q_custom_plot.html#a563540b54b2a09c8ef092d42e9621f42">replot</a>).</p>
  830. <p>It is safe to mutually connect the replot slot with this signal on two QCustomPlots to make them replot synchronously, it won't cause an infinite recursion.</p>
  831. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a563540b54b2a09c8ef092d42e9621f42">replot</a>, <a class="el" href="class_q_custom_plot.html#a6f4fa624af060bc5919c5f266cf426a0">afterReplot</a> </dd></dl>
  832. </div>
  833. </div>
  834. <a class="anchor" id="ab0f3abff2d2f7df3668b5836f39207fa"></a>
  835. <div class="memitem">
  836. <div class="memproto">
  837. <table class="memname">
  838. <tr>
  839. <td class="memname">int QCustomPlot::clearGraphs </td>
  840. <td>(</td>
  841. <td class="paramname"></td><td>)</td>
  842. <td></td>
  843. </tr>
  844. </table>
  845. </div><div class="memdoc">
  846. <p>Removes all graphs from the plot (and the QCustomPlot::legend, if necessary).</p>
  847. <p>Returns the number of graphs removed.</p>
  848. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a903561be895fb6528a770d66ac5e6713">removeGraph</a> </dd></dl>
  849. </div>
  850. </div>
  851. <a class="anchor" id="abdfd07d4f0591d0cf967f85013fd3645"></a>
  852. <div class="memitem">
  853. <div class="memproto">
  854. <table class="memname">
  855. <tr>
  856. <td class="memname">int QCustomPlot::clearItems </td>
  857. <td>(</td>
  858. <td class="paramname"></td><td>)</td>
  859. <td></td>
  860. </tr>
  861. </table>
  862. </div><div class="memdoc">
  863. <p>Removes all items from the plot.</p>
  864. <p>Returns the number of items removed.</p>
  865. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ae04446557292551e8fb6e2c106e1848d">removeItem</a> </dd></dl>
  866. </div>
  867. </div>
  868. <a class="anchor" id="a9a409bb3201878adb7ffba1c89c4e004"></a>
  869. <div class="memitem">
  870. <div class="memproto">
  871. <table class="memname">
  872. <tr>
  873. <td class="memname">int QCustomPlot::clearPlottables </td>
  874. <td>(</td>
  875. <td class="paramname"></td><td>)</td>
  876. <td></td>
  877. </tr>
  878. </table>
  879. </div><div class="memdoc">
  880. <p>Removes all plottables from the plot (and the QCustomPlot::legend, if necessary).</p>
  881. <p>Returns the number of plottables removed.</p>
  882. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#af3dafd56884208474f311d6226513ab2">removePlottable</a> </dd></dl>
  883. </div>
  884. </div>
  885. <a class="anchor" id="af73057345656cbd1463454982d808b00"></a>
  886. <div class="memitem">
  887. <div class="memproto">
  888. <table class="memname">
  889. <tr>
  890. <td class="memname"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * QCustomPlot::currentLayer </td>
  891. <td>(</td>
  892. <td class="paramname"></td><td>)</td>
  893. <td> const</td>
  894. </tr>
  895. </table>
  896. </div><div class="memdoc">
  897. <p>Returns the layer that is set as current layer (see <a class="el" href="class_q_custom_plot.html#a73a6dc47c653bb6f8f030abca5a11852">setCurrentLayer</a>). </p>
  898. </div>
  899. </div>
  900. <a class="anchor" id="a9d4808ab925b003054085246c92a257c"></a>
  901. <div class="memitem">
  902. <div class="memproto">
  903. <table class="memname">
  904. <tr>
  905. <td class="memname">void QCustomPlot::deselectAll </td>
  906. <td>(</td>
  907. <td class="paramname"></td><td>)</td>
  908. <td></td>
  909. </tr>
  910. </table>
  911. </div><div class="memdoc">
  912. <p>Deselects all layerables (plottables, items, axes, legends,...) of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
  913. <p>Since calling this function is not a user interaction, this does not emit the <a class="el" href="class_q_custom_plot.html#a500c64a109bc773c973ad274f2fa4190">selectionChangedByUser</a> signal. The individual selectionChanged signals are emitted though, if the objects were previously selected.</p>
  914. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="class_q_custom_plot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a>, <a class="el" href="class_q_custom_plot.html#a1a48b13547e2d9ac5cd6927516f47a2e">selectedItems</a>, <a class="el" href="class_q_custom_plot.html#aa6baf867e8beb96ed5bd471f83ece903">selectedAxes</a>, <a class="el" href="class_q_custom_plot.html#a1ea6297300c3e2770e65f95836411755">selectedLegends</a> </dd></dl>
  915. </div>
  916. </div>
  917. <a class="anchor" id="a6d3ed93c2bf46ab7fa670d66be4cddaf"></a>
  918. <div class="memitem">
  919. <div class="memproto">
  920. <table class="memname">
  921. <tr>
  922. <td class="memname"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * QCustomPlot::graph </td>
  923. <td>(</td>
  924. <td class="paramtype">int&#160;</td>
  925. <td class="paramname"><em>index</em></td><td>)</td>
  926. <td> const</td>
  927. </tr>
  928. </table>
  929. </div><div class="memdoc">
  930. <p>Returns the graph with <em>index</em>. If the index is invalid, returns 0.</p>
  931. <p>There is an overloaded version of this function with no parameter which returns the last created graph, see <a class="el" href="class_q_custom_plot.html#a6d3ed93c2bf46ab7fa670d66be4cddaf">QCustomPlot::graph()</a></p>
  932. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a7d9b4d19114b2fde60f0233eeb0aa682">graphCount</a>, <a class="el" href="class_q_custom_plot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a> </dd></dl>
  933. </div>
  934. </div>
  935. <a class="anchor" id="a80c40ced2a74eefe9e92de1e82ba2274"></a>
  936. <div class="memitem">
  937. <div class="memproto">
  938. <table class="memname">
  939. <tr>
  940. <td class="memname"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * QCustomPlot::graph </td>
  941. <td>(</td>
  942. <td class="paramname"></td><td>)</td>
  943. <td> const</td>
  944. </tr>
  945. </table>
  946. </div><div class="memdoc">
  947. <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
  948. <p>Returns the last graph, that was created with <a class="el" href="class_q_custom_plot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a>. If there are no graphs in the plot, returns 0.</p>
  949. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a7d9b4d19114b2fde60f0233eeb0aa682">graphCount</a>, <a class="el" href="class_q_custom_plot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a> </dd></dl>
  950. </div>
  951. </div>
  952. <a class="anchor" id="a7d9b4d19114b2fde60f0233eeb0aa682"></a>
  953. <div class="memitem">
  954. <div class="memproto">
  955. <table class="memname">
  956. <tr>
  957. <td class="memname">int QCustomPlot::graphCount </td>
  958. <td>(</td>
  959. <td class="paramname"></td><td>)</td>
  960. <td> const</td>
  961. </tr>
  962. </table>
  963. </div><div class="memdoc">
  964. <p>Returns the number of currently existing graphs in the plot</p>
  965. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a6d3ed93c2bf46ab7fa670d66be4cddaf">graph</a>, <a class="el" href="class_q_custom_plot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a> </dd></dl>
  966. </div>
  967. </div>
  968. <a class="anchor" id="ab4199c38b03e63a2623c82453fe8add5"></a>
  969. <div class="memitem">
  970. <div class="memproto">
  971. <table class="memname">
  972. <tr>
  973. <td class="memname">bool QCustomPlot::hasItem </td>
  974. <td>(</td>
  975. <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td>
  976. <td class="paramname"><em>item</em></td><td>)</td>
  977. <td> const</td>
  978. </tr>
  979. </table>
  980. </div><div class="memdoc">
  981. <p>Returns whether this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> contains the <em>item</em>.</p>
  982. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> </dd></dl>
  983. </div>
  984. </div>
  985. <a class="anchor" id="a4fc28914e2ee91aab424b7ce46b6bdf1"></a>
  986. <div class="memitem">
  987. <div class="memproto">
  988. <table class="memname">
  989. <tr>
  990. <td class="memname">bool QCustomPlot::hasPlottable </td>
  991. <td>(</td>
  992. <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td>
  993. <td class="paramname"><em>plottable</em></td><td>)</td>
  994. <td> const</td>
  995. </tr>
  996. </table>
  997. </div><div class="memdoc">
  998. <p>Returns whether this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> instance contains the <em>plottable</em>.</p>
  999. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> </dd></dl>
  1000. </div>
  1001. </div>
  1002. <a class="anchor" id="a3e842b5a65b1d17fbb96cfb1fa1314d1"></a>
  1003. <div class="memitem">
  1004. <div class="memproto">
  1005. <table class="memname">
  1006. <tr>
  1007. <td class="memname"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * QCustomPlot::item </td>
  1008. <td>(</td>
  1009. <td class="paramtype">int&#160;</td>
  1010. <td class="paramname"><em>index</em></td><td>)</td>
  1011. <td> const</td>
  1012. </tr>
  1013. </table>
  1014. </div><div class="memdoc">
  1015. <p>Returns the item with <em>index</em>. If the index is invalid, returns 0.</p>
  1016. <p>There is an overloaded version of this function with no parameter which returns the last added item, see <a class="el" href="class_q_custom_plot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">QCustomPlot::item()</a></p>
  1017. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a6fc860e30df17fd5c46056bf6fe29390">itemCount</a>, <a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> </dd></dl>
  1018. </div>
  1019. </div>
  1020. <a class="anchor" id="a700399eae539798c5baf64a37c7f2135"></a>
  1021. <div class="memitem">
  1022. <div class="memproto">
  1023. <table class="memname">
  1024. <tr>
  1025. <td class="memname"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * QCustomPlot::item </td>
  1026. <td>(</td>
  1027. <td class="paramname"></td><td>)</td>
  1028. <td> const</td>
  1029. </tr>
  1030. </table>
  1031. </div><div class="memdoc">
  1032. <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
  1033. <p>Returns the last item, that was added with <a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a>. If there are no items in the plot, returns 0.</p>
  1034. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a6fc860e30df17fd5c46056bf6fe29390">itemCount</a>, <a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> </dd></dl>
  1035. </div>
  1036. </div>
  1037. <a class="anchor" id="a793e4b04e0ede11a733021907368fa83"></a>
  1038. <div class="memitem">
  1039. <div class="memproto">
  1040. <table class="memname">
  1041. <tr>
  1042. <td class="memname"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * QCustomPlot::itemAt </td>
  1043. <td>(</td>
  1044. <td class="paramtype">const QPointF &amp;&#160;</td>
  1045. <td class="paramname"><em>pos</em>, </td>
  1046. </tr>
  1047. <tr>
  1048. <td class="paramkey"></td>
  1049. <td></td>
  1050. <td class="paramtype">bool&#160;</td>
  1051. <td class="paramname"><em>onlySelectable</em> = <code>false</code>&#160;</td>
  1052. </tr>
  1053. <tr>
  1054. <td></td>
  1055. <td>)</td>
  1056. <td></td><td> const</td>
  1057. </tr>
  1058. </table>
  1059. </div><div class="memdoc">
  1060. <p>Returns the item at the pixel position <em>pos</em>. Items that only consist of single lines (e.g. <a class="el" href="class_q_c_p_item_line.html">QCPItemLine</a> or <a class="el" href="class_q_c_p_item_curve.html">QCPItemCurve</a>) have a tolerance band around them, see <a class="el" href="class_q_custom_plot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a>. If multiple items come into consideration, the one closest to <em>pos</em> is returned.</p>
  1061. <p>If <em>onlySelectable</em> is true, only items that are selectable (<a class="el" href="class_q_c_p_abstract_item.html#a8a8e32a55bc478b849756a78c2d87fd2">QCPAbstractItem::setSelectable</a>) are considered.</p>
  1062. <p>If there is no item at <em>pos</em>, the return value is 0.</p>
  1063. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ac1d1bc6ae4e13616fb02cef6d9e2188e">plottableAt</a>, <a class="el" href="class_q_custom_plot.html#a840458186d4483c8a42d6a399448d38f">layoutElementAt</a> </dd></dl>
  1064. </div>
  1065. </div>
  1066. <a class="anchor" id="ae16b51f52d2b7aebbc7e3e74e6ff2e4b"></a>
  1067. <div class="memitem">
  1068. <div class="memproto">
  1069. <table class="mlabels">
  1070. <tr>
  1071. <td class="mlabels-left">
  1072. <table class="memname">
  1073. <tr>
  1074. <td class="memname">void QCustomPlot::itemClick </td>
  1075. <td>(</td>
  1076. <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td>
  1077. <td class="paramname"><em>item</em>, </td>
  1078. </tr>
  1079. <tr>
  1080. <td class="paramkey"></td>
  1081. <td></td>
  1082. <td class="paramtype">QMouseEvent *&#160;</td>
  1083. <td class="paramname"><em>event</em>&#160;</td>
  1084. </tr>
  1085. <tr>
  1086. <td></td>
  1087. <td>)</td>
  1088. <td></td><td></td>
  1089. </tr>
  1090. </table>
  1091. </td>
  1092. <td class="mlabels-right">
  1093. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1094. </tr>
  1095. </table>
  1096. </div><div class="memdoc">
  1097. <p>This signal is emitted when an item is clicked.</p>
  1098. <p><em>event</em> is the mouse event that caused the click and <em>item</em> is the item that received the click.</p>
  1099. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ac83aa9f5a3e9bb3efc9cdc763dcd42a6">itemDoubleClick</a> </dd></dl>
  1100. </div>
  1101. </div>
  1102. <a class="anchor" id="a6fc860e30df17fd5c46056bf6fe29390"></a>
  1103. <div class="memitem">
  1104. <div class="memproto">
  1105. <table class="memname">
  1106. <tr>
  1107. <td class="memname">int QCustomPlot::itemCount </td>
  1108. <td>(</td>
  1109. <td class="paramname"></td><td>)</td>
  1110. <td> const</td>
  1111. </tr>
  1112. </table>
  1113. </div><div class="memdoc">
  1114. <p>Returns the number of currently existing items in the plot</p>
  1115. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>, <a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> </dd></dl>
  1116. </div>
  1117. </div>
  1118. <a class="anchor" id="ac83aa9f5a3e9bb3efc9cdc763dcd42a6"></a>
  1119. <div class="memitem">
  1120. <div class="memproto">
  1121. <table class="mlabels">
  1122. <tr>
  1123. <td class="mlabels-left">
  1124. <table class="memname">
  1125. <tr>
  1126. <td class="memname">void QCustomPlot::itemDoubleClick </td>
  1127. <td>(</td>
  1128. <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td>
  1129. <td class="paramname"><em>item</em>, </td>
  1130. </tr>
  1131. <tr>
  1132. <td class="paramkey"></td>
  1133. <td></td>
  1134. <td class="paramtype">QMouseEvent *&#160;</td>
  1135. <td class="paramname"><em>event</em>&#160;</td>
  1136. </tr>
  1137. <tr>
  1138. <td></td>
  1139. <td>)</td>
  1140. <td></td><td></td>
  1141. </tr>
  1142. </table>
  1143. </td>
  1144. <td class="mlabels-right">
  1145. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1146. </tr>
  1147. </table>
  1148. </div><div class="memdoc">
  1149. <p>This signal is emitted when an item is double clicked.</p>
  1150. <p><em>event</em> is the mouse event that caused the click and <em>item</em> is the item that received the click.</p>
  1151. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ae16b51f52d2b7aebbc7e3e74e6ff2e4b">itemClick</a> </dd></dl>
  1152. </div>
  1153. </div>
  1154. <a class="anchor" id="aac492da01782820454e9136a8db28182"></a>
  1155. <div class="memitem">
  1156. <div class="memproto">
  1157. <table class="memname">
  1158. <tr>
  1159. <td class="memname"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * QCustomPlot::layer </td>
  1160. <td>(</td>
  1161. <td class="paramtype">const QString &amp;&#160;</td>
  1162. <td class="paramname"><em>name</em></td><td>)</td>
  1163. <td> const</td>
  1164. </tr>
  1165. </table>
  1166. </div><div class="memdoc">
  1167. <p>Returns the layer with the specified <em>name</em>. If there is no layer with the specified name, 0 is returned.</p>
  1168. <p>Layer names are case-sensitive.</p>
  1169. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="class_q_custom_plot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> </dd></dl>
  1170. </div>
  1171. </div>
  1172. <a class="anchor" id="a1e73051e371f1815b48d8b355be0d2ab"></a>
  1173. <div class="memitem">
  1174. <div class="memproto">
  1175. <table class="memname">
  1176. <tr>
  1177. <td class="memname"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * QCustomPlot::layer </td>
  1178. <td>(</td>
  1179. <td class="paramtype">int&#160;</td>
  1180. <td class="paramname"><em>index</em></td><td>)</td>
  1181. <td> const</td>
  1182. </tr>
  1183. </table>
  1184. </div><div class="memdoc">
  1185. <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
  1186. <p>Returns the layer by <em>index</em>. If the index is invalid, 0 is returned.</p>
  1187. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="class_q_custom_plot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> </dd></dl>
  1188. </div>
  1189. </div>
  1190. <a class="anchor" id="a1b3926884f5bd4bdda1495d8b3c891d0"></a>
  1191. <div class="memitem">
  1192. <div class="memproto">
  1193. <table class="memname">
  1194. <tr>
  1195. <td class="memname">int QCustomPlot::layerCount </td>
  1196. <td>(</td>
  1197. <td class="paramname"></td><td>)</td>
  1198. <td> const</td>
  1199. </tr>
  1200. </table>
  1201. </div><div class="memdoc">
  1202. <p>Returns the number of currently existing layers in the plot</p>
  1203. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aac492da01782820454e9136a8db28182">layer</a>, <a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a> </dd></dl>
  1204. </div>
  1205. </div>
  1206. <a class="anchor" id="a840458186d4483c8a42d6a399448d38f"></a>
  1207. <div class="memitem">
  1208. <div class="memproto">
  1209. <table class="memname">
  1210. <tr>
  1211. <td class="memname"><a class="el" href="class_q_c_p_layout_element.html">QCPLayoutElement</a> * QCustomPlot::layoutElementAt </td>
  1212. <td>(</td>
  1213. <td class="paramtype">const QPointF &amp;&#160;</td>
  1214. <td class="paramname"><em>pos</em></td><td>)</td>
  1215. <td> const</td>
  1216. </tr>
  1217. </table>
  1218. </div><div class="memdoc">
  1219. <p>Returns the layout element at pixel position <em>pos</em>. If there is no element at that position, returns 0.</p>
  1220. <p>Only visible elements are used. If <a class="el" href="class_q_c_p_layerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">QCPLayoutElement::setVisible</a> on the element itself or on any of its parent elements is set to false, it will not be considered.</p>
  1221. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a793e4b04e0ede11a733021907368fa83">itemAt</a>, <a class="el" href="class_q_custom_plot.html#ac1d1bc6ae4e13616fb02cef6d9e2188e">plottableAt</a> </dd></dl>
  1222. </div>
  1223. </div>
  1224. <a class="anchor" id="a79cff0baafbca10a3aaf694d2d3b9ab3"></a>
  1225. <div class="memitem">
  1226. <div class="memproto">
  1227. <table class="mlabels">
  1228. <tr>
  1229. <td class="mlabels-left">
  1230. <table class="memname">
  1231. <tr>
  1232. <td class="memname">void QCustomPlot::legendClick </td>
  1233. <td>(</td>
  1234. <td class="paramtype"><a class="el" href="class_q_c_p_legend.html">QCPLegend</a> *&#160;</td>
  1235. <td class="paramname"><em>legend</em>, </td>
  1236. </tr>
  1237. <tr>
  1238. <td class="paramkey"></td>
  1239. <td></td>
  1240. <td class="paramtype"><a class="el" href="class_q_c_p_abstract_legend_item.html">QCPAbstractLegendItem</a> *&#160;</td>
  1241. <td class="paramname"><em>item</em>, </td>
  1242. </tr>
  1243. <tr>
  1244. <td class="paramkey"></td>
  1245. <td></td>
  1246. <td class="paramtype">QMouseEvent *&#160;</td>
  1247. <td class="paramname"><em>event</em>&#160;</td>
  1248. </tr>
  1249. <tr>
  1250. <td></td>
  1251. <td>)</td>
  1252. <td></td><td></td>
  1253. </tr>
  1254. </table>
  1255. </td>
  1256. <td class="mlabels-right">
  1257. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1258. </tr>
  1259. </table>
  1260. </div><div class="memdoc">
  1261. <p>This signal is emitted when a legend (item) is clicked.</p>
  1262. <p><em>event</em> is the mouse event that caused the click, <em>legend</em> is the legend that received the click and <em>item</em> is the legend item that received the click. If only the legend and no item is clicked, <em>item</em> is 0. This happens for a click inside the legend padding or the space between two items.</p>
  1263. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a0250f835c044521df1619b132288bca7">legendDoubleClick</a> </dd></dl>
  1264. </div>
  1265. </div>
  1266. <a class="anchor" id="a0250f835c044521df1619b132288bca7"></a>
  1267. <div class="memitem">
  1268. <div class="memproto">
  1269. <table class="mlabels">
  1270. <tr>
  1271. <td class="mlabels-left">
  1272. <table class="memname">
  1273. <tr>
  1274. <td class="memname">void QCustomPlot::legendDoubleClick </td>
  1275. <td>(</td>
  1276. <td class="paramtype"><a class="el" href="class_q_c_p_legend.html">QCPLegend</a> *&#160;</td>
  1277. <td class="paramname"><em>legend</em>, </td>
  1278. </tr>
  1279. <tr>
  1280. <td class="paramkey"></td>
  1281. <td></td>
  1282. <td class="paramtype"><a class="el" href="class_q_c_p_abstract_legend_item.html">QCPAbstractLegendItem</a> *&#160;</td>
  1283. <td class="paramname"><em>item</em>, </td>
  1284. </tr>
  1285. <tr>
  1286. <td class="paramkey"></td>
  1287. <td></td>
  1288. <td class="paramtype">QMouseEvent *&#160;</td>
  1289. <td class="paramname"><em>event</em>&#160;</td>
  1290. </tr>
  1291. <tr>
  1292. <td></td>
  1293. <td>)</td>
  1294. <td></td><td></td>
  1295. </tr>
  1296. </table>
  1297. </td>
  1298. <td class="mlabels-right">
  1299. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1300. </tr>
  1301. </table>
  1302. </div><div class="memdoc">
  1303. <p>This signal is emitted when a legend (item) is double clicked.</p>
  1304. <p><em>event</em> is the mouse event that caused the click, <em>legend</em> is the legend that received the click and <em>item</em> is the legend item that received the click. If only the legend and no item is clicked, <em>item</em> is 0. This happens for a click inside the legend padding or the space between two items.</p>
  1305. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a79cff0baafbca10a3aaf694d2d3b9ab3">legendClick</a> </dd></dl>
  1306. </div>
  1307. </div>
  1308. <a class="anchor" id="a9b232142c64fcf273a953ee08e5b90e9"></a>
  1309. <div class="memitem">
  1310. <div class="memproto">
  1311. <table class="mlabels">
  1312. <tr>
  1313. <td class="mlabels-left">
  1314. <table class="memname">
  1315. <tr>
  1316. <td class="memname">void QCustomPlot::mouseDoubleClick </td>
  1317. <td>(</td>
  1318. <td class="paramtype">QMouseEvent *&#160;</td>
  1319. <td class="paramname"><em>event</em></td><td>)</td>
  1320. <td></td>
  1321. </tr>
  1322. </table>
  1323. </td>
  1324. <td class="mlabels-right">
  1325. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1326. </tr>
  1327. </table>
  1328. </div><div class="memdoc">
  1329. <p>This signal is emitted when the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> receives a mouse double click event. </p>
  1330. </div>
  1331. </div>
  1332. <a class="anchor" id="a742ca4f94688bed2a685fd8a56ce5704"></a>
  1333. <div class="memitem">
  1334. <div class="memproto">
  1335. <table class="mlabels">
  1336. <tr>
  1337. <td class="mlabels-left">
  1338. <table class="memname">
  1339. <tr>
  1340. <td class="memname">void QCustomPlot::mouseMove </td>
  1341. <td>(</td>
  1342. <td class="paramtype">QMouseEvent *&#160;</td>
  1343. <td class="paramname"><em>event</em></td><td>)</td>
  1344. <td></td>
  1345. </tr>
  1346. </table>
  1347. </td>
  1348. <td class="mlabels-right">
  1349. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1350. </tr>
  1351. </table>
  1352. </div><div class="memdoc">
  1353. <p>This signal is emitted when the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> receives a mouse move event.</p>
  1354. <p>It is emitted before <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> handles any other mechanism like range dragging. So a slot connected to this signal can still influence the behaviour e.g. with <a class="el" href="class_q_c_p_axis_rect.html#ae6aef2f7211ba6097c925dcd26008418">QCPAxisRect::setRangeDrag</a> or <a class="el" href="class_q_c_p_axis_rect.html#a648cce336bd99daac4a5ca3e5743775d">QCPAxisRect::setRangeDragAxes</a>.</p>
  1355. <dl class="section warning"><dt>Warning</dt><dd>It is discouraged to change the drag-axes with <a class="el" href="class_q_c_p_axis_rect.html#a648cce336bd99daac4a5ca3e5743775d">QCPAxisRect::setRangeDragAxes</a> here, because the dragging starting point was saved the moment the mouse was pressed. Thus it only has a meaning for the range drag axes that were set at that moment. If you want to change the drag axes, consider doing this in the <a class="el" href="class_q_custom_plot.html#aca75bf9afb5dd19349c375de2a87a051">mousePress</a> signal instead. </dd></dl>
  1356. </div>
  1357. </div>
  1358. <a class="anchor" id="aca75bf9afb5dd19349c375de2a87a051"></a>
  1359. <div class="memitem">
  1360. <div class="memproto">
  1361. <table class="mlabels">
  1362. <tr>
  1363. <td class="mlabels-left">
  1364. <table class="memname">
  1365. <tr>
  1366. <td class="memname">void QCustomPlot::mousePress </td>
  1367. <td>(</td>
  1368. <td class="paramtype">QMouseEvent *&#160;</td>
  1369. <td class="paramname"><em>event</em></td><td>)</td>
  1370. <td></td>
  1371. </tr>
  1372. </table>
  1373. </td>
  1374. <td class="mlabels-right">
  1375. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1376. </tr>
  1377. </table>
  1378. </div><div class="memdoc">
  1379. <p>This signal is emitted when the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> receives a mouse press event.</p>
  1380. <p>It is emitted before <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> handles any other mechanism like range dragging. So a slot connected to this signal can still influence the behaviour e.g. with <a class="el" href="class_q_c_p_axis_rect.html#ae6aef2f7211ba6097c925dcd26008418">QCPAxisRect::setRangeDrag</a> or <a class="el" href="class_q_c_p_axis_rect.html#a648cce336bd99daac4a5ca3e5743775d">QCPAxisRect::setRangeDragAxes</a>. </p>
  1381. </div>
  1382. </div>
  1383. <a class="anchor" id="ac8dc0ee6bb98e923c00b4ebafbe6134d"></a>
  1384. <div class="memitem">
  1385. <div class="memproto">
  1386. <table class="mlabels">
  1387. <tr>
  1388. <td class="mlabels-left">
  1389. <table class="memname">
  1390. <tr>
  1391. <td class="memname">void QCustomPlot::mouseRelease </td>
  1392. <td>(</td>
  1393. <td class="paramtype">QMouseEvent *&#160;</td>
  1394. <td class="paramname"><em>event</em></td><td>)</td>
  1395. <td></td>
  1396. </tr>
  1397. </table>
  1398. </td>
  1399. <td class="mlabels-right">
  1400. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1401. </tr>
  1402. </table>
  1403. </div><div class="memdoc">
  1404. <p>This signal is emitted when the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> receives a mouse release event.</p>
  1405. <p>It is emitted before <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> handles any other mechanisms like object selection. So a slot connected to this signal can still influence the behaviour e.g. with <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> or <a class="el" href="class_q_c_p_abstract_plottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a>. </p>
  1406. </div>
  1407. </div>
  1408. <a class="anchor" id="ac80a14206f99304a91d2aa55775ec3ff"></a>
  1409. <div class="memitem">
  1410. <div class="memproto">
  1411. <table class="mlabels">
  1412. <tr>
  1413. <td class="mlabels-left">
  1414. <table class="memname">
  1415. <tr>
  1416. <td class="memname">void QCustomPlot::mouseWheel </td>
  1417. <td>(</td>
  1418. <td class="paramtype">QWheelEvent *&#160;</td>
  1419. <td class="paramname"><em>event</em></td><td>)</td>
  1420. <td></td>
  1421. </tr>
  1422. </table>
  1423. </td>
  1424. <td class="mlabels-right">
  1425. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1426. </tr>
  1427. </table>
  1428. </div><div class="memdoc">
  1429. <p>This signal is emitted when the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> receives a mouse wheel event.</p>
  1430. <p>It is emitted before <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> handles any other mechanisms like range zooming. So a slot connected to this signal can still influence the behaviour e.g. with <a class="el" href="class_q_c_p_axis_rect.html#a7960a9d222f1c31d558b064b60f86a31">QCPAxisRect::setRangeZoom</a>, <a class="el" href="class_q_c_p_axis_rect.html#a9442cca2aa358405f39a64d51eca13d2">QCPAxisRect::setRangeZoomAxes</a> or <a class="el" href="class_q_c_p_axis_rect.html#a895d7ac745ea614e04056244b3c138ac">QCPAxisRect::setRangeZoomFactor</a>. </p>
  1431. </div>
  1432. </div>
  1433. <a class="anchor" id="ae896140beff19424e9e9e02d6e331104"></a>
  1434. <div class="memitem">
  1435. <div class="memproto">
  1436. <table class="memname">
  1437. <tr>
  1438. <td class="memname">bool QCustomPlot::moveLayer </td>
  1439. <td>(</td>
  1440. <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td>
  1441. <td class="paramname"><em>layer</em>, </td>
  1442. </tr>
  1443. <tr>
  1444. <td class="paramkey"></td>
  1445. <td></td>
  1446. <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td>
  1447. <td class="paramname"><em>otherLayer</em>, </td>
  1448. </tr>
  1449. <tr>
  1450. <td class="paramkey"></td>
  1451. <td></td>
  1452. <td class="paramtype"><a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">QCustomPlot::LayerInsertMode</a>&#160;</td>
  1453. <td class="paramname"><em>insertMode</em> = <code><a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a></code>&#160;</td>
  1454. </tr>
  1455. <tr>
  1456. <td></td>
  1457. <td>)</td>
  1458. <td></td><td></td>
  1459. </tr>
  1460. </table>
  1461. </div><div class="memdoc">
  1462. <p>Moves the specified <em>layer</em> either above or below <em>otherLayer</em>. Whether it's placed above or below is controlled with <em>insertMode</em>.</p>
  1463. <p>Returns true on success, i.e. when both <em>layer</em> and <em>otherLayer</em> are valid layers in the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
  1464. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aac492da01782820454e9136a8db28182">layer</a>, <a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a> </dd></dl>
  1465. </div>
  1466. </div>
  1467. <a class="anchor" id="afd280d4d621ae64a106543a545c508d7"></a>
  1468. <div class="memitem">
  1469. <div class="memproto">
  1470. <table class="mlabels">
  1471. <tr>
  1472. <td class="mlabels-left">
  1473. <table class="memname">
  1474. <tr>
  1475. <td class="memname"><a class="el" href="class_q_c_p_layout_grid.html">QCPLayoutGrid</a> * QCustomPlot::plotLayout </td>
  1476. <td>(</td>
  1477. <td class="paramname"></td><td>)</td>
  1478. <td> const</td>
  1479. </tr>
  1480. </table>
  1481. </td>
  1482. <td class="mlabels-right">
  1483. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1484. </tr>
  1485. </table>
  1486. </div><div class="memdoc">
  1487. <p>Returns the top level layout of this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> instance. It is a <a class="el" href="class_q_c_p_layout_grid.html">QCPLayoutGrid</a>, initially containing just one cell with the main <a class="el" href="class_q_c_p_axis_rect.html" title="Holds multiple axes and arranges them in a rectangular shape. ">QCPAxisRect</a> inside. </p>
  1488. </div>
  1489. </div>
  1490. <a class="anchor" id="a32de81ff53e263e785b83b52ecd99d6f"></a>
  1491. <div class="memitem">
  1492. <div class="memproto">
  1493. <table class="memname">
  1494. <tr>
  1495. <td class="memname"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * QCustomPlot::plottable </td>
  1496. <td>(</td>
  1497. <td class="paramtype">int&#160;</td>
  1498. <td class="paramname"><em>index</em></td><td>)</td>
  1499. <td></td>
  1500. </tr>
  1501. </table>
  1502. </div><div class="memdoc">
  1503. <p>Returns the plottable with <em>index</em>. If the index is invalid, returns 0.</p>
  1504. <p>There is an overloaded version of this function with no parameter which returns the last added plottable, see <a class="el" href="class_q_custom_plot.html#adea38bdc660da9412ba69fb939031567">QCustomPlot::plottable()</a></p>
  1505. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a2dbfbf15dc38713f9a1c445a3dd2e989">plottableCount</a>, <a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> </dd></dl>
  1506. </div>
  1507. </div>
  1508. <a class="anchor" id="adea38bdc660da9412ba69fb939031567"></a>
  1509. <div class="memitem">
  1510. <div class="memproto">
  1511. <table class="memname">
  1512. <tr>
  1513. <td class="memname"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * QCustomPlot::plottable </td>
  1514. <td>(</td>
  1515. <td class="paramname"></td><td>)</td>
  1516. <td></td>
  1517. </tr>
  1518. </table>
  1519. </div><div class="memdoc">
  1520. <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
  1521. <p>Returns the last plottable that was added with <a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a>. If there are no plottables in the plot, returns 0.</p>
  1522. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a2dbfbf15dc38713f9a1c445a3dd2e989">plottableCount</a>, <a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> </dd></dl>
  1523. </div>
  1524. </div>
  1525. <a class="anchor" id="ac1d1bc6ae4e13616fb02cef6d9e2188e"></a>
  1526. <div class="memitem">
  1527. <div class="memproto">
  1528. <table class="memname">
  1529. <tr>
  1530. <td class="memname"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * QCustomPlot::plottableAt </td>
  1531. <td>(</td>
  1532. <td class="paramtype">const QPointF &amp;&#160;</td>
  1533. <td class="paramname"><em>pos</em>, </td>
  1534. </tr>
  1535. <tr>
  1536. <td class="paramkey"></td>
  1537. <td></td>
  1538. <td class="paramtype">bool&#160;</td>
  1539. <td class="paramname"><em>onlySelectable</em> = <code>false</code>&#160;</td>
  1540. </tr>
  1541. <tr>
  1542. <td></td>
  1543. <td>)</td>
  1544. <td></td><td> const</td>
  1545. </tr>
  1546. </table>
  1547. </div><div class="memdoc">
  1548. <p>Returns the plottable at the pixel position <em>pos</em>. Plottables that only consist of single lines (like graphs) have a tolerance band around them, see <a class="el" href="class_q_custom_plot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a>. If multiple plottables come into consideration, the one closest to <em>pos</em> is returned.</p>
  1549. <p>If <em>onlySelectable</em> is true, only plottables that are selectable (<a class="el" href="class_q_c_p_abstract_plottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a>) are considered.</p>
  1550. <p>If there is no plottable at <em>pos</em>, the return value is 0.</p>
  1551. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a793e4b04e0ede11a733021907368fa83">itemAt</a>, <a class="el" href="class_q_custom_plot.html#a840458186d4483c8a42d6a399448d38f">layoutElementAt</a> </dd></dl>
  1552. </div>
  1553. </div>
  1554. <a class="anchor" id="a57e5efa8a854620e9bf62d31fc139f53"></a>
  1555. <div class="memitem">
  1556. <div class="memproto">
  1557. <table class="mlabels">
  1558. <tr>
  1559. <td class="mlabels-left">
  1560. <table class="memname">
  1561. <tr>
  1562. <td class="memname">void QCustomPlot::plottableClick </td>
  1563. <td>(</td>
  1564. <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td>
  1565. <td class="paramname"><em>plottable</em>, </td>
  1566. </tr>
  1567. <tr>
  1568. <td class="paramkey"></td>
  1569. <td></td>
  1570. <td class="paramtype">QMouseEvent *&#160;</td>
  1571. <td class="paramname"><em>event</em>&#160;</td>
  1572. </tr>
  1573. <tr>
  1574. <td></td>
  1575. <td>)</td>
  1576. <td></td><td></td>
  1577. </tr>
  1578. </table>
  1579. </td>
  1580. <td class="mlabels-right">
  1581. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1582. </tr>
  1583. </table>
  1584. </div><div class="memdoc">
  1585. <p>This signal is emitted when a plottable is clicked.</p>
  1586. <p><em>event</em> is the mouse event that caused the click and <em>plottable</em> is the plottable that received the click.</p>
  1587. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#af2e6f1cea923dae437681d01ce7d0c31">plottableDoubleClick</a> </dd></dl>
  1588. </div>
  1589. </div>
  1590. <a class="anchor" id="a2dbfbf15dc38713f9a1c445a3dd2e989"></a>
  1591. <div class="memitem">
  1592. <div class="memproto">
  1593. <table class="memname">
  1594. <tr>
  1595. <td class="memname">int QCustomPlot::plottableCount </td>
  1596. <td>(</td>
  1597. <td class="paramname"></td><td>)</td>
  1598. <td> const</td>
  1599. </tr>
  1600. </table>
  1601. </div><div class="memdoc">
  1602. <p>Returns the number of currently existing plottables in the plot</p>
  1603. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>, <a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> </dd></dl>
  1604. </div>
  1605. </div>
  1606. <a class="anchor" id="af2e6f1cea923dae437681d01ce7d0c31"></a>
  1607. <div class="memitem">
  1608. <div class="memproto">
  1609. <table class="mlabels">
  1610. <tr>
  1611. <td class="mlabels-left">
  1612. <table class="memname">
  1613. <tr>
  1614. <td class="memname">void QCustomPlot::plottableDoubleClick </td>
  1615. <td>(</td>
  1616. <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td>
  1617. <td class="paramname"><em>plottable</em>, </td>
  1618. </tr>
  1619. <tr>
  1620. <td class="paramkey"></td>
  1621. <td></td>
  1622. <td class="paramtype">QMouseEvent *&#160;</td>
  1623. <td class="paramname"><em>event</em>&#160;</td>
  1624. </tr>
  1625. <tr>
  1626. <td></td>
  1627. <td>)</td>
  1628. <td></td><td></td>
  1629. </tr>
  1630. </table>
  1631. </td>
  1632. <td class="mlabels-right">
  1633. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  1634. </tr>
  1635. </table>
  1636. </div><div class="memdoc">
  1637. <p>This signal is emitted when a plottable is double clicked.</p>
  1638. <p><em>event</em> is the mouse event that caused the click and <em>plottable</em> is the plottable that received the click.</p>
  1639. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a57e5efa8a854620e9bf62d31fc139f53">plottableClick</a> </dd></dl>
  1640. </div>
  1641. </div>
  1642. <a class="anchor" id="a903561be895fb6528a770d66ac5e6713"></a>
  1643. <div class="memitem">
  1644. <div class="memproto">
  1645. <table class="memname">
  1646. <tr>
  1647. <td class="memname">bool QCustomPlot::removeGraph </td>
  1648. <td>(</td>
  1649. <td class="paramtype"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> *&#160;</td>
  1650. <td class="paramname"><em>graph</em></td><td>)</td>
  1651. <td></td>
  1652. </tr>
  1653. </table>
  1654. </div><div class="memdoc">
  1655. <p>Removes the specified <em>graph</em> from the plot and, if necessary, from the QCustomPlot::legend. If any other graphs in the plot have a channel fill set towards the removed graph, the channel fill property of those graphs is reset to zero (no channel fill).</p>
  1656. <p>Returns true on success.</p>
  1657. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ab0f3abff2d2f7df3668b5836f39207fa">clearGraphs</a> </dd></dl>
  1658. </div>
  1659. </div>
  1660. <a class="anchor" id="a9554b3d2d5b10c0f884bd4010b6c192c"></a>
  1661. <div class="memitem">
  1662. <div class="memproto">
  1663. <table class="memname">
  1664. <tr>
  1665. <td class="memname">bool QCustomPlot::removeGraph </td>
  1666. <td>(</td>
  1667. <td class="paramtype">int&#160;</td>
  1668. <td class="paramname"><em>index</em></td><td>)</td>
  1669. <td></td>
  1670. </tr>
  1671. </table>
  1672. </div><div class="memdoc">
  1673. <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
  1674. <p>Removes the graph by its <em>index</em>. </p>
  1675. </div>
  1676. </div>
  1677. <a class="anchor" id="ae04446557292551e8fb6e2c106e1848d"></a>
  1678. <div class="memitem">
  1679. <div class="memproto">
  1680. <table class="memname">
  1681. <tr>
  1682. <td class="memname">bool QCustomPlot::removeItem </td>
  1683. <td>(</td>
  1684. <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> *&#160;</td>
  1685. <td class="paramname"><em>item</em></td><td>)</td>
  1686. <td></td>
  1687. </tr>
  1688. </table>
  1689. </div><div class="memdoc">
  1690. <p>Removes the specified item from the plot.</p>
  1691. <p>Returns true on success.</p>
  1692. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a>, <a class="el" href="class_q_custom_plot.html#abdfd07d4f0591d0cf967f85013fd3645">clearItems</a> </dd></dl>
  1693. </div>
  1694. </div>
  1695. <a class="anchor" id="abcfdda3d601c0441cab136137d715dea"></a>
  1696. <div class="memitem">
  1697. <div class="memproto">
  1698. <table class="memname">
  1699. <tr>
  1700. <td class="memname">bool QCustomPlot::removeItem </td>
  1701. <td>(</td>
  1702. <td class="paramtype">int&#160;</td>
  1703. <td class="paramname"><em>index</em></td><td>)</td>
  1704. <td></td>
  1705. </tr>
  1706. </table>
  1707. </div><div class="memdoc">
  1708. <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
  1709. <p>Removes the item by its <em>index</em>. </p>
  1710. </div>
  1711. </div>
  1712. <a class="anchor" id="a40f75e342c5eaab6a86066a42a0e2a94"></a>
  1713. <div class="memitem">
  1714. <div class="memproto">
  1715. <table class="memname">
  1716. <tr>
  1717. <td class="memname">bool QCustomPlot::removeLayer </td>
  1718. <td>(</td>
  1719. <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td>
  1720. <td class="paramname"><em>layer</em></td><td>)</td>
  1721. <td></td>
  1722. </tr>
  1723. </table>
  1724. </div><div class="memdoc">
  1725. <p>Removes the specified <em>layer</em> and returns true on success.</p>
  1726. <p>All layerables (e.g. plottables and items) on the removed layer will be moved to the layer below <em>layer</em>. If <em>layer</em> is the bottom layer, the layerables are moved to the layer above. In both cases, the total rendering order of all layerables in the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> is preserved.</p>
  1727. <p>If <em>layer</em> is the current layer (<a class="el" href="class_q_custom_plot.html#a73a6dc47c653bb6f8f030abca5a11852">setCurrentLayer</a>), the layer below (or above, if bottom layer) becomes the new current layer.</p>
  1728. <p>It is not possible to remove the last layer of the plot.</p>
  1729. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aac492da01782820454e9136a8db28182">layer</a>, <a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a> </dd></dl>
  1730. </div>
  1731. </div>
  1732. <a class="anchor" id="af3dafd56884208474f311d6226513ab2"></a>
  1733. <div class="memitem">
  1734. <div class="memproto">
  1735. <table class="memname">
  1736. <tr>
  1737. <td class="memname">bool QCustomPlot::removePlottable </td>
  1738. <td>(</td>
  1739. <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> *&#160;</td>
  1740. <td class="paramname"><em>plottable</em></td><td>)</td>
  1741. <td></td>
  1742. </tr>
  1743. </table>
  1744. </div><div class="memdoc">
  1745. <p>Removes the specified plottable from the plot and, if necessary, from the legend (QCustomPlot::legend).</p>
  1746. <p>Returns true on success.</p>
  1747. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a>, <a class="el" href="class_q_custom_plot.html#a9a409bb3201878adb7ffba1c89c4e004">clearPlottables</a> </dd></dl>
  1748. </div>
  1749. </div>
  1750. <a class="anchor" id="afc210e0021480f8119bccf37839dbcc8"></a>
  1751. <div class="memitem">
  1752. <div class="memproto">
  1753. <table class="memname">
  1754. <tr>
  1755. <td class="memname">bool QCustomPlot::removePlottable </td>
  1756. <td>(</td>
  1757. <td class="paramtype">int&#160;</td>
  1758. <td class="paramname"><em>index</em></td><td>)</td>
  1759. <td></td>
  1760. </tr>
  1761. </table>
  1762. </div><div class="memdoc">
  1763. <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
  1764. <p>Removes the plottable by its <em>index</em>. </p>
  1765. </div>
  1766. </div>
  1767. <a class="anchor" id="a563540b54b2a09c8ef092d42e9621f42"></a>
  1768. <div class="memitem">
  1769. <div class="memproto">
  1770. <table class="memname">
  1771. <tr>
  1772. <td class="memname">void QCustomPlot::replot </td>
  1773. <td>(</td>
  1774. <td class="paramname"></td><td>)</td>
  1775. <td></td>
  1776. </tr>
  1777. </table>
  1778. </div><div class="memdoc">
  1779. <p>Causes a complete replot into the internal buffer. Finally, update() is called, to redraw the buffer on the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget surface. This is the method that must be called to make changes, for example on the axis ranges or data points of graphs, visible.</p>
  1780. <p>Under a few circumstances, <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> causes a replot by itself. Those are resize events of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget and user interactions (object selection and range dragging/zooming).</p>
  1781. <p>Before the replot happens, the signal <a class="el" href="class_q_custom_plot.html#a0cd30e29b73efd6afe096e44bc5956f5">beforeReplot</a> is emitted. After the replot, <a class="el" href="class_q_custom_plot.html#a6f4fa624af060bc5919c5f266cf426a0">afterReplot</a> is emitted. It is safe to mutually connect the replot slot with any of those two signals on two QCustomPlots to make them replot synchronously, it won't cause an infinite recursion. </p>
  1782. </div>
  1783. </div>
  1784. <a class="anchor" id="ad86528f2cee6c7e446dea4a6e8839935"></a>
  1785. <div class="memitem">
  1786. <div class="memproto">
  1787. <table class="memname">
  1788. <tr>
  1789. <td class="memname">void QCustomPlot::rescaleAxes </td>
  1790. <td>(</td>
  1791. <td class="paramtype">bool&#160;</td>
  1792. <td class="paramname"><em>onlyVisiblePlottables</em> = <code>false</code></td><td>)</td>
  1793. <td></td>
  1794. </tr>
  1795. </table>
  1796. </div><div class="memdoc">
  1797. <p>Rescales the axes such that all plottables (like graphs) in the plot are fully visible.</p>
  1798. <p>if <em>onlyVisiblePlottables</em> is set to true, only the plottables that have their visibility set to true (<a class="el" href="class_q_c_p_layerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">QCPLayerable::setVisible</a>), will be used to rescale the axes.</p>
  1799. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_c_p_abstract_plottable.html#a7e8fc3be43c27ccacd70a7bf9d74a5cd">QCPAbstractPlottable::rescaleAxes</a>, <a class="el" href="class_q_c_p_axis.html#a499345f02ebce4b23d8ccec96e58daa9">QCPAxis::rescale</a> </dd></dl>
  1800. </div>
  1801. </div>
  1802. <a class="anchor" id="a6629d9e8e6da4bf18055ee0257fdce9a"></a>
  1803. <div class="memitem">
  1804. <div class="memproto">
  1805. <table class="memname">
  1806. <tr>
  1807. <td class="memname">bool QCustomPlot::saveBmp </td>
  1808. <td>(</td>
  1809. <td class="paramtype">const QString &amp;&#160;</td>
  1810. <td class="paramname"><em>fileName</em>, </td>
  1811. </tr>
  1812. <tr>
  1813. <td class="paramkey"></td>
  1814. <td></td>
  1815. <td class="paramtype">int&#160;</td>
  1816. <td class="paramname"><em>width</em> = <code>0</code>, </td>
  1817. </tr>
  1818. <tr>
  1819. <td class="paramkey"></td>
  1820. <td></td>
  1821. <td class="paramtype">int&#160;</td>
  1822. <td class="paramname"><em>height</em> = <code>0</code>, </td>
  1823. </tr>
  1824. <tr>
  1825. <td class="paramkey"></td>
  1826. <td></td>
  1827. <td class="paramtype">double&#160;</td>
  1828. <td class="paramname"><em>scale</em> = <code>1.0</code>&#160;</td>
  1829. </tr>
  1830. <tr>
  1831. <td></td>
  1832. <td>)</td>
  1833. <td></td><td></td>
  1834. </tr>
  1835. </table>
  1836. </div><div class="memdoc">
  1837. <p>Saves a BMP image file to <em>fileName</em> on disc. The output plot will have the dimensions <em>width</em> and <em>height</em> in pixels. If either <em>width</em> or <em>height</em> is zero, the exported image will have the same dimensions as the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget currently has. Line widths and texts etc. are not scaled up when larger widths/heights are used. If you want that effect, use the <em>scale</em> parameter.</p>
  1838. <p>For example, if you set both <em>width</em> and <em>height</em> to 100 and <em>scale</em> to 2, you will end up with an image file of size 200*200 in which all graphical elements are scaled up by factor 2 (line widths, texts, etc.). This scaling is not done by stretching a 100*100 image, the result will have full 200*200 pixel resolution.</p>
  1839. <p>If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">QCustomPlot::setAntialiasedElements</a> to <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31">QCP::aeAll</a> as this allows <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> to place objects with sub-pixel accuracy.</p>
  1840. <dl class="section warning"><dt>Warning</dt><dd>If calling this function inside the constructor of the parent of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget (i.e. the <a class="el" href="class_main_window.html">MainWindow</a> constructor, if <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> is inside the <a class="el" href="class_main_window.html">MainWindow</a>), always provide explicit non-zero widths and heights. If you leave <em>width</em> or <em>height</em> as 0 (default), this function uses the current width and height of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget. However, in Qt, these aren't defined yet inside the constructor, so you would get an image that has strange widths/heights.</dd></dl>
  1841. <p>The objects of the plot will appear in the current selection state. If you don't want any selected objects to be painted in their selected look, deselect everything with <a class="el" href="class_q_custom_plot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> before calling this function.</p>
  1842. <p>Returns true on success. If this function fails, most likely the BMP format isn't supported by the system, see Qt docs about QImageWriter::supportedImageFormats().</p>
  1843. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a84e33ad7492180f20ff520e557ed102d">savePdf</a>, <a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="class_q_custom_plot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="class_q_custom_plot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> </dd></dl>
  1844. </div>
  1845. </div>
  1846. <a class="anchor" id="a490c722092d1771e8ce4a7a73dfd84ab"></a>
  1847. <div class="memitem">
  1848. <div class="memproto">
  1849. <table class="memname">
  1850. <tr>
  1851. <td class="memname">bool QCustomPlot::saveJpg </td>
  1852. <td>(</td>
  1853. <td class="paramtype">const QString &amp;&#160;</td>
  1854. <td class="paramname"><em>fileName</em>, </td>
  1855. </tr>
  1856. <tr>
  1857. <td class="paramkey"></td>
  1858. <td></td>
  1859. <td class="paramtype">int&#160;</td>
  1860. <td class="paramname"><em>width</em> = <code>0</code>, </td>
  1861. </tr>
  1862. <tr>
  1863. <td class="paramkey"></td>
  1864. <td></td>
  1865. <td class="paramtype">int&#160;</td>
  1866. <td class="paramname"><em>height</em> = <code>0</code>, </td>
  1867. </tr>
  1868. <tr>
  1869. <td class="paramkey"></td>
  1870. <td></td>
  1871. <td class="paramtype">double&#160;</td>
  1872. <td class="paramname"><em>scale</em> = <code>1.0</code>, </td>
  1873. </tr>
  1874. <tr>
  1875. <td class="paramkey"></td>
  1876. <td></td>
  1877. <td class="paramtype">int&#160;</td>
  1878. <td class="paramname"><em>quality</em> = <code>-1</code>&#160;</td>
  1879. </tr>
  1880. <tr>
  1881. <td></td>
  1882. <td>)</td>
  1883. <td></td><td></td>
  1884. </tr>
  1885. </table>
  1886. </div><div class="memdoc">
  1887. <p>Saves a JPG image file to <em>fileName</em> on disc. The output plot will have the dimensions <em>width</em> and <em>height</em> in pixels. If either <em>width</em> or <em>height</em> is zero, the exported image will have the same dimensions as the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget currently has. Line widths and texts etc. are not scaled up when larger widths/heights are used. If you want that effect, use the <em>scale</em> parameter.</p>
  1888. <p>For example, if you set both <em>width</em> and <em>height</em> to 100 and <em>scale</em> to 2, you will end up with an image file of size 200*200 in which all graphical elements are scaled up by factor 2 (line widths, texts, etc.). This scaling is not done by stretching a 100*100 image, the result will have full 200*200 pixel resolution.</p>
  1889. <p>If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">QCustomPlot::setAntialiasedElements</a> to <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31">QCP::aeAll</a> as this allows <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> to place objects with sub-pixel accuracy.</p>
  1890. <dl class="section warning"><dt>Warning</dt><dd>If calling this function inside the constructor of the parent of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget (i.e. the <a class="el" href="class_main_window.html">MainWindow</a> constructor, if <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> is inside the <a class="el" href="class_main_window.html">MainWindow</a>), always provide explicit non-zero widths and heights. If you leave <em>width</em> or <em>height</em> as 0 (default), this function uses the current width and height of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget. However, in Qt, these aren't defined yet inside the constructor, so you would get an image that has strange widths/heights.</dd></dl>
  1891. <p>The objects of the plot will appear in the current selection state. If you don't want any selected objects to be painted in their selected look, deselect everything with <a class="el" href="class_q_custom_plot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> before calling this function.</p>
  1892. <p>JPG compression can be controlled with the <em>quality</em> parameter which must be between 0 and 100 or -1 to use the default setting.</p>
  1893. <p>Returns true on success. If this function fails, most likely the JPG format isn't supported by the system, see Qt docs about QImageWriter::supportedImageFormats().</p>
  1894. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a84e33ad7492180f20ff520e557ed102d">savePdf</a>, <a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="class_q_custom_plot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="class_q_custom_plot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> </dd></dl>
  1895. </div>
  1896. </div>
  1897. <a class="anchor" id="a84e33ad7492180f20ff520e557ed102d"></a>
  1898. <div class="memitem">
  1899. <div class="memproto">
  1900. <table class="memname">
  1901. <tr>
  1902. <td class="memname">bool QCustomPlot::savePdf </td>
  1903. <td>(</td>
  1904. <td class="paramtype">const QString &amp;&#160;</td>
  1905. <td class="paramname"><em>fileName</em>, </td>
  1906. </tr>
  1907. <tr>
  1908. <td class="paramkey"></td>
  1909. <td></td>
  1910. <td class="paramtype">bool&#160;</td>
  1911. <td class="paramname"><em>noCosmeticPen</em> = <code>false</code>, </td>
  1912. </tr>
  1913. <tr>
  1914. <td class="paramkey"></td>
  1915. <td></td>
  1916. <td class="paramtype">int&#160;</td>
  1917. <td class="paramname"><em>width</em> = <code>0</code>, </td>
  1918. </tr>
  1919. <tr>
  1920. <td class="paramkey"></td>
  1921. <td></td>
  1922. <td class="paramtype">int&#160;</td>
  1923. <td class="paramname"><em>height</em> = <code>0</code>&#160;</td>
  1924. </tr>
  1925. <tr>
  1926. <td></td>
  1927. <td>)</td>
  1928. <td></td><td></td>
  1929. </tr>
  1930. </table>
  1931. </div><div class="memdoc">
  1932. <p>Saves a PDF with the vectorized plot to the file <em>fileName</em>. The axis ratio as well as the scale of texts and lines will be derived from the specified <em>width</em> and <em>height</em>. This means, the output will look like the normal on-screen output of a <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget with the corresponding pixel width and height. If either <em>width</em> or <em>height</em> is zero, the exported image will have the same dimensions as the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget currently has.</p>
  1933. <p><em>noCosmeticPen</em> disables the use of cosmetic pens when drawing to the PDF file. Cosmetic pens are pens with numerical width 0, which are always drawn as a one pixel wide line, no matter what zoom factor is set in the PDF-Viewer. For more information about cosmetic pens, see the QPainter and QPen documentation.</p>
  1934. <p>The objects of the plot will appear in the current selection state. If you don't want any selected objects to be painted in their selected look, deselect everything with <a class="el" href="class_q_custom_plot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> before calling this function.</p>
  1935. <p>Returns true on success.</p>
  1936. <dl class="section warning"><dt>Warning</dt><dd><ul>
  1937. <li>If you plan on editing the exported PDF file with a vector graphics editor like Inkscape, it is advised to set <em>noCosmeticPen</em> to true to avoid losing those cosmetic lines (which might be quite many, because cosmetic pens are the default for e.g. axes and tick marks). </li>
  1938. <li>If calling this function inside the constructor of the parent of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget (i.e. the <a class="el" href="class_main_window.html">MainWindow</a> constructor, if <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> is inside the <a class="el" href="class_main_window.html">MainWindow</a>), always provide explicit non-zero widths and heights. If you leave <em>width</em> or <em>height</em> as 0 (default), this function uses the current width and height of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget. However, in Qt, these aren't defined yet inside the constructor, so you would get an image that has strange widths/heights.</li>
  1939. </ul>
  1940. </dd></dl>
  1941. <dl class="section note"><dt>Note</dt><dd>On Android systems, this method does nothing and issues an according qDebug warning message.</dd></dl>
  1942. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="class_q_custom_plot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="class_q_custom_plot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="class_q_custom_plot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> </dd></dl>
  1943. </div>
  1944. </div>
  1945. <a class="anchor" id="a7636261aff1f6d25c9da749ece3fc8b8"></a>
  1946. <div class="memitem">
  1947. <div class="memproto">
  1948. <table class="memname">
  1949. <tr>
  1950. <td class="memname">bool QCustomPlot::savePng </td>
  1951. <td>(</td>
  1952. <td class="paramtype">const QString &amp;&#160;</td>
  1953. <td class="paramname"><em>fileName</em>, </td>
  1954. </tr>
  1955. <tr>
  1956. <td class="paramkey"></td>
  1957. <td></td>
  1958. <td class="paramtype">int&#160;</td>
  1959. <td class="paramname"><em>width</em> = <code>0</code>, </td>
  1960. </tr>
  1961. <tr>
  1962. <td class="paramkey"></td>
  1963. <td></td>
  1964. <td class="paramtype">int&#160;</td>
  1965. <td class="paramname"><em>height</em> = <code>0</code>, </td>
  1966. </tr>
  1967. <tr>
  1968. <td class="paramkey"></td>
  1969. <td></td>
  1970. <td class="paramtype">double&#160;</td>
  1971. <td class="paramname"><em>scale</em> = <code>1.0</code>, </td>
  1972. </tr>
  1973. <tr>
  1974. <td class="paramkey"></td>
  1975. <td></td>
  1976. <td class="paramtype">int&#160;</td>
  1977. <td class="paramname"><em>quality</em> = <code>-1</code>&#160;</td>
  1978. </tr>
  1979. <tr>
  1980. <td></td>
  1981. <td>)</td>
  1982. <td></td><td></td>
  1983. </tr>
  1984. </table>
  1985. </div><div class="memdoc">
  1986. <p>Saves a PNG image file to <em>fileName</em> on disc. The output plot will have the dimensions <em>width</em> and <em>height</em> in pixels. If either <em>width</em> or <em>height</em> is zero, the exported image will have the same dimensions as the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget currently has. Line widths and texts etc. are not scaled up when larger widths/heights are used. If you want that effect, use the <em>scale</em> parameter.</p>
  1987. <p>For example, if you set both <em>width</em> and <em>height</em> to 100 and <em>scale</em> to 2, you will end up with an image file of size 200*200 in which all graphical elements are scaled up by factor 2 (line widths, texts, etc.). This scaling is not done by stretching a 100*100 image, the result will have full 200*200 pixel resolution.</p>
  1988. <p>If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">QCustomPlot::setAntialiasedElements</a> to <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31">QCP::aeAll</a> as this allows <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> to place objects with sub-pixel accuracy.</p>
  1989. <dl class="section warning"><dt>Warning</dt><dd>If calling this function inside the constructor of the parent of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget (i.e. the <a class="el" href="class_main_window.html">MainWindow</a> constructor, if <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> is inside the <a class="el" href="class_main_window.html">MainWindow</a>), always provide explicit non-zero widths and heights. If you leave <em>width</em> or <em>height</em> as 0 (default), this function uses the current width and height of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget. However, in Qt, these aren't defined yet inside the constructor, so you would get an image that has strange widths/heights.</dd></dl>
  1990. <p>The objects of the plot will appear in the current selection state. If you don't want any selected objects to be painted in their selected look, deselect everything with <a class="el" href="class_q_custom_plot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> before calling this function.</p>
  1991. <p>If you want the PNG to have a transparent background, call <a class="el" href="class_q_custom_plot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a>(const QBrush &amp;brush) with no brush (Qt::NoBrush) or a transparent color (Qt::transparent), before saving.</p>
  1992. <p>PNG compression can be controlled with the <em>quality</em> parameter which must be between 0 and 100 or -1 to use the default setting.</p>
  1993. <p>Returns true on success. If this function fails, most likely the PNG format isn't supported by the system, see Qt docs about QImageWriter::supportedImageFormats().</p>
  1994. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a84e33ad7492180f20ff520e557ed102d">savePdf</a>, <a class="el" href="class_q_custom_plot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="class_q_custom_plot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="class_q_custom_plot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> </dd></dl>
  1995. </div>
  1996. </div>
  1997. <a class="anchor" id="ab528b84cf92baabe29b1d0ef2f77c93e"></a>
  1998. <div class="memitem">
  1999. <div class="memproto">
  2000. <table class="memname">
  2001. <tr>
  2002. <td class="memname">bool QCustomPlot::saveRastered </td>
  2003. <td>(</td>
  2004. <td class="paramtype">const QString &amp;&#160;</td>
  2005. <td class="paramname"><em>fileName</em>, </td>
  2006. </tr>
  2007. <tr>
  2008. <td class="paramkey"></td>
  2009. <td></td>
  2010. <td class="paramtype">int&#160;</td>
  2011. <td class="paramname"><em>width</em>, </td>
  2012. </tr>
  2013. <tr>
  2014. <td class="paramkey"></td>
  2015. <td></td>
  2016. <td class="paramtype">int&#160;</td>
  2017. <td class="paramname"><em>height</em>, </td>
  2018. </tr>
  2019. <tr>
  2020. <td class="paramkey"></td>
  2021. <td></td>
  2022. <td class="paramtype">double&#160;</td>
  2023. <td class="paramname"><em>scale</em>, </td>
  2024. </tr>
  2025. <tr>
  2026. <td class="paramkey"></td>
  2027. <td></td>
  2028. <td class="paramtype">const char *&#160;</td>
  2029. <td class="paramname"><em>format</em>, </td>
  2030. </tr>
  2031. <tr>
  2032. <td class="paramkey"></td>
  2033. <td></td>
  2034. <td class="paramtype">int&#160;</td>
  2035. <td class="paramname"><em>quality</em> = <code>-1</code>&#160;</td>
  2036. </tr>
  2037. <tr>
  2038. <td></td>
  2039. <td>)</td>
  2040. <td></td><td></td>
  2041. </tr>
  2042. </table>
  2043. </div><div class="memdoc">
  2044. <p>Saves the plot to a rastered image file <em>fileName</em> in the image format <em>format</em>. The plot is sized to <em>width</em> and <em>height</em> in pixels and scaled with <em>scale</em>. (width 100 and scale 2.0 lead to a full resolution file with width 200.) If the <em>format</em> supports compression, <em>quality</em> may be between 0 and 100 to control it.</p>
  2045. <p>Returns true on success. If this function fails, most likely the given <em>format</em> isn't supported by the system, see Qt docs about QImageWriter::supportedImageFormats().</p>
  2046. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="class_q_custom_plot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="class_q_custom_plot.html#a84e33ad7492180f20ff520e557ed102d">savePdf</a> </dd></dl>
  2047. </div>
  2048. </div>
  2049. <a class="anchor" id="aa6baf867e8beb96ed5bd471f83ece903"></a>
  2050. <div class="memitem">
  2051. <div class="memproto">
  2052. <table class="memname">
  2053. <tr>
  2054. <td class="memname">QList&lt; <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * &gt; QCustomPlot::selectedAxes </td>
  2055. <td>(</td>
  2056. <td class="paramname"></td><td>)</td>
  2057. <td> const</td>
  2058. </tr>
  2059. </table>
  2060. </div><div class="memdoc">
  2061. <p>Returns the axes that currently have selected parts, i.e. whose selection state is not <a class="el" href="class_q_c_p_axis.html#abee4c7a54c468b1385dfce2c898b115fae0df8123a5528d5ccf87cb7794f971ea">QCPAxis::spNone</a>.</p>
  2062. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a>, <a class="el" href="class_q_custom_plot.html#a1ea6297300c3e2770e65f95836411755">selectedLegends</a>, <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="class_q_c_p_axis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">QCPAxis::setSelectedParts</a>, <a class="el" href="class_q_c_p_axis.html#a513f9b9e326c505d9bec54880031b085">QCPAxis::setSelectableParts</a> </dd></dl>
  2063. </div>
  2064. </div>
  2065. <a class="anchor" id="ad2a0493bdd01e7aa99a4209ae3a5b67b"></a>
  2066. <div class="memitem">
  2067. <div class="memproto">
  2068. <table class="memname">
  2069. <tr>
  2070. <td class="memname">QList&lt; <a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * &gt; QCustomPlot::selectedGraphs </td>
  2071. <td>(</td>
  2072. <td class="paramname"></td><td>)</td>
  2073. <td> const</td>
  2074. </tr>
  2075. </table>
  2076. </div><div class="memdoc">
  2077. <p>Returns a list of the selected graphs. If no graphs are currently selected, the list is empty.</p>
  2078. <p>If you are not only interested in selected graphs but other plottables like <a class="el" href="class_q_c_p_curve.html" title="A plottable representing a parametric curve in a plot. ">QCPCurve</a>, <a class="el" href="class_q_c_p_bars.html" title="A plottable representing a bar chart in a plot. ">QCPBars</a>, etc., use <a class="el" href="class_q_custom_plot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a>.</p>
  2079. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="class_q_custom_plot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a>, <a class="el" href="class_q_c_p_abstract_plottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a>, <a class="el" href="class_q_c_p_abstract_plottable.html#afbd5428c2952f59d952e11ab5cd79176">QCPAbstractPlottable::setSelected</a> </dd></dl>
  2080. </div>
  2081. </div>
  2082. <a class="anchor" id="a1a48b13547e2d9ac5cd6927516f47a2e"></a>
  2083. <div class="memitem">
  2084. <div class="memproto">
  2085. <table class="memname">
  2086. <tr>
  2087. <td class="memname">QList&lt; <a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * &gt; QCustomPlot::selectedItems </td>
  2088. <td>(</td>
  2089. <td class="paramname"></td><td>)</td>
  2090. <td> const</td>
  2091. </tr>
  2092. </table>
  2093. </div><div class="memdoc">
  2094. <p>Returns a list of the selected items. If no items are currently selected, the list is empty.</p>
  2095. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="class_q_c_p_abstract_item.html#a8a8e32a55bc478b849756a78c2d87fd2">QCPAbstractItem::setSelectable</a>, <a class="el" href="class_q_c_p_abstract_item.html#a203de94ad586cc44d16c9565f49d3378">QCPAbstractItem::setSelected</a> </dd></dl>
  2096. </div>
  2097. </div>
  2098. <a class="anchor" id="a1ea6297300c3e2770e65f95836411755"></a>
  2099. <div class="memitem">
  2100. <div class="memproto">
  2101. <table class="memname">
  2102. <tr>
  2103. <td class="memname">QList&lt; <a class="el" href="class_q_c_p_legend.html">QCPLegend</a> * &gt; QCustomPlot::selectedLegends </td>
  2104. <td>(</td>
  2105. <td class="paramname"></td><td>)</td>
  2106. <td> const</td>
  2107. </tr>
  2108. </table>
  2109. </div><div class="memdoc">
  2110. <p>Returns the legends that currently have selected parts, i.e. whose selection state is not <a class="el" href="class_q_c_p_legend.html#a5404de8bc1e4a994ca4ae69e2c7072f1a378201c07d500af7126e3ec91652eed7">QCPLegend::spNone</a>.</p>
  2111. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a>, <a class="el" href="class_q_custom_plot.html#aa6baf867e8beb96ed5bd471f83ece903">selectedAxes</a>, <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="class_q_c_p_legend.html#a2aee309bb5c2a794b1987f3fc97f8ad8">QCPLegend::setSelectedParts</a>, <a class="el" href="class_q_c_p_legend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">QCPLegend::setSelectableParts</a>, <a class="el" href="class_q_c_p_legend.html#ac93eaf236e911d67aa8b88942ef45c5e">QCPLegend::selectedItems</a> </dd></dl>
  2112. </div>
  2113. </div>
  2114. <a class="anchor" id="a6721b8c689bb7f2f400987e580508fe8"></a>
  2115. <div class="memitem">
  2116. <div class="memproto">
  2117. <table class="memname">
  2118. <tr>
  2119. <td class="memname">QList&lt; <a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * &gt; QCustomPlot::selectedPlottables </td>
  2120. <td>(</td>
  2121. <td class="paramname"></td><td>)</td>
  2122. <td> const</td>
  2123. </tr>
  2124. </table>
  2125. </div><div class="memdoc">
  2126. <p>Returns a list of the selected plottables. If no plottables are currently selected, the list is empty.</p>
  2127. <p>There is a convenience function if you're only interested in selected graphs, see <a class="el" href="class_q_custom_plot.html#ad2a0493bdd01e7aa99a4209ae3a5b67b">selectedGraphs</a>.</p>
  2128. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="class_q_c_p_abstract_plottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a>, <a class="el" href="class_q_c_p_abstract_plottable.html#afbd5428c2952f59d952e11ab5cd79176">QCPAbstractPlottable::setSelected</a> </dd></dl>
  2129. </div>
  2130. </div>
  2131. <a class="anchor" id="a500c64a109bc773c973ad274f2fa4190"></a>
  2132. <div class="memitem">
  2133. <div class="memproto">
  2134. <table class="mlabels">
  2135. <tr>
  2136. <td class="mlabels-left">
  2137. <table class="memname">
  2138. <tr>
  2139. <td class="memname">void QCustomPlot::selectionChangedByUser </td>
  2140. <td>(</td>
  2141. <td class="paramname"></td><td>)</td>
  2142. <td></td>
  2143. </tr>
  2144. </table>
  2145. </td>
  2146. <td class="mlabels-right">
  2147. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  2148. </tr>
  2149. </table>
  2150. </div><div class="memdoc">
  2151. <p>This signal is emitted after the user has changed the selection in the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>, e.g. by clicking. It is not emitted when the selection state of an object has changed programmatically by a direct call to setSelected() on an object or by calling <a class="el" href="class_q_custom_plot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a>.</p>
  2152. <p>In addition to this signal, selectable objects also provide individual signals, for example <a class="el" href="class_q_c_p_axis.html#a62b598abeee7174a05f9d542cc85b1f5">QCPAxis::selectionChanged</a> or <a class="el" href="class_q_c_p_abstract_plottable.html#a3af66432b1dca93b28e00e78a8c7c1d9">QCPAbstractPlottable::selectionChanged</a>. Note that those signals are emitted even if the selection state is changed programmatically.</p>
  2153. <p>See the documentation of <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> for details about the selection mechanism.</p>
  2154. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a>, <a class="el" href="class_q_custom_plot.html#ad2a0493bdd01e7aa99a4209ae3a5b67b">selectedGraphs</a>, <a class="el" href="class_q_custom_plot.html#a1a48b13547e2d9ac5cd6927516f47a2e">selectedItems</a>, <a class="el" href="class_q_custom_plot.html#aa6baf867e8beb96ed5bd471f83ece903">selectedAxes</a>, <a class="el" href="class_q_custom_plot.html#a1ea6297300c3e2770e65f95836411755">selectedLegends</a> </dd></dl>
  2155. </div>
  2156. </div>
  2157. <a class="anchor" id="aeef813bcf7efab8e765f9f87ec454691"></a>
  2158. <div class="memitem">
  2159. <div class="memproto">
  2160. <table class="memname">
  2161. <tr>
  2162. <td class="memname">void QCustomPlot::setAntialiasedElement </td>
  2163. <td>(</td>
  2164. <td class="paramtype"><a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a>&#160;</td>
  2165. <td class="paramname"><em>antialiasedElement</em>, </td>
  2166. </tr>
  2167. <tr>
  2168. <td class="paramkey"></td>
  2169. <td></td>
  2170. <td class="paramtype">bool&#160;</td>
  2171. <td class="paramname"><em>enabled</em> = <code>true</code>&#160;</td>
  2172. </tr>
  2173. <tr>
  2174. <td></td>
  2175. <td>)</td>
  2176. <td></td><td></td>
  2177. </tr>
  2178. </table>
  2179. </div><div class="memdoc">
  2180. <p>Sets whether the specified <em>antialiasedElement</em> is forcibly drawn antialiased.</p>
  2181. <p>See <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> for details.</p>
  2182. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#afc657938a707c890e449ae89203a076d">setNotAntialiasedElement</a> </dd></dl>
  2183. </div>
  2184. </div>
  2185. <a class="anchor" id="af6f91e5eab1be85f67c556e98c3745e8"></a>
  2186. <div class="memitem">
  2187. <div class="memproto">
  2188. <table class="memname">
  2189. <tr>
  2190. <td class="memname">void QCustomPlot::setAntialiasedElements </td>
  2191. <td>(</td>
  2192. <td class="paramtype">const QCP::AntialiasedElements &amp;&#160;</td>
  2193. <td class="paramname"><em>antialiasedElements</em></td><td>)</td>
  2194. <td></td>
  2195. </tr>
  2196. </table>
  2197. </div><div class="memdoc">
  2198. <p>Sets which elements are forcibly drawn antialiased as an <em>or</em> combination of <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a>.</p>
  2199. <p>This overrides the antialiasing settings for whole element groups, normally controlled with the <em>setAntialiasing</em> function on the individual elements. If an element is neither specified in <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> nor in <a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a>, the antialiasing setting on each individual element instance is used.</p>
  2200. <p>For example, if <em>antialiasedElements</em> contains <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0ca4145e4251b0cf2dbedabeea0a38f84f6">QCP::aePlottables</a>, all plottables will be drawn antialiased, no matter what the specific <a class="el" href="class_q_c_p_layerable.html#a4fd43e89be4a553ead41652565ff0581">QCPAbstractPlottable::setAntialiased</a> value was set to.</p>
  2201. <p>if an element in <em>antialiasedElements</em> is already set in <a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a>, it is removed from there.</p>
  2202. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> </dd></dl>
  2203. </div>
  2204. </div>
  2205. <a class="anchor" id="ad8858410c2db47b7104040a3aa61c3fc"></a>
  2206. <div class="memitem">
  2207. <div class="memproto">
  2208. <table class="memname">
  2209. <tr>
  2210. <td class="memname">void QCustomPlot::setAutoAddPlottableToLegend </td>
  2211. <td>(</td>
  2212. <td class="paramtype">bool&#160;</td>
  2213. <td class="paramname"><em>on</em></td><td>)</td>
  2214. <td></td>
  2215. </tr>
  2216. </table>
  2217. </div><div class="memdoc">
  2218. <p>If set to true, adding a plottable (e.g. a graph) to the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> automatically also adds the plottable to the legend (QCustomPlot::legend).</p>
  2219. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a>, <a class="el" href="class_q_custom_plot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a>, <a class="el" href="class_q_c_p_legend.html#a3ab274de52d2951faea45a6d975e6b3f">QCPLegend::addItem</a> </dd></dl>
  2220. </div>
  2221. </div>
  2222. <a class="anchor" id="a130358592cfca353ff3cf5571b49fb00"></a>
  2223. <div class="memitem">
  2224. <div class="memproto">
  2225. <table class="memname">
  2226. <tr>
  2227. <td class="memname">void QCustomPlot::setBackground </td>
  2228. <td>(</td>
  2229. <td class="paramtype">const QPixmap &amp;&#160;</td>
  2230. <td class="paramname"><em>pm</em></td><td>)</td>
  2231. <td></td>
  2232. </tr>
  2233. </table>
  2234. </div><div class="memdoc">
  2235. <p>Sets <em>pm</em> as the viewport background pixmap (see <a class="el" href="class_q_custom_plot.html#a3f9bc4b939dd8aaba9339fd09f273fc4">setViewport</a>). The pixmap is always drawn below all other objects in the plot.</p>
  2236. <p>For cases where the provided pixmap doesn't have the same size as the viewport, scaling can be enabled with <a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a> and the scaling mode (whether and how the aspect ratio is preserved) can be set with <a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a>. To set all these options in one call, consider using the overloaded version of this function.</p>
  2237. <p>If a background brush was set with <a class="el" href="class_q_custom_plot.html#a8ed256cf467bfa7ba1f9feaae62c3bd0">setBackground(const QBrush &amp;brush)</a>, the viewport will first be filled with that brush, before drawing the background pixmap. This can be useful for background pixmaps with translucent areas.</p>
  2238. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a>, <a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> </dd></dl>
  2239. </div>
  2240. </div>
  2241. <a class="anchor" id="a8513971d6aa24d8b0d6a68d45b542130"></a>
  2242. <div class="memitem">
  2243. <div class="memproto">
  2244. <table class="memname">
  2245. <tr>
  2246. <td class="memname">void QCustomPlot::setBackground </td>
  2247. <td>(</td>
  2248. <td class="paramtype">const QPixmap &amp;&#160;</td>
  2249. <td class="paramname"><em>pm</em>, </td>
  2250. </tr>
  2251. <tr>
  2252. <td class="paramkey"></td>
  2253. <td></td>
  2254. <td class="paramtype">bool&#160;</td>
  2255. <td class="paramname"><em>scaled</em>, </td>
  2256. </tr>
  2257. <tr>
  2258. <td class="paramkey"></td>
  2259. <td></td>
  2260. <td class="paramtype">Qt::AspectRatioMode&#160;</td>
  2261. <td class="paramname"><em>mode</em> = <code>Qt::KeepAspectRatioByExpanding</code>&#160;</td>
  2262. </tr>
  2263. <tr>
  2264. <td></td>
  2265. <td>)</td>
  2266. <td></td><td></td>
  2267. </tr>
  2268. </table>
  2269. </div><div class="memdoc">
  2270. <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
  2271. <p>Allows setting the background pixmap of the viewport, whether it shall be scaled and how it shall be scaled in one call.</p>
  2272. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a130358592cfca353ff3cf5571b49fb00">setBackground(const QPixmap &amp;pm)</a>, <a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a>, <a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> </dd></dl>
  2273. </div>
  2274. </div>
  2275. <a class="anchor" id="a8ed256cf467bfa7ba1f9feaae62c3bd0"></a>
  2276. <div class="memitem">
  2277. <div class="memproto">
  2278. <table class="memname">
  2279. <tr>
  2280. <td class="memname">void QCustomPlot::setBackground </td>
  2281. <td>(</td>
  2282. <td class="paramtype">const QBrush &amp;&#160;</td>
  2283. <td class="paramname"><em>brush</em></td><td>)</td>
  2284. <td></td>
  2285. </tr>
  2286. </table>
  2287. </div><div class="memdoc">
  2288. <p>Sets the background brush of the viewport (see <a class="el" href="class_q_custom_plot.html#a3f9bc4b939dd8aaba9339fd09f273fc4">setViewport</a>).</p>
  2289. <p>Before drawing everything else, the background is filled with <em>brush</em>. If a background pixmap was set with <a class="el" href="class_q_custom_plot.html#a130358592cfca353ff3cf5571b49fb00">setBackground(const QPixmap &amp;pm)</a>, this brush will be used to fill the viewport before the background pixmap is drawn. This can be useful for background pixmaps with translucent areas.</p>
  2290. <p>Set <em>brush</em> to Qt::NoBrush or Qt::Transparent to leave background transparent. This can be useful for exporting to image formats which support transparency, e.g. <a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>.</p>
  2291. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a>, <a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> </dd></dl>
  2292. </div>
  2293. </div>
  2294. <a class="anchor" id="a36f0fa1317325dc7b7efea615ee2de1f"></a>
  2295. <div class="memitem">
  2296. <div class="memproto">
  2297. <table class="memname">
  2298. <tr>
  2299. <td class="memname">void QCustomPlot::setBackgroundScaled </td>
  2300. <td>(</td>
  2301. <td class="paramtype">bool&#160;</td>
  2302. <td class="paramname"><em>scaled</em></td><td>)</td>
  2303. <td></td>
  2304. </tr>
  2305. </table>
  2306. </div><div class="memdoc">
  2307. <p>Sets whether the viewport background pixmap shall be scaled to fit the viewport. If <em>scaled</em> is set to true, control whether and how the aspect ratio of the original pixmap is preserved with <a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a>.</p>
  2308. <p>Note that the scaled version of the original pixmap is buffered, so there is no performance penalty on replots. (Except when the viewport dimensions are changed continuously.)</p>
  2309. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a>, <a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> </dd></dl>
  2310. </div>
  2311. </div>
  2312. <a class="anchor" id="a4c0eb4865b7949f62e1cb97db04a3de0"></a>
  2313. <div class="memitem">
  2314. <div class="memproto">
  2315. <table class="memname">
  2316. <tr>
  2317. <td class="memname">void QCustomPlot::setBackgroundScaledMode </td>
  2318. <td>(</td>
  2319. <td class="paramtype">Qt::AspectRatioMode&#160;</td>
  2320. <td class="paramname"><em>mode</em></td><td>)</td>
  2321. <td></td>
  2322. </tr>
  2323. </table>
  2324. </div><div class="memdoc">
  2325. <p>If scaling of the viewport background pixmap is enabled (<a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a>), use this function to define whether and how the aspect ratio of the original pixmap is preserved.</p>
  2326. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a>, <a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a> </dd></dl>
  2327. </div>
  2328. </div>
  2329. <a class="anchor" id="a73a6dc47c653bb6f8f030abca5a11852"></a>
  2330. <div class="memitem">
  2331. <div class="memproto">
  2332. <table class="memname">
  2333. <tr>
  2334. <td class="memname">bool QCustomPlot::setCurrentLayer </td>
  2335. <td>(</td>
  2336. <td class="paramtype">const QString &amp;&#160;</td>
  2337. <td class="paramname"><em>name</em></td><td>)</td>
  2338. <td></td>
  2339. </tr>
  2340. </table>
  2341. </div><div class="memdoc">
  2342. <p>Sets the layer with the specified <em>name</em> to be the current layer. All layerables (<a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a>), e.g. plottables and items, are created on the current layer.</p>
  2343. <p>Returns true on success, i.e. if there is a layer with the specified <em>name</em> in the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
  2344. <p>Layer names are case-sensitive.</p>
  2345. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="class_q_custom_plot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a>, <a class="el" href="class_q_c_p_layerable.html#ab0d0da6d2de45a118886d2c8e16d5a54">QCPLayerable::setLayer</a> </dd></dl>
  2346. </div>
  2347. </div>
  2348. <a class="anchor" id="a23a4d3cadad1a0063c5fe19aac5659e6"></a>
  2349. <div class="memitem">
  2350. <div class="memproto">
  2351. <table class="memname">
  2352. <tr>
  2353. <td class="memname">bool QCustomPlot::setCurrentLayer </td>
  2354. <td>(</td>
  2355. <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> *&#160;</td>
  2356. <td class="paramname"><em>layer</em></td><td>)</td>
  2357. <td></td>
  2358. </tr>
  2359. </table>
  2360. </div><div class="memdoc">
  2361. <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
  2362. <p>Sets the provided <em>layer</em> to be the current layer.</p>
  2363. <p>Returns true on success, i.e. when <em>layer</em> is a valid layer in the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>.</p>
  2364. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="class_q_custom_plot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="class_q_custom_plot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> </dd></dl>
  2365. </div>
  2366. </div>
  2367. <a class="anchor" id="a422bf1bc6d56dac75a3d805d9a65902c"></a>
  2368. <div class="memitem">
  2369. <div class="memproto">
  2370. <table class="memname">
  2371. <tr>
  2372. <td class="memname">void QCustomPlot::setInteraction </td>
  2373. <td>(</td>
  2374. <td class="paramtype">const <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> &amp;&#160;</td>
  2375. <td class="paramname"><em>interaction</em>, </td>
  2376. </tr>
  2377. <tr>
  2378. <td class="paramkey"></td>
  2379. <td></td>
  2380. <td class="paramtype">bool&#160;</td>
  2381. <td class="paramname"><em>enabled</em> = <code>true</code>&#160;</td>
  2382. </tr>
  2383. <tr>
  2384. <td></td>
  2385. <td>)</td>
  2386. <td></td><td></td>
  2387. </tr>
  2388. </table>
  2389. </div><div class="memdoc">
  2390. <p>Sets the single <em>interaction</em> of this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> to <em>enabled</em>.</p>
  2391. <p>For details about the interaction system, see <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>.</p>
  2392. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> </dd></dl>
  2393. </div>
  2394. </div>
  2395. <a class="anchor" id="a5ee1e2f6ae27419deca53e75907c27e5"></a>
  2396. <div class="memitem">
  2397. <div class="memproto">
  2398. <table class="memname">
  2399. <tr>
  2400. <td class="memname">void QCustomPlot::setInteractions </td>
  2401. <td>(</td>
  2402. <td class="paramtype">const QCP::Interactions &amp;&#160;</td>
  2403. <td class="paramname"><em>interactions</em></td><td>)</td>
  2404. <td></td>
  2405. </tr>
  2406. </table>
  2407. </div><div class="memdoc">
  2408. <p>Sets the possible interactions of this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> as an or-combination of <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> enums. There are the following types of interactions:</p>
  2409. <p><b>Axis range manipulation</b> is controlled via <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18">QCP::iRangeDrag</a> and <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14">QCP::iRangeZoom</a>. When the respective interaction is enabled, the user may drag axes ranges and zoom with the mouse wheel. For details how to control which axes the user may drag/zoom and in what orientations, see <a class="el" href="class_q_c_p_axis_rect.html#ae6aef2f7211ba6097c925dcd26008418">QCPAxisRect::setRangeDrag</a>, <a class="el" href="class_q_c_p_axis_rect.html#a7960a9d222f1c31d558b064b60f86a31">QCPAxisRect::setRangeZoom</a>, <a class="el" href="class_q_c_p_axis_rect.html#a648cce336bd99daac4a5ca3e5743775d">QCPAxisRect::setRangeDragAxes</a>, <a class="el" href="class_q_c_p_axis_rect.html#a9442cca2aa358405f39a64d51eca13d2">QCPAxisRect::setRangeZoomAxes</a>.</p>
  2410. <p><b>Plottable selection</b> is controlled by <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037a67148c8227b4155eca49135fc274c7ec">QCP::iSelectPlottables</a>. If <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037a67148c8227b4155eca49135fc274c7ec">QCP::iSelectPlottables</a> is set, the user may select plottables (graphs, curves, bars,...) by clicking on them or in their vicinity (<a class="el" href="class_q_custom_plot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a>). Whether the user can actually select a plottable can further be restricted with the <a class="el" href="class_q_c_p_abstract_plottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a> function on the specific plottable. To find out whether a specific plottable is selected, call QCPAbstractPlottable::selected(). To retrieve a list of all currently selected plottables, call <a class="el" href="class_q_custom_plot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a>. If you're only interested in QCPGraphs, you may use the convenience function <a class="el" href="class_q_custom_plot.html#ad2a0493bdd01e7aa99a4209ae3a5b67b">selectedGraphs</a>.</p>
  2411. <p><b>Item selection</b> is controlled by <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037aea2f7c105d674e76d9b187b02ef29260">QCP::iSelectItems</a>. If <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037aea2f7c105d674e76d9b187b02ef29260">QCP::iSelectItems</a> is set, the user may select items (<a class="el" href="class_q_c_p_item_line.html" title="A line from one point to another. ">QCPItemLine</a>, <a class="el" href="class_q_c_p_item_text.html" title="A text label. ">QCPItemText</a>,...) by clicking on them or in their vicinity. To find out whether a specific item is selected, call QCPAbstractItem::selected(). To retrieve a list of all currently selected items, call <a class="el" href="class_q_custom_plot.html#a1a48b13547e2d9ac5cd6927516f47a2e">selectedItems</a>.</p>
  2412. <p><b>Axis selection</b> is controlled with <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037ad6644ac55bef621645326e9dd7469caa">QCP::iSelectAxes</a>. If <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037ad6644ac55bef621645326e9dd7469caa">QCP::iSelectAxes</a> is set, the user may select parts of the axes by clicking on them. What parts exactly (e.g. Axis base line, tick labels, axis label) are selectable can be controlled via <a class="el" href="class_q_c_p_axis.html#a513f9b9e326c505d9bec54880031b085">QCPAxis::setSelectableParts</a> for each axis. To retrieve a list of all axes that currently contain selected parts, call <a class="el" href="class_q_custom_plot.html#aa6baf867e8beb96ed5bd471f83ece903">selectedAxes</a>. Which parts of an axis are selected, can be retrieved with QCPAxis::selectedParts().</p>
  2413. <p><b>Legend selection</b> is controlled with <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037a269c9af298e257d1108edec0432b5513">QCP::iSelectLegend</a>. If this is set, the user may select the legend itself or individual items by clicking on them. What parts exactly are selectable can be controlled via <a class="el" href="class_q_c_p_legend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">QCPLegend::setSelectableParts</a>. To find out whether the legend or any of its child items are selected, check the value of QCPLegend::selectedParts. To find out which child items are selected, call <a class="el" href="class_q_c_p_legend.html#ac93eaf236e911d67aa8b88942ef45c5e">QCPLegend::selectedItems</a>.</p>
  2414. <p><b>All other selectable elements</b> The selection of all other selectable objects (e.g. <a class="el" href="class_q_c_p_plot_title.html" title="A layout element displaying a plot title text. ">QCPPlotTitle</a>, or your own layerable subclasses) is controlled with <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037af67a50bc26147a13b551b3a625374949">QCP::iSelectOther</a>. If set, the user may select those objects by clicking on them. To find out which are currently selected, you need to check their selected state explicitly.</p>
  2415. <p>If the selection state has changed by user interaction, the <a class="el" href="class_q_custom_plot.html#a500c64a109bc773c973ad274f2fa4190">selectionChangedByUser</a> signal is emitted. Each selectable object additionally emits an individual selectionChanged signal whenever their selection state has changed, i.e. not only by user interaction.</p>
  2416. <p>To allow multiple objects to be selected by holding the selection modifier (<a class="el" href="class_q_custom_plot.html#a8fc96e3b5138a06759a2a90c166df516">setMultiSelectModifier</a>), set the flag <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037aef673112c5067c3cf4cfddb62da7265d">QCP::iMultiSelect</a>.</p>
  2417. <dl class="section note"><dt>Note</dt><dd>In addition to the selection mechanism presented here, <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> always emits corresponding signals, when an object is clicked or double clicked. see <a class="el" href="class_q_custom_plot.html#a57e5efa8a854620e9bf62d31fc139f53">plottableClick</a> and <a class="el" href="class_q_custom_plot.html#af2e6f1cea923dae437681d01ce7d0c31">plottableDoubleClick</a> for example.</dd></dl>
  2418. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a422bf1bc6d56dac75a3d805d9a65902c">setInteraction</a>, <a class="el" href="class_q_custom_plot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a> </dd></dl>
  2419. </div>
  2420. </div>
  2421. <a class="anchor" id="a8fc96e3b5138a06759a2a90c166df516"></a>
  2422. <div class="memitem">
  2423. <div class="memproto">
  2424. <table class="memname">
  2425. <tr>
  2426. <td class="memname">void QCustomPlot::setMultiSelectModifier </td>
  2427. <td>(</td>
  2428. <td class="paramtype">Qt::KeyboardModifier&#160;</td>
  2429. <td class="paramname"><em>modifier</em></td><td>)</td>
  2430. <td></td>
  2431. </tr>
  2432. </table>
  2433. </div><div class="memdoc">
  2434. <p>Sets the keyboard modifier that will be recognized as multi-select-modifier.</p>
  2435. <p>If <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037aef673112c5067c3cf4cfddb62da7265d">QCP::iMultiSelect</a> is specified in <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, the user may select multiple objects by clicking on them one after the other while holding down <em>modifier</em>.</p>
  2436. <p>By default the multi-select-modifier is set to Qt::ControlModifier.</p>
  2437. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> </dd></dl>
  2438. </div>
  2439. </div>
  2440. <a class="anchor" id="a775bdcb6329d44701aeaa6135b0e5265"></a>
  2441. <div class="memitem">
  2442. <div class="memproto">
  2443. <table class="memname">
  2444. <tr>
  2445. <td class="memname">void QCustomPlot::setNoAntialiasingOnDrag </td>
  2446. <td>(</td>
  2447. <td class="paramtype">bool&#160;</td>
  2448. <td class="paramname"><em>enabled</em></td><td>)</td>
  2449. <td></td>
  2450. </tr>
  2451. </table>
  2452. </div><div class="memdoc">
  2453. <p>Sets whether antialiasing is disabled for this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> while the user is dragging axes ranges. If many objects, especially plottables, are drawn antialiased, this greatly improves performance during dragging. Thus it creates a more responsive user experience. As soon as the user stops dragging, the last replot is done with normal antialiasing, to restore high image quality.</p>
  2454. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a>, <a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> </dd></dl>
  2455. </div>
  2456. </div>
  2457. <a class="anchor" id="afc657938a707c890e449ae89203a076d"></a>
  2458. <div class="memitem">
  2459. <div class="memproto">
  2460. <table class="memname">
  2461. <tr>
  2462. <td class="memname">void QCustomPlot::setNotAntialiasedElement </td>
  2463. <td>(</td>
  2464. <td class="paramtype"><a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a>&#160;</td>
  2465. <td class="paramname"><em>notAntialiasedElement</em>, </td>
  2466. </tr>
  2467. <tr>
  2468. <td class="paramkey"></td>
  2469. <td></td>
  2470. <td class="paramtype">bool&#160;</td>
  2471. <td class="paramname"><em>enabled</em> = <code>true</code>&#160;</td>
  2472. </tr>
  2473. <tr>
  2474. <td></td>
  2475. <td>)</td>
  2476. <td></td><td></td>
  2477. </tr>
  2478. </table>
  2479. </div><div class="memdoc">
  2480. <p>Sets whether the specified <em>notAntialiasedElement</em> is forcibly drawn not antialiased.</p>
  2481. <p>See <a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> for details.</p>
  2482. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aeef813bcf7efab8e765f9f87ec454691">setAntialiasedElement</a> </dd></dl>
  2483. </div>
  2484. </div>
  2485. <a class="anchor" id="ae10d685b5eabea2999fb8775ca173c24"></a>
  2486. <div class="memitem">
  2487. <div class="memproto">
  2488. <table class="memname">
  2489. <tr>
  2490. <td class="memname">void QCustomPlot::setNotAntialiasedElements </td>
  2491. <td>(</td>
  2492. <td class="paramtype">const QCP::AntialiasedElements &amp;&#160;</td>
  2493. <td class="paramname"><em>notAntialiasedElements</em></td><td>)</td>
  2494. <td></td>
  2495. </tr>
  2496. </table>
  2497. </div><div class="memdoc">
  2498. <p>Sets which elements are forcibly drawn not antialiased as an <em>or</em> combination of <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a>.</p>
  2499. <p>This overrides the antialiasing settings for whole element groups, normally controlled with the <em>setAntialiasing</em> function on the individual elements. If an element is neither specified in <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> nor in <a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a>, the antialiasing setting on each individual element instance is used.</p>
  2500. <p>For example, if <em>notAntialiasedElements</em> contains <a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0ca4145e4251b0cf2dbedabeea0a38f84f6">QCP::aePlottables</a>, no plottables will be drawn antialiased, no matter what the specific <a class="el" href="class_q_c_p_layerable.html#a4fd43e89be4a553ead41652565ff0581">QCPAbstractPlottable::setAntialiased</a> value was set to.</p>
  2501. <p>if an element in <em>notAntialiasedElements</em> is already set in <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a>, it is removed from there.</p>
  2502. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> </dd></dl>
  2503. </div>
  2504. </div>
  2505. <a class="anchor" id="a3b7c97bb6c16464e9e15190c07abe9a9"></a>
  2506. <div class="memitem">
  2507. <div class="memproto">
  2508. <table class="memname">
  2509. <tr>
  2510. <td class="memname">void QCustomPlot::setPlottingHint </td>
  2511. <td>(</td>
  2512. <td class="paramtype"><a class="el" href="namespace_q_c_p.html#a5400e5fcb9528d92002ddb938c1f4ef4">QCP::PlottingHint</a>&#160;</td>
  2513. <td class="paramname"><em>hint</em>, </td>
  2514. </tr>
  2515. <tr>
  2516. <td class="paramkey"></td>
  2517. <td></td>
  2518. <td class="paramtype">bool&#160;</td>
  2519. <td class="paramname"><em>enabled</em> = <code>true</code>&#160;</td>
  2520. </tr>
  2521. <tr>
  2522. <td></td>
  2523. <td>)</td>
  2524. <td></td><td></td>
  2525. </tr>
  2526. </table>
  2527. </div><div class="memdoc">
  2528. <p>Sets the specified plotting <em>hint</em> to <em>enabled</em>.</p>
  2529. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a94a33cbdadbbac5934843508bcfc210d">setPlottingHints</a> </dd></dl>
  2530. </div>
  2531. </div>
  2532. <a class="anchor" id="a94a33cbdadbbac5934843508bcfc210d"></a>
  2533. <div class="memitem">
  2534. <div class="memproto">
  2535. <table class="memname">
  2536. <tr>
  2537. <td class="memname">void QCustomPlot::setPlottingHints </td>
  2538. <td>(</td>
  2539. <td class="paramtype">const QCP::PlottingHints &amp;&#160;</td>
  2540. <td class="paramname"><em>hints</em></td><td>)</td>
  2541. <td></td>
  2542. </tr>
  2543. </table>
  2544. </div><div class="memdoc">
  2545. <p>Sets the plotting hints for this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> instance as an <em>or</em> combination of <a class="el" href="namespace_q_c_p.html#a5400e5fcb9528d92002ddb938c1f4ef4">QCP::PlottingHint</a>.</p>
  2546. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a3b7c97bb6c16464e9e15190c07abe9a9">setPlottingHint</a> </dd></dl>
  2547. </div>
  2548. </div>
  2549. <a class="anchor" id="a4dc31241d7b09680950e19e5f971ed93"></a>
  2550. <div class="memitem">
  2551. <div class="memproto">
  2552. <table class="memname">
  2553. <tr>
  2554. <td class="memname">void QCustomPlot::setSelectionTolerance </td>
  2555. <td>(</td>
  2556. <td class="paramtype">int&#160;</td>
  2557. <td class="paramname"><em>pixels</em></td><td>)</td>
  2558. <td></td>
  2559. </tr>
  2560. </table>
  2561. </div><div class="memdoc">
  2562. <p>Sets the tolerance that is used to decide whether a click selects an object (e.g. a plottable) or not.</p>
  2563. <p>If the user clicks in the vicinity of the line of e.g. a <a class="el" href="class_q_c_p_graph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a>, it's only regarded as a potential selection when the minimum distance between the click position and the graph line is smaller than <em>pixels</em>. Objects that are defined by an area (e.g. <a class="el" href="class_q_c_p_bars.html" title="A plottable representing a bar chart in a plot. ">QCPBars</a>) only react to clicks directly inside the area and ignore this selection tolerance. In other words, it only has meaning for parts of objects that are too thin to exactly hit with a click and thus need such a tolerance.</p>
  2564. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="class_q_c_p_layerable.html#a4001c4d0dfec55598efa4d531f2179a9">QCPLayerable::selectTest</a> </dd></dl>
  2565. </div>
  2566. </div>
  2567. <a class="anchor" id="a3f9bc4b939dd8aaba9339fd09f273fc4"></a>
  2568. <div class="memitem">
  2569. <div class="memproto">
  2570. <table class="memname">
  2571. <tr>
  2572. <td class="memname">void QCustomPlot::setViewport </td>
  2573. <td>(</td>
  2574. <td class="paramtype">const QRect &amp;&#160;</td>
  2575. <td class="paramname"><em>rect</em></td><td>)</td>
  2576. <td></td>
  2577. </tr>
  2578. </table>
  2579. </div><div class="memdoc">
  2580. <p>Sets the viewport of this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>. The Viewport is the area that the top level layout (<a class="el" href="class_q_custom_plot.html#afd280d4d621ae64a106543a545c508d7">QCustomPlot::plotLayout()</a>) uses as its rect. Normally, the viewport is the entire widget rect.</p>
  2581. <p>This function is used to allow arbitrary size exports with <a class="el" href="class_q_custom_plot.html#aabb974d71ce96c137dc04eb6eab844fe">toPixmap</a>, <a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="class_q_custom_plot.html#a84e33ad7492180f20ff520e557ed102d">savePdf</a>, etc. by temporarily changing the viewport size. </p>
  2582. </div>
  2583. </div>
  2584. <a class="anchor" id="a2137a819e518fee7edd1c0bf5984d8d6"></a>
  2585. <div class="memitem">
  2586. <div class="memproto">
  2587. <table class="mlabels">
  2588. <tr>
  2589. <td class="mlabels-left">
  2590. <table class="memname">
  2591. <tr>
  2592. <td class="memname">void QCustomPlot::titleClick </td>
  2593. <td>(</td>
  2594. <td class="paramtype">QMouseEvent *&#160;</td>
  2595. <td class="paramname"><em>event</em>, </td>
  2596. </tr>
  2597. <tr>
  2598. <td class="paramkey"></td>
  2599. <td></td>
  2600. <td class="paramtype"><a class="el" href="class_q_c_p_plot_title.html">QCPPlotTitle</a> *&#160;</td>
  2601. <td class="paramname"><em>title</em>&#160;</td>
  2602. </tr>
  2603. <tr>
  2604. <td></td>
  2605. <td>)</td>
  2606. <td></td><td></td>
  2607. </tr>
  2608. </table>
  2609. </td>
  2610. <td class="mlabels-right">
  2611. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  2612. </tr>
  2613. </table>
  2614. </div><div class="memdoc">
  2615. <p>This signal is emitted when a plot title is clicked.</p>
  2616. <p><em>event</em> is the mouse event that caused the click and <em>title</em> is the plot title that received the click.</p>
  2617. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ad51d65f6abf5edfaeef6e0519a4c1a2f">titleDoubleClick</a> </dd></dl>
  2618. </div>
  2619. </div>
  2620. <a class="anchor" id="ad51d65f6abf5edfaeef6e0519a4c1a2f"></a>
  2621. <div class="memitem">
  2622. <div class="memproto">
  2623. <table class="mlabels">
  2624. <tr>
  2625. <td class="mlabels-left">
  2626. <table class="memname">
  2627. <tr>
  2628. <td class="memname">void QCustomPlot::titleDoubleClick </td>
  2629. <td>(</td>
  2630. <td class="paramtype">QMouseEvent *&#160;</td>
  2631. <td class="paramname"><em>event</em>, </td>
  2632. </tr>
  2633. <tr>
  2634. <td class="paramkey"></td>
  2635. <td></td>
  2636. <td class="paramtype"><a class="el" href="class_q_c_p_plot_title.html">QCPPlotTitle</a> *&#160;</td>
  2637. <td class="paramname"><em>title</em>&#160;</td>
  2638. </tr>
  2639. <tr>
  2640. <td></td>
  2641. <td>)</td>
  2642. <td></td><td></td>
  2643. </tr>
  2644. </table>
  2645. </td>
  2646. <td class="mlabels-right">
  2647. <span class="mlabels"><span class="mlabel">signal</span></span> </td>
  2648. </tr>
  2649. </table>
  2650. </div><div class="memdoc">
  2651. <p>This signal is emitted when a plot title is double clicked.</p>
  2652. <p><em>event</em> is the mouse event that caused the click and <em>title</em> is the plot title that received the click.</p>
  2653. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a2137a819e518fee7edd1c0bf5984d8d6">titleClick</a> </dd></dl>
  2654. </div>
  2655. </div>
  2656. <a class="anchor" id="a1be68d5c0f1e086d6374d1340a193fb9"></a>
  2657. <div class="memitem">
  2658. <div class="memproto">
  2659. <table class="memname">
  2660. <tr>
  2661. <td class="memname">void QCustomPlot::toPainter </td>
  2662. <td>(</td>
  2663. <td class="paramtype"><a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *&#160;</td>
  2664. <td class="paramname"><em>painter</em>, </td>
  2665. </tr>
  2666. <tr>
  2667. <td class="paramkey"></td>
  2668. <td></td>
  2669. <td class="paramtype">int&#160;</td>
  2670. <td class="paramname"><em>width</em> = <code>0</code>, </td>
  2671. </tr>
  2672. <tr>
  2673. <td class="paramkey"></td>
  2674. <td></td>
  2675. <td class="paramtype">int&#160;</td>
  2676. <td class="paramname"><em>height</em> = <code>0</code>&#160;</td>
  2677. </tr>
  2678. <tr>
  2679. <td></td>
  2680. <td>)</td>
  2681. <td></td><td></td>
  2682. </tr>
  2683. </table>
  2684. </div><div class="memdoc">
  2685. <p>Renders the plot using the passed <em>painter</em>.</p>
  2686. <p>The plot is sized to <em>width</em> and <em>height</em> in pixels. If the <em>painter's</em> scale is not 1.0, the resulting plot will appear scaled accordingly.</p>
  2687. <dl class="section note"><dt>Note</dt><dd>If you are restricted to using a QPainter (instead of <a class="el" href="class_q_c_p_painter.html" title="QPainter subclass used internally. ">QCPPainter</a>), create a temporary QPicture and open a <a class="el" href="class_q_c_p_painter.html" title="QPainter subclass used internally. ">QCPPainter</a> on it. Then call <a class="el" href="class_q_custom_plot.html#a1be68d5c0f1e086d6374d1340a193fb9">toPainter</a> with this <a class="el" href="class_q_c_p_painter.html" title="QPainter subclass used internally. ">QCPPainter</a>. After ending the paint operation on the picture, draw it with the QPainter. This will reproduce the painter actions the <a class="el" href="class_q_c_p_painter.html" title="QPainter subclass used internally. ">QCPPainter</a> took, with a QPainter.</dd></dl>
  2688. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aabb974d71ce96c137dc04eb6eab844fe">toPixmap</a> </dd></dl>
  2689. </div>
  2690. </div>
  2691. <a class="anchor" id="aabb974d71ce96c137dc04eb6eab844fe"></a>
  2692. <div class="memitem">
  2693. <div class="memproto">
  2694. <table class="memname">
  2695. <tr>
  2696. <td class="memname">QPixmap QCustomPlot::toPixmap </td>
  2697. <td>(</td>
  2698. <td class="paramtype">int&#160;</td>
  2699. <td class="paramname"><em>width</em> = <code>0</code>, </td>
  2700. </tr>
  2701. <tr>
  2702. <td class="paramkey"></td>
  2703. <td></td>
  2704. <td class="paramtype">int&#160;</td>
  2705. <td class="paramname"><em>height</em> = <code>0</code>, </td>
  2706. </tr>
  2707. <tr>
  2708. <td class="paramkey"></td>
  2709. <td></td>
  2710. <td class="paramtype">double&#160;</td>
  2711. <td class="paramname"><em>scale</em> = <code>1.0</code>&#160;</td>
  2712. </tr>
  2713. <tr>
  2714. <td></td>
  2715. <td>)</td>
  2716. <td></td><td></td>
  2717. </tr>
  2718. </table>
  2719. </div><div class="memdoc">
  2720. <p>Renders the plot to a pixmap and returns it.</p>
  2721. <p>The plot is sized to <em>width</em> and <em>height</em> in pixels and scaled with <em>scale</em>. (width 100 and scale 2.0 lead to a full resolution pixmap with width 200.)</p>
  2722. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a1be68d5c0f1e086d6374d1340a193fb9">toPainter</a>, <a class="el" href="class_q_custom_plot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a>, <a class="el" href="class_q_custom_plot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="class_q_custom_plot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="class_q_custom_plot.html#a84e33ad7492180f20ff520e557ed102d">savePdf</a> </dd></dl>
  2723. </div>
  2724. </div>
  2725. <a class="anchor" id="a953ecdbc28018e7e84cb6213ad3d88c2"></a>
  2726. <div class="memitem">
  2727. <div class="memproto">
  2728. <table class="mlabels">
  2729. <tr>
  2730. <td class="mlabels-left">
  2731. <table class="memname">
  2732. <tr>
  2733. <td class="memname">QRect QCustomPlot::viewport </td>
  2734. <td>(</td>
  2735. <td class="paramname"></td><td>)</td>
  2736. <td> const</td>
  2737. </tr>
  2738. </table>
  2739. </td>
  2740. <td class="mlabels-right">
  2741. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2742. </tr>
  2743. </table>
  2744. </div><div class="memdoc">
  2745. <p>Returns the viewport rect of this <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> instance. The viewport is the area the plot is drawn in, all mechanisms, e.g. margin caluclation take the viewport to be the outer border of the plot. The viewport normally is the rect() of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget, i.e. a rect with top left (0, 0) and size of the <a class="el" href="class_q_custom_plot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget.</p>
  2746. <p>Don't confuse the viewport with the axis rect (<a class="el" href="class_q_custom_plot.html#a4a37a1add5fe63060ac518cf0a4c4050">QCustomPlot::axisRect</a>). An axis rect is typically an area enclosed by four axes, where the graphs/plottables are drawn in. The viewport is larger and contains also the axes themselves, their tick numbers, their labels, the plot title etc.</p>
  2747. <p>Only when saving to a file (see <a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, savePdf etc.) the viewport is temporarily modified to allow saving plots with sizes independent of the current widget size. </p>
  2748. </div>
  2749. </div>
  2750. <hr/>The documentation for this class was generated from the following files:<ul>
  2751. <li><a class="el" href="qcustomplot_8h_source.html">qcustomplot.h</a></li>
  2752. <li><a class="el" href="qcustomplot_8cpp.html">qcustomplot.cpp</a></li>
  2753. </ul>
  2754. </div><!-- contents -->
  2755. <!-- start footer part -->
  2756. <hr class="footer"/><address class="footer"><small>
  2757. Generated on Tue Aug 11 2015 13:04:54 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
  2758. <img class="footer" src="doxygen.png" alt="doxygen"/>
  2759. </a> 1.8.9.1
  2760. </small></address>
  2761. </body>
  2762. </html>