12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.9.1"/>
- <title>My Project: QCustomPlot Class Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <script type="text/javascript">
- $(document).ready(function() { init_search(); });
- </script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td style="padding-left: 0.5em;">
- <div id="projectname">My Project
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.9.1 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- </script>
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="pages.html"><span>Related Pages</span></a></li>
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
- <li><a href="files.html"><span>Files</span></a></li>
- <li>
- <div id="MSearchBox" class="MSearchBoxInactive">
- <span class="left">
- <img id="MSearchSelect" src="search/mag_sel.png"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- alt=""/>
- <input type="text" id="MSearchField" value="Search" accesskey="S"
- onfocus="searchBox.OnSearchFieldFocus(true)"
- onblur="searchBox.OnSearchFieldFocus(false)"
- onkeyup="searchBox.OnSearchFieldChange(event)"/>
- </span><span class="right">
- <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
- </span>
- </div>
- </li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="annotated.html"><span>Class List</span></a></li>
- <li><a href="classes.html"><span>Class Index</span></a></li>
- <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
- <li><a href="functions.html"><span>Class Members</span></a></li>
- </ul>
- </div>
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
-
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
-
- </div><!-- top -->
- <div class="header">
- <div class="summary">
- <a href="#pub-types">Public Types</a> |
- <a href="#signals">Signals</a> |
- <a href="#pub-methods">Public Member Functions</a> |
- <a href="#pub-attribs">Public Attributes</a> |
- <a href="#pro-methods">Protected Member Functions</a> |
- <a href="#pro-attribs">Protected Attributes</a> |
- <a href="#friends">Friends</a> |
- <a href="class_q_custom_plot-members.html">List of all members</a> </div>
- <div class="headertitle">
- <div class="title">QCustomPlot Class Reference</div> </div>
- </div><!--header-->
- <div class="contents">
-
- <p>The central class of the library. This is the QWidget which displays the plot and interacts with the user.
- <a href="class_q_custom_plot.html#details">More...</a></p>
- <div class="dynheader">
- Inheritance diagram for QCustomPlot:</div>
- <div class="dyncontent">
- <div class="center">
- <img src="class_q_custom_plot.png" usemap="#QCustomPlot_map" alt=""/>
- <map id="QCustomPlot_map" name="QCustomPlot_map">
- </map>
- </div></div>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
- Public Types</h2></td></tr>
- <tr class="memitem:a75a8afbe6ef333b1f3d47abb25b9add7"><td class="memItemLeft" align="right" valign="top">enum  </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>,
- <a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a>
- }</td></tr>
- <tr class="separator:a75a8afbe6ef333b1f3d47abb25b9add7"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
- Signals</h2></td></tr>
- <tr class="memitem:a9b232142c64fcf273a953ee08e5b90e9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a9b232142c64fcf273a953ee08e5b90e9">mouseDoubleClick</a> (QMouseEvent *event)</td></tr>
- <tr class="separator:a9b232142c64fcf273a953ee08e5b90e9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aca75bf9afb5dd19349c375de2a87a051"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#aca75bf9afb5dd19349c375de2a87a051">mousePress</a> (QMouseEvent *event)</td></tr>
- <tr class="separator:aca75bf9afb5dd19349c375de2a87a051"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a742ca4f94688bed2a685fd8a56ce5704"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a742ca4f94688bed2a685fd8a56ce5704">mouseMove</a> (QMouseEvent *event)</td></tr>
- <tr class="separator:a742ca4f94688bed2a685fd8a56ce5704"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac8dc0ee6bb98e923c00b4ebafbe6134d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ac8dc0ee6bb98e923c00b4ebafbe6134d">mouseRelease</a> (QMouseEvent *event)</td></tr>
- <tr class="separator:ac8dc0ee6bb98e923c00b4ebafbe6134d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac80a14206f99304a91d2aa55775ec3ff"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ac80a14206f99304a91d2aa55775ec3ff">mouseWheel</a> (QWheelEvent *event)</td></tr>
- <tr class="separator:ac80a14206f99304a91d2aa55775ec3ff"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a57e5efa8a854620e9bf62d31fc139f53"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="separator:a57e5efa8a854620e9bf62d31fc139f53"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af2e6f1cea923dae437681d01ce7d0c31"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="separator:af2e6f1cea923dae437681d01ce7d0c31"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae16b51f52d2b7aebbc7e3e74e6ff2e4b"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="separator:ae16b51f52d2b7aebbc7e3e74e6ff2e4b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac83aa9f5a3e9bb3efc9cdc763dcd42a6"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="separator:ac83aa9f5a3e9bb3efc9cdc763dcd42a6"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abf635f8b56ab5c16d5de9f358543e82b"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="separator:abf635f8b56ab5c16d5de9f358543e82b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6df35357460181a72da3e93d600f5256"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="separator:a6df35357460181a72da3e93d600f5256"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a79cff0baafbca10a3aaf694d2d3b9ab3"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="separator:a79cff0baafbca10a3aaf694d2d3b9ab3"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0250f835c044521df1619b132288bca7"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="separator:a0250f835c044521df1619b132288bca7"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2137a819e518fee7edd1c0bf5984d8d6"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="separator:a2137a819e518fee7edd1c0bf5984d8d6"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad51d65f6abf5edfaeef6e0519a4c1a2f"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="separator:ad51d65f6abf5edfaeef6e0519a4c1a2f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a500c64a109bc773c973ad274f2fa4190"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a500c64a109bc773c973ad274f2fa4190">selectionChangedByUser</a> ()</td></tr>
- <tr class="separator:a500c64a109bc773c973ad274f2fa4190"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0cd30e29b73efd6afe096e44bc5956f5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a0cd30e29b73efd6afe096e44bc5956f5">beforeReplot</a> ()</td></tr>
- <tr class="separator:a0cd30e29b73efd6afe096e44bc5956f5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6f4fa624af060bc5919c5f266cf426a0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6f4fa624af060bc5919c5f266cf426a0">afterReplot</a> ()</td></tr>
- <tr class="separator:a6f4fa624af060bc5919c5f266cf426a0"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
- Public Member Functions</h2></td></tr>
- <tr class="memitem:a45b99626558651a6428b83972b0b34b8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a45b99626558651a6428b83972b0b34b8">QCustomPlot</a> (QWidget *parent=0)</td></tr>
- <tr class="separator:a45b99626558651a6428b83972b0b34b8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a953ecdbc28018e7e84cb6213ad3d88c2"><td class="memItemLeft" align="right" valign="top">QRect </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a953ecdbc28018e7e84cb6213ad3d88c2">viewport</a> () const </td></tr>
- <tr class="separator:a953ecdbc28018e7e84cb6213ad3d88c2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4643ddc8249cc4f51725650677c2b779"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4643ddc8249cc4f51725650677c2b779"></a>
- QPixmap </td><td class="memItemRight" valign="bottom"><b>background</b> () const </td></tr>
- <tr class="separator:a4643ddc8249cc4f51725650677c2b779"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af9a6e0fe88e4b8ae5504ee9646abb121"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9a6e0fe88e4b8ae5504ee9646abb121"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>backgroundScaled</b> () const </td></tr>
- <tr class="separator:af9a6e0fe88e4b8ae5504ee9646abb121"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3394512baf54fbcdc7613ac44a07c3b6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3394512baf54fbcdc7613ac44a07c3b6"></a>
- Qt::AspectRatioMode </td><td class="memItemRight" valign="bottom"><b>backgroundScaledMode</b> () const </td></tr>
- <tr class="separator:a3394512baf54fbcdc7613ac44a07c3b6"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afd280d4d621ae64a106543a545c508d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layout_grid.html">QCPLayoutGrid</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#afd280d4d621ae64a106543a545c508d7">plotLayout</a> () const </td></tr>
- <tr class="separator:afd280d4d621ae64a106543a545c508d7"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a81e954fbb485bb44c609e5707f0067b3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81e954fbb485bb44c609e5707f0067b3"></a>
- QCP::AntialiasedElements </td><td class="memItemRight" valign="bottom"><b>antialiasedElements</b> () const </td></tr>
- <tr class="separator:a81e954fbb485bb44c609e5707f0067b3"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8060cee59757213764382a78d3196189"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8060cee59757213764382a78d3196189"></a>
- QCP::AntialiasedElements </td><td class="memItemRight" valign="bottom"><b>notAntialiasedElements</b> () const </td></tr>
- <tr class="separator:a8060cee59757213764382a78d3196189"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad1599fc3fd1833b5988f6b89c1f616ca"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1599fc3fd1833b5988f6b89c1f616ca"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>autoAddPlottableToLegend</b> () const </td></tr>
- <tr class="separator:ad1599fc3fd1833b5988f6b89c1f616ca"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a12401c02b6949a717f5749bb28c62983"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a12401c02b6949a717f5749bb28c62983"></a>
- const QCP::Interactions </td><td class="memItemRight" valign="bottom"><b>interactions</b> () const </td></tr>
- <tr class="separator:a12401c02b6949a717f5749bb28c62983"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7b738074c75e80070ef6a10263c6cd69"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b738074c75e80070ef6a10263c6cd69"></a>
- int </td><td class="memItemRight" valign="bottom"><b>selectionTolerance</b> () const </td></tr>
- <tr class="separator:a7b738074c75e80070ef6a10263c6cd69"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae07f2895a34d13a97a10cae4d8e17a36"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae07f2895a34d13a97a10cae4d8e17a36"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>noAntialiasingOnDrag</b> () const </td></tr>
- <tr class="separator:ae07f2895a34d13a97a10cae4d8e17a36"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a130b55e205697a5288081e9fc11e443e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a130b55e205697a5288081e9fc11e443e"></a>
- QCP::PlottingHints </td><td class="memItemRight" valign="bottom"><b>plottingHints</b> () const </td></tr>
- <tr class="separator:a130b55e205697a5288081e9fc11e443e"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9b6b1a0fea8da3fda6d5e3d687202877"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b6b1a0fea8da3fda6d5e3d687202877"></a>
- Qt::KeyboardModifier </td><td class="memItemRight" valign="bottom"><b>multiSelectModifier</b> () const </td></tr>
- <tr class="separator:a9b6b1a0fea8da3fda6d5e3d687202877"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3f9bc4b939dd8aaba9339fd09f273fc4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a3f9bc4b939dd8aaba9339fd09f273fc4">setViewport</a> (const QRect &rect)</td></tr>
- <tr class="separator:a3f9bc4b939dd8aaba9339fd09f273fc4"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a130358592cfca353ff3cf5571b49fb00"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a> (const QPixmap &pm)</td></tr>
- <tr class="separator:a130358592cfca353ff3cf5571b49fb00"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8513971d6aa24d8b0d6a68d45b542130"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a8513971d6aa24d8b0d6a68d45b542130">setBackground</a> (const QPixmap &pm, bool scaled, Qt::AspectRatioMode mode=Qt::KeepAspectRatioByExpanding)</td></tr>
- <tr class="separator:a8513971d6aa24d8b0d6a68d45b542130"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8ed256cf467bfa7ba1f9feaae62c3bd0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a8ed256cf467bfa7ba1f9feaae62c3bd0">setBackground</a> (const QBrush &brush)</td></tr>
- <tr class="separator:a8ed256cf467bfa7ba1f9feaae62c3bd0"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a36f0fa1317325dc7b7efea615ee2de1f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a> (bool scaled)</td></tr>
- <tr class="separator:a36f0fa1317325dc7b7efea615ee2de1f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4c0eb4865b7949f62e1cb97db04a3de0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> (Qt::AspectRatioMode mode)</td></tr>
- <tr class="separator:a4c0eb4865b7949f62e1cb97db04a3de0"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af6f91e5eab1be85f67c556e98c3745e8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> (const QCP::AntialiasedElements &antialiasedElements)</td></tr>
- <tr class="separator:af6f91e5eab1be85f67c556e98c3745e8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aeef813bcf7efab8e765f9f87ec454691"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="separator:aeef813bcf7efab8e765f9f87ec454691"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae10d685b5eabea2999fb8775ca173c24"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> (const QCP::AntialiasedElements &notAntialiasedElements)</td></tr>
- <tr class="separator:ae10d685b5eabea2999fb8775ca173c24"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afc657938a707c890e449ae89203a076d"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="separator:afc657938a707c890e449ae89203a076d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad8858410c2db47b7104040a3aa61c3fc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ad8858410c2db47b7104040a3aa61c3fc">setAutoAddPlottableToLegend</a> (bool on)</td></tr>
- <tr class="separator:ad8858410c2db47b7104040a3aa61c3fc"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5ee1e2f6ae27419deca53e75907c27e5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> (const QCP::Interactions &interactions)</td></tr>
- <tr class="separator:a5ee1e2f6ae27419deca53e75907c27e5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a422bf1bc6d56dac75a3d805d9a65902c"><td class="memItemLeft" align="right" valign="top">void </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> &interaction, bool enabled=true)</td></tr>
- <tr class="separator:a422bf1bc6d56dac75a3d805d9a65902c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4dc31241d7b09680950e19e5f971ed93"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a> (int pixels)</td></tr>
- <tr class="separator:a4dc31241d7b09680950e19e5f971ed93"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a775bdcb6329d44701aeaa6135b0e5265"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a775bdcb6329d44701aeaa6135b0e5265">setNoAntialiasingOnDrag</a> (bool enabled)</td></tr>
- <tr class="separator:a775bdcb6329d44701aeaa6135b0e5265"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a94a33cbdadbbac5934843508bcfc210d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a94a33cbdadbbac5934843508bcfc210d">setPlottingHints</a> (const QCP::PlottingHints &hints)</td></tr>
- <tr class="separator:a94a33cbdadbbac5934843508bcfc210d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3b7c97bb6c16464e9e15190c07abe9a9"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="separator:a3b7c97bb6c16464e9e15190c07abe9a9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8fc96e3b5138a06759a2a90c166df516"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a8fc96e3b5138a06759a2a90c166df516">setMultiSelectModifier</a> (Qt::KeyboardModifier modifier)</td></tr>
- <tr class="separator:a8fc96e3b5138a06759a2a90c166df516"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a32de81ff53e263e785b83b52ecd99d6f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a> (int index)</td></tr>
- <tr class="separator:a32de81ff53e263e785b83b52ecd99d6f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:adea38bdc660da9412ba69fb939031567"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#adea38bdc660da9412ba69fb939031567">plottable</a> ()</td></tr>
- <tr class="separator:adea38bdc660da9412ba69fb939031567"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab7ad9174f701f9c6f64e378df77927a6"><td class="memItemLeft" align="right" valign="top">bool </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>
- <tr class="separator:ab7ad9174f701f9c6f64e378df77927a6"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af3dafd56884208474f311d6226513ab2"><td class="memItemLeft" align="right" valign="top">bool </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>
- <tr class="separator:af3dafd56884208474f311d6226513ab2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afc210e0021480f8119bccf37839dbcc8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#afc210e0021480f8119bccf37839dbcc8">removePlottable</a> (int index)</td></tr>
- <tr class="separator:afc210e0021480f8119bccf37839dbcc8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9a409bb3201878adb7ffba1c89c4e004"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a9a409bb3201878adb7ffba1c89c4e004">clearPlottables</a> ()</td></tr>
- <tr class="separator:a9a409bb3201878adb7ffba1c89c4e004"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2dbfbf15dc38713f9a1c445a3dd2e989"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a2dbfbf15dc38713f9a1c445a3dd2e989">plottableCount</a> () const </td></tr>
- <tr class="separator:a2dbfbf15dc38713f9a1c445a3dd2e989"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6721b8c689bb7f2f400987e580508fe8"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a> () const </td></tr>
- <tr class="separator:a6721b8c689bb7f2f400987e580508fe8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac1d1bc6ae4e13616fb02cef6d9e2188e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ac1d1bc6ae4e13616fb02cef6d9e2188e">plottableAt</a> (const QPointF &pos, bool onlySelectable=false) const </td></tr>
- <tr class="separator:ac1d1bc6ae4e13616fb02cef6d9e2188e"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4fc28914e2ee91aab424b7ce46b6bdf1"><td class="memItemLeft" align="right" valign="top">bool </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>
- <tr class="separator:a4fc28914e2ee91aab424b7ce46b6bdf1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6d3ed93c2bf46ab7fa670d66be4cddaf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6d3ed93c2bf46ab7fa670d66be4cddaf">graph</a> (int index) const </td></tr>
- <tr class="separator:a6d3ed93c2bf46ab7fa670d66be4cddaf"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a80c40ced2a74eefe9e92de1e82ba2274"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a80c40ced2a74eefe9e92de1e82ba2274">graph</a> () const </td></tr>
- <tr class="separator:a80c40ced2a74eefe9e92de1e82ba2274"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6fb2873d35a8a8089842d81a70a54167"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * </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>
- <tr class="separator:a6fb2873d35a8a8089842d81a70a54167"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a903561be895fb6528a770d66ac5e6713"><td class="memItemLeft" align="right" valign="top">bool </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>
- <tr class="separator:a903561be895fb6528a770d66ac5e6713"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9554b3d2d5b10c0f884bd4010b6c192c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a9554b3d2d5b10c0f884bd4010b6c192c">removeGraph</a> (int index)</td></tr>
- <tr class="separator:a9554b3d2d5b10c0f884bd4010b6c192c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab0f3abff2d2f7df3668b5836f39207fa"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ab0f3abff2d2f7df3668b5836f39207fa">clearGraphs</a> ()</td></tr>
- <tr class="separator:ab0f3abff2d2f7df3668b5836f39207fa"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7d9b4d19114b2fde60f0233eeb0aa682"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a7d9b4d19114b2fde60f0233eeb0aa682">graphCount</a> () const </td></tr>
- <tr class="separator:a7d9b4d19114b2fde60f0233eeb0aa682"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad2a0493bdd01e7aa99a4209ae3a5b67b"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ad2a0493bdd01e7aa99a4209ae3a5b67b">selectedGraphs</a> () const </td></tr>
- <tr class="separator:ad2a0493bdd01e7aa99a4209ae3a5b67b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3e842b5a65b1d17fbb96cfb1fa1314d1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a> (int index) const </td></tr>
- <tr class="separator:a3e842b5a65b1d17fbb96cfb1fa1314d1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a700399eae539798c5baf64a37c7f2135"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a700399eae539798c5baf64a37c7f2135">item</a> () const </td></tr>
- <tr class="separator:a700399eae539798c5baf64a37c7f2135"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa500620379262321685cb7a7674cbd2a"><td class="memItemLeft" align="right" valign="top">bool </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>
- <tr class="separator:aa500620379262321685cb7a7674cbd2a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae04446557292551e8fb6e2c106e1848d"><td class="memItemLeft" align="right" valign="top">bool </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>
- <tr class="separator:ae04446557292551e8fb6e2c106e1848d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abcfdda3d601c0441cab136137d715dea"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#abcfdda3d601c0441cab136137d715dea">removeItem</a> (int index)</td></tr>
- <tr class="separator:abcfdda3d601c0441cab136137d715dea"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abdfd07d4f0591d0cf967f85013fd3645"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#abdfd07d4f0591d0cf967f85013fd3645">clearItems</a> ()</td></tr>
- <tr class="separator:abdfd07d4f0591d0cf967f85013fd3645"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6fc860e30df17fd5c46056bf6fe29390"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6fc860e30df17fd5c46056bf6fe29390">itemCount</a> () const </td></tr>
- <tr class="separator:a6fc860e30df17fd5c46056bf6fe29390"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1a48b13547e2d9ac5cd6927516f47a2e"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a1a48b13547e2d9ac5cd6927516f47a2e">selectedItems</a> () const </td></tr>
- <tr class="separator:a1a48b13547e2d9ac5cd6927516f47a2e"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a793e4b04e0ede11a733021907368fa83"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a793e4b04e0ede11a733021907368fa83">itemAt</a> (const QPointF &pos, bool onlySelectable=false) const </td></tr>
- <tr class="separator:a793e4b04e0ede11a733021907368fa83"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab4199c38b03e63a2623c82453fe8add5"><td class="memItemLeft" align="right" valign="top">bool </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>
- <tr class="separator:ab4199c38b03e63a2623c82453fe8add5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aac492da01782820454e9136a8db28182"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#aac492da01782820454e9136a8db28182">layer</a> (const QString &name) const </td></tr>
- <tr class="separator:aac492da01782820454e9136a8db28182"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1e73051e371f1815b48d8b355be0d2ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a1e73051e371f1815b48d8b355be0d2ab">layer</a> (int index) const </td></tr>
- <tr class="separator:a1e73051e371f1815b48d8b355be0d2ab"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af73057345656cbd1463454982d808b00"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#af73057345656cbd1463454982d808b00">currentLayer</a> () const </td></tr>
- <tr class="separator:af73057345656cbd1463454982d808b00"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a73a6dc47c653bb6f8f030abca5a11852"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a73a6dc47c653bb6f8f030abca5a11852">setCurrentLayer</a> (const QString &name)</td></tr>
- <tr class="separator:a73a6dc47c653bb6f8f030abca5a11852"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a23a4d3cadad1a0063c5fe19aac5659e6"><td class="memItemLeft" align="right" valign="top">bool </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>
- <tr class="separator:a23a4d3cadad1a0063c5fe19aac5659e6"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1b3926884f5bd4bdda1495d8b3c891d0"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a1b3926884f5bd4bdda1495d8b3c891d0">layerCount</a> () const </td></tr>
- <tr class="separator:a1b3926884f5bd4bdda1495d8b3c891d0"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad5255393df078448bb6ac83fa5db5f52"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a> (const QString &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>
- <tr class="separator:ad5255393df078448bb6ac83fa5db5f52"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a40f75e342c5eaab6a86066a42a0e2a94"><td class="memItemLeft" align="right" valign="top">bool </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>
- <tr class="separator:a40f75e342c5eaab6a86066a42a0e2a94"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae896140beff19424e9e9e02d6e331104"><td class="memItemLeft" align="right" valign="top">bool </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>
- <tr class="separator:ae896140beff19424e9e9e02d6e331104"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a340fa24b1607e445cedda9685670ead3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a340fa24b1607e445cedda9685670ead3">axisRectCount</a> () const </td></tr>
- <tr class="separator:a340fa24b1607e445cedda9685670ead3"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a4a37a1add5fe63060ac518cf0a4c4050"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_axis_rect.html">QCPAxisRect</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a4a37a1add5fe63060ac518cf0a4c4050">axisRect</a> (int index=0) const </td></tr>
- <tr class="separator:a4a37a1add5fe63060ac518cf0a4c4050"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:afd67094aaeccbc5719761348b2d8c891"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="class_q_c_p_axis_rect.html">QCPAxisRect</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#afd67094aaeccbc5719761348b2d8c891">axisRects</a> () const </td></tr>
- <tr class="separator:afd67094aaeccbc5719761348b2d8c891"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a840458186d4483c8a42d6a399448d38f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_q_c_p_layout_element.html">QCPLayoutElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a840458186d4483c8a42d6a399448d38f">layoutElementAt</a> (const QPointF &pos) const </td></tr>
- <tr class="separator:a840458186d4483c8a42d6a399448d38f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad86528f2cee6c7e446dea4a6e8839935"><td class="memItemLeft" align="right" valign="top">Q_SLOT void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ad86528f2cee6c7e446dea4a6e8839935">rescaleAxes</a> (bool onlyVisiblePlottables=false)</td></tr>
- <tr class="separator:ad86528f2cee6c7e446dea4a6e8839935"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa6baf867e8beb96ed5bd471f83ece903"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#aa6baf867e8beb96ed5bd471f83ece903">selectedAxes</a> () const </td></tr>
- <tr class="separator:aa6baf867e8beb96ed5bd471f83ece903"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1ea6297300c3e2770e65f95836411755"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="class_q_c_p_legend.html">QCPLegend</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a1ea6297300c3e2770e65f95836411755">selectedLegends</a> () const </td></tr>
- <tr class="separator:a1ea6297300c3e2770e65f95836411755"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9d4808ab925b003054085246c92a257c"><td class="memItemLeft" align="right" valign="top">Q_SLOT void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> ()</td></tr>
- <tr class="separator:a9d4808ab925b003054085246c92a257c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a84e33ad7492180f20ff520e557ed102d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a84e33ad7492180f20ff520e557ed102d">savePdf</a> (const QString &fileName, bool noCosmeticPen=false, int width=0, int height=0)</td></tr>
- <tr class="separator:a84e33ad7492180f20ff520e557ed102d"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7636261aff1f6d25c9da749ece3fc8b8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a> (const QString &fileName, int width=0, int height=0, double scale=1.0, int quality=-1)</td></tr>
- <tr class="separator:a7636261aff1f6d25c9da749ece3fc8b8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a490c722092d1771e8ce4a7a73dfd84ab"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a> (const QString &fileName, int width=0, int height=0, double scale=1.0, int quality=-1)</td></tr>
- <tr class="separator:a490c722092d1771e8ce4a7a73dfd84ab"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6629d9e8e6da4bf18055ee0257fdce9a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a> (const QString &fileName, int width=0, int height=0, double scale=1.0)</td></tr>
- <tr class="separator:a6629d9e8e6da4bf18055ee0257fdce9a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab528b84cf92baabe29b1d0ef2f77c93e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> (const QString &fileName, int width, int height, double scale, const char *format, int quality=-1)</td></tr>
- <tr class="separator:ab528b84cf92baabe29b1d0ef2f77c93e"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aabb974d71ce96c137dc04eb6eab844fe"><td class="memItemLeft" align="right" valign="top">QPixmap </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>
- <tr class="separator:aabb974d71ce96c137dc04eb6eab844fe"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1be68d5c0f1e086d6374d1340a193fb9"><td class="memItemLeft" align="right" valign="top">void </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>
- <tr class="separator:a1be68d5c0f1e086d6374d1340a193fb9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a563540b54b2a09c8ef092d42e9621f42"><td class="memItemLeft" align="right" valign="top">Q_SLOT void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_custom_plot.html#a563540b54b2a09c8ef092d42e9621f42">replot</a> ()</td></tr>
- <tr class="separator:a563540b54b2a09c8ef092d42e9621f42"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
- Public Attributes</h2></td></tr>
- <tr class="memitem:a968b5ac86c181a49bba78c2b62a80cb3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a968b5ac86c181a49bba78c2b62a80cb3"></a>
- <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * </td><td class="memItemRight" valign="bottom"><b>xAxis</b></td></tr>
- <tr class="separator:a968b5ac86c181a49bba78c2b62a80cb3"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af6fea5679725b152c14facd920b19367"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6fea5679725b152c14facd920b19367"></a>
- <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * </td><td class="memItemRight" valign="bottom"><b>yAxis</b></td></tr>
- <tr class="separator:af6fea5679725b152c14facd920b19367"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ada41599f22cad901c030f3dcbdd82fd9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ada41599f22cad901c030f3dcbdd82fd9"></a>
- <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * </td><td class="memItemRight" valign="bottom"><b>xAxis2</b></td></tr>
- <tr class="separator:ada41599f22cad901c030f3dcbdd82fd9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af13fdc5bce7d0fabd640f13ba805c0b7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af13fdc5bce7d0fabd640f13ba805c0b7"></a>
- <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * </td><td class="memItemRight" valign="bottom"><b>yAxis2</b></td></tr>
- <tr class="separator:af13fdc5bce7d0fabd640f13ba805c0b7"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a73da53368aa4c2db3d874cf0db50d140"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a73da53368aa4c2db3d874cf0db50d140"></a>
- <a class="el" href="class_q_c_p_legend.html">QCPLegend</a> * </td><td class="memItemRight" valign="bottom"><b>legend</b></td></tr>
- <tr class="separator:a73da53368aa4c2db3d874cf0db50d140"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
- Protected Member Functions</h2></td></tr>
- <tr class="memitem:a4904f06d831afae29cd5d10e889388c3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4904f06d831afae29cd5d10e889388c3"></a>
- virtual QSize </td><td class="memItemRight" valign="bottom"><b>minimumSizeHint</b> () const </td></tr>
- <tr class="separator:a4904f06d831afae29cd5d10e889388c3"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a21d84d299c3651ec36d11a7826274a3c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a21d84d299c3651ec36d11a7826274a3c"></a>
- virtual QSize </td><td class="memItemRight" valign="bottom"><b>sizeHint</b> () const </td></tr>
- <tr class="separator:a21d84d299c3651ec36d11a7826274a3c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2bbc3b1c24bfcc8a7cc1f3008cdd9b73"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2bbc3b1c24bfcc8a7cc1f3008cdd9b73"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><b>paintEvent</b> (QPaintEvent *event)</td></tr>
- <tr class="separator:a2bbc3b1c24bfcc8a7cc1f3008cdd9b73"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a13e05523a40c3f08875df5cde85cf0d9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a13e05523a40c3f08875df5cde85cf0d9"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><b>resizeEvent</b> (QResizeEvent *event)</td></tr>
- <tr class="separator:a13e05523a40c3f08875df5cde85cf0d9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a77591913a5b543bdc465dd5e08325a49"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a77591913a5b543bdc465dd5e08325a49"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><b>mouseDoubleClickEvent</b> (QMouseEvent *event)</td></tr>
- <tr class="separator:a77591913a5b543bdc465dd5e08325a49"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abce84fa2c71e47b9295d67e8fce84bb4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abce84fa2c71e47b9295d67e8fce84bb4"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><b>mousePressEvent</b> (QMouseEvent *event)</td></tr>
- <tr class="separator:abce84fa2c71e47b9295d67e8fce84bb4"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac64727a4f442770f6e5e6be2d0530843"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac64727a4f442770f6e5e6be2d0530843"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><b>mouseMoveEvent</b> (QMouseEvent *event)</td></tr>
- <tr class="separator:ac64727a4f442770f6e5e6be2d0530843"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a724e97d2e8c03e68adac5f4b6164a1b3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a724e97d2e8c03e68adac5f4b6164a1b3"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><b>mouseReleaseEvent</b> (QMouseEvent *event)</td></tr>
- <tr class="separator:a724e97d2e8c03e68adac5f4b6164a1b3"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a7b8bd7e8d3a1d23a8595e9c6a6b76ef1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b8bd7e8d3a1d23a8595e9c6a6b76ef1"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><b>wheelEvent</b> (QWheelEvent *event)</td></tr>
- <tr class="separator:a7b8bd7e8d3a1d23a8595e9c6a6b76ef1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad7a7d878bf050f101a43008e7d8fdb52"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad7a7d878bf050f101a43008e7d8fdb52"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><b>draw</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter)</td></tr>
- <tr class="separator:ad7a7d878bf050f101a43008e7d8fdb52"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8b46607021c463c94709d3504951cb47"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8b46607021c463c94709d3504951cb47"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><b>axisRemoved</b> (<a class="el" href="class_q_c_p_axis.html">QCPAxis</a> *axis)</td></tr>
- <tr class="separator:a8b46607021c463c94709d3504951cb47"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9d173454555021c9ffd4f675c4d9037a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d173454555021c9ffd4f675c4d9037a"></a>
- virtual void </td><td class="memItemRight" valign="bottom"><b>legendRemoved</b> (<a class="el" href="class_q_c_p_legend.html">QCPLegend</a> *legend)</td></tr>
- <tr class="separator:a9d173454555021c9ffd4f675c4d9037a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3117754df3a5638787a6223c7147970f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3117754df3a5638787a6223c7147970f"></a>
- void </td><td class="memItemRight" valign="bottom"><b>updateLayerIndices</b> () const </td></tr>
- <tr class="separator:a3117754df3a5638787a6223c7147970f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3fffd1d8364f657482ae985e0b5aa028"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3fffd1d8364f657482ae985e0b5aa028"></a>
- <a class="el" href="class_q_c_p_layerable.html">QCPLayerable</a> * </td><td class="memItemRight" valign="bottom"><b>layerableAt</b> (const QPointF &pos, bool onlySelectable, QVariant *selectionDetails=0) const </td></tr>
- <tr class="separator:a3fffd1d8364f657482ae985e0b5aa028"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a05dd52438cee4353b18c1e53a439008d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a05dd52438cee4353b18c1e53a439008d"></a>
- void </td><td class="memItemRight" valign="bottom"><b>drawBackground</b> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter)</td></tr>
- <tr class="separator:a05dd52438cee4353b18c1e53a439008d"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
- Protected Attributes</h2></td></tr>
- <tr class="memitem:ac0a7c38a715526c257cff95774f83ab6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac0a7c38a715526c257cff95774f83ab6"></a>
- QRect </td><td class="memItemRight" valign="bottom"><b>mViewport</b></td></tr>
- <tr class="separator:ac0a7c38a715526c257cff95774f83ab6"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac97298756882a0eecd98151679850ac1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac97298756882a0eecd98151679850ac1"></a>
- <a class="el" href="class_q_c_p_layout_grid.html">QCPLayoutGrid</a> * </td><td class="memItemRight" valign="bottom"><b>mPlotLayout</b></td></tr>
- <tr class="separator:ac97298756882a0eecd98151679850ac1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aaf3ea6a4cb04d35a149cc9a0cdac3394"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf3ea6a4cb04d35a149cc9a0cdac3394"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>mAutoAddPlottableToLegend</b></td></tr>
- <tr class="separator:aaf3ea6a4cb04d35a149cc9a0cdac3394"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a62bf8e4e7f8d23fc1e9301ba0148269f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62bf8e4e7f8d23fc1e9301ba0148269f"></a>
- QList< <a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * > </td><td class="memItemRight" valign="bottom"><b>mPlottables</b></td></tr>
- <tr class="separator:a62bf8e4e7f8d23fc1e9301ba0148269f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:adaf8d407d72a725169d7dbed2ee386bb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adaf8d407d72a725169d7dbed2ee386bb"></a>
- QList< <a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * > </td><td class="memItemRight" valign="bottom"><b>mGraphs</b></td></tr>
- <tr class="separator:adaf8d407d72a725169d7dbed2ee386bb"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6a93905372326e31e98d6c3bc8953ec8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6a93905372326e31e98d6c3bc8953ec8"></a>
- QList< <a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * > </td><td class="memItemRight" valign="bottom"><b>mItems</b></td></tr>
- <tr class="separator:a6a93905372326e31e98d6c3bc8953ec8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a72ee313041b873d76c198793ce7e6c37"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72ee313041b873d76c198793ce7e6c37"></a>
- QList< <a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * > </td><td class="memItemRight" valign="bottom"><b>mLayers</b></td></tr>
- <tr class="separator:a72ee313041b873d76c198793ce7e6c37"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa333200629256830e273873b582a5524"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa333200629256830e273873b582a5524"></a>
- QCP::AntialiasedElements </td><td class="memItemRight" valign="bottom"><b>mAntialiasedElements</b></td></tr>
- <tr class="separator:aa333200629256830e273873b582a5524"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a2b6ebcad00a90ba07f146cefcd4293da"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b6ebcad00a90ba07f146cefcd4293da"></a>
- QCP::AntialiasedElements </td><td class="memItemRight" valign="bottom"><b>mNotAntialiasedElements</b></td></tr>
- <tr class="separator:a2b6ebcad00a90ba07f146cefcd4293da"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad717377ceba7493b4b32f0bcbbdf1895"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad717377ceba7493b4b32f0bcbbdf1895"></a>
- QCP::Interactions </td><td class="memItemRight" valign="bottom"><b>mInteractions</b></td></tr>
- <tr class="separator:ad717377ceba7493b4b32f0bcbbdf1895"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abc36e12dd0482117ad810a800c847722"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abc36e12dd0482117ad810a800c847722"></a>
- int </td><td class="memItemRight" valign="bottom"><b>mSelectionTolerance</b></td></tr>
- <tr class="separator:abc36e12dd0482117ad810a800c847722"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac83df968435f6b8ec79f2993ab9124e8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac83df968435f6b8ec79f2993ab9124e8"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>mNoAntialiasingOnDrag</b></td></tr>
- <tr class="separator:ac83df968435f6b8ec79f2993ab9124e8"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3aef5de4ac012178e3293248e9c63737"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3aef5de4ac012178e3293248e9c63737"></a>
- QBrush </td><td class="memItemRight" valign="bottom"><b>mBackgroundBrush</b></td></tr>
- <tr class="separator:a3aef5de4ac012178e3293248e9c63737"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae8f4677399324a78c5f8dbfb95a34f90"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae8f4677399324a78c5f8dbfb95a34f90"></a>
- QPixmap </td><td class="memItemRight" valign="bottom"><b>mBackgroundPixmap</b></td></tr>
- <tr class="separator:ae8f4677399324a78c5f8dbfb95a34f90"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a081bf046501d52642dc6d7e3bdb97d57"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a081bf046501d52642dc6d7e3bdb97d57"></a>
- QPixmap </td><td class="memItemRight" valign="bottom"><b>mScaledBackgroundPixmap</b></td></tr>
- <tr class="separator:a081bf046501d52642dc6d7e3bdb97d57"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a62fe584b20680b1b2e1c7efb5c5416a5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62fe584b20680b1b2e1c7efb5c5416a5"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>mBackgroundScaled</b></td></tr>
- <tr class="separator:a62fe584b20680b1b2e1c7efb5c5416a5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab82e8a5e3ad6b486f95d6da8bf49e9aa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab82e8a5e3ad6b486f95d6da8bf49e9aa"></a>
- Qt::AspectRatioMode </td><td class="memItemRight" valign="bottom"><b>mBackgroundScaledMode</b></td></tr>
- <tr class="separator:ab82e8a5e3ad6b486f95d6da8bf49e9aa"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa27569c92e74395af10151357d268628"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa27569c92e74395af10151357d268628"></a>
- <a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * </td><td class="memItemRight" valign="bottom"><b>mCurrentLayer</b></td></tr>
- <tr class="separator:aa27569c92e74395af10151357d268628"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aa184197a6101a9cc5807469e1d006c9e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa184197a6101a9cc5807469e1d006c9e"></a>
- QCP::PlottingHints </td><td class="memItemRight" valign="bottom"><b>mPlottingHints</b></td></tr>
- <tr class="separator:aa184197a6101a9cc5807469e1d006c9e"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a0e97e701c5671e7e463d2ce0211d0f8a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e97e701c5671e7e463d2ce0211d0f8a"></a>
- Qt::KeyboardModifier </td><td class="memItemRight" valign="bottom"><b>mMultiSelectModifier</b></td></tr>
- <tr class="separator:a0e97e701c5671e7e463d2ce0211d0f8a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a753630df96e0672098d9e88bd41d1913"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a753630df96e0672098d9e88bd41d1913"></a>
- QPixmap </td><td class="memItemRight" valign="bottom"><b>mPaintBuffer</b></td></tr>
- <tr class="separator:a753630df96e0672098d9e88bd41d1913"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac57090da95056ae4dd67be67adfa85bd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac57090da95056ae4dd67be67adfa85bd"></a>
- QPoint </td><td class="memItemRight" valign="bottom"><b>mMousePressPos</b></td></tr>
- <tr class="separator:ac57090da95056ae4dd67be67adfa85bd"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9ef6aa831ac6c71a058fa84b1d5fb152"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ef6aa831ac6c71a058fa84b1d5fb152"></a>
- <a class="el" href="class_q_c_p_layout_element.html">QCPLayoutElement</a> * </td><td class="memItemRight" valign="bottom"><b>mMouseEventElement</b></td></tr>
- <tr class="separator:a9ef6aa831ac6c71a058fa84b1d5fb152"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab30daeca6612c3948afd368dce5f1c39"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab30daeca6612c3948afd368dce5f1c39"></a>
- bool </td><td class="memItemRight" valign="bottom"><b>mReplotting</b></td></tr>
- <tr class="separator:ab30daeca6612c3948afd368dce5f1c39"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
- Friends</h2></td></tr>
- <tr class="memitem:a8429035e7adfbd7f05805a6530ad5e3b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8429035e7adfbd7f05805a6530ad5e3b"></a>
- class </td><td class="memItemRight" valign="bottom"><b>QCPLegend</b></td></tr>
- <tr class="separator:a8429035e7adfbd7f05805a6530ad5e3b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af123edeca169ec7a31958a1d714e1a8a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af123edeca169ec7a31958a1d714e1a8a"></a>
- class </td><td class="memItemRight" valign="bottom"><b>QCPAxis</b></td></tr>
- <tr class="separator:af123edeca169ec7a31958a1d714e1a8a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a5dbf96bf7664c1b6fce49063eeea6eef"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5dbf96bf7664c1b6fce49063eeea6eef"></a>
- class </td><td class="memItemRight" valign="bottom"><b>QCPLayer</b></td></tr>
- <tr class="separator:a5dbf96bf7664c1b6fce49063eeea6eef"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:acbf20ecb140f66c5fd1bc64ae0762990"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acbf20ecb140f66c5fd1bc64ae0762990"></a>
- class </td><td class="memItemRight" valign="bottom"><b>QCPAxisRect</b></td></tr>
- <tr class="separator:acbf20ecb140f66c5fd1bc64ae0762990"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><p>The central class of the library. This is the QWidget which displays the plot and interacts with the user. </p>
- <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 />
- <a href="http://www.qcustomplot.com/">http://www.qcustomplot.com/</a> </p>
- </div><h2 class="groupheader">Member Enumeration Documentation</h2>
- <a class="anchor" id="a75a8afbe6ef333b1f3d47abb25b9add7"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">QCustomPlot::LayerInsertMode</a></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Defines how a layer should be inserted relative to an other layer.</p>
- <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>
- <table class="fieldtable">
- <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a75a8afbe6ef333b1f3d47abb25b9add7aee39cf650cd24e68552da0b697ce4a93"></a>limBelow </td><td class="fielddoc">
- <p>Layer is inserted below other layer. </p>
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41"></a>limAbove </td><td class="fielddoc">
- <p>Layer is inserted above other layer. </p>
- </td></tr>
- </table>
-
- </div>
- </div>
- <h2 class="groupheader">Constructor & Destructor Documentation</h2>
- <a class="anchor" id="a45b99626558651a6428b83972b0b34b8"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">QCustomPlot::QCustomPlot </td>
- <td>(</td>
- <td class="paramtype">QWidget * </td>
- <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
-
- </div>
- </div>
- <h2 class="groupheader">Member Function Documentation</h2>
- <a class="anchor" id="a6fb2873d35a8a8089842d81a70a54167"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * QCustomPlot::addGraph </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * </td>
- <td class="paramname"><em>keyAxis</em> = <code>0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * </td>
- <td class="paramname"><em>valueAxis</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <p>Returns a pointer to the newly created graph, or 0 if adding the graph failed.</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="aa500620379262321685cb7a7674cbd2a"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::addItem </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * </td>
- <td class="paramname"><em>item</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="ad5255393df078448bb6ac83fa5db5f52"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::addLayer </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>name</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * </td>
- <td class="paramname"><em>otherLayer</em> = <code>0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">QCustomPlot::LayerInsertMode</a> </td>
- <td class="paramname"><em>insertMode</em> = <code><a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a></code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="ab7ad9174f701f9c6f64e378df77927a6"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::addPlottable </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * </td>
- <td class="paramname"><em>plottable</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a6f4fa624af060bc5919c5f266cf426a0"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::afterReplot </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="abf635f8b56ab5c16d5de9f358543e82b"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::axisClick </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * </td>
- <td class="paramname"><em>axis</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="class_q_c_p_axis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a> </td>
- <td class="paramname"><em>part</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QMouseEvent * </td>
- <td class="paramname"><em>event</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This signal is emitted when an axis is clicked.</p>
- <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>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a6df35357460181a72da3e93d600f5256">axisDoubleClick</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a6df35357460181a72da3e93d600f5256"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::axisDoubleClick </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * </td>
- <td class="paramname"><em>axis</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="class_q_c_p_axis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a> </td>
- <td class="paramname"><em>part</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QMouseEvent * </td>
- <td class="paramname"><em>event</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This signal is emitted when an axis is double clicked.</p>
- <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>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#abf635f8b56ab5c16d5de9f358543e82b">axisClick</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a4a37a1add5fe63060ac518cf0a4c4050"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_axis_rect.html">QCPAxisRect</a> * QCustomPlot::axisRect </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>index</em> = <code>0</code></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the axis rect with <em>index</em>.</p>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a340fa24b1607e445cedda9685670ead3"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int QCustomPlot::axisRectCount </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the number of axis rects in the plot.</p>
- <p>All axis rects can be accessed via <a class="el" href="class_q_custom_plot.html#a4a37a1add5fe63060ac518cf0a4c4050">QCustomPlot::axisRect()</a>.</p>
- <p>Initially, only one axis rect exists in the plot.</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="afd67094aaeccbc5719761348b2d8c891"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QList< <a class="el" href="class_q_c_p_axis_rect.html">QCPAxisRect</a> * > QCustomPlot::axisRects </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns all axis rects in the plot.</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a0cd30e29b73efd6afe096e44bc5956f5"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::beforeReplot </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="ab0f3abff2d2f7df3668b5836f39207fa"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int QCustomPlot::clearGraphs </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Removes all graphs from the plot (and the QCustomPlot::legend, if necessary).</p>
- <p>Returns the number of graphs removed.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a903561be895fb6528a770d66ac5e6713">removeGraph</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="abdfd07d4f0591d0cf967f85013fd3645"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int QCustomPlot::clearItems </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Removes all items from the plot.</p>
- <p>Returns the number of items removed.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ae04446557292551e8fb6e2c106e1848d">removeItem</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a9a409bb3201878adb7ffba1c89c4e004"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int QCustomPlot::clearPlottables </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Removes all plottables from the plot (and the QCustomPlot::legend, if necessary).</p>
- <p>Returns the number of plottables removed.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#af3dafd56884208474f311d6226513ab2">removePlottable</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="af73057345656cbd1463454982d808b00"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * QCustomPlot::currentLayer </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the layer that is set as current layer (see <a class="el" href="class_q_custom_plot.html#a73a6dc47c653bb6f8f030abca5a11852">setCurrentLayer</a>). </p>
-
- </div>
- </div>
- <a class="anchor" id="a9d4808ab925b003054085246c92a257c"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::deselectAll </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a6d3ed93c2bf46ab7fa670d66be4cddaf"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * QCustomPlot::graph </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>index</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the graph with <em>index</em>. If the index is invalid, returns 0.</p>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a80c40ced2a74eefe9e92de1e82ba2274"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * QCustomPlot::graph </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a7d9b4d19114b2fde60f0233eeb0aa682"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int QCustomPlot::graphCount </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the number of currently existing graphs in the plot</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="ab4199c38b03e63a2623c82453fe8add5"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::hasItem </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * </td>
- <td class="paramname"><em>item</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a4fc28914e2ee91aab424b7ce46b6bdf1"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::hasPlottable </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * </td>
- <td class="paramname"><em>plottable</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a3e842b5a65b1d17fbb96cfb1fa1314d1"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * QCustomPlot::item </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>index</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the item with <em>index</em>. If the index is invalid, returns 0.</p>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a700399eae539798c5baf64a37c7f2135"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * QCustomPlot::item </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a793e4b04e0ede11a733021907368fa83"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * QCustomPlot::itemAt </td>
- <td>(</td>
- <td class="paramtype">const QPointF & </td>
- <td class="paramname"><em>pos</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>onlySelectable</em> = <code>false</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <p>If there is no item at <em>pos</em>, the return value is 0.</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="ae16b51f52d2b7aebbc7e3e74e6ff2e4b"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::itemClick </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * </td>
- <td class="paramname"><em>item</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QMouseEvent * </td>
- <td class="paramname"><em>event</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This signal is emitted when an item is clicked.</p>
- <p><em>event</em> is the mouse event that caused the click and <em>item</em> is the item that received the click.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ac83aa9f5a3e9bb3efc9cdc763dcd42a6">itemDoubleClick</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a6fc860e30df17fd5c46056bf6fe29390"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int QCustomPlot::itemCount </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the number of currently existing items in the plot</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="ac83aa9f5a3e9bb3efc9cdc763dcd42a6"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::itemDoubleClick </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * </td>
- <td class="paramname"><em>item</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QMouseEvent * </td>
- <td class="paramname"><em>event</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This signal is emitted when an item is double clicked.</p>
- <p><em>event</em> is the mouse event that caused the click and <em>item</em> is the item that received the click.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ae16b51f52d2b7aebbc7e3e74e6ff2e4b">itemClick</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="aac492da01782820454e9136a8db28182"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * QCustomPlot::layer </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>name</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the layer with the specified <em>name</em>. If there is no layer with the specified name, 0 is returned.</p>
- <p>Layer names are case-sensitive.</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a1e73051e371f1815b48d8b355be0d2ab"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * QCustomPlot::layer </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>index</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
- <p>Returns the layer by <em>index</em>. If the index is invalid, 0 is returned.</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a1b3926884f5bd4bdda1495d8b3c891d0"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int QCustomPlot::layerCount </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the number of currently existing layers in the plot</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a840458186d4483c8a42d6a399448d38f"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_layout_element.html">QCPLayoutElement</a> * QCustomPlot::layoutElementAt </td>
- <td>(</td>
- <td class="paramtype">const QPointF & </td>
- <td class="paramname"><em>pos</em></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the layout element at pixel position <em>pos</em>. If there is no element at that position, returns 0.</p>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a79cff0baafbca10a3aaf694d2d3b9ab3"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::legendClick </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_legend.html">QCPLegend</a> * </td>
- <td class="paramname"><em>legend</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="class_q_c_p_abstract_legend_item.html">QCPAbstractLegendItem</a> * </td>
- <td class="paramname"><em>item</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QMouseEvent * </td>
- <td class="paramname"><em>event</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This signal is emitted when a legend (item) is clicked.</p>
- <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>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a0250f835c044521df1619b132288bca7">legendDoubleClick</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a0250f835c044521df1619b132288bca7"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::legendDoubleClick </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_legend.html">QCPLegend</a> * </td>
- <td class="paramname"><em>legend</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="class_q_c_p_abstract_legend_item.html">QCPAbstractLegendItem</a> * </td>
- <td class="paramname"><em>item</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QMouseEvent * </td>
- <td class="paramname"><em>event</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This signal is emitted when a legend (item) is double clicked.</p>
- <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>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a79cff0baafbca10a3aaf694d2d3b9ab3">legendClick</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a9b232142c64fcf273a953ee08e5b90e9"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::mouseDoubleClick </td>
- <td>(</td>
- <td class="paramtype">QMouseEvent * </td>
- <td class="paramname"><em>event</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a742ca4f94688bed2a685fd8a56ce5704"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::mouseMove </td>
- <td>(</td>
- <td class="paramtype">QMouseEvent * </td>
- <td class="paramname"><em>event</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="aca75bf9afb5dd19349c375de2a87a051"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::mousePress </td>
- <td>(</td>
- <td class="paramtype">QMouseEvent * </td>
- <td class="paramname"><em>event</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="ac8dc0ee6bb98e923c00b4ebafbe6134d"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::mouseRelease </td>
- <td>(</td>
- <td class="paramtype">QMouseEvent * </td>
- <td class="paramname"><em>event</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="ac80a14206f99304a91d2aa55775ec3ff"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::mouseWheel </td>
- <td>(</td>
- <td class="paramtype">QWheelEvent * </td>
- <td class="paramname"><em>event</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="ae896140beff19424e9e9e02d6e331104"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::moveLayer </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * </td>
- <td class="paramname"><em>layer</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * </td>
- <td class="paramname"><em>otherLayer</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7">QCustomPlot::LayerInsertMode</a> </td>
- <td class="paramname"><em>insertMode</em> = <code><a class="el" href="class_q_custom_plot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a></code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="afd280d4d621ae64a106543a545c508d7"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_layout_grid.html">QCPLayoutGrid</a> * QCustomPlot::plotLayout </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a32de81ff53e263e785b83b52ecd99d6f"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * QCustomPlot::plottable </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>index</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the plottable with <em>index</em>. If the index is invalid, returns 0.</p>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="adea38bdc660da9412ba69fb939031567"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * QCustomPlot::plottable </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="ac1d1bc6ae4e13616fb02cef6d9e2188e"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * QCustomPlot::plottableAt </td>
- <td>(</td>
- <td class="paramtype">const QPointF & </td>
- <td class="paramname"><em>pos</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>onlySelectable</em> = <code>false</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <p>If there is no plottable at <em>pos</em>, the return value is 0.</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a57e5efa8a854620e9bf62d31fc139f53"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::plottableClick </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * </td>
- <td class="paramname"><em>plottable</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QMouseEvent * </td>
- <td class="paramname"><em>event</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This signal is emitted when a plottable is clicked.</p>
- <p><em>event</em> is the mouse event that caused the click and <em>plottable</em> is the plottable that received the click.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#af2e6f1cea923dae437681d01ce7d0c31">plottableDoubleClick</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a2dbfbf15dc38713f9a1c445a3dd2e989"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int QCustomPlot::plottableCount </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns the number of currently existing plottables in the plot</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="af2e6f1cea923dae437681d01ce7d0c31"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::plottableDoubleClick </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * </td>
- <td class="paramname"><em>plottable</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">QMouseEvent * </td>
- <td class="paramname"><em>event</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This signal is emitted when a plottable is double clicked.</p>
- <p><em>event</em> is the mouse event that caused the click and <em>plottable</em> is the plottable that received the click.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a57e5efa8a854620e9bf62d31fc139f53">plottableClick</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a903561be895fb6528a770d66ac5e6713"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::removeGraph </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * </td>
- <td class="paramname"><em>graph</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <p>Returns true on success.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ab0f3abff2d2f7df3668b5836f39207fa">clearGraphs</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a9554b3d2d5b10c0f884bd4010b6c192c"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::removeGraph </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>index</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
- <p>Removes the graph by its <em>index</em>. </p>
-
- </div>
- </div>
- <a class="anchor" id="ae04446557292551e8fb6e2c106e1848d"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::removeItem </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * </td>
- <td class="paramname"><em>item</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Removes the specified item from the plot.</p>
- <p>Returns true on success.</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="abcfdda3d601c0441cab136137d715dea"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::removeItem </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>index</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
- <p>Removes the item by its <em>index</em>. </p>
-
- </div>
- </div>
- <a class="anchor" id="a40f75e342c5eaab6a86066a42a0e2a94"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::removeLayer </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * </td>
- <td class="paramname"><em>layer</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Removes the specified <em>layer</em> and returns true on success.</p>
- <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>
- <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>
- <p>It is not possible to remove the last layer of the plot.</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="af3dafd56884208474f311d6226513ab2"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::removePlottable </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * </td>
- <td class="paramname"><em>plottable</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Removes the specified plottable from the plot and, if necessary, from the legend (QCustomPlot::legend).</p>
- <p>Returns true on success.</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="afc210e0021480f8119bccf37839dbcc8"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::removePlottable </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>index</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
- <p>Removes the plottable by its <em>index</em>. </p>
-
- </div>
- </div>
- <a class="anchor" id="a563540b54b2a09c8ef092d42e9621f42"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::replot </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="ad86528f2cee6c7e446dea4a6e8839935"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::rescaleAxes </td>
- <td>(</td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>onlyVisiblePlottables</em> = <code>false</code></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Rescales the axes such that all plottables (like graphs) in the plot are fully visible.</p>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a6629d9e8e6da4bf18055ee0257fdce9a"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::saveBmp </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>fileName</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>width</em> = <code>0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>height</em> = <code>0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">double </td>
- <td class="paramname"><em>scale</em> = <code>1.0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a490c722092d1771e8ce4a7a73dfd84ab"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::saveJpg </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>fileName</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>width</em> = <code>0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>height</em> = <code>0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">double </td>
- <td class="paramname"><em>scale</em> = <code>1.0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>quality</em> = <code>-1</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a84e33ad7492180f20ff520e557ed102d"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::savePdf </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>fileName</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>noCosmeticPen</em> = <code>false</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>width</em> = <code>0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>height</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
- <p>Returns true on success.</p>
- <dl class="section warning"><dt>Warning</dt><dd><ul>
- <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>
- <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>
- </ul>
- </dd></dl>
- <dl class="section note"><dt>Note</dt><dd>On Android systems, this method does nothing and issues an according qDebug warning message.</dd></dl>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a7636261aff1f6d25c9da749ece3fc8b8"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::savePng </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>fileName</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>width</em> = <code>0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>height</em> = <code>0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">double </td>
- <td class="paramname"><em>scale</em> = <code>1.0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>quality</em> = <code>-1</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
- <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>
- <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>
- <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 &brush) with no brush (Qt::NoBrush) or a transparent color (Qt::transparent), before saving.</p>
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="ab528b84cf92baabe29b1d0ef2f77c93e"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::saveRastered </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>fileName</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>width</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>height</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">double </td>
- <td class="paramname"><em>scale</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const char * </td>
- <td class="paramname"><em>format</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>quality</em> = <code>-1</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="aa6baf867e8beb96ed5bd471f83ece903"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QList< <a class="el" href="class_q_c_p_axis.html">QCPAxis</a> * > QCustomPlot::selectedAxes </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="ad2a0493bdd01e7aa99a4209ae3a5b67b"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QList< <a class="el" href="class_q_c_p_graph.html">QCPGraph</a> * > QCustomPlot::selectedGraphs </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns a list of the selected graphs. If no graphs are currently selected, the list is empty.</p>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a1a48b13547e2d9ac5cd6927516f47a2e"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QList< <a class="el" href="class_q_c_p_abstract_item.html">QCPAbstractItem</a> * > QCustomPlot::selectedItems </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns a list of the selected items. If no items are currently selected, the list is empty.</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a1ea6297300c3e2770e65f95836411755"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QList< <a class="el" href="class_q_c_p_legend.html">QCPLegend</a> * > QCustomPlot::selectedLegends </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a6721b8c689bb7f2f400987e580508fe8"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QList< <a class="el" href="class_q_c_p_abstract_plottable.html">QCPAbstractPlottable</a> * > QCustomPlot::selectedPlottables </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Returns a list of the selected plottables. If no plottables are currently selected, the list is empty.</p>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a500c64a109bc773c973ad274f2fa4190"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::selectionChangedByUser </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <p>See the documentation of <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> for details about the selection mechanism.</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="aeef813bcf7efab8e765f9f87ec454691"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setAntialiasedElement </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> </td>
- <td class="paramname"><em>antialiasedElement</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>enabled</em> = <code>true</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets whether the specified <em>antialiasedElement</em> is forcibly drawn antialiased.</p>
- <p>See <a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> for details.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#afc657938a707c890e449ae89203a076d">setNotAntialiasedElement</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="af6f91e5eab1be85f67c556e98c3745e8"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setAntialiasedElements </td>
- <td>(</td>
- <td class="paramtype">const QCP::AntialiasedElements & </td>
- <td class="paramname"><em>antialiasedElements</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
- <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>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="ad8858410c2db47b7104040a3aa61c3fc"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setAutoAddPlottableToLegend </td>
- <td>(</td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>on</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a130358592cfca353ff3cf5571b49fb00"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setBackground </td>
- <td>(</td>
- <td class="paramtype">const QPixmap & </td>
- <td class="paramname"><em>pm</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <p>If a background brush was set with <a class="el" href="class_q_custom_plot.html#a8ed256cf467bfa7ba1f9feaae62c3bd0">setBackground(const QBrush &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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a8513971d6aa24d8b0d6a68d45b542130"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setBackground </td>
- <td>(</td>
- <td class="paramtype">const QPixmap & </td>
- <td class="paramname"><em>pm</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>scaled</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">Qt::AspectRatioMode </td>
- <td class="paramname"><em>mode</em> = <code>Qt::KeepAspectRatioByExpanding</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
- <p>Allows setting the background pixmap of the viewport, whether it shall be scaled and how it shall be scaled in one call.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a130358592cfca353ff3cf5571b49fb00">setBackground(const QPixmap &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>
-
- </div>
- </div>
- <a class="anchor" id="a8ed256cf467bfa7ba1f9feaae62c3bd0"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setBackground </td>
- <td>(</td>
- <td class="paramtype">const QBrush & </td>
- <td class="paramname"><em>brush</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets the background brush of the viewport (see <a class="el" href="class_q_custom_plot.html#a3f9bc4b939dd8aaba9339fd09f273fc4">setViewport</a>).</p>
- <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 &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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a36f0fa1317325dc7b7efea615ee2de1f"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setBackgroundScaled </td>
- <td>(</td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>scaled</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a4c0eb4865b7949f62e1cb97db04a3de0"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setBackgroundScaledMode </td>
- <td>(</td>
- <td class="paramtype">Qt::AspectRatioMode </td>
- <td class="paramname"><em>mode</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a73a6dc47c653bb6f8f030abca5a11852"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::setCurrentLayer </td>
- <td>(</td>
- <td class="paramtype">const QString & </td>
- <td class="paramname"><em>name</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <p>Layer names are case-sensitive.</p>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a23a4d3cadad1a0063c5fe19aac5659e6"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">bool QCustomPlot::setCurrentLayer </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_layer.html">QCPLayer</a> * </td>
- <td class="paramname"><em>layer</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
- <p>Sets the provided <em>layer</em> to be the current layer.</p>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a422bf1bc6d56dac75a3d805d9a65902c"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setInteraction </td>
- <td>(</td>
- <td class="paramtype">const <a class="el" href="namespace_q_c_p.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> & </td>
- <td class="paramname"><em>interaction</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>enabled</em> = <code>true</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <p>For details about the interaction system, see <a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a5ee1e2f6ae27419deca53e75907c27e5"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setInteractions </td>
- <td>(</td>
- <td class="paramtype">const QCP::Interactions & </td>
- <td class="paramname"><em>interactions</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a8fc96e3b5138a06759a2a90c166df516"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setMultiSelectModifier </td>
- <td>(</td>
- <td class="paramtype">Qt::KeyboardModifier </td>
- <td class="paramname"><em>modifier</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets the keyboard modifier that will be recognized as multi-select-modifier.</p>
- <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>
- <p>By default the multi-select-modifier is set to Qt::ControlModifier.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a775bdcb6329d44701aeaa6135b0e5265"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setNoAntialiasingOnDrag </td>
- <td>(</td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>enabled</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets whether 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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="afc657938a707c890e449ae89203a076d"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setNotAntialiasedElement </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespace_q_c_p.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> </td>
- <td class="paramname"><em>notAntialiasedElement</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>enabled</em> = <code>true</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets whether the specified <em>notAntialiasedElement</em> is forcibly drawn not antialiased.</p>
- <p>See <a class="el" href="class_q_custom_plot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> for details.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aeef813bcf7efab8e765f9f87ec454691">setAntialiasedElement</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="ae10d685b5eabea2999fb8775ca173c24"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setNotAntialiasedElements </td>
- <td>(</td>
- <td class="paramtype">const QCP::AntialiasedElements & </td>
- <td class="paramname"><em>notAntialiasedElements</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
- <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>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a3b7c97bb6c16464e9e15190c07abe9a9"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setPlottingHint </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="namespace_q_c_p.html#a5400e5fcb9528d92002ddb938c1f4ef4">QCP::PlottingHint</a> </td>
- <td class="paramname"><em>hint</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">bool </td>
- <td class="paramname"><em>enabled</em> = <code>true</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets the specified plotting <em>hint</em> to <em>enabled</em>.</p>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a94a33cbdadbbac5934843508bcfc210d">setPlottingHints</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a94a33cbdadbbac5934843508bcfc210d"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setPlottingHints </td>
- <td>(</td>
- <td class="paramtype">const QCP::PlottingHints & </td>
- <td class="paramname"><em>hints</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a3b7c97bb6c16464e9e15190c07abe9a9">setPlottingHint</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a4dc31241d7b09680950e19e5f971ed93"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setSelectionTolerance </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>pixels</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Sets the tolerance that is used to decide whether a click selects an object (e.g. a plottable) or not.</p>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a3f9bc4b939dd8aaba9339fd09f273fc4"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::setViewport </td>
- <td>(</td>
- <td class="paramtype">const QRect & </td>
- <td class="paramname"><em>rect</em></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a2137a819e518fee7edd1c0bf5984d8d6"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::titleClick </td>
- <td>(</td>
- <td class="paramtype">QMouseEvent * </td>
- <td class="paramname"><em>event</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="class_q_c_p_plot_title.html">QCPPlotTitle</a> * </td>
- <td class="paramname"><em>title</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This signal is emitted when a plot title is clicked.</p>
- <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>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#ad51d65f6abf5edfaeef6e0519a4c1a2f">titleDoubleClick</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="ad51d65f6abf5edfaeef6e0519a4c1a2f"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::titleDoubleClick </td>
- <td>(</td>
- <td class="paramtype">QMouseEvent * </td>
- <td class="paramname"><em>event</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="class_q_c_p_plot_title.html">QCPPlotTitle</a> * </td>
- <td class="paramname"><em>title</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">signal</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>This signal is emitted when a plot title is double clicked.</p>
- <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>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#a2137a819e518fee7edd1c0bf5984d8d6">titleClick</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="a1be68d5c0f1e086d6374d1340a193fb9"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void QCustomPlot::toPainter </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="class_q_c_p_painter.html">QCPPainter</a> * </td>
- <td class="paramname"><em>painter</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>width</em> = <code>0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>height</em> = <code>0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Renders the plot using the passed <em>painter</em>.</p>
- <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>
- <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>
- <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_q_custom_plot.html#aabb974d71ce96c137dc04eb6eab844fe">toPixmap</a> </dd></dl>
-
- </div>
- </div>
- <a class="anchor" id="aabb974d71ce96c137dc04eb6eab844fe"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">QPixmap QCustomPlot::toPixmap </td>
- <td>(</td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>width</em> = <code>0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">int </td>
- <td class="paramname"><em>height</em> = <code>0</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">double </td>
- <td class="paramname"><em>scale</em> = <code>1.0</code> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Renders the plot to a pixmap and returns it.</p>
- <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>
- <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>
-
- </div>
- </div>
- <a class="anchor" id="a953ecdbc28018e7e84cb6213ad3d88c2"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="mlabels">
- <tr>
- <td class="mlabels-left">
- <table class="memname">
- <tr>
- <td class="memname">QRect QCustomPlot::viewport </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td> const</td>
- </tr>
- </table>
- </td>
- <td class="mlabels-right">
- <span class="mlabels"><span class="mlabel">inline</span></span> </td>
- </tr>
- </table>
- </div><div class="memdoc">
- <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>
- <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>
- <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>
-
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following files:<ul>
- <li><a class="el" href="qcustomplot_8h_source.html">qcustomplot.h</a></li>
- <li><a class="el" href="qcustomplot_8cpp.html">qcustomplot.cpp</a></li>
- </ul>
- </div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated on Tue Aug 11 2015 13:04:54 for My Project by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.9.1
- </small></address>
- </body>
- </html>
|