No Description

class_q_custom_plot.tex 144KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777
  1. \hypertarget{class_q_custom_plot}{}\section{Q\+Custom\+Plot Class Reference}
  2. \label{class_q_custom_plot}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  3. The central class of the library. This is the Q\+Widget which displays the plot and interacts with the user.
  4. Inheritance diagram for Q\+Custom\+Plot\+:\begin{figure}[H]
  5. \begin{center}
  6. \leavevmode
  7. \includegraphics[height=2.000000cm]{class_q_custom_plot}
  8. \end{center}
  9. \end{figure}
  10. \subsection*{Public Types}
  11. \begin{DoxyCompactItemize}
  12. \item
  13. enum \hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7}{Layer\+Insert\+Mode} \{ \hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7aee39cf650cd24e68552da0b697ce4a93}{lim\+Below},
  14. \hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41}{lim\+Above}
  15. \}
  16. \end{DoxyCompactItemize}
  17. \subsection*{Signals}
  18. \begin{DoxyCompactItemize}
  19. \item
  20. void \hyperlink{class_q_custom_plot_a9b232142c64fcf273a953ee08e5b90e9}{mouse\+Double\+Click} (Q\+Mouse\+Event $\ast$event)
  21. \item
  22. void \hyperlink{class_q_custom_plot_aca75bf9afb5dd19349c375de2a87a051}{mouse\+Press} (Q\+Mouse\+Event $\ast$event)
  23. \item
  24. void \hyperlink{class_q_custom_plot_a742ca4f94688bed2a685fd8a56ce5704}{mouse\+Move} (Q\+Mouse\+Event $\ast$event)
  25. \item
  26. void \hyperlink{class_q_custom_plot_ac8dc0ee6bb98e923c00b4ebafbe6134d}{mouse\+Release} (Q\+Mouse\+Event $\ast$event)
  27. \item
  28. void \hyperlink{class_q_custom_plot_ac80a14206f99304a91d2aa55775ec3ff}{mouse\+Wheel} (Q\+Wheel\+Event $\ast$event)
  29. \item
  30. void \hyperlink{class_q_custom_plot_a57e5efa8a854620e9bf62d31fc139f53}{plottable\+Click} (\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable} $\ast$\hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable}, Q\+Mouse\+Event $\ast$event)
  31. \item
  32. void \hyperlink{class_q_custom_plot_af2e6f1cea923dae437681d01ce7d0c31}{plottable\+Double\+Click} (\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable} $\ast$\hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable}, Q\+Mouse\+Event $\ast$event)
  33. \item
  34. void \hyperlink{class_q_custom_plot_ae16b51f52d2b7aebbc7e3e74e6ff2e4b}{item\+Click} (\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item} $\ast$\hyperlink{class_q_custom_plot_a3e842b5a65b1d17fbb96cfb1fa1314d1}{item}, Q\+Mouse\+Event $\ast$event)
  35. \item
  36. void \hyperlink{class_q_custom_plot_ac83aa9f5a3e9bb3efc9cdc763dcd42a6}{item\+Double\+Click} (\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item} $\ast$\hyperlink{class_q_custom_plot_a3e842b5a65b1d17fbb96cfb1fa1314d1}{item}, Q\+Mouse\+Event $\ast$event)
  37. \item
  38. void \hyperlink{class_q_custom_plot_abf635f8b56ab5c16d5de9f358543e82b}{axis\+Click} (\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$axis, \hyperlink{class_q_c_p_axis_abee4c7a54c468b1385dfce2c898b115f}{Q\+C\+P\+Axis\+::\+Selectable\+Part} part, Q\+Mouse\+Event $\ast$event)
  39. \item
  40. void \hyperlink{class_q_custom_plot_a6df35357460181a72da3e93d600f5256}{axis\+Double\+Click} (\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$axis, \hyperlink{class_q_c_p_axis_abee4c7a54c468b1385dfce2c898b115f}{Q\+C\+P\+Axis\+::\+Selectable\+Part} part, Q\+Mouse\+Event $\ast$event)
  41. \item
  42. void \hyperlink{class_q_custom_plot_a79cff0baafbca10a3aaf694d2d3b9ab3}{legend\+Click} (\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend} $\ast$legend, \hyperlink{class_q_c_p_abstract_legend_item}{Q\+C\+P\+Abstract\+Legend\+Item} $\ast$\hyperlink{class_q_custom_plot_a3e842b5a65b1d17fbb96cfb1fa1314d1}{item}, Q\+Mouse\+Event $\ast$event)
  43. \item
  44. void \hyperlink{class_q_custom_plot_a0250f835c044521df1619b132288bca7}{legend\+Double\+Click} (\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend} $\ast$legend, \hyperlink{class_q_c_p_abstract_legend_item}{Q\+C\+P\+Abstract\+Legend\+Item} $\ast$\hyperlink{class_q_custom_plot_a3e842b5a65b1d17fbb96cfb1fa1314d1}{item}, Q\+Mouse\+Event $\ast$event)
  45. \item
  46. void \hyperlink{class_q_custom_plot_a2137a819e518fee7edd1c0bf5984d8d6}{title\+Click} (Q\+Mouse\+Event $\ast$event, \hyperlink{class_q_c_p_plot_title}{Q\+C\+P\+Plot\+Title} $\ast$title)
  47. \item
  48. void \hyperlink{class_q_custom_plot_ad51d65f6abf5edfaeef6e0519a4c1a2f}{title\+Double\+Click} (Q\+Mouse\+Event $\ast$event, \hyperlink{class_q_c_p_plot_title}{Q\+C\+P\+Plot\+Title} $\ast$title)
  49. \item
  50. void \hyperlink{class_q_custom_plot_a500c64a109bc773c973ad274f2fa4190}{selection\+Changed\+By\+User} ()
  51. \item
  52. void \hyperlink{class_q_custom_plot_a0cd30e29b73efd6afe096e44bc5956f5}{before\+Replot} ()
  53. \item
  54. void \hyperlink{class_q_custom_plot_a6f4fa624af060bc5919c5f266cf426a0}{after\+Replot} ()
  55. \end{DoxyCompactItemize}
  56. \subsection*{Public Member Functions}
  57. \begin{DoxyCompactItemize}
  58. \item
  59. \hyperlink{class_q_custom_plot_a45b99626558651a6428b83972b0b34b8}{Q\+Custom\+Plot} (Q\+Widget $\ast$parent=0)
  60. \item
  61. Q\+Rect \hyperlink{class_q_custom_plot_a953ecdbc28018e7e84cb6213ad3d88c2}{viewport} () const
  62. \item
  63. \hypertarget{class_q_custom_plot_a4643ddc8249cc4f51725650677c2b779}{}Q\+Pixmap {\bfseries background} () const \label{class_q_custom_plot_a4643ddc8249cc4f51725650677c2b779}
  64. \item
  65. \hypertarget{class_q_custom_plot_af9a6e0fe88e4b8ae5504ee9646abb121}{}bool {\bfseries background\+Scaled} () const \label{class_q_custom_plot_af9a6e0fe88e4b8ae5504ee9646abb121}
  66. \item
  67. \hypertarget{class_q_custom_plot_a3394512baf54fbcdc7613ac44a07c3b6}{}Qt\+::\+Aspect\+Ratio\+Mode {\bfseries background\+Scaled\+Mode} () const \label{class_q_custom_plot_a3394512baf54fbcdc7613ac44a07c3b6}
  68. \item
  69. \hyperlink{class_q_c_p_layout_grid}{Q\+C\+P\+Layout\+Grid} $\ast$ \hyperlink{class_q_custom_plot_afd280d4d621ae64a106543a545c508d7}{plot\+Layout} () const
  70. \item
  71. \hypertarget{class_q_custom_plot_a81e954fbb485bb44c609e5707f0067b3}{}Q\+C\+P\+::\+Antialiased\+Elements {\bfseries antialiased\+Elements} () const \label{class_q_custom_plot_a81e954fbb485bb44c609e5707f0067b3}
  72. \item
  73. \hypertarget{class_q_custom_plot_a8060cee59757213764382a78d3196189}{}Q\+C\+P\+::\+Antialiased\+Elements {\bfseries not\+Antialiased\+Elements} () const \label{class_q_custom_plot_a8060cee59757213764382a78d3196189}
  74. \item
  75. \hypertarget{class_q_custom_plot_ad1599fc3fd1833b5988f6b89c1f616ca}{}bool {\bfseries auto\+Add\+Plottable\+To\+Legend} () const \label{class_q_custom_plot_ad1599fc3fd1833b5988f6b89c1f616ca}
  76. \item
  77. \hypertarget{class_q_custom_plot_a12401c02b6949a717f5749bb28c62983}{}const Q\+C\+P\+::\+Interactions {\bfseries interactions} () const \label{class_q_custom_plot_a12401c02b6949a717f5749bb28c62983}
  78. \item
  79. \hypertarget{class_q_custom_plot_a7b738074c75e80070ef6a10263c6cd69}{}int {\bfseries selection\+Tolerance} () const \label{class_q_custom_plot_a7b738074c75e80070ef6a10263c6cd69}
  80. \item
  81. \hypertarget{class_q_custom_plot_ae07f2895a34d13a97a10cae4d8e17a36}{}bool {\bfseries no\+Antialiasing\+On\+Drag} () const \label{class_q_custom_plot_ae07f2895a34d13a97a10cae4d8e17a36}
  82. \item
  83. \hypertarget{class_q_custom_plot_a130b55e205697a5288081e9fc11e443e}{}Q\+C\+P\+::\+Plotting\+Hints {\bfseries plotting\+Hints} () const \label{class_q_custom_plot_a130b55e205697a5288081e9fc11e443e}
  84. \item
  85. \hypertarget{class_q_custom_plot_a9b6b1a0fea8da3fda6d5e3d687202877}{}Qt\+::\+Keyboard\+Modifier {\bfseries multi\+Select\+Modifier} () const \label{class_q_custom_plot_a9b6b1a0fea8da3fda6d5e3d687202877}
  86. \item
  87. void \hyperlink{class_q_custom_plot_a3f9bc4b939dd8aaba9339fd09f273fc4}{set\+Viewport} (const Q\+Rect \&rect)
  88. \item
  89. void \hyperlink{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}{set\+Background} (const Q\+Pixmap \&pm)
  90. \item
  91. void \hyperlink{class_q_custom_plot_a8513971d6aa24d8b0d6a68d45b542130}{set\+Background} (const Q\+Pixmap \&pm, bool scaled, Qt\+::\+Aspect\+Ratio\+Mode mode=Qt\+::\+Keep\+Aspect\+Ratio\+By\+Expanding)
  92. \item
  93. void \hyperlink{class_q_custom_plot_a8ed256cf467bfa7ba1f9feaae62c3bd0}{set\+Background} (const Q\+Brush \&brush)
  94. \item
  95. void \hyperlink{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{set\+Background\+Scaled} (bool scaled)
  96. \item
  97. void \hyperlink{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{set\+Background\+Scaled\+Mode} (Qt\+::\+Aspect\+Ratio\+Mode mode)
  98. \item
  99. void \hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{set\+Antialiased\+Elements} (const Q\+C\+P\+::\+Antialiased\+Elements \&antialiased\+Elements)
  100. \item
  101. void \hyperlink{class_q_custom_plot_aeef813bcf7efab8e765f9f87ec454691}{set\+Antialiased\+Element} (\hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0c}{Q\+C\+P\+::\+Antialiased\+Element} antialiased\+Element, bool enabled=true)
  102. \item
  103. void \hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{set\+Not\+Antialiased\+Elements} (const Q\+C\+P\+::\+Antialiased\+Elements \&not\+Antialiased\+Elements)
  104. \item
  105. void \hyperlink{class_q_custom_plot_afc657938a707c890e449ae89203a076d}{set\+Not\+Antialiased\+Element} (\hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0c}{Q\+C\+P\+::\+Antialiased\+Element} not\+Antialiased\+Element, bool enabled=true)
  106. \item
  107. void \hyperlink{class_q_custom_plot_ad8858410c2db47b7104040a3aa61c3fc}{set\+Auto\+Add\+Plottable\+To\+Legend} (bool on)
  108. \item
  109. void \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions} (const Q\+C\+P\+::\+Interactions \&interactions)
  110. \item
  111. void \hyperlink{class_q_custom_plot_a422bf1bc6d56dac75a3d805d9a65902c}{set\+Interaction} (const \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037}{Q\+C\+P\+::\+Interaction} \&interaction, bool enabled=true)
  112. \item
  113. void \hyperlink{class_q_custom_plot_a4dc31241d7b09680950e19e5f971ed93}{set\+Selection\+Tolerance} (int pixels)
  114. \item
  115. void \hyperlink{class_q_custom_plot_a775bdcb6329d44701aeaa6135b0e5265}{set\+No\+Antialiasing\+On\+Drag} (bool enabled)
  116. \item
  117. void \hyperlink{class_q_custom_plot_a94a33cbdadbbac5934843508bcfc210d}{set\+Plotting\+Hints} (const Q\+C\+P\+::\+Plotting\+Hints \&hints)
  118. \item
  119. void \hyperlink{class_q_custom_plot_a3b7c97bb6c16464e9e15190c07abe9a9}{set\+Plotting\+Hint} (\hyperlink{namespace_q_c_p_a5400e5fcb9528d92002ddb938c1f4ef4}{Q\+C\+P\+::\+Plotting\+Hint} hint, bool enabled=true)
  120. \item
  121. void \hyperlink{class_q_custom_plot_a8fc96e3b5138a06759a2a90c166df516}{set\+Multi\+Select\+Modifier} (Qt\+::\+Keyboard\+Modifier modifier)
  122. \item
  123. \hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable} $\ast$ \hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable} (int index)
  124. \item
  125. \hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable} $\ast$ \hyperlink{class_q_custom_plot_adea38bdc660da9412ba69fb939031567}{plottable} ()
  126. \item
  127. bool \hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable} (\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable} $\ast$\hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable})
  128. \item
  129. bool \hyperlink{class_q_custom_plot_af3dafd56884208474f311d6226513ab2}{remove\+Plottable} (\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable} $\ast$\hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable})
  130. \item
  131. bool \hyperlink{class_q_custom_plot_afc210e0021480f8119bccf37839dbcc8}{remove\+Plottable} (int index)
  132. \item
  133. int \hyperlink{class_q_custom_plot_a9a409bb3201878adb7ffba1c89c4e004}{clear\+Plottables} ()
  134. \item
  135. int \hyperlink{class_q_custom_plot_a2dbfbf15dc38713f9a1c445a3dd2e989}{plottable\+Count} () const
  136. \item
  137. Q\+List$<$ \hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable} $\ast$ $>$ \hyperlink{class_q_custom_plot_a6721b8c689bb7f2f400987e580508fe8}{selected\+Plottables} () const
  138. \item
  139. \hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable} $\ast$ \hyperlink{class_q_custom_plot_ac1d1bc6ae4e13616fb02cef6d9e2188e}{plottable\+At} (const Q\+Point\+F \&pos, bool only\+Selectable=false) const
  140. \item
  141. bool \hyperlink{class_q_custom_plot_a4fc28914e2ee91aab424b7ce46b6bdf1}{has\+Plottable} (\hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable} $\ast$\hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable}) const
  142. \item
  143. \hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph} $\ast$ \hyperlink{class_q_custom_plot_a6d3ed93c2bf46ab7fa670d66be4cddaf}{graph} (int index) const
  144. \item
  145. \hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph} $\ast$ \hyperlink{class_q_custom_plot_a80c40ced2a74eefe9e92de1e82ba2274}{graph} () const
  146. \item
  147. \hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph} $\ast$ \hyperlink{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}{add\+Graph} (\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$key\+Axis=0, \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$value\+Axis=0)
  148. \item
  149. bool \hyperlink{class_q_custom_plot_a903561be895fb6528a770d66ac5e6713}{remove\+Graph} (\hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph} $\ast$\hyperlink{class_q_custom_plot_a6d3ed93c2bf46ab7fa670d66be4cddaf}{graph})
  150. \item
  151. bool \hyperlink{class_q_custom_plot_a9554b3d2d5b10c0f884bd4010b6c192c}{remove\+Graph} (int index)
  152. \item
  153. int \hyperlink{class_q_custom_plot_ab0f3abff2d2f7df3668b5836f39207fa}{clear\+Graphs} ()
  154. \item
  155. int \hyperlink{class_q_custom_plot_a7d9b4d19114b2fde60f0233eeb0aa682}{graph\+Count} () const
  156. \item
  157. Q\+List$<$ \hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph} $\ast$ $>$ \hyperlink{class_q_custom_plot_ad2a0493bdd01e7aa99a4209ae3a5b67b}{selected\+Graphs} () const
  158. \item
  159. \hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item} $\ast$ \hyperlink{class_q_custom_plot_a3e842b5a65b1d17fbb96cfb1fa1314d1}{item} (int index) const
  160. \item
  161. \hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item} $\ast$ \hyperlink{class_q_custom_plot_a700399eae539798c5baf64a37c7f2135}{item} () const
  162. \item
  163. bool \hyperlink{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{add\+Item} (\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item} $\ast$\hyperlink{class_q_custom_plot_a3e842b5a65b1d17fbb96cfb1fa1314d1}{item})
  164. \item
  165. bool \hyperlink{class_q_custom_plot_ae04446557292551e8fb6e2c106e1848d}{remove\+Item} (\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item} $\ast$\hyperlink{class_q_custom_plot_a3e842b5a65b1d17fbb96cfb1fa1314d1}{item})
  166. \item
  167. bool \hyperlink{class_q_custom_plot_abcfdda3d601c0441cab136137d715dea}{remove\+Item} (int index)
  168. \item
  169. int \hyperlink{class_q_custom_plot_abdfd07d4f0591d0cf967f85013fd3645}{clear\+Items} ()
  170. \item
  171. int \hyperlink{class_q_custom_plot_a6fc860e30df17fd5c46056bf6fe29390}{item\+Count} () const
  172. \item
  173. Q\+List$<$ \hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item} $\ast$ $>$ \hyperlink{class_q_custom_plot_a1a48b13547e2d9ac5cd6927516f47a2e}{selected\+Items} () const
  174. \item
  175. \hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item} $\ast$ \hyperlink{class_q_custom_plot_a793e4b04e0ede11a733021907368fa83}{item\+At} (const Q\+Point\+F \&pos, bool only\+Selectable=false) const
  176. \item
  177. bool \hyperlink{class_q_custom_plot_ab4199c38b03e63a2623c82453fe8add5}{has\+Item} (\hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item} $\ast$\hyperlink{class_q_custom_plot_a3e842b5a65b1d17fbb96cfb1fa1314d1}{item}) const
  178. \item
  179. \hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} $\ast$ \hyperlink{class_q_custom_plot_aac492da01782820454e9136a8db28182}{layer} (const Q\+String \&name) const
  180. \item
  181. \hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} $\ast$ \hyperlink{class_q_custom_plot_a1e73051e371f1815b48d8b355be0d2ab}{layer} (int index) const
  182. \item
  183. \hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} $\ast$ \hyperlink{class_q_custom_plot_af73057345656cbd1463454982d808b00}{current\+Layer} () const
  184. \item
  185. bool \hyperlink{class_q_custom_plot_a73a6dc47c653bb6f8f030abca5a11852}{set\+Current\+Layer} (const Q\+String \&name)
  186. \item
  187. bool \hyperlink{class_q_custom_plot_a23a4d3cadad1a0063c5fe19aac5659e6}{set\+Current\+Layer} (\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} $\ast$\hyperlink{class_q_custom_plot_aac492da01782820454e9136a8db28182}{layer})
  188. \item
  189. int \hyperlink{class_q_custom_plot_a1b3926884f5bd4bdda1495d8b3c891d0}{layer\+Count} () const
  190. \item
  191. bool \hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer} (const Q\+String \&name, \hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} $\ast$other\+Layer=0, \hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7}{Layer\+Insert\+Mode} insert\+Mode=\hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41}{lim\+Above})
  192. \item
  193. bool \hyperlink{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}{remove\+Layer} (\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} $\ast$\hyperlink{class_q_custom_plot_aac492da01782820454e9136a8db28182}{layer})
  194. \item
  195. bool \hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer} (\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} $\ast$\hyperlink{class_q_custom_plot_aac492da01782820454e9136a8db28182}{layer}, \hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} $\ast$other\+Layer, \hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7}{Layer\+Insert\+Mode} insert\+Mode=\hyperlink{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41}{lim\+Above})
  196. \item
  197. int \hyperlink{class_q_custom_plot_a340fa24b1607e445cedda9685670ead3}{axis\+Rect\+Count} () const
  198. \item
  199. \hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect} $\ast$ \hyperlink{class_q_custom_plot_a4a37a1add5fe63060ac518cf0a4c4050}{axis\+Rect} (int index=0) const
  200. \item
  201. Q\+List$<$ \hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect} $\ast$ $>$ \hyperlink{class_q_custom_plot_afd67094aaeccbc5719761348b2d8c891}{axis\+Rects} () const
  202. \item
  203. \hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element} $\ast$ \hyperlink{class_q_custom_plot_a840458186d4483c8a42d6a399448d38f}{layout\+Element\+At} (const Q\+Point\+F \&pos) const
  204. \item
  205. Q\+\_\+\+S\+L\+O\+T void \hyperlink{class_q_custom_plot_ad86528f2cee6c7e446dea4a6e8839935}{rescale\+Axes} (bool only\+Visible\+Plottables=false)
  206. \item
  207. Q\+List$<$ \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$ $>$ \hyperlink{class_q_custom_plot_aa6baf867e8beb96ed5bd471f83ece903}{selected\+Axes} () const
  208. \item
  209. Q\+List$<$ \hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend} $\ast$ $>$ \hyperlink{class_q_custom_plot_a1ea6297300c3e2770e65f95836411755}{selected\+Legends} () const
  210. \item
  211. Q\+\_\+\+S\+L\+O\+T void \hyperlink{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}{deselect\+All} ()
  212. \item
  213. bool \hyperlink{class_q_custom_plot_a84e33ad7492180f20ff520e557ed102d}{save\+Pdf} (const Q\+String \&file\+Name, bool no\+Cosmetic\+Pen=false, int width=0, int height=0)
  214. \item
  215. bool \hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png} (const Q\+String \&file\+Name, int width=0, int height=0, double scale=1.\+0, int quality=-\/1)
  216. \item
  217. bool \hyperlink{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}{save\+Jpg} (const Q\+String \&file\+Name, int width=0, int height=0, double scale=1.\+0, int quality=-\/1)
  218. \item
  219. bool \hyperlink{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}{save\+Bmp} (const Q\+String \&file\+Name, int width=0, int height=0, double scale=1.\+0)
  220. \item
  221. bool \hyperlink{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}{save\+Rastered} (const Q\+String \&file\+Name, int width, int height, double scale, const char $\ast$format, int quality=-\/1)
  222. \item
  223. Q\+Pixmap \hyperlink{class_q_custom_plot_aabb974d71ce96c137dc04eb6eab844fe}{to\+Pixmap} (int width=0, int height=0, double scale=1.\+0)
  224. \item
  225. void \hyperlink{class_q_custom_plot_a1be68d5c0f1e086d6374d1340a193fb9}{to\+Painter} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter, int width=0, int height=0)
  226. \item
  227. Q\+\_\+\+S\+L\+O\+T void \hyperlink{class_q_custom_plot_a563540b54b2a09c8ef092d42e9621f42}{replot} ()
  228. \end{DoxyCompactItemize}
  229. \subsection*{Public Attributes}
  230. \begin{DoxyCompactItemize}
  231. \item
  232. \hypertarget{class_q_custom_plot_a968b5ac86c181a49bba78c2b62a80cb3}{}\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$ {\bfseries x\+Axis}\label{class_q_custom_plot_a968b5ac86c181a49bba78c2b62a80cb3}
  233. \item
  234. \hypertarget{class_q_custom_plot_af6fea5679725b152c14facd920b19367}{}\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$ {\bfseries y\+Axis}\label{class_q_custom_plot_af6fea5679725b152c14facd920b19367}
  235. \item
  236. \hypertarget{class_q_custom_plot_ada41599f22cad901c030f3dcbdd82fd9}{}\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$ {\bfseries x\+Axis2}\label{class_q_custom_plot_ada41599f22cad901c030f3dcbdd82fd9}
  237. \item
  238. \hypertarget{class_q_custom_plot_af13fdc5bce7d0fabd640f13ba805c0b7}{}\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$ {\bfseries y\+Axis2}\label{class_q_custom_plot_af13fdc5bce7d0fabd640f13ba805c0b7}
  239. \item
  240. \hypertarget{class_q_custom_plot_a73da53368aa4c2db3d874cf0db50d140}{}\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend} $\ast$ {\bfseries legend}\label{class_q_custom_plot_a73da53368aa4c2db3d874cf0db50d140}
  241. \end{DoxyCompactItemize}
  242. \subsection*{Protected Member Functions}
  243. \begin{DoxyCompactItemize}
  244. \item
  245. \hypertarget{class_q_custom_plot_a4904f06d831afae29cd5d10e889388c3}{}virtual Q\+Size {\bfseries minimum\+Size\+Hint} () const \label{class_q_custom_plot_a4904f06d831afae29cd5d10e889388c3}
  246. \item
  247. \hypertarget{class_q_custom_plot_a21d84d299c3651ec36d11a7826274a3c}{}virtual Q\+Size {\bfseries size\+Hint} () const \label{class_q_custom_plot_a21d84d299c3651ec36d11a7826274a3c}
  248. \item
  249. \hypertarget{class_q_custom_plot_a2bbc3b1c24bfcc8a7cc1f3008cdd9b73}{}virtual void {\bfseries paint\+Event} (Q\+Paint\+Event $\ast$event)\label{class_q_custom_plot_a2bbc3b1c24bfcc8a7cc1f3008cdd9b73}
  250. \item
  251. \hypertarget{class_q_custom_plot_a13e05523a40c3f08875df5cde85cf0d9}{}virtual void {\bfseries resize\+Event} (Q\+Resize\+Event $\ast$event)\label{class_q_custom_plot_a13e05523a40c3f08875df5cde85cf0d9}
  252. \item
  253. \hypertarget{class_q_custom_plot_a77591913a5b543bdc465dd5e08325a49}{}virtual void {\bfseries mouse\+Double\+Click\+Event} (Q\+Mouse\+Event $\ast$event)\label{class_q_custom_plot_a77591913a5b543bdc465dd5e08325a49}
  254. \item
  255. \hypertarget{class_q_custom_plot_abce84fa2c71e47b9295d67e8fce84bb4}{}virtual void {\bfseries mouse\+Press\+Event} (Q\+Mouse\+Event $\ast$event)\label{class_q_custom_plot_abce84fa2c71e47b9295d67e8fce84bb4}
  256. \item
  257. \hypertarget{class_q_custom_plot_ac64727a4f442770f6e5e6be2d0530843}{}virtual void {\bfseries mouse\+Move\+Event} (Q\+Mouse\+Event $\ast$event)\label{class_q_custom_plot_ac64727a4f442770f6e5e6be2d0530843}
  258. \item
  259. \hypertarget{class_q_custom_plot_a724e97d2e8c03e68adac5f4b6164a1b3}{}virtual void {\bfseries mouse\+Release\+Event} (Q\+Mouse\+Event $\ast$event)\label{class_q_custom_plot_a724e97d2e8c03e68adac5f4b6164a1b3}
  260. \item
  261. \hypertarget{class_q_custom_plot_a7b8bd7e8d3a1d23a8595e9c6a6b76ef1}{}virtual void {\bfseries wheel\+Event} (Q\+Wheel\+Event $\ast$event)\label{class_q_custom_plot_a7b8bd7e8d3a1d23a8595e9c6a6b76ef1}
  262. \item
  263. \hypertarget{class_q_custom_plot_ad7a7d878bf050f101a43008e7d8fdb52}{}virtual void {\bfseries draw} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter)\label{class_q_custom_plot_ad7a7d878bf050f101a43008e7d8fdb52}
  264. \item
  265. \hypertarget{class_q_custom_plot_a8b46607021c463c94709d3504951cb47}{}virtual void {\bfseries axis\+Removed} (\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$axis)\label{class_q_custom_plot_a8b46607021c463c94709d3504951cb47}
  266. \item
  267. \hypertarget{class_q_custom_plot_a9d173454555021c9ffd4f675c4d9037a}{}virtual void {\bfseries legend\+Removed} (\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend} $\ast$legend)\label{class_q_custom_plot_a9d173454555021c9ffd4f675c4d9037a}
  268. \item
  269. \hypertarget{class_q_custom_plot_a3117754df3a5638787a6223c7147970f}{}void {\bfseries update\+Layer\+Indices} () const \label{class_q_custom_plot_a3117754df3a5638787a6223c7147970f}
  270. \item
  271. \hypertarget{class_q_custom_plot_a3fffd1d8364f657482ae985e0b5aa028}{}\hyperlink{class_q_c_p_layerable}{Q\+C\+P\+Layerable} $\ast$ {\bfseries layerable\+At} (const Q\+Point\+F \&pos, bool only\+Selectable, Q\+Variant $\ast$selection\+Details=0) const \label{class_q_custom_plot_a3fffd1d8364f657482ae985e0b5aa028}
  272. \item
  273. \hypertarget{class_q_custom_plot_a05dd52438cee4353b18c1e53a439008d}{}void {\bfseries draw\+Background} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter)\label{class_q_custom_plot_a05dd52438cee4353b18c1e53a439008d}
  274. \end{DoxyCompactItemize}
  275. \subsection*{Protected Attributes}
  276. \begin{DoxyCompactItemize}
  277. \item
  278. \hypertarget{class_q_custom_plot_ac0a7c38a715526c257cff95774f83ab6}{}Q\+Rect {\bfseries m\+Viewport}\label{class_q_custom_plot_ac0a7c38a715526c257cff95774f83ab6}
  279. \item
  280. \hypertarget{class_q_custom_plot_ac97298756882a0eecd98151679850ac1}{}\hyperlink{class_q_c_p_layout_grid}{Q\+C\+P\+Layout\+Grid} $\ast$ {\bfseries m\+Plot\+Layout}\label{class_q_custom_plot_ac97298756882a0eecd98151679850ac1}
  281. \item
  282. \hypertarget{class_q_custom_plot_aaf3ea6a4cb04d35a149cc9a0cdac3394}{}bool {\bfseries m\+Auto\+Add\+Plottable\+To\+Legend}\label{class_q_custom_plot_aaf3ea6a4cb04d35a149cc9a0cdac3394}
  283. \item
  284. \hypertarget{class_q_custom_plot_a62bf8e4e7f8d23fc1e9301ba0148269f}{}Q\+List$<$ \hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable} $\ast$ $>$ {\bfseries m\+Plottables}\label{class_q_custom_plot_a62bf8e4e7f8d23fc1e9301ba0148269f}
  285. \item
  286. \hypertarget{class_q_custom_plot_adaf8d407d72a725169d7dbed2ee386bb}{}Q\+List$<$ \hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph} $\ast$ $>$ {\bfseries m\+Graphs}\label{class_q_custom_plot_adaf8d407d72a725169d7dbed2ee386bb}
  287. \item
  288. \hypertarget{class_q_custom_plot_a6a93905372326e31e98d6c3bc8953ec8}{}Q\+List$<$ \hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item} $\ast$ $>$ {\bfseries m\+Items}\label{class_q_custom_plot_a6a93905372326e31e98d6c3bc8953ec8}
  289. \item
  290. \hypertarget{class_q_custom_plot_a72ee313041b873d76c198793ce7e6c37}{}Q\+List$<$ \hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} $\ast$ $>$ {\bfseries m\+Layers}\label{class_q_custom_plot_a72ee313041b873d76c198793ce7e6c37}
  291. \item
  292. \hypertarget{class_q_custom_plot_aa333200629256830e273873b582a5524}{}Q\+C\+P\+::\+Antialiased\+Elements {\bfseries m\+Antialiased\+Elements}\label{class_q_custom_plot_aa333200629256830e273873b582a5524}
  293. \item
  294. \hypertarget{class_q_custom_plot_a2b6ebcad00a90ba07f146cefcd4293da}{}Q\+C\+P\+::\+Antialiased\+Elements {\bfseries m\+Not\+Antialiased\+Elements}\label{class_q_custom_plot_a2b6ebcad00a90ba07f146cefcd4293da}
  295. \item
  296. \hypertarget{class_q_custom_plot_ad717377ceba7493b4b32f0bcbbdf1895}{}Q\+C\+P\+::\+Interactions {\bfseries m\+Interactions}\label{class_q_custom_plot_ad717377ceba7493b4b32f0bcbbdf1895}
  297. \item
  298. \hypertarget{class_q_custom_plot_abc36e12dd0482117ad810a800c847722}{}int {\bfseries m\+Selection\+Tolerance}\label{class_q_custom_plot_abc36e12dd0482117ad810a800c847722}
  299. \item
  300. \hypertarget{class_q_custom_plot_ac83df968435f6b8ec79f2993ab9124e8}{}bool {\bfseries m\+No\+Antialiasing\+On\+Drag}\label{class_q_custom_plot_ac83df968435f6b8ec79f2993ab9124e8}
  301. \item
  302. \hypertarget{class_q_custom_plot_a3aef5de4ac012178e3293248e9c63737}{}Q\+Brush {\bfseries m\+Background\+Brush}\label{class_q_custom_plot_a3aef5de4ac012178e3293248e9c63737}
  303. \item
  304. \hypertarget{class_q_custom_plot_ae8f4677399324a78c5f8dbfb95a34f90}{}Q\+Pixmap {\bfseries m\+Background\+Pixmap}\label{class_q_custom_plot_ae8f4677399324a78c5f8dbfb95a34f90}
  305. \item
  306. \hypertarget{class_q_custom_plot_a081bf046501d52642dc6d7e3bdb97d57}{}Q\+Pixmap {\bfseries m\+Scaled\+Background\+Pixmap}\label{class_q_custom_plot_a081bf046501d52642dc6d7e3bdb97d57}
  307. \item
  308. \hypertarget{class_q_custom_plot_a62fe584b20680b1b2e1c7efb5c5416a5}{}bool {\bfseries m\+Background\+Scaled}\label{class_q_custom_plot_a62fe584b20680b1b2e1c7efb5c5416a5}
  309. \item
  310. \hypertarget{class_q_custom_plot_ab82e8a5e3ad6b486f95d6da8bf49e9aa}{}Qt\+::\+Aspect\+Ratio\+Mode {\bfseries m\+Background\+Scaled\+Mode}\label{class_q_custom_plot_ab82e8a5e3ad6b486f95d6da8bf49e9aa}
  311. \item
  312. \hypertarget{class_q_custom_plot_aa27569c92e74395af10151357d268628}{}\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} $\ast$ {\bfseries m\+Current\+Layer}\label{class_q_custom_plot_aa27569c92e74395af10151357d268628}
  313. \item
  314. \hypertarget{class_q_custom_plot_aa184197a6101a9cc5807469e1d006c9e}{}Q\+C\+P\+::\+Plotting\+Hints {\bfseries m\+Plotting\+Hints}\label{class_q_custom_plot_aa184197a6101a9cc5807469e1d006c9e}
  315. \item
  316. \hypertarget{class_q_custom_plot_a0e97e701c5671e7e463d2ce0211d0f8a}{}Qt\+::\+Keyboard\+Modifier {\bfseries m\+Multi\+Select\+Modifier}\label{class_q_custom_plot_a0e97e701c5671e7e463d2ce0211d0f8a}
  317. \item
  318. \hypertarget{class_q_custom_plot_a753630df96e0672098d9e88bd41d1913}{}Q\+Pixmap {\bfseries m\+Paint\+Buffer}\label{class_q_custom_plot_a753630df96e0672098d9e88bd41d1913}
  319. \item
  320. \hypertarget{class_q_custom_plot_ac57090da95056ae4dd67be67adfa85bd}{}Q\+Point {\bfseries m\+Mouse\+Press\+Pos}\label{class_q_custom_plot_ac57090da95056ae4dd67be67adfa85bd}
  321. \item
  322. \hypertarget{class_q_custom_plot_a9ef6aa831ac6c71a058fa84b1d5fb152}{}\hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element} $\ast$ {\bfseries m\+Mouse\+Event\+Element}\label{class_q_custom_plot_a9ef6aa831ac6c71a058fa84b1d5fb152}
  323. \item
  324. \hypertarget{class_q_custom_plot_ab30daeca6612c3948afd368dce5f1c39}{}bool {\bfseries m\+Replotting}\label{class_q_custom_plot_ab30daeca6612c3948afd368dce5f1c39}
  325. \end{DoxyCompactItemize}
  326. \subsection*{Friends}
  327. \begin{DoxyCompactItemize}
  328. \item
  329. \hypertarget{class_q_custom_plot_a8429035e7adfbd7f05805a6530ad5e3b}{}class {\bfseries Q\+C\+P\+Legend}\label{class_q_custom_plot_a8429035e7adfbd7f05805a6530ad5e3b}
  330. \item
  331. \hypertarget{class_q_custom_plot_af123edeca169ec7a31958a1d714e1a8a}{}class {\bfseries Q\+C\+P\+Axis}\label{class_q_custom_plot_af123edeca169ec7a31958a1d714e1a8a}
  332. \item
  333. \hypertarget{class_q_custom_plot_a5dbf96bf7664c1b6fce49063eeea6eef}{}class {\bfseries Q\+C\+P\+Layer}\label{class_q_custom_plot_a5dbf96bf7664c1b6fce49063eeea6eef}
  334. \item
  335. \hypertarget{class_q_custom_plot_acbf20ecb140f66c5fd1bc64ae0762990}{}class {\bfseries Q\+C\+P\+Axis\+Rect}\label{class_q_custom_plot_acbf20ecb140f66c5fd1bc64ae0762990}
  336. \end{DoxyCompactItemize}
  337. \subsection{Detailed Description}
  338. The central class of the library. This is the Q\+Widget which displays the plot and interacts with the user.
  339. For tutorials on how to use \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}, see the website~\newline
  340. \href{http://www.qcustomplot.com/}{\tt http\+://www.\+qcustomplot.\+com/}
  341. \subsection{Member Enumeration Documentation}
  342. \hypertarget{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!Layer\+Insert\+Mode@{Layer\+Insert\+Mode}}
  343. \index{Layer\+Insert\+Mode@{Layer\+Insert\+Mode}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  344. \subsubsection[{Layer\+Insert\+Mode}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Q\+Custom\+Plot\+::\+Layer\+Insert\+Mode}}\label{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7}
  345. Defines how a layer should be inserted relative to an other layer.
  346. \begin{DoxySeeAlso}{See also}
  347. \hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}, \hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}
  348. \end{DoxySeeAlso}
  349. \begin{Desc}
  350. \item[Enumerator]\par
  351. \begin{description}
  352. \index{lim\+Below@{lim\+Below}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!lim\+Below@{lim\+Below}}\item[{\em
  353. \hypertarget{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7aee39cf650cd24e68552da0b697ce4a93}{}lim\+Below\label{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7aee39cf650cd24e68552da0b697ce4a93}
  354. }]Layer is inserted below other layer. \index{lim\+Above@{lim\+Above}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!lim\+Above@{lim\+Above}}\item[{\em
  355. \hypertarget{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41}{}lim\+Above\label{class_q_custom_plot_a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41}
  356. }]Layer is inserted above other layer. \end{description}
  357. \end{Desc}
  358. \subsection{Constructor \& Destructor Documentation}
  359. \hypertarget{class_q_custom_plot_a45b99626558651a6428b83972b0b34b8}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  360. \index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  361. \subsubsection[{Q\+Custom\+Plot}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Custom\+Plot\+::\+Q\+Custom\+Plot (
  362. \begin{DoxyParamCaption}
  363. \item[{Q\+Widget $\ast$}]{parent = {\ttfamily 0}}
  364. \end{DoxyParamCaption}
  365. )\hspace{0.3cm}{\ttfamily [explicit]}}\label{class_q_custom_plot_a45b99626558651a6428b83972b0b34b8}
  366. Constructs a \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} and sets reasonable default values.
  367. \subsection{Member Function Documentation}
  368. \hypertarget{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!add\+Graph@{add\+Graph}}
  369. \index{add\+Graph@{add\+Graph}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  370. \subsubsection[{add\+Graph}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Graph} $\ast$ Q\+Custom\+Plot\+::add\+Graph (
  371. \begin{DoxyParamCaption}
  372. \item[{{\bf Q\+C\+P\+Axis} $\ast$}]{key\+Axis = {\ttfamily 0}, }
  373. \item[{{\bf Q\+C\+P\+Axis} $\ast$}]{value\+Axis = {\ttfamily 0}}
  374. \end{DoxyParamCaption}
  375. )}\label{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}
  376. Creates a new graph inside the plot. If {\itshape key\+Axis} and {\itshape value\+Axis} are left unspecified (0), the bottom (x\+Axis) is used as key and the left (y\+Axis) is used as value axis. If specified, {\itshape key\+Axis} and {\itshape value\+Axis} must reside in this \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}.
  377. {\itshape key\+Axis} will be used as key axis (typically \char`\"{}x\char`\"{}) and {\itshape value\+Axis} as value axis (typically \char`\"{}y\char`\"{}) for the graph.
  378. Returns a pointer to the newly created graph, or 0 if adding the graph failed.
  379. \begin{DoxySeeAlso}{See also}
  380. \hyperlink{class_q_custom_plot_a6d3ed93c2bf46ab7fa670d66be4cddaf}{graph}, \hyperlink{class_q_custom_plot_a7d9b4d19114b2fde60f0233eeb0aa682}{graph\+Count}, \hyperlink{class_q_custom_plot_a903561be895fb6528a770d66ac5e6713}{remove\+Graph}, \hyperlink{class_q_custom_plot_ab0f3abff2d2f7df3668b5836f39207fa}{clear\+Graphs}
  381. \end{DoxySeeAlso}
  382. \hypertarget{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!add\+Item@{add\+Item}}
  383. \index{add\+Item@{add\+Item}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  384. \subsubsection[{add\+Item}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::add\+Item (
  385. \begin{DoxyParamCaption}
  386. \item[{{\bf Q\+C\+P\+Abstract\+Item} $\ast$}]{item}
  387. \end{DoxyParamCaption}
  388. )}\label{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}
  389. Adds the specified item to the plot. \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} takes ownership of the item.
  390. Returns true on success, i.\+e. when {\itshape item} wasn\textquotesingle{}t already in the plot and the parent plot of {\itshape item} is this \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}.
  391. \begin{DoxySeeAlso}{See also}
  392. \hyperlink{class_q_custom_plot_a3e842b5a65b1d17fbb96cfb1fa1314d1}{item}, \hyperlink{class_q_custom_plot_a6fc860e30df17fd5c46056bf6fe29390}{item\+Count}, \hyperlink{class_q_custom_plot_ae04446557292551e8fb6e2c106e1848d}{remove\+Item}, \hyperlink{class_q_custom_plot_abdfd07d4f0591d0cf967f85013fd3645}{clear\+Items}
  393. \end{DoxySeeAlso}
  394. \hypertarget{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!add\+Layer@{add\+Layer}}
  395. \index{add\+Layer@{add\+Layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  396. \subsubsection[{add\+Layer}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::add\+Layer (
  397. \begin{DoxyParamCaption}
  398. \item[{const Q\+String \&}]{name, }
  399. \item[{{\bf Q\+C\+P\+Layer} $\ast$}]{other\+Layer = {\ttfamily 0}, }
  400. \item[{{\bf Q\+Custom\+Plot\+::\+Layer\+Insert\+Mode}}]{insert\+Mode = {\ttfamily {\bf lim\+Above}}}
  401. \end{DoxyParamCaption}
  402. )}\label{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}
  403. Adds a new layer to this \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} instance. The new layer will have the name {\itshape name}, which must be unique. Depending on {\itshape insert\+Mode}, it is positioned either below or above {\itshape other\+Layer}.
  404. Returns true on success, i.\+e. if there is no other layer named {\itshape name} and {\itshape other\+Layer} is a valid layer inside this \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}.
  405. If {\itshape other\+Layer} is 0, the highest layer in the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} will be used.
  406. For an explanation of what layers are in \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}, see the documentation of \hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}.
  407. \begin{DoxySeeAlso}{See also}
  408. \hyperlink{class_q_custom_plot_aac492da01782820454e9136a8db28182}{layer}, \hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}, \hyperlink{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}{remove\+Layer}
  409. \end{DoxySeeAlso}
  410. \hypertarget{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!add\+Plottable@{add\+Plottable}}
  411. \index{add\+Plottable@{add\+Plottable}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  412. \subsubsection[{add\+Plottable}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::add\+Plottable (
  413. \begin{DoxyParamCaption}
  414. \item[{{\bf Q\+C\+P\+Abstract\+Plottable} $\ast$}]{plottable}
  415. \end{DoxyParamCaption}
  416. )}\label{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}
  417. Adds the specified plottable to the plot and, if \hyperlink{class_q_custom_plot_ad8858410c2db47b7104040a3aa61c3fc}{set\+Auto\+Add\+Plottable\+To\+Legend} is enabled, to the legend (Q\+Custom\+Plot\+::legend). \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} takes ownership of the plottable.
  418. Returns true on success, i.\+e. when {\itshape plottable} isn\textquotesingle{}t already in the plot and the parent plot of {\itshape plottable} is this \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} (the latter is controlled by what axes were passed in the plottable\textquotesingle{}s constructor).
  419. \begin{DoxySeeAlso}{See also}
  420. \hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable}, \hyperlink{class_q_custom_plot_a2dbfbf15dc38713f9a1c445a3dd2e989}{plottable\+Count}, \hyperlink{class_q_custom_plot_af3dafd56884208474f311d6226513ab2}{remove\+Plottable}, \hyperlink{class_q_custom_plot_a9a409bb3201878adb7ffba1c89c4e004}{clear\+Plottables}
  421. \end{DoxySeeAlso}
  422. \hypertarget{class_q_custom_plot_a6f4fa624af060bc5919c5f266cf426a0}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!after\+Replot@{after\+Replot}}
  423. \index{after\+Replot@{after\+Replot}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  424. \subsubsection[{after\+Replot}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::after\+Replot (
  425. \begin{DoxyParamCaption}
  426. {}
  427. \end{DoxyParamCaption}
  428. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_a6f4fa624af060bc5919c5f266cf426a0}
  429. This signal is emitted immediately after a replot has taken place (caused by a call to the slot \hyperlink{class_q_custom_plot_a563540b54b2a09c8ef092d42e9621f42}{replot}).
  430. It is safe to mutually connect the replot slot with this signal on two Q\+Custom\+Plots to make them replot synchronously, it won\textquotesingle{}t cause an infinite recursion.
  431. \begin{DoxySeeAlso}{See also}
  432. \hyperlink{class_q_custom_plot_a563540b54b2a09c8ef092d42e9621f42}{replot}, \hyperlink{class_q_custom_plot_a0cd30e29b73efd6afe096e44bc5956f5}{before\+Replot}
  433. \end{DoxySeeAlso}
  434. \hypertarget{class_q_custom_plot_abf635f8b56ab5c16d5de9f358543e82b}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!axis\+Click@{axis\+Click}}
  435. \index{axis\+Click@{axis\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  436. \subsubsection[{axis\+Click}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::axis\+Click (
  437. \begin{DoxyParamCaption}
  438. \item[{{\bf Q\+C\+P\+Axis} $\ast$}]{axis, }
  439. \item[{{\bf Q\+C\+P\+Axis\+::\+Selectable\+Part}}]{part, }
  440. \item[{Q\+Mouse\+Event $\ast$}]{event}
  441. \end{DoxyParamCaption}
  442. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_abf635f8b56ab5c16d5de9f358543e82b}
  443. This signal is emitted when an axis is clicked.
  444. {\itshape event} is the mouse event that caused the click, {\itshape axis} is the axis that received the click and {\itshape part} indicates the part of the axis that was clicked.
  445. \begin{DoxySeeAlso}{See also}
  446. \hyperlink{class_q_custom_plot_a6df35357460181a72da3e93d600f5256}{axis\+Double\+Click}
  447. \end{DoxySeeAlso}
  448. \hypertarget{class_q_custom_plot_a6df35357460181a72da3e93d600f5256}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!axis\+Double\+Click@{axis\+Double\+Click}}
  449. \index{axis\+Double\+Click@{axis\+Double\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  450. \subsubsection[{axis\+Double\+Click}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::axis\+Double\+Click (
  451. \begin{DoxyParamCaption}
  452. \item[{{\bf Q\+C\+P\+Axis} $\ast$}]{axis, }
  453. \item[{{\bf Q\+C\+P\+Axis\+::\+Selectable\+Part}}]{part, }
  454. \item[{Q\+Mouse\+Event $\ast$}]{event}
  455. \end{DoxyParamCaption}
  456. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_a6df35357460181a72da3e93d600f5256}
  457. This signal is emitted when an axis is double clicked.
  458. {\itshape event} is the mouse event that caused the click, {\itshape axis} is the axis that received the click and {\itshape part} indicates the part of the axis that was clicked.
  459. \begin{DoxySeeAlso}{See also}
  460. \hyperlink{class_q_custom_plot_abf635f8b56ab5c16d5de9f358543e82b}{axis\+Click}
  461. \end{DoxySeeAlso}
  462. \hypertarget{class_q_custom_plot_a4a37a1add5fe63060ac518cf0a4c4050}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!axis\+Rect@{axis\+Rect}}
  463. \index{axis\+Rect@{axis\+Rect}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  464. \subsubsection[{axis\+Rect}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Axis\+Rect} $\ast$ Q\+Custom\+Plot\+::axis\+Rect (
  465. \begin{DoxyParamCaption}
  466. \item[{int}]{index = {\ttfamily 0}}
  467. \end{DoxyParamCaption}
  468. ) const}\label{class_q_custom_plot_a4a37a1add5fe63060ac518cf0a4c4050}
  469. Returns the axis rect with {\itshape index}.
  470. 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 \hyperlink{class_q_c_p_axis_rect_a4114887c7141b59650b7488f930993e5}{Q\+C\+P\+Axis\+Rect\+::inset\+Layout}).
  471. \begin{DoxySeeAlso}{See also}
  472. \hyperlink{class_q_custom_plot_a340fa24b1607e445cedda9685670ead3}{axis\+Rect\+Count}, \hyperlink{class_q_custom_plot_afd67094aaeccbc5719761348b2d8c891}{axis\+Rects}
  473. \end{DoxySeeAlso}
  474. \hypertarget{class_q_custom_plot_a340fa24b1607e445cedda9685670ead3}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!axis\+Rect\+Count@{axis\+Rect\+Count}}
  475. \index{axis\+Rect\+Count@{axis\+Rect\+Count}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  476. \subsubsection[{axis\+Rect\+Count}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+Custom\+Plot\+::axis\+Rect\+Count (
  477. \begin{DoxyParamCaption}
  478. {}
  479. \end{DoxyParamCaption}
  480. ) const}\label{class_q_custom_plot_a340fa24b1607e445cedda9685670ead3}
  481. Returns the number of axis rects in the plot.
  482. All axis rects can be accessed via \hyperlink{class_q_custom_plot_a4a37a1add5fe63060ac518cf0a4c4050}{Q\+Custom\+Plot\+::axis\+Rect()}.
  483. Initially, only one axis rect exists in the plot.
  484. \begin{DoxySeeAlso}{See also}
  485. \hyperlink{class_q_custom_plot_a4a37a1add5fe63060ac518cf0a4c4050}{axis\+Rect}, \hyperlink{class_q_custom_plot_afd67094aaeccbc5719761348b2d8c891}{axis\+Rects}
  486. \end{DoxySeeAlso}
  487. \hypertarget{class_q_custom_plot_afd67094aaeccbc5719761348b2d8c891}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!axis\+Rects@{axis\+Rects}}
  488. \index{axis\+Rects@{axis\+Rects}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  489. \subsubsection[{axis\+Rects}]{\setlength{\rightskip}{0pt plus 5cm}Q\+List$<$ {\bf Q\+C\+P\+Axis\+Rect} $\ast$ $>$ Q\+Custom\+Plot\+::axis\+Rects (
  490. \begin{DoxyParamCaption}
  491. {}
  492. \end{DoxyParamCaption}
  493. ) const}\label{class_q_custom_plot_afd67094aaeccbc5719761348b2d8c891}
  494. Returns all axis rects in the plot.
  495. \begin{DoxySeeAlso}{See also}
  496. \hyperlink{class_q_custom_plot_a340fa24b1607e445cedda9685670ead3}{axis\+Rect\+Count}, \hyperlink{class_q_custom_plot_a4a37a1add5fe63060ac518cf0a4c4050}{axis\+Rect}
  497. \end{DoxySeeAlso}
  498. \hypertarget{class_q_custom_plot_a0cd30e29b73efd6afe096e44bc5956f5}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!before\+Replot@{before\+Replot}}
  499. \index{before\+Replot@{before\+Replot}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  500. \subsubsection[{before\+Replot}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::before\+Replot (
  501. \begin{DoxyParamCaption}
  502. {}
  503. \end{DoxyParamCaption}
  504. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_a0cd30e29b73efd6afe096e44bc5956f5}
  505. This signal is emitted immediately before a replot takes place (caused by a call to the slot \hyperlink{class_q_custom_plot_a563540b54b2a09c8ef092d42e9621f42}{replot}).
  506. It is safe to mutually connect the replot slot with this signal on two Q\+Custom\+Plots to make them replot synchronously, it won\textquotesingle{}t cause an infinite recursion.
  507. \begin{DoxySeeAlso}{See also}
  508. \hyperlink{class_q_custom_plot_a563540b54b2a09c8ef092d42e9621f42}{replot}, \hyperlink{class_q_custom_plot_a6f4fa624af060bc5919c5f266cf426a0}{after\+Replot}
  509. \end{DoxySeeAlso}
  510. \hypertarget{class_q_custom_plot_ab0f3abff2d2f7df3668b5836f39207fa}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!clear\+Graphs@{clear\+Graphs}}
  511. \index{clear\+Graphs@{clear\+Graphs}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  512. \subsubsection[{clear\+Graphs}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+Custom\+Plot\+::clear\+Graphs (
  513. \begin{DoxyParamCaption}
  514. {}
  515. \end{DoxyParamCaption}
  516. )}\label{class_q_custom_plot_ab0f3abff2d2f7df3668b5836f39207fa}
  517. Removes all graphs from the plot (and the Q\+Custom\+Plot\+::legend, if necessary).
  518. Returns the number of graphs removed.
  519. \begin{DoxySeeAlso}{See also}
  520. \hyperlink{class_q_custom_plot_a903561be895fb6528a770d66ac5e6713}{remove\+Graph}
  521. \end{DoxySeeAlso}
  522. \hypertarget{class_q_custom_plot_abdfd07d4f0591d0cf967f85013fd3645}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!clear\+Items@{clear\+Items}}
  523. \index{clear\+Items@{clear\+Items}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  524. \subsubsection[{clear\+Items}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+Custom\+Plot\+::clear\+Items (
  525. \begin{DoxyParamCaption}
  526. {}
  527. \end{DoxyParamCaption}
  528. )}\label{class_q_custom_plot_abdfd07d4f0591d0cf967f85013fd3645}
  529. Removes all items from the plot.
  530. Returns the number of items removed.
  531. \begin{DoxySeeAlso}{See also}
  532. \hyperlink{class_q_custom_plot_ae04446557292551e8fb6e2c106e1848d}{remove\+Item}
  533. \end{DoxySeeAlso}
  534. \hypertarget{class_q_custom_plot_a9a409bb3201878adb7ffba1c89c4e004}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!clear\+Plottables@{clear\+Plottables}}
  535. \index{clear\+Plottables@{clear\+Plottables}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  536. \subsubsection[{clear\+Plottables}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+Custom\+Plot\+::clear\+Plottables (
  537. \begin{DoxyParamCaption}
  538. {}
  539. \end{DoxyParamCaption}
  540. )}\label{class_q_custom_plot_a9a409bb3201878adb7ffba1c89c4e004}
  541. Removes all plottables from the plot (and the Q\+Custom\+Plot\+::legend, if necessary).
  542. Returns the number of plottables removed.
  543. \begin{DoxySeeAlso}{See also}
  544. \hyperlink{class_q_custom_plot_af3dafd56884208474f311d6226513ab2}{remove\+Plottable}
  545. \end{DoxySeeAlso}
  546. \hypertarget{class_q_custom_plot_af73057345656cbd1463454982d808b00}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!current\+Layer@{current\+Layer}}
  547. \index{current\+Layer@{current\+Layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  548. \subsubsection[{current\+Layer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Layer} $\ast$ Q\+Custom\+Plot\+::current\+Layer (
  549. \begin{DoxyParamCaption}
  550. {}
  551. \end{DoxyParamCaption}
  552. ) const}\label{class_q_custom_plot_af73057345656cbd1463454982d808b00}
  553. Returns the layer that is set as current layer (see \hyperlink{class_q_custom_plot_a73a6dc47c653bb6f8f030abca5a11852}{set\+Current\+Layer}). \hypertarget{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!deselect\+All@{deselect\+All}}
  554. \index{deselect\+All@{deselect\+All}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  555. \subsubsection[{deselect\+All}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::deselect\+All (
  556. \begin{DoxyParamCaption}
  557. {}
  558. \end{DoxyParamCaption}
  559. )}\label{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}
  560. Deselects all layerables (plottables, items, axes, legends,...) of the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}.
  561. Since calling this function is not a user interaction, this does not emit the \hyperlink{class_q_custom_plot_a500c64a109bc773c973ad274f2fa4190}{selection\+Changed\+By\+User} signal. The individual selection\+Changed signals are emitted though, if the objects were previously selected.
  562. \begin{DoxySeeAlso}{See also}
  563. \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}, \hyperlink{class_q_custom_plot_a6721b8c689bb7f2f400987e580508fe8}{selected\+Plottables}, \hyperlink{class_q_custom_plot_a1a48b13547e2d9ac5cd6927516f47a2e}{selected\+Items}, \hyperlink{class_q_custom_plot_aa6baf867e8beb96ed5bd471f83ece903}{selected\+Axes}, \hyperlink{class_q_custom_plot_a1ea6297300c3e2770e65f95836411755}{selected\+Legends}
  564. \end{DoxySeeAlso}
  565. \hypertarget{class_q_custom_plot_a6d3ed93c2bf46ab7fa670d66be4cddaf}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!graph@{graph}}
  566. \index{graph@{graph}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  567. \subsubsection[{graph}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Graph} $\ast$ Q\+Custom\+Plot\+::graph (
  568. \begin{DoxyParamCaption}
  569. \item[{int}]{index}
  570. \end{DoxyParamCaption}
  571. ) const}\label{class_q_custom_plot_a6d3ed93c2bf46ab7fa670d66be4cddaf}
  572. Returns the graph with {\itshape index}. If the index is invalid, returns 0.
  573. There is an overloaded version of this function with no parameter which returns the last created graph, see \hyperlink{class_q_custom_plot_a6d3ed93c2bf46ab7fa670d66be4cddaf}{Q\+Custom\+Plot\+::graph()}
  574. \begin{DoxySeeAlso}{See also}
  575. \hyperlink{class_q_custom_plot_a7d9b4d19114b2fde60f0233eeb0aa682}{graph\+Count}, \hyperlink{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}{add\+Graph}
  576. \end{DoxySeeAlso}
  577. \hypertarget{class_q_custom_plot_a80c40ced2a74eefe9e92de1e82ba2274}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!graph@{graph}}
  578. \index{graph@{graph}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  579. \subsubsection[{graph}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Graph} $\ast$ Q\+Custom\+Plot\+::graph (
  580. \begin{DoxyParamCaption}
  581. {}
  582. \end{DoxyParamCaption}
  583. ) const}\label{class_q_custom_plot_a80c40ced2a74eefe9e92de1e82ba2274}
  584. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  585. Returns the last graph, that was created with \hyperlink{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}{add\+Graph}. If there are no graphs in the plot, returns 0.
  586. \begin{DoxySeeAlso}{See also}
  587. \hyperlink{class_q_custom_plot_a7d9b4d19114b2fde60f0233eeb0aa682}{graph\+Count}, \hyperlink{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}{add\+Graph}
  588. \end{DoxySeeAlso}
  589. \hypertarget{class_q_custom_plot_a7d9b4d19114b2fde60f0233eeb0aa682}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!graph\+Count@{graph\+Count}}
  590. \index{graph\+Count@{graph\+Count}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  591. \subsubsection[{graph\+Count}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+Custom\+Plot\+::graph\+Count (
  592. \begin{DoxyParamCaption}
  593. {}
  594. \end{DoxyParamCaption}
  595. ) const}\label{class_q_custom_plot_a7d9b4d19114b2fde60f0233eeb0aa682}
  596. Returns the number of currently existing graphs in the plot
  597. \begin{DoxySeeAlso}{See also}
  598. \hyperlink{class_q_custom_plot_a6d3ed93c2bf46ab7fa670d66be4cddaf}{graph}, \hyperlink{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}{add\+Graph}
  599. \end{DoxySeeAlso}
  600. \hypertarget{class_q_custom_plot_ab4199c38b03e63a2623c82453fe8add5}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!has\+Item@{has\+Item}}
  601. \index{has\+Item@{has\+Item}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  602. \subsubsection[{has\+Item}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::has\+Item (
  603. \begin{DoxyParamCaption}
  604. \item[{{\bf Q\+C\+P\+Abstract\+Item} $\ast$}]{item}
  605. \end{DoxyParamCaption}
  606. ) const}\label{class_q_custom_plot_ab4199c38b03e63a2623c82453fe8add5}
  607. Returns whether this \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} contains the {\itshape item}.
  608. \begin{DoxySeeAlso}{See also}
  609. \hyperlink{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{add\+Item}
  610. \end{DoxySeeAlso}
  611. \hypertarget{class_q_custom_plot_a4fc28914e2ee91aab424b7ce46b6bdf1}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!has\+Plottable@{has\+Plottable}}
  612. \index{has\+Plottable@{has\+Plottable}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  613. \subsubsection[{has\+Plottable}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::has\+Plottable (
  614. \begin{DoxyParamCaption}
  615. \item[{{\bf Q\+C\+P\+Abstract\+Plottable} $\ast$}]{plottable}
  616. \end{DoxyParamCaption}
  617. ) const}\label{class_q_custom_plot_a4fc28914e2ee91aab424b7ce46b6bdf1}
  618. Returns whether this \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} instance contains the {\itshape plottable}.
  619. \begin{DoxySeeAlso}{See also}
  620. \hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}
  621. \end{DoxySeeAlso}
  622. \hypertarget{class_q_custom_plot_a3e842b5a65b1d17fbb96cfb1fa1314d1}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!item@{item}}
  623. \index{item@{item}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  624. \subsubsection[{item}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Abstract\+Item} $\ast$ Q\+Custom\+Plot\+::item (
  625. \begin{DoxyParamCaption}
  626. \item[{int}]{index}
  627. \end{DoxyParamCaption}
  628. ) const}\label{class_q_custom_plot_a3e842b5a65b1d17fbb96cfb1fa1314d1}
  629. Returns the item with {\itshape index}. If the index is invalid, returns 0.
  630. There is an overloaded version of this function with no parameter which returns the last added item, see \hyperlink{class_q_custom_plot_a3e842b5a65b1d17fbb96cfb1fa1314d1}{Q\+Custom\+Plot\+::item()}
  631. \begin{DoxySeeAlso}{See also}
  632. \hyperlink{class_q_custom_plot_a6fc860e30df17fd5c46056bf6fe29390}{item\+Count}, \hyperlink{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{add\+Item}
  633. \end{DoxySeeAlso}
  634. \hypertarget{class_q_custom_plot_a700399eae539798c5baf64a37c7f2135}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!item@{item}}
  635. \index{item@{item}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  636. \subsubsection[{item}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Abstract\+Item} $\ast$ Q\+Custom\+Plot\+::item (
  637. \begin{DoxyParamCaption}
  638. {}
  639. \end{DoxyParamCaption}
  640. ) const}\label{class_q_custom_plot_a700399eae539798c5baf64a37c7f2135}
  641. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  642. Returns the last item, that was added with \hyperlink{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{add\+Item}. If there are no items in the plot, returns 0.
  643. \begin{DoxySeeAlso}{See also}
  644. \hyperlink{class_q_custom_plot_a6fc860e30df17fd5c46056bf6fe29390}{item\+Count}, \hyperlink{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{add\+Item}
  645. \end{DoxySeeAlso}
  646. \hypertarget{class_q_custom_plot_a793e4b04e0ede11a733021907368fa83}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!item\+At@{item\+At}}
  647. \index{item\+At@{item\+At}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  648. \subsubsection[{item\+At}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Abstract\+Item} $\ast$ Q\+Custom\+Plot\+::item\+At (
  649. \begin{DoxyParamCaption}
  650. \item[{const Q\+Point\+F \&}]{pos, }
  651. \item[{bool}]{only\+Selectable = {\ttfamily false}}
  652. \end{DoxyParamCaption}
  653. ) const}\label{class_q_custom_plot_a793e4b04e0ede11a733021907368fa83}
  654. Returns the item at the pixel position {\itshape pos}. Items that only consist of single lines (e.\+g. \hyperlink{class_q_c_p_item_line}{Q\+C\+P\+Item\+Line} or \hyperlink{class_q_c_p_item_curve}{Q\+C\+P\+Item\+Curve}) have a tolerance band around them, see \hyperlink{class_q_custom_plot_a4dc31241d7b09680950e19e5f971ed93}{set\+Selection\+Tolerance}. If multiple items come into consideration, the one closest to {\itshape pos} is returned.
  655. If {\itshape only\+Selectable} is true, only items that are selectable (\hyperlink{class_q_c_p_abstract_item_a8a8e32a55bc478b849756a78c2d87fd2}{Q\+C\+P\+Abstract\+Item\+::set\+Selectable}) are considered.
  656. If there is no item at {\itshape pos}, the return value is 0.
  657. \begin{DoxySeeAlso}{See also}
  658. \hyperlink{class_q_custom_plot_ac1d1bc6ae4e13616fb02cef6d9e2188e}{plottable\+At}, \hyperlink{class_q_custom_plot_a840458186d4483c8a42d6a399448d38f}{layout\+Element\+At}
  659. \end{DoxySeeAlso}
  660. \hypertarget{class_q_custom_plot_ae16b51f52d2b7aebbc7e3e74e6ff2e4b}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!item\+Click@{item\+Click}}
  661. \index{item\+Click@{item\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  662. \subsubsection[{item\+Click}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::item\+Click (
  663. \begin{DoxyParamCaption}
  664. \item[{{\bf Q\+C\+P\+Abstract\+Item} $\ast$}]{item, }
  665. \item[{Q\+Mouse\+Event $\ast$}]{event}
  666. \end{DoxyParamCaption}
  667. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_ae16b51f52d2b7aebbc7e3e74e6ff2e4b}
  668. This signal is emitted when an item is clicked.
  669. {\itshape event} is the mouse event that caused the click and {\itshape item} is the item that received the click.
  670. \begin{DoxySeeAlso}{See also}
  671. \hyperlink{class_q_custom_plot_ac83aa9f5a3e9bb3efc9cdc763dcd42a6}{item\+Double\+Click}
  672. \end{DoxySeeAlso}
  673. \hypertarget{class_q_custom_plot_a6fc860e30df17fd5c46056bf6fe29390}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!item\+Count@{item\+Count}}
  674. \index{item\+Count@{item\+Count}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  675. \subsubsection[{item\+Count}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+Custom\+Plot\+::item\+Count (
  676. \begin{DoxyParamCaption}
  677. {}
  678. \end{DoxyParamCaption}
  679. ) const}\label{class_q_custom_plot_a6fc860e30df17fd5c46056bf6fe29390}
  680. Returns the number of currently existing items in the plot
  681. \begin{DoxySeeAlso}{See also}
  682. \hyperlink{class_q_custom_plot_a3e842b5a65b1d17fbb96cfb1fa1314d1}{item}, \hyperlink{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{add\+Item}
  683. \end{DoxySeeAlso}
  684. \hypertarget{class_q_custom_plot_ac83aa9f5a3e9bb3efc9cdc763dcd42a6}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!item\+Double\+Click@{item\+Double\+Click}}
  685. \index{item\+Double\+Click@{item\+Double\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  686. \subsubsection[{item\+Double\+Click}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::item\+Double\+Click (
  687. \begin{DoxyParamCaption}
  688. \item[{{\bf Q\+C\+P\+Abstract\+Item} $\ast$}]{item, }
  689. \item[{Q\+Mouse\+Event $\ast$}]{event}
  690. \end{DoxyParamCaption}
  691. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_ac83aa9f5a3e9bb3efc9cdc763dcd42a6}
  692. This signal is emitted when an item is double clicked.
  693. {\itshape event} is the mouse event that caused the click and {\itshape item} is the item that received the click.
  694. \begin{DoxySeeAlso}{See also}
  695. \hyperlink{class_q_custom_plot_ae16b51f52d2b7aebbc7e3e74e6ff2e4b}{item\+Click}
  696. \end{DoxySeeAlso}
  697. \hypertarget{class_q_custom_plot_aac492da01782820454e9136a8db28182}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!layer@{layer}}
  698. \index{layer@{layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  699. \subsubsection[{layer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Layer} $\ast$ Q\+Custom\+Plot\+::layer (
  700. \begin{DoxyParamCaption}
  701. \item[{const Q\+String \&}]{name}
  702. \end{DoxyParamCaption}
  703. ) const}\label{class_q_custom_plot_aac492da01782820454e9136a8db28182}
  704. Returns the layer with the specified {\itshape name}. If there is no layer with the specified name, 0 is returned.
  705. Layer names are case-\/sensitive.
  706. \begin{DoxySeeAlso}{See also}
  707. \hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}, \hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}, \hyperlink{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}{remove\+Layer}
  708. \end{DoxySeeAlso}
  709. \hypertarget{class_q_custom_plot_a1e73051e371f1815b48d8b355be0d2ab}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!layer@{layer}}
  710. \index{layer@{layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  711. \subsubsection[{layer}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Layer} $\ast$ Q\+Custom\+Plot\+::layer (
  712. \begin{DoxyParamCaption}
  713. \item[{int}]{index}
  714. \end{DoxyParamCaption}
  715. ) const}\label{class_q_custom_plot_a1e73051e371f1815b48d8b355be0d2ab}
  716. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  717. Returns the layer by {\itshape index}. If the index is invalid, 0 is returned.
  718. \begin{DoxySeeAlso}{See also}
  719. \hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}, \hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}, \hyperlink{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}{remove\+Layer}
  720. \end{DoxySeeAlso}
  721. \hypertarget{class_q_custom_plot_a1b3926884f5bd4bdda1495d8b3c891d0}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!layer\+Count@{layer\+Count}}
  722. \index{layer\+Count@{layer\+Count}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  723. \subsubsection[{layer\+Count}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+Custom\+Plot\+::layer\+Count (
  724. \begin{DoxyParamCaption}
  725. {}
  726. \end{DoxyParamCaption}
  727. ) const}\label{class_q_custom_plot_a1b3926884f5bd4bdda1495d8b3c891d0}
  728. Returns the number of currently existing layers in the plot
  729. \begin{DoxySeeAlso}{See also}
  730. \hyperlink{class_q_custom_plot_aac492da01782820454e9136a8db28182}{layer}, \hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}
  731. \end{DoxySeeAlso}
  732. \hypertarget{class_q_custom_plot_a840458186d4483c8a42d6a399448d38f}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!layout\+Element\+At@{layout\+Element\+At}}
  733. \index{layout\+Element\+At@{layout\+Element\+At}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  734. \subsubsection[{layout\+Element\+At}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Layout\+Element} $\ast$ Q\+Custom\+Plot\+::layout\+Element\+At (
  735. \begin{DoxyParamCaption}
  736. \item[{const Q\+Point\+F \&}]{pos}
  737. \end{DoxyParamCaption}
  738. ) const}\label{class_q_custom_plot_a840458186d4483c8a42d6a399448d38f}
  739. Returns the layout element at pixel position {\itshape pos}. If there is no element at that position, returns 0.
  740. Only visible elements are used. If \hyperlink{class_q_c_p_layerable_a3bed99ddc396b48ce3ebfdc0418744f8}{Q\+C\+P\+Layout\+Element\+::set\+Visible} on the element itself or on any of its parent elements is set to false, it will not be considered.
  741. \begin{DoxySeeAlso}{See also}
  742. \hyperlink{class_q_custom_plot_a793e4b04e0ede11a733021907368fa83}{item\+At}, \hyperlink{class_q_custom_plot_ac1d1bc6ae4e13616fb02cef6d9e2188e}{plottable\+At}
  743. \end{DoxySeeAlso}
  744. \hypertarget{class_q_custom_plot_a79cff0baafbca10a3aaf694d2d3b9ab3}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!legend\+Click@{legend\+Click}}
  745. \index{legend\+Click@{legend\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  746. \subsubsection[{legend\+Click}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::legend\+Click (
  747. \begin{DoxyParamCaption}
  748. \item[{{\bf Q\+C\+P\+Legend} $\ast$}]{legend, }
  749. \item[{{\bf Q\+C\+P\+Abstract\+Legend\+Item} $\ast$}]{item, }
  750. \item[{Q\+Mouse\+Event $\ast$}]{event}
  751. \end{DoxyParamCaption}
  752. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_a79cff0baafbca10a3aaf694d2d3b9ab3}
  753. This signal is emitted when a legend (item) is clicked.
  754. {\itshape event} is the mouse event that caused the click, {\itshape legend} is the legend that received the click and {\itshape item} is the legend item that received the click. If only the legend and no item is clicked, {\itshape item} is 0. This happens for a click inside the legend padding or the space between two items.
  755. \begin{DoxySeeAlso}{See also}
  756. \hyperlink{class_q_custom_plot_a0250f835c044521df1619b132288bca7}{legend\+Double\+Click}
  757. \end{DoxySeeAlso}
  758. \hypertarget{class_q_custom_plot_a0250f835c044521df1619b132288bca7}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!legend\+Double\+Click@{legend\+Double\+Click}}
  759. \index{legend\+Double\+Click@{legend\+Double\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  760. \subsubsection[{legend\+Double\+Click}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::legend\+Double\+Click (
  761. \begin{DoxyParamCaption}
  762. \item[{{\bf Q\+C\+P\+Legend} $\ast$}]{legend, }
  763. \item[{{\bf Q\+C\+P\+Abstract\+Legend\+Item} $\ast$}]{item, }
  764. \item[{Q\+Mouse\+Event $\ast$}]{event}
  765. \end{DoxyParamCaption}
  766. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_a0250f835c044521df1619b132288bca7}
  767. This signal is emitted when a legend (item) is double clicked.
  768. {\itshape event} is the mouse event that caused the click, {\itshape legend} is the legend that received the click and {\itshape item} is the legend item that received the click. If only the legend and no item is clicked, {\itshape item} is 0. This happens for a click inside the legend padding or the space between two items.
  769. \begin{DoxySeeAlso}{See also}
  770. \hyperlink{class_q_custom_plot_a79cff0baafbca10a3aaf694d2d3b9ab3}{legend\+Click}
  771. \end{DoxySeeAlso}
  772. \hypertarget{class_q_custom_plot_a9b232142c64fcf273a953ee08e5b90e9}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!mouse\+Double\+Click@{mouse\+Double\+Click}}
  773. \index{mouse\+Double\+Click@{mouse\+Double\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  774. \subsubsection[{mouse\+Double\+Click}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::mouse\+Double\+Click (
  775. \begin{DoxyParamCaption}
  776. \item[{Q\+Mouse\+Event $\ast$}]{event}
  777. \end{DoxyParamCaption}
  778. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_a9b232142c64fcf273a953ee08e5b90e9}
  779. This signal is emitted when the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} receives a mouse double click event. \hypertarget{class_q_custom_plot_a742ca4f94688bed2a685fd8a56ce5704}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!mouse\+Move@{mouse\+Move}}
  780. \index{mouse\+Move@{mouse\+Move}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  781. \subsubsection[{mouse\+Move}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::mouse\+Move (
  782. \begin{DoxyParamCaption}
  783. \item[{Q\+Mouse\+Event $\ast$}]{event}
  784. \end{DoxyParamCaption}
  785. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_a742ca4f94688bed2a685fd8a56ce5704}
  786. This signal is emitted when the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} receives a mouse move event.
  787. It is emitted before \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} handles any other mechanism like range dragging. So a slot connected to this signal can still influence the behaviour e.\+g. with \hyperlink{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag} or \hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag\+Axes}.
  788. \begin{DoxyWarning}{Warning}
  789. It is discouraged to change the drag-\/axes with \hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag\+Axes} 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 \hyperlink{class_q_custom_plot_aca75bf9afb5dd19349c375de2a87a051}{mouse\+Press} signal instead.
  790. \end{DoxyWarning}
  791. \hypertarget{class_q_custom_plot_aca75bf9afb5dd19349c375de2a87a051}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!mouse\+Press@{mouse\+Press}}
  792. \index{mouse\+Press@{mouse\+Press}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  793. \subsubsection[{mouse\+Press}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::mouse\+Press (
  794. \begin{DoxyParamCaption}
  795. \item[{Q\+Mouse\+Event $\ast$}]{event}
  796. \end{DoxyParamCaption}
  797. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_aca75bf9afb5dd19349c375de2a87a051}
  798. This signal is emitted when the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} receives a mouse press event.
  799. It is emitted before \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} handles any other mechanism like range dragging. So a slot connected to this signal can still influence the behaviour e.\+g. with \hyperlink{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag} or \hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag\+Axes}. \hypertarget{class_q_custom_plot_ac8dc0ee6bb98e923c00b4ebafbe6134d}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!mouse\+Release@{mouse\+Release}}
  800. \index{mouse\+Release@{mouse\+Release}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  801. \subsubsection[{mouse\+Release}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::mouse\+Release (
  802. \begin{DoxyParamCaption}
  803. \item[{Q\+Mouse\+Event $\ast$}]{event}
  804. \end{DoxyParamCaption}
  805. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_ac8dc0ee6bb98e923c00b4ebafbe6134d}
  806. This signal is emitted when the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} receives a mouse release event.
  807. It is emitted before \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} handles any other mechanisms like object selection. So a slot connected to this signal can still influence the behaviour e.\+g. with \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions} or \hyperlink{class_q_c_p_abstract_plottable_a22c69299eb5569e0f6bf084877a37dc4}{Q\+C\+P\+Abstract\+Plottable\+::set\+Selectable}. \hypertarget{class_q_custom_plot_ac80a14206f99304a91d2aa55775ec3ff}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!mouse\+Wheel@{mouse\+Wheel}}
  808. \index{mouse\+Wheel@{mouse\+Wheel}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  809. \subsubsection[{mouse\+Wheel}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::mouse\+Wheel (
  810. \begin{DoxyParamCaption}
  811. \item[{Q\+Wheel\+Event $\ast$}]{event}
  812. \end{DoxyParamCaption}
  813. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_ac80a14206f99304a91d2aa55775ec3ff}
  814. This signal is emitted when the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} receives a mouse wheel event.
  815. It is emitted before \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} handles any other mechanisms like range zooming. So a slot connected to this signal can still influence the behaviour e.\+g. with \hyperlink{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom}, \hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom\+Axes} or \hyperlink{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom\+Factor}. \hypertarget{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!move\+Layer@{move\+Layer}}
  816. \index{move\+Layer@{move\+Layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  817. \subsubsection[{move\+Layer}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::move\+Layer (
  818. \begin{DoxyParamCaption}
  819. \item[{{\bf Q\+C\+P\+Layer} $\ast$}]{layer, }
  820. \item[{{\bf Q\+C\+P\+Layer} $\ast$}]{other\+Layer, }
  821. \item[{{\bf Q\+Custom\+Plot\+::\+Layer\+Insert\+Mode}}]{insert\+Mode = {\ttfamily {\bf lim\+Above}}}
  822. \end{DoxyParamCaption}
  823. )}\label{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}
  824. Moves the specified {\itshape layer} either above or below {\itshape other\+Layer}. Whether it\textquotesingle{}s placed above or below is controlled with {\itshape insert\+Mode}.
  825. Returns true on success, i.\+e. when both {\itshape layer} and {\itshape other\+Layer} are valid layers in the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}.
  826. \begin{DoxySeeAlso}{See also}
  827. \hyperlink{class_q_custom_plot_aac492da01782820454e9136a8db28182}{layer}, \hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}, \hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}
  828. \end{DoxySeeAlso}
  829. \hypertarget{class_q_custom_plot_afd280d4d621ae64a106543a545c508d7}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!plot\+Layout@{plot\+Layout}}
  830. \index{plot\+Layout@{plot\+Layout}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  831. \subsubsection[{plot\+Layout}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Layout\+Grid} $\ast$ Q\+Custom\+Plot\+::plot\+Layout (
  832. \begin{DoxyParamCaption}
  833. {}
  834. \end{DoxyParamCaption}
  835. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_custom_plot_afd280d4d621ae64a106543a545c508d7}
  836. Returns the top level layout of this \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} instance. It is a \hyperlink{class_q_c_p_layout_grid}{Q\+C\+P\+Layout\+Grid}, initially containing just one cell with the main \hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect} inside. \hypertarget{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!plottable@{plottable}}
  837. \index{plottable@{plottable}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  838. \subsubsection[{plottable}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Abstract\+Plottable} $\ast$ Q\+Custom\+Plot\+::plottable (
  839. \begin{DoxyParamCaption}
  840. \item[{int}]{index}
  841. \end{DoxyParamCaption}
  842. )}\label{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}
  843. Returns the plottable with {\itshape index}. If the index is invalid, returns 0.
  844. There is an overloaded version of this function with no parameter which returns the last added plottable, see \hyperlink{class_q_custom_plot_adea38bdc660da9412ba69fb939031567}{Q\+Custom\+Plot\+::plottable()}
  845. \begin{DoxySeeAlso}{See also}
  846. \hyperlink{class_q_custom_plot_a2dbfbf15dc38713f9a1c445a3dd2e989}{plottable\+Count}, \hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}
  847. \end{DoxySeeAlso}
  848. \hypertarget{class_q_custom_plot_adea38bdc660da9412ba69fb939031567}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!plottable@{plottable}}
  849. \index{plottable@{plottable}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  850. \subsubsection[{plottable}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Abstract\+Plottable} $\ast$ Q\+Custom\+Plot\+::plottable (
  851. \begin{DoxyParamCaption}
  852. {}
  853. \end{DoxyParamCaption}
  854. )}\label{class_q_custom_plot_adea38bdc660da9412ba69fb939031567}
  855. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  856. Returns the last plottable that was added with \hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}. If there are no plottables in the plot, returns 0.
  857. \begin{DoxySeeAlso}{See also}
  858. \hyperlink{class_q_custom_plot_a2dbfbf15dc38713f9a1c445a3dd2e989}{plottable\+Count}, \hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}
  859. \end{DoxySeeAlso}
  860. \hypertarget{class_q_custom_plot_ac1d1bc6ae4e13616fb02cef6d9e2188e}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!plottable\+At@{plottable\+At}}
  861. \index{plottable\+At@{plottable\+At}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  862. \subsubsection[{plottable\+At}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Abstract\+Plottable} $\ast$ Q\+Custom\+Plot\+::plottable\+At (
  863. \begin{DoxyParamCaption}
  864. \item[{const Q\+Point\+F \&}]{pos, }
  865. \item[{bool}]{only\+Selectable = {\ttfamily false}}
  866. \end{DoxyParamCaption}
  867. ) const}\label{class_q_custom_plot_ac1d1bc6ae4e13616fb02cef6d9e2188e}
  868. Returns the plottable at the pixel position {\itshape pos}. Plottables that only consist of single lines (like graphs) have a tolerance band around them, see \hyperlink{class_q_custom_plot_a4dc31241d7b09680950e19e5f971ed93}{set\+Selection\+Tolerance}. If multiple plottables come into consideration, the one closest to {\itshape pos} is returned.
  869. If {\itshape only\+Selectable} is true, only plottables that are selectable (\hyperlink{class_q_c_p_abstract_plottable_a22c69299eb5569e0f6bf084877a37dc4}{Q\+C\+P\+Abstract\+Plottable\+::set\+Selectable}) are considered.
  870. If there is no plottable at {\itshape pos}, the return value is 0.
  871. \begin{DoxySeeAlso}{See also}
  872. \hyperlink{class_q_custom_plot_a793e4b04e0ede11a733021907368fa83}{item\+At}, \hyperlink{class_q_custom_plot_a840458186d4483c8a42d6a399448d38f}{layout\+Element\+At}
  873. \end{DoxySeeAlso}
  874. \hypertarget{class_q_custom_plot_a57e5efa8a854620e9bf62d31fc139f53}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!plottable\+Click@{plottable\+Click}}
  875. \index{plottable\+Click@{plottable\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  876. \subsubsection[{plottable\+Click}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::plottable\+Click (
  877. \begin{DoxyParamCaption}
  878. \item[{{\bf Q\+C\+P\+Abstract\+Plottable} $\ast$}]{plottable, }
  879. \item[{Q\+Mouse\+Event $\ast$}]{event}
  880. \end{DoxyParamCaption}
  881. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_a57e5efa8a854620e9bf62d31fc139f53}
  882. This signal is emitted when a plottable is clicked.
  883. {\itshape event} is the mouse event that caused the click and {\itshape plottable} is the plottable that received the click.
  884. \begin{DoxySeeAlso}{See also}
  885. \hyperlink{class_q_custom_plot_af2e6f1cea923dae437681d01ce7d0c31}{plottable\+Double\+Click}
  886. \end{DoxySeeAlso}
  887. \hypertarget{class_q_custom_plot_a2dbfbf15dc38713f9a1c445a3dd2e989}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!plottable\+Count@{plottable\+Count}}
  888. \index{plottable\+Count@{plottable\+Count}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  889. \subsubsection[{plottable\+Count}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+Custom\+Plot\+::plottable\+Count (
  890. \begin{DoxyParamCaption}
  891. {}
  892. \end{DoxyParamCaption}
  893. ) const}\label{class_q_custom_plot_a2dbfbf15dc38713f9a1c445a3dd2e989}
  894. Returns the number of currently existing plottables in the plot
  895. \begin{DoxySeeAlso}{See also}
  896. \hyperlink{class_q_custom_plot_a32de81ff53e263e785b83b52ecd99d6f}{plottable}, \hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}
  897. \end{DoxySeeAlso}
  898. \hypertarget{class_q_custom_plot_af2e6f1cea923dae437681d01ce7d0c31}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!plottable\+Double\+Click@{plottable\+Double\+Click}}
  899. \index{plottable\+Double\+Click@{plottable\+Double\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  900. \subsubsection[{plottable\+Double\+Click}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::plottable\+Double\+Click (
  901. \begin{DoxyParamCaption}
  902. \item[{{\bf Q\+C\+P\+Abstract\+Plottable} $\ast$}]{plottable, }
  903. \item[{Q\+Mouse\+Event $\ast$}]{event}
  904. \end{DoxyParamCaption}
  905. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_af2e6f1cea923dae437681d01ce7d0c31}
  906. This signal is emitted when a plottable is double clicked.
  907. {\itshape event} is the mouse event that caused the click and {\itshape plottable} is the plottable that received the click.
  908. \begin{DoxySeeAlso}{See also}
  909. \hyperlink{class_q_custom_plot_a57e5efa8a854620e9bf62d31fc139f53}{plottable\+Click}
  910. \end{DoxySeeAlso}
  911. \hypertarget{class_q_custom_plot_a903561be895fb6528a770d66ac5e6713}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!remove\+Graph@{remove\+Graph}}
  912. \index{remove\+Graph@{remove\+Graph}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  913. \subsubsection[{remove\+Graph}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::remove\+Graph (
  914. \begin{DoxyParamCaption}
  915. \item[{{\bf Q\+C\+P\+Graph} $\ast$}]{graph}
  916. \end{DoxyParamCaption}
  917. )}\label{class_q_custom_plot_a903561be895fb6528a770d66ac5e6713}
  918. Removes the specified {\itshape graph} from the plot and, if necessary, from the Q\+Custom\+Plot\+::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).
  919. Returns true on success.
  920. \begin{DoxySeeAlso}{See also}
  921. \hyperlink{class_q_custom_plot_ab0f3abff2d2f7df3668b5836f39207fa}{clear\+Graphs}
  922. \end{DoxySeeAlso}
  923. \hypertarget{class_q_custom_plot_a9554b3d2d5b10c0f884bd4010b6c192c}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!remove\+Graph@{remove\+Graph}}
  924. \index{remove\+Graph@{remove\+Graph}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  925. \subsubsection[{remove\+Graph}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::remove\+Graph (
  926. \begin{DoxyParamCaption}
  927. \item[{int}]{index}
  928. \end{DoxyParamCaption}
  929. )}\label{class_q_custom_plot_a9554b3d2d5b10c0f884bd4010b6c192c}
  930. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  931. Removes the graph by its {\itshape index}. \hypertarget{class_q_custom_plot_ae04446557292551e8fb6e2c106e1848d}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!remove\+Item@{remove\+Item}}
  932. \index{remove\+Item@{remove\+Item}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  933. \subsubsection[{remove\+Item}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::remove\+Item (
  934. \begin{DoxyParamCaption}
  935. \item[{{\bf Q\+C\+P\+Abstract\+Item} $\ast$}]{item}
  936. \end{DoxyParamCaption}
  937. )}\label{class_q_custom_plot_ae04446557292551e8fb6e2c106e1848d}
  938. Removes the specified item from the plot.
  939. Returns true on success.
  940. \begin{DoxySeeAlso}{See also}
  941. \hyperlink{class_q_custom_plot_aa500620379262321685cb7a7674cbd2a}{add\+Item}, \hyperlink{class_q_custom_plot_abdfd07d4f0591d0cf967f85013fd3645}{clear\+Items}
  942. \end{DoxySeeAlso}
  943. \hypertarget{class_q_custom_plot_abcfdda3d601c0441cab136137d715dea}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!remove\+Item@{remove\+Item}}
  944. \index{remove\+Item@{remove\+Item}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  945. \subsubsection[{remove\+Item}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::remove\+Item (
  946. \begin{DoxyParamCaption}
  947. \item[{int}]{index}
  948. \end{DoxyParamCaption}
  949. )}\label{class_q_custom_plot_abcfdda3d601c0441cab136137d715dea}
  950. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  951. Removes the item by its {\itshape index}. \hypertarget{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!remove\+Layer@{remove\+Layer}}
  952. \index{remove\+Layer@{remove\+Layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  953. \subsubsection[{remove\+Layer}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::remove\+Layer (
  954. \begin{DoxyParamCaption}
  955. \item[{{\bf Q\+C\+P\+Layer} $\ast$}]{layer}
  956. \end{DoxyParamCaption}
  957. )}\label{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}
  958. Removes the specified {\itshape layer} and returns true on success.
  959. All layerables (e.\+g. plottables and items) on the removed layer will be moved to the layer below {\itshape layer}. If {\itshape layer} is the bottom layer, the layerables are moved to the layer above. In both cases, the total rendering order of all layerables in the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} is preserved.
  960. If {\itshape layer} is the current layer (\hyperlink{class_q_custom_plot_a73a6dc47c653bb6f8f030abca5a11852}{set\+Current\+Layer}), the layer below (or above, if bottom layer) becomes the new current layer.
  961. It is not possible to remove the last layer of the plot.
  962. \begin{DoxySeeAlso}{See also}
  963. \hyperlink{class_q_custom_plot_aac492da01782820454e9136a8db28182}{layer}, \hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}, \hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}
  964. \end{DoxySeeAlso}
  965. \hypertarget{class_q_custom_plot_af3dafd56884208474f311d6226513ab2}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!remove\+Plottable@{remove\+Plottable}}
  966. \index{remove\+Plottable@{remove\+Plottable}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  967. \subsubsection[{remove\+Plottable}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::remove\+Plottable (
  968. \begin{DoxyParamCaption}
  969. \item[{{\bf Q\+C\+P\+Abstract\+Plottable} $\ast$}]{plottable}
  970. \end{DoxyParamCaption}
  971. )}\label{class_q_custom_plot_af3dafd56884208474f311d6226513ab2}
  972. Removes the specified plottable from the plot and, if necessary, from the legend (Q\+Custom\+Plot\+::legend).
  973. Returns true on success.
  974. \begin{DoxySeeAlso}{See also}
  975. \hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}, \hyperlink{class_q_custom_plot_a9a409bb3201878adb7ffba1c89c4e004}{clear\+Plottables}
  976. \end{DoxySeeAlso}
  977. \hypertarget{class_q_custom_plot_afc210e0021480f8119bccf37839dbcc8}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!remove\+Plottable@{remove\+Plottable}}
  978. \index{remove\+Plottable@{remove\+Plottable}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  979. \subsubsection[{remove\+Plottable}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::remove\+Plottable (
  980. \begin{DoxyParamCaption}
  981. \item[{int}]{index}
  982. \end{DoxyParamCaption}
  983. )}\label{class_q_custom_plot_afc210e0021480f8119bccf37839dbcc8}
  984. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  985. Removes the plottable by its {\itshape index}. \hypertarget{class_q_custom_plot_a563540b54b2a09c8ef092d42e9621f42}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!replot@{replot}}
  986. \index{replot@{replot}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  987. \subsubsection[{replot}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::replot (
  988. \begin{DoxyParamCaption}
  989. {}
  990. \end{DoxyParamCaption}
  991. )}\label{class_q_custom_plot_a563540b54b2a09c8ef092d42e9621f42}
  992. Causes a complete replot into the internal buffer. Finally, update() is called, to redraw the buffer on the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} 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.
  993. Under a few circumstances, \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} causes a replot by itself. Those are resize events of the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget and user interactions (object selection and range dragging/zooming).
  994. Before the replot happens, the signal \hyperlink{class_q_custom_plot_a0cd30e29b73efd6afe096e44bc5956f5}{before\+Replot} is emitted. After the replot, \hyperlink{class_q_custom_plot_a6f4fa624af060bc5919c5f266cf426a0}{after\+Replot} is emitted. It is safe to mutually connect the replot slot with any of those two signals on two Q\+Custom\+Plots to make them replot synchronously, it won\textquotesingle{}t cause an infinite recursion. \hypertarget{class_q_custom_plot_ad86528f2cee6c7e446dea4a6e8839935}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!rescale\+Axes@{rescale\+Axes}}
  995. \index{rescale\+Axes@{rescale\+Axes}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  996. \subsubsection[{rescale\+Axes}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::rescale\+Axes (
  997. \begin{DoxyParamCaption}
  998. \item[{bool}]{only\+Visible\+Plottables = {\ttfamily false}}
  999. \end{DoxyParamCaption}
  1000. )}\label{class_q_custom_plot_ad86528f2cee6c7e446dea4a6e8839935}
  1001. Rescales the axes such that all plottables (like graphs) in the plot are fully visible.
  1002. if {\itshape only\+Visible\+Plottables} is set to true, only the plottables that have their visibility set to true (\hyperlink{class_q_c_p_layerable_a3bed99ddc396b48ce3ebfdc0418744f8}{Q\+C\+P\+Layerable\+::set\+Visible}), will be used to rescale the axes.
  1003. \begin{DoxySeeAlso}{See also}
  1004. \hyperlink{class_q_c_p_abstract_plottable_a7e8fc3be43c27ccacd70a7bf9d74a5cd}{Q\+C\+P\+Abstract\+Plottable\+::rescale\+Axes}, \hyperlink{class_q_c_p_axis_a499345f02ebce4b23d8ccec96e58daa9}{Q\+C\+P\+Axis\+::rescale}
  1005. \end{DoxySeeAlso}
  1006. \hypertarget{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!save\+Bmp@{save\+Bmp}}
  1007. \index{save\+Bmp@{save\+Bmp}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1008. \subsubsection[{save\+Bmp}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::save\+Bmp (
  1009. \begin{DoxyParamCaption}
  1010. \item[{const Q\+String \&}]{file\+Name, }
  1011. \item[{int}]{width = {\ttfamily 0}, }
  1012. \item[{int}]{height = {\ttfamily 0}, }
  1013. \item[{double}]{scale = {\ttfamily 1.0}}
  1014. \end{DoxyParamCaption}
  1015. )}\label{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}
  1016. Saves a B\+M\+P image file to {\itshape file\+Name} on disc. The output plot will have the dimensions {\itshape width} and {\itshape height} in pixels. If either {\itshape width} or {\itshape height} is zero, the exported image will have the same dimensions as the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} 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 {\itshape scale} parameter.
  1017. For example, if you set both {\itshape width} and {\itshape height} to 100 and {\itshape scale} to 2, you will end up with an image file of size 200$\ast$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$\ast$100 image, the result will have full 200$\ast$200 pixel resolution.
  1018. If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting \hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{Q\+Custom\+Plot\+::set\+Antialiased\+Elements} to \hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31}{Q\+C\+P\+::ae\+All} as this allows \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} to place objects with sub-\/pixel accuracy.
  1019. \begin{DoxyWarning}{Warning}
  1020. If calling this function inside the constructor of the parent of the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget (i.\+e. the \hyperlink{class_main_window}{Main\+Window} constructor, if \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} is inside the \hyperlink{class_main_window}{Main\+Window}), always provide explicit non-\/zero widths and heights. If you leave {\itshape width} or {\itshape height} as 0 (default), this function uses the current width and height of the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget. However, in Qt, these aren\textquotesingle{}t defined yet inside the constructor, so you would get an image that has strange widths/heights.
  1021. \end{DoxyWarning}
  1022. The objects of the plot will appear in the current selection state. If you don\textquotesingle{}t want any selected objects to be painted in their selected look, deselect everything with \hyperlink{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}{deselect\+All} before calling this function.
  1023. Returns true on success. If this function fails, most likely the B\+M\+P format isn\textquotesingle{}t supported by the system, see Qt docs about Q\+Image\+Writer\+::supported\+Image\+Formats().
  1024. \begin{DoxySeeAlso}{See also}
  1025. \hyperlink{class_q_custom_plot_a84e33ad7492180f20ff520e557ed102d}{save\+Pdf}, \hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}, \hyperlink{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}{save\+Jpg}, \hyperlink{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}{save\+Rastered}
  1026. \end{DoxySeeAlso}
  1027. \hypertarget{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!save\+Jpg@{save\+Jpg}}
  1028. \index{save\+Jpg@{save\+Jpg}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1029. \subsubsection[{save\+Jpg}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::save\+Jpg (
  1030. \begin{DoxyParamCaption}
  1031. \item[{const Q\+String \&}]{file\+Name, }
  1032. \item[{int}]{width = {\ttfamily 0}, }
  1033. \item[{int}]{height = {\ttfamily 0}, }
  1034. \item[{double}]{scale = {\ttfamily 1.0}, }
  1035. \item[{int}]{quality = {\ttfamily -\/1}}
  1036. \end{DoxyParamCaption}
  1037. )}\label{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}
  1038. Saves a J\+P\+G image file to {\itshape file\+Name} on disc. The output plot will have the dimensions {\itshape width} and {\itshape height} in pixels. If either {\itshape width} or {\itshape height} is zero, the exported image will have the same dimensions as the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} 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 {\itshape scale} parameter.
  1039. For example, if you set both {\itshape width} and {\itshape height} to 100 and {\itshape scale} to 2, you will end up with an image file of size 200$\ast$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$\ast$100 image, the result will have full 200$\ast$200 pixel resolution.
  1040. If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting \hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{Q\+Custom\+Plot\+::set\+Antialiased\+Elements} to \hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31}{Q\+C\+P\+::ae\+All} as this allows \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} to place objects with sub-\/pixel accuracy.
  1041. \begin{DoxyWarning}{Warning}
  1042. If calling this function inside the constructor of the parent of the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget (i.\+e. the \hyperlink{class_main_window}{Main\+Window} constructor, if \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} is inside the \hyperlink{class_main_window}{Main\+Window}), always provide explicit non-\/zero widths and heights. If you leave {\itshape width} or {\itshape height} as 0 (default), this function uses the current width and height of the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget. However, in Qt, these aren\textquotesingle{}t defined yet inside the constructor, so you would get an image that has strange widths/heights.
  1043. \end{DoxyWarning}
  1044. The objects of the plot will appear in the current selection state. If you don\textquotesingle{}t want any selected objects to be painted in their selected look, deselect everything with \hyperlink{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}{deselect\+All} before calling this function.
  1045. J\+P\+G compression can be controlled with the {\itshape quality} parameter which must be between 0 and 100 or -\/1 to use the default setting.
  1046. Returns true on success. If this function fails, most likely the J\+P\+G format isn\textquotesingle{}t supported by the system, see Qt docs about Q\+Image\+Writer\+::supported\+Image\+Formats().
  1047. \begin{DoxySeeAlso}{See also}
  1048. \hyperlink{class_q_custom_plot_a84e33ad7492180f20ff520e557ed102d}{save\+Pdf}, \hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}, \hyperlink{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}{save\+Bmp}, \hyperlink{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}{save\+Rastered}
  1049. \end{DoxySeeAlso}
  1050. \hypertarget{class_q_custom_plot_a84e33ad7492180f20ff520e557ed102d}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!save\+Pdf@{save\+Pdf}}
  1051. \index{save\+Pdf@{save\+Pdf}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1052. \subsubsection[{save\+Pdf}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::save\+Pdf (
  1053. \begin{DoxyParamCaption}
  1054. \item[{const Q\+String \&}]{file\+Name, }
  1055. \item[{bool}]{no\+Cosmetic\+Pen = {\ttfamily false}, }
  1056. \item[{int}]{width = {\ttfamily 0}, }
  1057. \item[{int}]{height = {\ttfamily 0}}
  1058. \end{DoxyParamCaption}
  1059. )}\label{class_q_custom_plot_a84e33ad7492180f20ff520e557ed102d}
  1060. Saves a P\+D\+F with the vectorized plot to the file {\itshape file\+Name}. The axis ratio as well as the scale of texts and lines will be derived from the specified {\itshape width} and {\itshape height}. This means, the output will look like the normal on-\/screen output of a \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget with the corresponding pixel width and height. If either {\itshape width} or {\itshape height} is zero, the exported image will have the same dimensions as the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget currently has.
  1061. {\itshape no\+Cosmetic\+Pen} disables the use of cosmetic pens when drawing to the P\+D\+F 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 P\+D\+F-\/\+Viewer. For more information about cosmetic pens, see the Q\+Painter and Q\+Pen documentation.
  1062. The objects of the plot will appear in the current selection state. If you don\textquotesingle{}t want any selected objects to be painted in their selected look, deselect everything with \hyperlink{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}{deselect\+All} before calling this function.
  1063. Returns true on success.
  1064. \begin{DoxyWarning}{Warning}
  1065. \begin{DoxyItemize}
  1066. \item If you plan on editing the exported P\+D\+F file with a vector graphics editor like Inkscape, it is advised to set {\itshape no\+Cosmetic\+Pen} 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). \item If calling this function inside the constructor of the parent of the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget (i.\+e. the \hyperlink{class_main_window}{Main\+Window} constructor, if \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} is inside the \hyperlink{class_main_window}{Main\+Window}), always provide explicit non-\/zero widths and heights. If you leave {\itshape width} or {\itshape height} as 0 (default), this function uses the current width and height of the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget. However, in Qt, these aren\textquotesingle{}t defined yet inside the constructor, so you would get an image that has strange widths/heights.\end{DoxyItemize}
  1067. \end{DoxyWarning}
  1068. \begin{DoxyNote}{Note}
  1069. On Android systems, this method does nothing and issues an according q\+Debug warning message.
  1070. \end{DoxyNote}
  1071. \begin{DoxySeeAlso}{See also}
  1072. \hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}, \hyperlink{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}{save\+Bmp}, \hyperlink{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}{save\+Jpg}, \hyperlink{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}{save\+Rastered}
  1073. \end{DoxySeeAlso}
  1074. \hypertarget{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!save\+Png@{save\+Png}}
  1075. \index{save\+Png@{save\+Png}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1076. \subsubsection[{save\+Png}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::save\+Png (
  1077. \begin{DoxyParamCaption}
  1078. \item[{const Q\+String \&}]{file\+Name, }
  1079. \item[{int}]{width = {\ttfamily 0}, }
  1080. \item[{int}]{height = {\ttfamily 0}, }
  1081. \item[{double}]{scale = {\ttfamily 1.0}, }
  1082. \item[{int}]{quality = {\ttfamily -\/1}}
  1083. \end{DoxyParamCaption}
  1084. )}\label{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}
  1085. Saves a P\+N\+G image file to {\itshape file\+Name} on disc. The output plot will have the dimensions {\itshape width} and {\itshape height} in pixels. If either {\itshape width} or {\itshape height} is zero, the exported image will have the same dimensions as the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} 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 {\itshape scale} parameter.
  1086. For example, if you set both {\itshape width} and {\itshape height} to 100 and {\itshape scale} to 2, you will end up with an image file of size 200$\ast$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$\ast$100 image, the result will have full 200$\ast$200 pixel resolution.
  1087. If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting \hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{Q\+Custom\+Plot\+::set\+Antialiased\+Elements} to \hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31}{Q\+C\+P\+::ae\+All} as this allows \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} to place objects with sub-\/pixel accuracy.
  1088. \begin{DoxyWarning}{Warning}
  1089. If calling this function inside the constructor of the parent of the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget (i.\+e. the \hyperlink{class_main_window}{Main\+Window} constructor, if \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} is inside the \hyperlink{class_main_window}{Main\+Window}), always provide explicit non-\/zero widths and heights. If you leave {\itshape width} or {\itshape height} as 0 (default), this function uses the current width and height of the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget. However, in Qt, these aren\textquotesingle{}t defined yet inside the constructor, so you would get an image that has strange widths/heights.
  1090. \end{DoxyWarning}
  1091. The objects of the plot will appear in the current selection state. If you don\textquotesingle{}t want any selected objects to be painted in their selected look, deselect everything with \hyperlink{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}{deselect\+All} before calling this function.
  1092. If you want the P\+N\+G to have a transparent background, call \hyperlink{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}{set\+Background}(const Q\+Brush \&brush) with no brush (Qt\+::\+No\+Brush) or a transparent color (Qt\+::transparent), before saving.
  1093. P\+N\+G compression can be controlled with the {\itshape quality} parameter which must be between 0 and 100 or -\/1 to use the default setting.
  1094. Returns true on success. If this function fails, most likely the P\+N\+G format isn\textquotesingle{}t supported by the system, see Qt docs about Q\+Image\+Writer\+::supported\+Image\+Formats().
  1095. \begin{DoxySeeAlso}{See also}
  1096. \hyperlink{class_q_custom_plot_a84e33ad7492180f20ff520e557ed102d}{save\+Pdf}, \hyperlink{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}{save\+Bmp}, \hyperlink{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}{save\+Jpg}, \hyperlink{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}{save\+Rastered}
  1097. \end{DoxySeeAlso}
  1098. \hypertarget{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!save\+Rastered@{save\+Rastered}}
  1099. \index{save\+Rastered@{save\+Rastered}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1100. \subsubsection[{save\+Rastered}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::save\+Rastered (
  1101. \begin{DoxyParamCaption}
  1102. \item[{const Q\+String \&}]{file\+Name, }
  1103. \item[{int}]{width, }
  1104. \item[{int}]{height, }
  1105. \item[{double}]{scale, }
  1106. \item[{const char $\ast$}]{format, }
  1107. \item[{int}]{quality = {\ttfamily -\/1}}
  1108. \end{DoxyParamCaption}
  1109. )}\label{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}
  1110. Saves the plot to a rastered image file {\itshape file\+Name} in the image format {\itshape format}. The plot is sized to {\itshape width} and {\itshape height} in pixels and scaled with {\itshape scale}. (width 100 and scale 2.\+0 lead to a full resolution file with width 200.) If the {\itshape format} supports compression, {\itshape quality} may be between 0 and 100 to control it.
  1111. Returns true on success. If this function fails, most likely the given {\itshape format} isn\textquotesingle{}t supported by the system, see Qt docs about Q\+Image\+Writer\+::supported\+Image\+Formats().
  1112. \begin{DoxySeeAlso}{See also}
  1113. \hyperlink{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}{save\+Bmp}, \hyperlink{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}{save\+Jpg}, \hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}, \hyperlink{class_q_custom_plot_a84e33ad7492180f20ff520e557ed102d}{save\+Pdf}
  1114. \end{DoxySeeAlso}
  1115. \hypertarget{class_q_custom_plot_aa6baf867e8beb96ed5bd471f83ece903}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!selected\+Axes@{selected\+Axes}}
  1116. \index{selected\+Axes@{selected\+Axes}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1117. \subsubsection[{selected\+Axes}]{\setlength{\rightskip}{0pt plus 5cm}Q\+List$<$ {\bf Q\+C\+P\+Axis} $\ast$ $>$ Q\+Custom\+Plot\+::selected\+Axes (
  1118. \begin{DoxyParamCaption}
  1119. {}
  1120. \end{DoxyParamCaption}
  1121. ) const}\label{class_q_custom_plot_aa6baf867e8beb96ed5bd471f83ece903}
  1122. Returns the axes that currently have selected parts, i.\+e. whose selection state is not \hyperlink{class_q_c_p_axis_abee4c7a54c468b1385dfce2c898b115fae0df8123a5528d5ccf87cb7794f971ea}{Q\+C\+P\+Axis\+::sp\+None}.
  1123. \begin{DoxySeeAlso}{See also}
  1124. \hyperlink{class_q_custom_plot_a6721b8c689bb7f2f400987e580508fe8}{selected\+Plottables}, \hyperlink{class_q_custom_plot_a1ea6297300c3e2770e65f95836411755}{selected\+Legends}, \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}, \hyperlink{class_q_c_p_axis_ab9d7a69277dcbed9119b3c1f25ca19c3}{Q\+C\+P\+Axis\+::set\+Selected\+Parts}, \hyperlink{class_q_c_p_axis_a513f9b9e326c505d9bec54880031b085}{Q\+C\+P\+Axis\+::set\+Selectable\+Parts}
  1125. \end{DoxySeeAlso}
  1126. \hypertarget{class_q_custom_plot_ad2a0493bdd01e7aa99a4209ae3a5b67b}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!selected\+Graphs@{selected\+Graphs}}
  1127. \index{selected\+Graphs@{selected\+Graphs}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1128. \subsubsection[{selected\+Graphs}]{\setlength{\rightskip}{0pt plus 5cm}Q\+List$<$ {\bf Q\+C\+P\+Graph} $\ast$ $>$ Q\+Custom\+Plot\+::selected\+Graphs (
  1129. \begin{DoxyParamCaption}
  1130. {}
  1131. \end{DoxyParamCaption}
  1132. ) const}\label{class_q_custom_plot_ad2a0493bdd01e7aa99a4209ae3a5b67b}
  1133. Returns a list of the selected graphs. If no graphs are currently selected, the list is empty.
  1134. If you are not only interested in selected graphs but other plottables like \hyperlink{class_q_c_p_curve}{Q\+C\+P\+Curve}, \hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}, etc., use \hyperlink{class_q_custom_plot_a6721b8c689bb7f2f400987e580508fe8}{selected\+Plottables}.
  1135. \begin{DoxySeeAlso}{See also}
  1136. \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}, \hyperlink{class_q_custom_plot_a6721b8c689bb7f2f400987e580508fe8}{selected\+Plottables}, \hyperlink{class_q_c_p_abstract_plottable_a22c69299eb5569e0f6bf084877a37dc4}{Q\+C\+P\+Abstract\+Plottable\+::set\+Selectable}, \hyperlink{class_q_c_p_abstract_plottable_afbd5428c2952f59d952e11ab5cd79176}{Q\+C\+P\+Abstract\+Plottable\+::set\+Selected}
  1137. \end{DoxySeeAlso}
  1138. \hypertarget{class_q_custom_plot_a1a48b13547e2d9ac5cd6927516f47a2e}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!selected\+Items@{selected\+Items}}
  1139. \index{selected\+Items@{selected\+Items}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1140. \subsubsection[{selected\+Items}]{\setlength{\rightskip}{0pt plus 5cm}Q\+List$<$ {\bf Q\+C\+P\+Abstract\+Item} $\ast$ $>$ Q\+Custom\+Plot\+::selected\+Items (
  1141. \begin{DoxyParamCaption}
  1142. {}
  1143. \end{DoxyParamCaption}
  1144. ) const}\label{class_q_custom_plot_a1a48b13547e2d9ac5cd6927516f47a2e}
  1145. Returns a list of the selected items. If no items are currently selected, the list is empty.
  1146. \begin{DoxySeeAlso}{See also}
  1147. \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}, \hyperlink{class_q_c_p_abstract_item_a8a8e32a55bc478b849756a78c2d87fd2}{Q\+C\+P\+Abstract\+Item\+::set\+Selectable}, \hyperlink{class_q_c_p_abstract_item_a203de94ad586cc44d16c9565f49d3378}{Q\+C\+P\+Abstract\+Item\+::set\+Selected}
  1148. \end{DoxySeeAlso}
  1149. \hypertarget{class_q_custom_plot_a1ea6297300c3e2770e65f95836411755}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!selected\+Legends@{selected\+Legends}}
  1150. \index{selected\+Legends@{selected\+Legends}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1151. \subsubsection[{selected\+Legends}]{\setlength{\rightskip}{0pt plus 5cm}Q\+List$<$ {\bf Q\+C\+P\+Legend} $\ast$ $>$ Q\+Custom\+Plot\+::selected\+Legends (
  1152. \begin{DoxyParamCaption}
  1153. {}
  1154. \end{DoxyParamCaption}
  1155. ) const}\label{class_q_custom_plot_a1ea6297300c3e2770e65f95836411755}
  1156. Returns the legends that currently have selected parts, i.\+e. whose selection state is not \hyperlink{class_q_c_p_legend_a5404de8bc1e4a994ca4ae69e2c7072f1a378201c07d500af7126e3ec91652eed7}{Q\+C\+P\+Legend\+::sp\+None}.
  1157. \begin{DoxySeeAlso}{See also}
  1158. \hyperlink{class_q_custom_plot_a6721b8c689bb7f2f400987e580508fe8}{selected\+Plottables}, \hyperlink{class_q_custom_plot_aa6baf867e8beb96ed5bd471f83ece903}{selected\+Axes}, \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}, \hyperlink{class_q_c_p_legend_a2aee309bb5c2a794b1987f3fc97f8ad8}{Q\+C\+P\+Legend\+::set\+Selected\+Parts}, \hyperlink{class_q_c_p_legend_a9ce60aa8bbd89f62ae4fa83ac6c60110}{Q\+C\+P\+Legend\+::set\+Selectable\+Parts}, \hyperlink{class_q_c_p_legend_ac93eaf236e911d67aa8b88942ef45c5e}{Q\+C\+P\+Legend\+::selected\+Items}
  1159. \end{DoxySeeAlso}
  1160. \hypertarget{class_q_custom_plot_a6721b8c689bb7f2f400987e580508fe8}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!selected\+Plottables@{selected\+Plottables}}
  1161. \index{selected\+Plottables@{selected\+Plottables}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1162. \subsubsection[{selected\+Plottables}]{\setlength{\rightskip}{0pt plus 5cm}Q\+List$<$ {\bf Q\+C\+P\+Abstract\+Plottable} $\ast$ $>$ Q\+Custom\+Plot\+::selected\+Plottables (
  1163. \begin{DoxyParamCaption}
  1164. {}
  1165. \end{DoxyParamCaption}
  1166. ) const}\label{class_q_custom_plot_a6721b8c689bb7f2f400987e580508fe8}
  1167. Returns a list of the selected plottables. If no plottables are currently selected, the list is empty.
  1168. There is a convenience function if you\textquotesingle{}re only interested in selected graphs, see \hyperlink{class_q_custom_plot_ad2a0493bdd01e7aa99a4209ae3a5b67b}{selected\+Graphs}.
  1169. \begin{DoxySeeAlso}{See also}
  1170. \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}, \hyperlink{class_q_c_p_abstract_plottable_a22c69299eb5569e0f6bf084877a37dc4}{Q\+C\+P\+Abstract\+Plottable\+::set\+Selectable}, \hyperlink{class_q_c_p_abstract_plottable_afbd5428c2952f59d952e11ab5cd79176}{Q\+C\+P\+Abstract\+Plottable\+::set\+Selected}
  1171. \end{DoxySeeAlso}
  1172. \hypertarget{class_q_custom_plot_a500c64a109bc773c973ad274f2fa4190}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!selection\+Changed\+By\+User@{selection\+Changed\+By\+User}}
  1173. \index{selection\+Changed\+By\+User@{selection\+Changed\+By\+User}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1174. \subsubsection[{selection\+Changed\+By\+User}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::selection\+Changed\+By\+User (
  1175. \begin{DoxyParamCaption}
  1176. {}
  1177. \end{DoxyParamCaption}
  1178. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_a500c64a109bc773c973ad274f2fa4190}
  1179. This signal is emitted after the user has changed the selection in the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}, e.\+g. by clicking. It is not emitted when the selection state of an object has changed programmatically by a direct call to set\+Selected() on an object or by calling \hyperlink{class_q_custom_plot_a9d4808ab925b003054085246c92a257c}{deselect\+All}.
  1180. In addition to this signal, selectable objects also provide individual signals, for example \hyperlink{class_q_c_p_axis_a62b598abeee7174a05f9d542cc85b1f5}{Q\+C\+P\+Axis\+::selection\+Changed} or \hyperlink{class_q_c_p_abstract_plottable_a3af66432b1dca93b28e00e78a8c7c1d9}{Q\+C\+P\+Abstract\+Plottable\+::selection\+Changed}. Note that those signals are emitted even if the selection state is changed programmatically.
  1181. See the documentation of \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions} for details about the selection mechanism.
  1182. \begin{DoxySeeAlso}{See also}
  1183. \hyperlink{class_q_custom_plot_a6721b8c689bb7f2f400987e580508fe8}{selected\+Plottables}, \hyperlink{class_q_custom_plot_ad2a0493bdd01e7aa99a4209ae3a5b67b}{selected\+Graphs}, \hyperlink{class_q_custom_plot_a1a48b13547e2d9ac5cd6927516f47a2e}{selected\+Items}, \hyperlink{class_q_custom_plot_aa6baf867e8beb96ed5bd471f83ece903}{selected\+Axes}, \hyperlink{class_q_custom_plot_a1ea6297300c3e2770e65f95836411755}{selected\+Legends}
  1184. \end{DoxySeeAlso}
  1185. \hypertarget{class_q_custom_plot_aeef813bcf7efab8e765f9f87ec454691}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Antialiased\+Element@{set\+Antialiased\+Element}}
  1186. \index{set\+Antialiased\+Element@{set\+Antialiased\+Element}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1187. \subsubsection[{set\+Antialiased\+Element}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Antialiased\+Element (
  1188. \begin{DoxyParamCaption}
  1189. \item[{{\bf Q\+C\+P\+::\+Antialiased\+Element}}]{antialiased\+Element, }
  1190. \item[{bool}]{enabled = {\ttfamily true}}
  1191. \end{DoxyParamCaption}
  1192. )}\label{class_q_custom_plot_aeef813bcf7efab8e765f9f87ec454691}
  1193. Sets whether the specified {\itshape antialiased\+Element} is forcibly drawn antialiased.
  1194. See \hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{set\+Antialiased\+Elements} for details.
  1195. \begin{DoxySeeAlso}{See also}
  1196. \hyperlink{class_q_custom_plot_afc657938a707c890e449ae89203a076d}{set\+Not\+Antialiased\+Element}
  1197. \end{DoxySeeAlso}
  1198. \hypertarget{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Antialiased\+Elements@{set\+Antialiased\+Elements}}
  1199. \index{set\+Antialiased\+Elements@{set\+Antialiased\+Elements}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1200. \subsubsection[{set\+Antialiased\+Elements}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Antialiased\+Elements (
  1201. \begin{DoxyParamCaption}
  1202. \item[{const Q\+C\+P\+::\+Antialiased\+Elements \&}]{antialiased\+Elements}
  1203. \end{DoxyParamCaption}
  1204. )}\label{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}
  1205. Sets which elements are forcibly drawn antialiased as an {\itshape or} combination of \hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0c}{Q\+C\+P\+::\+Antialiased\+Element}.
  1206. This overrides the antialiasing settings for whole element groups, normally controlled with the {\itshape set\+Antialiasing} function on the individual elements. If an element is neither specified in \hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{set\+Antialiased\+Elements} nor in \hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{set\+Not\+Antialiased\+Elements}, the antialiasing setting on each individual element instance is used.
  1207. For example, if {\itshape antialiased\+Elements} contains \hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0ca4145e4251b0cf2dbedabeea0a38f84f6}{Q\+C\+P\+::ae\+Plottables}, all plottables will be drawn antialiased, no matter what the specific \hyperlink{class_q_c_p_layerable_a4fd43e89be4a553ead41652565ff0581}{Q\+C\+P\+Abstract\+Plottable\+::set\+Antialiased} value was set to.
  1208. if an element in {\itshape antialiased\+Elements} is already set in \hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{set\+Not\+Antialiased\+Elements}, it is removed from there.
  1209. \begin{DoxySeeAlso}{See also}
  1210. \hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{set\+Not\+Antialiased\+Elements}
  1211. \end{DoxySeeAlso}
  1212. \hypertarget{class_q_custom_plot_ad8858410c2db47b7104040a3aa61c3fc}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Auto\+Add\+Plottable\+To\+Legend@{set\+Auto\+Add\+Plottable\+To\+Legend}}
  1213. \index{set\+Auto\+Add\+Plottable\+To\+Legend@{set\+Auto\+Add\+Plottable\+To\+Legend}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1214. \subsubsection[{set\+Auto\+Add\+Plottable\+To\+Legend}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Auto\+Add\+Plottable\+To\+Legend (
  1215. \begin{DoxyParamCaption}
  1216. \item[{bool}]{on}
  1217. \end{DoxyParamCaption}
  1218. )}\label{class_q_custom_plot_ad8858410c2db47b7104040a3aa61c3fc}
  1219. If set to true, adding a plottable (e.\+g. a graph) to the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} automatically also adds the plottable to the legend (Q\+Custom\+Plot\+::legend).
  1220. \begin{DoxySeeAlso}{See also}
  1221. \hyperlink{class_q_custom_plot_ab7ad9174f701f9c6f64e378df77927a6}{add\+Plottable}, \hyperlink{class_q_custom_plot_a6fb2873d35a8a8089842d81a70a54167}{add\+Graph}, \hyperlink{class_q_c_p_legend_a3ab274de52d2951faea45a6d975e6b3f}{Q\+C\+P\+Legend\+::add\+Item}
  1222. \end{DoxySeeAlso}
  1223. \hypertarget{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Background@{set\+Background}}
  1224. \index{set\+Background@{set\+Background}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1225. \subsubsection[{set\+Background}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Background (
  1226. \begin{DoxyParamCaption}
  1227. \item[{const Q\+Pixmap \&}]{pm}
  1228. \end{DoxyParamCaption}
  1229. )}\label{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}
  1230. Sets {\itshape pm} as the viewport background pixmap (see \hyperlink{class_q_custom_plot_a3f9bc4b939dd8aaba9339fd09f273fc4}{set\+Viewport}). The pixmap is always drawn below all other objects in the plot.
  1231. For cases where the provided pixmap doesn\textquotesingle{}t have the same size as the viewport, scaling can be enabled with \hyperlink{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{set\+Background\+Scaled} and the scaling mode (whether and how the aspect ratio is preserved) can be set with \hyperlink{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{set\+Background\+Scaled\+Mode}. To set all these options in one call, consider using the overloaded version of this function.
  1232. If a background brush was set with \hyperlink{class_q_custom_plot_a8ed256cf467bfa7ba1f9feaae62c3bd0}{set\+Background(const Q\+Brush \&brush)}, the viewport will first be filled with that brush, before drawing the background pixmap. This can be useful for background pixmaps with translucent areas.
  1233. \begin{DoxySeeAlso}{See also}
  1234. \hyperlink{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{set\+Background\+Scaled}, \hyperlink{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{set\+Background\+Scaled\+Mode}
  1235. \end{DoxySeeAlso}
  1236. \hypertarget{class_q_custom_plot_a8513971d6aa24d8b0d6a68d45b542130}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Background@{set\+Background}}
  1237. \index{set\+Background@{set\+Background}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1238. \subsubsection[{set\+Background}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Background (
  1239. \begin{DoxyParamCaption}
  1240. \item[{const Q\+Pixmap \&}]{pm, }
  1241. \item[{bool}]{scaled, }
  1242. \item[{Qt\+::\+Aspect\+Ratio\+Mode}]{mode = {\ttfamily Qt\+:\+:KeepAspectRatioByExpanding}}
  1243. \end{DoxyParamCaption}
  1244. )}\label{class_q_custom_plot_a8513971d6aa24d8b0d6a68d45b542130}
  1245. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  1246. Allows setting the background pixmap of the viewport, whether it shall be scaled and how it shall be scaled in one call.
  1247. \begin{DoxySeeAlso}{See also}
  1248. \hyperlink{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}{set\+Background(const Q\+Pixmap \&pm)}, \hyperlink{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{set\+Background\+Scaled}, \hyperlink{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{set\+Background\+Scaled\+Mode}
  1249. \end{DoxySeeAlso}
  1250. \hypertarget{class_q_custom_plot_a8ed256cf467bfa7ba1f9feaae62c3bd0}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Background@{set\+Background}}
  1251. \index{set\+Background@{set\+Background}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1252. \subsubsection[{set\+Background}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Background (
  1253. \begin{DoxyParamCaption}
  1254. \item[{const Q\+Brush \&}]{brush}
  1255. \end{DoxyParamCaption}
  1256. )}\label{class_q_custom_plot_a8ed256cf467bfa7ba1f9feaae62c3bd0}
  1257. Sets the background brush of the viewport (see \hyperlink{class_q_custom_plot_a3f9bc4b939dd8aaba9339fd09f273fc4}{set\+Viewport}).
  1258. Before drawing everything else, the background is filled with {\itshape brush}. If a background pixmap was set with \hyperlink{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}{set\+Background(const Q\+Pixmap \&pm)}, 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.
  1259. Set {\itshape brush} to Qt\+::\+No\+Brush or Qt\+::\+Transparent to leave background transparent. This can be useful for exporting to image formats which support transparency, e.\+g. \hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}.
  1260. \begin{DoxySeeAlso}{See also}
  1261. \hyperlink{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{set\+Background\+Scaled}, \hyperlink{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{set\+Background\+Scaled\+Mode}
  1262. \end{DoxySeeAlso}
  1263. \hypertarget{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Background\+Scaled@{set\+Background\+Scaled}}
  1264. \index{set\+Background\+Scaled@{set\+Background\+Scaled}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1265. \subsubsection[{set\+Background\+Scaled}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Background\+Scaled (
  1266. \begin{DoxyParamCaption}
  1267. \item[{bool}]{scaled}
  1268. \end{DoxyParamCaption}
  1269. )}\label{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}
  1270. Sets whether the viewport background pixmap shall be scaled to fit the viewport. If {\itshape scaled} is set to true, control whether and how the aspect ratio of the original pixmap is preserved with \hyperlink{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{set\+Background\+Scaled\+Mode}.
  1271. 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.)
  1272. \begin{DoxySeeAlso}{See also}
  1273. \hyperlink{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}{set\+Background}, \hyperlink{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{set\+Background\+Scaled\+Mode}
  1274. \end{DoxySeeAlso}
  1275. \hypertarget{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Background\+Scaled\+Mode@{set\+Background\+Scaled\+Mode}}
  1276. \index{set\+Background\+Scaled\+Mode@{set\+Background\+Scaled\+Mode}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1277. \subsubsection[{set\+Background\+Scaled\+Mode}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Background\+Scaled\+Mode (
  1278. \begin{DoxyParamCaption}
  1279. \item[{Qt\+::\+Aspect\+Ratio\+Mode}]{mode}
  1280. \end{DoxyParamCaption}
  1281. )}\label{class_q_custom_plot_a4c0eb4865b7949f62e1cb97db04a3de0}
  1282. If scaling of the viewport background pixmap is enabled (\hyperlink{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{set\+Background\+Scaled}), use this function to define whether and how the aspect ratio of the original pixmap is preserved.
  1283. \begin{DoxySeeAlso}{See also}
  1284. \hyperlink{class_q_custom_plot_a130358592cfca353ff3cf5571b49fb00}{set\+Background}, \hyperlink{class_q_custom_plot_a36f0fa1317325dc7b7efea615ee2de1f}{set\+Background\+Scaled}
  1285. \end{DoxySeeAlso}
  1286. \hypertarget{class_q_custom_plot_a73a6dc47c653bb6f8f030abca5a11852}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Current\+Layer@{set\+Current\+Layer}}
  1287. \index{set\+Current\+Layer@{set\+Current\+Layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1288. \subsubsection[{set\+Current\+Layer}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::set\+Current\+Layer (
  1289. \begin{DoxyParamCaption}
  1290. \item[{const Q\+String \&}]{name}
  1291. \end{DoxyParamCaption}
  1292. )}\label{class_q_custom_plot_a73a6dc47c653bb6f8f030abca5a11852}
  1293. Sets the layer with the specified {\itshape name} to be the current layer. All layerables (\hyperlink{class_q_c_p_layerable}{Q\+C\+P\+Layerable}), e.\+g. plottables and items, are created on the current layer.
  1294. Returns true on success, i.\+e. if there is a layer with the specified {\itshape name} in the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}.
  1295. Layer names are case-\/sensitive.
  1296. \begin{DoxySeeAlso}{See also}
  1297. \hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}, \hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}, \hyperlink{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}{remove\+Layer}, \hyperlink{class_q_c_p_layerable_ab0d0da6d2de45a118886d2c8e16d5a54}{Q\+C\+P\+Layerable\+::set\+Layer}
  1298. \end{DoxySeeAlso}
  1299. \hypertarget{class_q_custom_plot_a23a4d3cadad1a0063c5fe19aac5659e6}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Current\+Layer@{set\+Current\+Layer}}
  1300. \index{set\+Current\+Layer@{set\+Current\+Layer}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1301. \subsubsection[{set\+Current\+Layer}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+Custom\+Plot\+::set\+Current\+Layer (
  1302. \begin{DoxyParamCaption}
  1303. \item[{{\bf Q\+C\+P\+Layer} $\ast$}]{layer}
  1304. \end{DoxyParamCaption}
  1305. )}\label{class_q_custom_plot_a23a4d3cadad1a0063c5fe19aac5659e6}
  1306. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  1307. Sets the provided {\itshape layer} to be the current layer.
  1308. Returns true on success, i.\+e. when {\itshape layer} is a valid layer in the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}.
  1309. \begin{DoxySeeAlso}{See also}
  1310. \hyperlink{class_q_custom_plot_ad5255393df078448bb6ac83fa5db5f52}{add\+Layer}, \hyperlink{class_q_custom_plot_ae896140beff19424e9e9e02d6e331104}{move\+Layer}, \hyperlink{class_q_custom_plot_a40f75e342c5eaab6a86066a42a0e2a94}{remove\+Layer}
  1311. \end{DoxySeeAlso}
  1312. \hypertarget{class_q_custom_plot_a422bf1bc6d56dac75a3d805d9a65902c}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Interaction@{set\+Interaction}}
  1313. \index{set\+Interaction@{set\+Interaction}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1314. \subsubsection[{set\+Interaction}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Interaction (
  1315. \begin{DoxyParamCaption}
  1316. \item[{const {\bf Q\+C\+P\+::\+Interaction} \&}]{interaction, }
  1317. \item[{bool}]{enabled = {\ttfamily true}}
  1318. \end{DoxyParamCaption}
  1319. )}\label{class_q_custom_plot_a422bf1bc6d56dac75a3d805d9a65902c}
  1320. Sets the single {\itshape interaction} of this \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} to {\itshape enabled}.
  1321. For details about the interaction system, see \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}.
  1322. \begin{DoxySeeAlso}{See also}
  1323. \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}
  1324. \end{DoxySeeAlso}
  1325. \hypertarget{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Interactions@{set\+Interactions}}
  1326. \index{set\+Interactions@{set\+Interactions}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1327. \subsubsection[{set\+Interactions}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Interactions (
  1328. \begin{DoxyParamCaption}
  1329. \item[{const Q\+C\+P\+::\+Interactions \&}]{interactions}
  1330. \end{DoxyParamCaption}
  1331. )}\label{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}
  1332. Sets the possible interactions of this \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} as an or-\/combination of \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037}{Q\+C\+P\+::\+Interaction} enums. There are the following types of interactions\+:
  1333. {\bfseries Axis range manipulation} is controlled via \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18}{Q\+C\+P\+::i\+Range\+Drag} and \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14}{Q\+C\+P\+::i\+Range\+Zoom}. 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 \hyperlink{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag}, \hyperlink{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom}, \hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag\+Axes}, \hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom\+Axes}.
  1334. {\bfseries Plottable selection} is controlled by \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037a67148c8227b4155eca49135fc274c7ec}{Q\+C\+P\+::i\+Select\+Plottables}. If \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037a67148c8227b4155eca49135fc274c7ec}{Q\+C\+P\+::i\+Select\+Plottables} is set, the user may select plottables (graphs, curves, bars,...) by clicking on them or in their vicinity (\hyperlink{class_q_custom_plot_a4dc31241d7b09680950e19e5f971ed93}{set\+Selection\+Tolerance}). Whether the user can actually select a plottable can further be restricted with the \hyperlink{class_q_c_p_abstract_plottable_a22c69299eb5569e0f6bf084877a37dc4}{Q\+C\+P\+Abstract\+Plottable\+::set\+Selectable} function on the specific plottable. To find out whether a specific plottable is selected, call Q\+C\+P\+Abstract\+Plottable\+::selected(). To retrieve a list of all currently selected plottables, call \hyperlink{class_q_custom_plot_a6721b8c689bb7f2f400987e580508fe8}{selected\+Plottables}. If you\textquotesingle{}re only interested in Q\+C\+P\+Graphs, you may use the convenience function \hyperlink{class_q_custom_plot_ad2a0493bdd01e7aa99a4209ae3a5b67b}{selected\+Graphs}.
  1335. {\bfseries Item selection} is controlled by \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037aea2f7c105d674e76d9b187b02ef29260}{Q\+C\+P\+::i\+Select\+Items}. If \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037aea2f7c105d674e76d9b187b02ef29260}{Q\+C\+P\+::i\+Select\+Items} is set, the user may select items (\hyperlink{class_q_c_p_item_line}{Q\+C\+P\+Item\+Line}, \hyperlink{class_q_c_p_item_text}{Q\+C\+P\+Item\+Text},...) by clicking on them or in their vicinity. To find out whether a specific item is selected, call Q\+C\+P\+Abstract\+Item\+::selected(). To retrieve a list of all currently selected items, call \hyperlink{class_q_custom_plot_a1a48b13547e2d9ac5cd6927516f47a2e}{selected\+Items}.
  1336. {\bfseries Axis selection} is controlled with \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037ad6644ac55bef621645326e9dd7469caa}{Q\+C\+P\+::i\+Select\+Axes}. If \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037ad6644ac55bef621645326e9dd7469caa}{Q\+C\+P\+::i\+Select\+Axes} 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 \hyperlink{class_q_c_p_axis_a513f9b9e326c505d9bec54880031b085}{Q\+C\+P\+Axis\+::set\+Selectable\+Parts} for each axis. To retrieve a list of all axes that currently contain selected parts, call \hyperlink{class_q_custom_plot_aa6baf867e8beb96ed5bd471f83ece903}{selected\+Axes}. Which parts of an axis are selected, can be retrieved with Q\+C\+P\+Axis\+::selected\+Parts().
  1337. {\bfseries Legend selection} is controlled with \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037a269c9af298e257d1108edec0432b5513}{Q\+C\+P\+::i\+Select\+Legend}. 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 \hyperlink{class_q_c_p_legend_a9ce60aa8bbd89f62ae4fa83ac6c60110}{Q\+C\+P\+Legend\+::set\+Selectable\+Parts}. To find out whether the legend or any of its child items are selected, check the value of Q\+C\+P\+Legend\+::selected\+Parts. To find out which child items are selected, call \hyperlink{class_q_c_p_legend_ac93eaf236e911d67aa8b88942ef45c5e}{Q\+C\+P\+Legend\+::selected\+Items}.
  1338. {\bfseries All other selectable elements} The selection of all other selectable objects (e.\+g. \hyperlink{class_q_c_p_plot_title}{Q\+C\+P\+Plot\+Title}, or your own layerable subclasses) is controlled with \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037af67a50bc26147a13b551b3a625374949}{Q\+C\+P\+::i\+Select\+Other}. 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.
  1339. If the selection state has changed by user interaction, the \hyperlink{class_q_custom_plot_a500c64a109bc773c973ad274f2fa4190}{selection\+Changed\+By\+User} signal is emitted. Each selectable object additionally emits an individual selection\+Changed signal whenever their selection state has changed, i.\+e. not only by user interaction.
  1340. To allow multiple objects to be selected by holding the selection modifier (\hyperlink{class_q_custom_plot_a8fc96e3b5138a06759a2a90c166df516}{set\+Multi\+Select\+Modifier}), set the flag \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037aef673112c5067c3cf4cfddb62da7265d}{Q\+C\+P\+::i\+Multi\+Select}.
  1341. \begin{DoxyNote}{Note}
  1342. In addition to the selection mechanism presented here, \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} always emits corresponding signals, when an object is clicked or double clicked. see \hyperlink{class_q_custom_plot_a57e5efa8a854620e9bf62d31fc139f53}{plottable\+Click} and \hyperlink{class_q_custom_plot_af2e6f1cea923dae437681d01ce7d0c31}{plottable\+Double\+Click} for example.
  1343. \end{DoxyNote}
  1344. \begin{DoxySeeAlso}{See also}
  1345. \hyperlink{class_q_custom_plot_a422bf1bc6d56dac75a3d805d9a65902c}{set\+Interaction}, \hyperlink{class_q_custom_plot_a4dc31241d7b09680950e19e5f971ed93}{set\+Selection\+Tolerance}
  1346. \end{DoxySeeAlso}
  1347. \hypertarget{class_q_custom_plot_a8fc96e3b5138a06759a2a90c166df516}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Multi\+Select\+Modifier@{set\+Multi\+Select\+Modifier}}
  1348. \index{set\+Multi\+Select\+Modifier@{set\+Multi\+Select\+Modifier}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1349. \subsubsection[{set\+Multi\+Select\+Modifier}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Multi\+Select\+Modifier (
  1350. \begin{DoxyParamCaption}
  1351. \item[{Qt\+::\+Keyboard\+Modifier}]{modifier}
  1352. \end{DoxyParamCaption}
  1353. )}\label{class_q_custom_plot_a8fc96e3b5138a06759a2a90c166df516}
  1354. Sets the keyboard modifier that will be recognized as multi-\/select-\/modifier.
  1355. If \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037aef673112c5067c3cf4cfddb62da7265d}{Q\+C\+P\+::i\+Multi\+Select} is specified in \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}, the user may select multiple objects by clicking on them one after the other while holding down {\itshape modifier}.
  1356. By default the multi-\/select-\/modifier is set to Qt\+::\+Control\+Modifier.
  1357. \begin{DoxySeeAlso}{See also}
  1358. \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}
  1359. \end{DoxySeeAlso}
  1360. \hypertarget{class_q_custom_plot_a775bdcb6329d44701aeaa6135b0e5265}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+No\+Antialiasing\+On\+Drag@{set\+No\+Antialiasing\+On\+Drag}}
  1361. \index{set\+No\+Antialiasing\+On\+Drag@{set\+No\+Antialiasing\+On\+Drag}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1362. \subsubsection[{set\+No\+Antialiasing\+On\+Drag}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+No\+Antialiasing\+On\+Drag (
  1363. \begin{DoxyParamCaption}
  1364. \item[{bool}]{enabled}
  1365. \end{DoxyParamCaption}
  1366. )}\label{class_q_custom_plot_a775bdcb6329d44701aeaa6135b0e5265}
  1367. Sets whether antialiasing is disabled for this \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} 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.
  1368. \begin{DoxySeeAlso}{See also}
  1369. \hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{set\+Antialiased\+Elements}, \hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{set\+Not\+Antialiased\+Elements}
  1370. \end{DoxySeeAlso}
  1371. \hypertarget{class_q_custom_plot_afc657938a707c890e449ae89203a076d}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Not\+Antialiased\+Element@{set\+Not\+Antialiased\+Element}}
  1372. \index{set\+Not\+Antialiased\+Element@{set\+Not\+Antialiased\+Element}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1373. \subsubsection[{set\+Not\+Antialiased\+Element}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Not\+Antialiased\+Element (
  1374. \begin{DoxyParamCaption}
  1375. \item[{{\bf Q\+C\+P\+::\+Antialiased\+Element}}]{not\+Antialiased\+Element, }
  1376. \item[{bool}]{enabled = {\ttfamily true}}
  1377. \end{DoxyParamCaption}
  1378. )}\label{class_q_custom_plot_afc657938a707c890e449ae89203a076d}
  1379. Sets whether the specified {\itshape not\+Antialiased\+Element} is forcibly drawn not antialiased.
  1380. See \hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{set\+Not\+Antialiased\+Elements} for details.
  1381. \begin{DoxySeeAlso}{See also}
  1382. \hyperlink{class_q_custom_plot_aeef813bcf7efab8e765f9f87ec454691}{set\+Antialiased\+Element}
  1383. \end{DoxySeeAlso}
  1384. \hypertarget{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Not\+Antialiased\+Elements@{set\+Not\+Antialiased\+Elements}}
  1385. \index{set\+Not\+Antialiased\+Elements@{set\+Not\+Antialiased\+Elements}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1386. \subsubsection[{set\+Not\+Antialiased\+Elements}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Not\+Antialiased\+Elements (
  1387. \begin{DoxyParamCaption}
  1388. \item[{const Q\+C\+P\+::\+Antialiased\+Elements \&}]{not\+Antialiased\+Elements}
  1389. \end{DoxyParamCaption}
  1390. )}\label{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}
  1391. Sets which elements are forcibly drawn not antialiased as an {\itshape or} combination of \hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0c}{Q\+C\+P\+::\+Antialiased\+Element}.
  1392. This overrides the antialiasing settings for whole element groups, normally controlled with the {\itshape set\+Antialiasing} function on the individual elements. If an element is neither specified in \hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{set\+Antialiased\+Elements} nor in \hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{set\+Not\+Antialiased\+Elements}, the antialiasing setting on each individual element instance is used.
  1393. For example, if {\itshape not\+Antialiased\+Elements} contains \hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0ca4145e4251b0cf2dbedabeea0a38f84f6}{Q\+C\+P\+::ae\+Plottables}, no plottables will be drawn antialiased, no matter what the specific \hyperlink{class_q_c_p_layerable_a4fd43e89be4a553ead41652565ff0581}{Q\+C\+P\+Abstract\+Plottable\+::set\+Antialiased} value was set to.
  1394. if an element in {\itshape not\+Antialiased\+Elements} is already set in \hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{set\+Antialiased\+Elements}, it is removed from there.
  1395. \begin{DoxySeeAlso}{See also}
  1396. \hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{set\+Antialiased\+Elements}
  1397. \end{DoxySeeAlso}
  1398. \hypertarget{class_q_custom_plot_a3b7c97bb6c16464e9e15190c07abe9a9}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Plotting\+Hint@{set\+Plotting\+Hint}}
  1399. \index{set\+Plotting\+Hint@{set\+Plotting\+Hint}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1400. \subsubsection[{set\+Plotting\+Hint}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Plotting\+Hint (
  1401. \begin{DoxyParamCaption}
  1402. \item[{{\bf Q\+C\+P\+::\+Plotting\+Hint}}]{hint, }
  1403. \item[{bool}]{enabled = {\ttfamily true}}
  1404. \end{DoxyParamCaption}
  1405. )}\label{class_q_custom_plot_a3b7c97bb6c16464e9e15190c07abe9a9}
  1406. Sets the specified plotting {\itshape hint} to {\itshape enabled}.
  1407. \begin{DoxySeeAlso}{See also}
  1408. \hyperlink{class_q_custom_plot_a94a33cbdadbbac5934843508bcfc210d}{set\+Plotting\+Hints}
  1409. \end{DoxySeeAlso}
  1410. \hypertarget{class_q_custom_plot_a94a33cbdadbbac5934843508bcfc210d}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Plotting\+Hints@{set\+Plotting\+Hints}}
  1411. \index{set\+Plotting\+Hints@{set\+Plotting\+Hints}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1412. \subsubsection[{set\+Plotting\+Hints}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Plotting\+Hints (
  1413. \begin{DoxyParamCaption}
  1414. \item[{const Q\+C\+P\+::\+Plotting\+Hints \&}]{hints}
  1415. \end{DoxyParamCaption}
  1416. )}\label{class_q_custom_plot_a94a33cbdadbbac5934843508bcfc210d}
  1417. Sets the plotting hints for this \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} instance as an {\itshape or} combination of \hyperlink{namespace_q_c_p_a5400e5fcb9528d92002ddb938c1f4ef4}{Q\+C\+P\+::\+Plotting\+Hint}.
  1418. \begin{DoxySeeAlso}{See also}
  1419. \hyperlink{class_q_custom_plot_a3b7c97bb6c16464e9e15190c07abe9a9}{set\+Plotting\+Hint}
  1420. \end{DoxySeeAlso}
  1421. \hypertarget{class_q_custom_plot_a4dc31241d7b09680950e19e5f971ed93}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Selection\+Tolerance@{set\+Selection\+Tolerance}}
  1422. \index{set\+Selection\+Tolerance@{set\+Selection\+Tolerance}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1423. \subsubsection[{set\+Selection\+Tolerance}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Selection\+Tolerance (
  1424. \begin{DoxyParamCaption}
  1425. \item[{int}]{pixels}
  1426. \end{DoxyParamCaption}
  1427. )}\label{class_q_custom_plot_a4dc31241d7b09680950e19e5f971ed93}
  1428. Sets the tolerance that is used to decide whether a click selects an object (e.\+g. a plottable) or not.
  1429. If the user clicks in the vicinity of the line of e.\+g. a \hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph}, it\textquotesingle{}s only regarded as a potential selection when the minimum distance between the click position and the graph line is smaller than {\itshape pixels}. Objects that are defined by an area (e.\+g. \hyperlink{class_q_c_p_bars}{Q\+C\+P\+Bars}) 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.
  1430. \begin{DoxySeeAlso}{See also}
  1431. \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{set\+Interactions}, \hyperlink{class_q_c_p_layerable_a4001c4d0dfec55598efa4d531f2179a9}{Q\+C\+P\+Layerable\+::select\+Test}
  1432. \end{DoxySeeAlso}
  1433. \hypertarget{class_q_custom_plot_a3f9bc4b939dd8aaba9339fd09f273fc4}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!set\+Viewport@{set\+Viewport}}
  1434. \index{set\+Viewport@{set\+Viewport}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1435. \subsubsection[{set\+Viewport}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::set\+Viewport (
  1436. \begin{DoxyParamCaption}
  1437. \item[{const Q\+Rect \&}]{rect}
  1438. \end{DoxyParamCaption}
  1439. )}\label{class_q_custom_plot_a3f9bc4b939dd8aaba9339fd09f273fc4}
  1440. Sets the viewport of this \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot}. The Viewport is the area that the top level layout (\hyperlink{class_q_custom_plot_afd280d4d621ae64a106543a545c508d7}{Q\+Custom\+Plot\+::plot\+Layout()}) uses as its rect. Normally, the viewport is the entire widget rect.
  1441. This function is used to allow arbitrary size exports with \hyperlink{class_q_custom_plot_aabb974d71ce96c137dc04eb6eab844fe}{to\+Pixmap}, \hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}, \hyperlink{class_q_custom_plot_a84e33ad7492180f20ff520e557ed102d}{save\+Pdf}, etc. by temporarily changing the viewport size. \hypertarget{class_q_custom_plot_a2137a819e518fee7edd1c0bf5984d8d6}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!title\+Click@{title\+Click}}
  1442. \index{title\+Click@{title\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1443. \subsubsection[{title\+Click}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::title\+Click (
  1444. \begin{DoxyParamCaption}
  1445. \item[{Q\+Mouse\+Event $\ast$}]{event, }
  1446. \item[{{\bf Q\+C\+P\+Plot\+Title} $\ast$}]{title}
  1447. \end{DoxyParamCaption}
  1448. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_a2137a819e518fee7edd1c0bf5984d8d6}
  1449. This signal is emitted when a plot title is clicked.
  1450. {\itshape event} is the mouse event that caused the click and {\itshape title} is the plot title that received the click.
  1451. \begin{DoxySeeAlso}{See also}
  1452. \hyperlink{class_q_custom_plot_ad51d65f6abf5edfaeef6e0519a4c1a2f}{title\+Double\+Click}
  1453. \end{DoxySeeAlso}
  1454. \hypertarget{class_q_custom_plot_ad51d65f6abf5edfaeef6e0519a4c1a2f}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!title\+Double\+Click@{title\+Double\+Click}}
  1455. \index{title\+Double\+Click@{title\+Double\+Click}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1456. \subsubsection[{title\+Double\+Click}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::title\+Double\+Click (
  1457. \begin{DoxyParamCaption}
  1458. \item[{Q\+Mouse\+Event $\ast$}]{event, }
  1459. \item[{{\bf Q\+C\+P\+Plot\+Title} $\ast$}]{title}
  1460. \end{DoxyParamCaption}
  1461. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_custom_plot_ad51d65f6abf5edfaeef6e0519a4c1a2f}
  1462. This signal is emitted when a plot title is double clicked.
  1463. {\itshape event} is the mouse event that caused the click and {\itshape title} is the plot title that received the click.
  1464. \begin{DoxySeeAlso}{See also}
  1465. \hyperlink{class_q_custom_plot_a2137a819e518fee7edd1c0bf5984d8d6}{title\+Click}
  1466. \end{DoxySeeAlso}
  1467. \hypertarget{class_q_custom_plot_a1be68d5c0f1e086d6374d1340a193fb9}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!to\+Painter@{to\+Painter}}
  1468. \index{to\+Painter@{to\+Painter}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1469. \subsubsection[{to\+Painter}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+Custom\+Plot\+::to\+Painter (
  1470. \begin{DoxyParamCaption}
  1471. \item[{{\bf Q\+C\+P\+Painter} $\ast$}]{painter, }
  1472. \item[{int}]{width = {\ttfamily 0}, }
  1473. \item[{int}]{height = {\ttfamily 0}}
  1474. \end{DoxyParamCaption}
  1475. )}\label{class_q_custom_plot_a1be68d5c0f1e086d6374d1340a193fb9}
  1476. Renders the plot using the passed {\itshape painter}.
  1477. The plot is sized to {\itshape width} and {\itshape height} in pixels. If the {\itshape painter\textquotesingle{}s} scale is not 1.\+0, the resulting plot will appear scaled accordingly.
  1478. \begin{DoxyNote}{Note}
  1479. If you are restricted to using a Q\+Painter (instead of \hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}), create a temporary Q\+Picture and open a \hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} on it. Then call \hyperlink{class_q_custom_plot_a1be68d5c0f1e086d6374d1340a193fb9}{to\+Painter} with this \hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter}. After ending the paint operation on the picture, draw it with the Q\+Painter. This will reproduce the painter actions the \hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} took, with a Q\+Painter.
  1480. \end{DoxyNote}
  1481. \begin{DoxySeeAlso}{See also}
  1482. \hyperlink{class_q_custom_plot_aabb974d71ce96c137dc04eb6eab844fe}{to\+Pixmap}
  1483. \end{DoxySeeAlso}
  1484. \hypertarget{class_q_custom_plot_aabb974d71ce96c137dc04eb6eab844fe}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!to\+Pixmap@{to\+Pixmap}}
  1485. \index{to\+Pixmap@{to\+Pixmap}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1486. \subsubsection[{to\+Pixmap}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Pixmap Q\+Custom\+Plot\+::to\+Pixmap (
  1487. \begin{DoxyParamCaption}
  1488. \item[{int}]{width = {\ttfamily 0}, }
  1489. \item[{int}]{height = {\ttfamily 0}, }
  1490. \item[{double}]{scale = {\ttfamily 1.0}}
  1491. \end{DoxyParamCaption}
  1492. )}\label{class_q_custom_plot_aabb974d71ce96c137dc04eb6eab844fe}
  1493. Renders the plot to a pixmap and returns it.
  1494. The plot is sized to {\itshape width} and {\itshape height} in pixels and scaled with {\itshape scale}. (width 100 and scale 2.\+0 lead to a full resolution pixmap with width 200.)
  1495. \begin{DoxySeeAlso}{See also}
  1496. \hyperlink{class_q_custom_plot_a1be68d5c0f1e086d6374d1340a193fb9}{to\+Painter}, \hyperlink{class_q_custom_plot_ab528b84cf92baabe29b1d0ef2f77c93e}{save\+Rastered}, \hyperlink{class_q_custom_plot_a6629d9e8e6da4bf18055ee0257fdce9a}{save\+Bmp}, \hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}, \hyperlink{class_q_custom_plot_a490c722092d1771e8ce4a7a73dfd84ab}{save\+Jpg}, \hyperlink{class_q_custom_plot_a84e33ad7492180f20ff520e557ed102d}{save\+Pdf}
  1497. \end{DoxySeeAlso}
  1498. \hypertarget{class_q_custom_plot_a953ecdbc28018e7e84cb6213ad3d88c2}{}\index{Q\+Custom\+Plot@{Q\+Custom\+Plot}!viewport@{viewport}}
  1499. \index{viewport@{viewport}!Q\+Custom\+Plot@{Q\+Custom\+Plot}}
  1500. \subsubsection[{viewport}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Rect Q\+Custom\+Plot\+::viewport (
  1501. \begin{DoxyParamCaption}
  1502. {}
  1503. \end{DoxyParamCaption}
  1504. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_custom_plot_a953ecdbc28018e7e84cb6213ad3d88c2}
  1505. Returns the viewport rect of this \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} 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 \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget, i.\+e. a rect with top left (0, 0) and size of the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget.
  1506. Don\textquotesingle{}t confuse the viewport with the axis rect (\hyperlink{class_q_custom_plot_a4a37a1add5fe63060ac518cf0a4c4050}{Q\+Custom\+Plot\+::axis\+Rect}). 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.
  1507. Only when saving to a file (see \hyperlink{class_q_custom_plot_a7636261aff1f6d25c9da749ece3fc8b8}{save\+Png}, save\+Pdf etc.) the viewport is temporarily modified to allow saving plots with sizes independent of the current widget size.
  1508. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
  1509. \item
  1510. \hyperlink{qcustomplot_8h}{qcustomplot.\+h}\item
  1511. \hyperlink{qcustomplot_8cpp}{qcustomplot.\+cpp}\end{DoxyCompactItemize}