No Description

class_q_c_p_axis_rect.tex 62KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746
  1. \hypertarget{class_q_c_p_axis_rect}{}\section{Q\+C\+P\+Axis\+Rect Class Reference}
  2. \label{class_q_c_p_axis_rect}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  3. Holds multiple axes and arranges them in a rectangular shape.
  4. Inheritance diagram for Q\+C\+P\+Axis\+Rect\+:\begin{figure}[H]
  5. \begin{center}
  6. \leavevmode
  7. \includegraphics[height=4.000000cm]{class_q_c_p_axis_rect}
  8. \end{center}
  9. \end{figure}
  10. \subsection*{Public Member Functions}
  11. \begin{DoxyCompactItemize}
  12. \item
  13. \hyperlink{class_q_c_p_axis_rect_a60b31dece805462c1b82eea2e69ba042}{Q\+C\+P\+Axis\+Rect} (\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} $\ast$parent\+Plot, bool setup\+Default\+Axes=true)
  14. \item
  15. \hypertarget{class_q_c_p_axis_rect_a0daa1dadd2a62dbfa37b7f742edd0059}{}Q\+Pixmap {\bfseries background} () const \label{class_q_c_p_axis_rect_a0daa1dadd2a62dbfa37b7f742edd0059}
  16. \item
  17. \hypertarget{class_q_c_p_axis_rect_a67c18777b88fe9c81dee3dd2b5f50e5c}{}bool {\bfseries background\+Scaled} () const \label{class_q_c_p_axis_rect_a67c18777b88fe9c81dee3dd2b5f50e5c}
  18. \item
  19. \hypertarget{class_q_c_p_axis_rect_a3d0f42d6be11a0b3d4576402a2b0032d}{}Qt\+::\+Aspect\+Ratio\+Mode {\bfseries background\+Scaled\+Mode} () const \label{class_q_c_p_axis_rect_a3d0f42d6be11a0b3d4576402a2b0032d}
  20. \item
  21. \hypertarget{class_q_c_p_axis_rect_af24b46954ce27a26b23770cdb8319080}{}Qt\+::\+Orientations {\bfseries range\+Drag} () const \label{class_q_c_p_axis_rect_af24b46954ce27a26b23770cdb8319080}
  22. \item
  23. \hypertarget{class_q_c_p_axis_rect_a3397fc60e5df29089090bc236e9f05f6}{}Qt\+::\+Orientations {\bfseries range\+Zoom} () const \label{class_q_c_p_axis_rect_a3397fc60e5df29089090bc236e9f05f6}
  24. \item
  25. \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$ \hyperlink{class_q_c_p_axis_rect_a6d7c22cfc54fac7a3d6ef80b133a8574}{range\+Drag\+Axis} (Qt\+::\+Orientation orientation)
  26. \item
  27. \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$ \hyperlink{class_q_c_p_axis_rect_a679c63f2b8daccfe6ec5110dce3dd3b6}{range\+Zoom\+Axis} (Qt\+::\+Orientation orientation)
  28. \item
  29. double \hyperlink{class_q_c_p_axis_rect_ae4e6c4d143aacc88d2d3c56f117c2fe1}{range\+Zoom\+Factor} (Qt\+::\+Orientation orientation)
  30. \item
  31. void \hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background} (const Q\+Pixmap \&pm)
  32. \item
  33. void \hyperlink{class_q_c_p_axis_rect_ac48a2d5d9b7732e73b86605c69c5e4c1}{set\+Background} (const Q\+Pixmap \&pm, bool scaled, Qt\+::\+Aspect\+Ratio\+Mode mode=Qt\+::\+Keep\+Aspect\+Ratio\+By\+Expanding)
  34. \item
  35. void \hyperlink{class_q_c_p_axis_rect_a22a22b8668735438dc06f9a55fe46b33}{set\+Background} (const Q\+Brush \&brush)
  36. \item
  37. void \hyperlink{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}{set\+Background\+Scaled} (bool scaled)
  38. \item
  39. void \hyperlink{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}{set\+Background\+Scaled\+Mode} (Qt\+::\+Aspect\+Ratio\+Mode mode)
  40. \item
  41. void \hyperlink{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{set\+Range\+Drag} (Qt\+::\+Orientations orientations)
  42. \item
  43. void \hyperlink{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{set\+Range\+Zoom} (Qt\+::\+Orientations orientations)
  44. \item
  45. void \hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{set\+Range\+Drag\+Axes} (\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$horizontal, \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$vertical)
  46. \item
  47. void \hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{set\+Range\+Zoom\+Axes} (\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$horizontal, \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$vertical)
  48. \item
  49. void \hyperlink{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}{set\+Range\+Zoom\+Factor} (double horizontal\+Factor, double vertical\+Factor)
  50. \item
  51. void \hyperlink{class_q_c_p_axis_rect_ae83d187b03fc6fa4f00765ad50cd3fc3}{set\+Range\+Zoom\+Factor} (double factor)
  52. \item
  53. int \hyperlink{class_q_c_p_axis_rect_a16e3e4646e52e4b5d5b865076c29ae58}{axis\+Count} (\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type} type) const
  54. \item
  55. \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$ \hyperlink{class_q_c_p_axis_rect_a560de44e47a4af0f86c59102a094b1e4}{axis} (\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type} type, int index=0) const
  56. \item
  57. Q\+List$<$ \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$ $>$ \hyperlink{class_q_c_p_axis_rect_a66654d51ca611ef036ded36250cd2518}{axes} (Q\+C\+P\+Axis\+::\+Axis\+Types types) const
  58. \item
  59. Q\+List$<$ \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$ $>$ \hyperlink{class_q_c_p_axis_rect_a18dcdc0dd6c7520bc9f3d15a7a3feec2}{axes} () const
  60. \item
  61. \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$ \hyperlink{class_q_c_p_axis_rect_acbc382cc7715d23310d65d91f50a4bde}{add\+Axis} (\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type} type)
  62. \item
  63. Q\+List$<$ \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$ $>$ \hyperlink{class_q_c_p_axis_rect_a792e1f3d9cb1591fca135bb0de9b81fc}{add\+Axes} (Q\+C\+P\+Axis\+::\+Axis\+Types types)
  64. \item
  65. bool \hyperlink{class_q_c_p_axis_rect_a03c39cd9704f0d36fb6cf980cdddcbaa}{remove\+Axis} (\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$\hyperlink{class_q_c_p_axis_rect_a560de44e47a4af0f86c59102a094b1e4}{axis})
  66. \item
  67. \hyperlink{class_q_c_p_layout_inset}{Q\+C\+P\+Layout\+Inset} $\ast$ \hyperlink{class_q_c_p_axis_rect_a4114887c7141b59650b7488f930993e5}{inset\+Layout} () const
  68. \item
  69. void \hyperlink{class_q_c_p_axis_rect_a5fa906175447b14206954f77fc7f1ef4}{setup\+Full\+Axes\+Box} (bool connect\+Ranges=false)
  70. \item
  71. Q\+List$<$ \hyperlink{class_q_c_p_abstract_plottable}{Q\+C\+P\+Abstract\+Plottable} $\ast$ $>$ \hyperlink{class_q_c_p_axis_rect_a5b0d629c8de5572945eeae79a142296e}{plottables} () const
  72. \item
  73. Q\+List$<$ \hyperlink{class_q_c_p_graph}{Q\+C\+P\+Graph} $\ast$ $>$ \hyperlink{class_q_c_p_axis_rect_afa4ff90901d9275f670e24b40e3c1b25}{graphs} () const
  74. \item
  75. Q\+List$<$ \hyperlink{class_q_c_p_abstract_item}{Q\+C\+P\+Abstract\+Item} $\ast$ $>$ \hyperlink{class_q_c_p_axis_rect_a0f17ed539962cfcbaca8ce0b1776c840}{items} () const
  76. \item
  77. int \hyperlink{class_q_c_p_axis_rect_a55b3ecf72a3a65b053f7651b88db458d}{left} () const
  78. \item
  79. int \hyperlink{class_q_c_p_axis_rect_a6d0f989fc552aa2b563cf82f8fc81e61}{right} () const
  80. \item
  81. int \hyperlink{class_q_c_p_axis_rect_ac45aef1eb75cea46b241b6303028a607}{top} () const
  82. \item
  83. int \hyperlink{class_q_c_p_axis_rect_af2b5982ebe7e6f781b9bf1cc371a60d8}{bottom} () const
  84. \item
  85. int \hyperlink{class_q_c_p_axis_rect_a45bf5c17f4ca29131b7eb0db06efc259}{width} () const
  86. \item
  87. int \hyperlink{class_q_c_p_axis_rect_a1c55c4f3bef40cf01b21820316c8469e}{height} () const
  88. \item
  89. Q\+Size \hyperlink{class_q_c_p_axis_rect_a871b9fe49e92b39a3cbe29a59e458536}{size} () const
  90. \item
  91. Q\+Point \hyperlink{class_q_c_p_axis_rect_a88acbe716bcf5072790a6f95637c40d8}{top\+Left} () const
  92. \item
  93. Q\+Point \hyperlink{class_q_c_p_axis_rect_a232409546394c23b59407bc62fa460a8}{top\+Right} () const
  94. \item
  95. Q\+Point \hyperlink{class_q_c_p_axis_rect_a724b0333971ea6a338f0dbd814dc97ae}{bottom\+Left} () const
  96. \item
  97. Q\+Point \hyperlink{class_q_c_p_axis_rect_a49ea3c7dff834b47e266cbf3d79f78b9}{bottom\+Right} () const
  98. \item
  99. Q\+Point \hyperlink{class_q_c_p_axis_rect_aea5e6042bca198424fa1bc02fc282e59}{center} () const
  100. \item
  101. virtual void \hyperlink{class_q_c_p_axis_rect_a8bdf6f76baa7b6c464706bce9b975a27}{update} ()
  102. \item
  103. virtual Q\+List$<$ \hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element} $\ast$ $>$ \hyperlink{class_q_c_p_axis_rect_a2bda6bf2b5b5797f92583cecd01c8949}{elements} (bool recursive) const
  104. \end{DoxyCompactItemize}
  105. \subsection*{Protected Member Functions}
  106. \begin{DoxyCompactItemize}
  107. \item
  108. \hypertarget{class_q_c_p_axis_rect_a9a6dd0763701cbc7d01f899bcbb3f9ca}{}virtual void {\bfseries apply\+Default\+Antialiasing\+Hint} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter) const \label{class_q_c_p_axis_rect_a9a6dd0763701cbc7d01f899bcbb3f9ca}
  109. \item
  110. \hypertarget{class_q_c_p_axis_rect_afb1bbbbda8345cd2710d92ee48440b53}{}virtual void {\bfseries draw} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter)\label{class_q_c_p_axis_rect_afb1bbbbda8345cd2710d92ee48440b53}
  111. \item
  112. \hypertarget{class_q_c_p_axis_rect_ae79f18302e6507586aa8c032a5f9ed1c}{}virtual int {\bfseries calculate\+Auto\+Margin} (\hyperlink{namespace_q_c_p_a7e487e3e2ccb62ab7771065bab7cae54}{Q\+C\+P\+::\+Margin\+Side} side)\label{class_q_c_p_axis_rect_ae79f18302e6507586aa8c032a5f9ed1c}
  113. \item
  114. virtual void \hyperlink{class_q_c_p_axis_rect_a77501dbeccdac7256f7979b05077c04e}{mouse\+Press\+Event} (Q\+Mouse\+Event $\ast$event)
  115. \item
  116. virtual void \hyperlink{class_q_c_p_axis_rect_a4baf3d5dd69166788f6ceda0ea182c6e}{mouse\+Move\+Event} (Q\+Mouse\+Event $\ast$event)
  117. \item
  118. virtual void \hyperlink{class_q_c_p_axis_rect_adf6c99780cea55ab39459a6eaad3a94a}{mouse\+Release\+Event} (Q\+Mouse\+Event $\ast$event)
  119. \item
  120. virtual void \hyperlink{class_q_c_p_axis_rect_a5acf41fc30aa68ea263246ecfad85c31}{wheel\+Event} (Q\+Wheel\+Event $\ast$event)
  121. \item
  122. \hypertarget{class_q_c_p_axis_rect_ab49d338d1ce74b476fcead5b32cf06dc}{}void {\bfseries draw\+Background} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter)\label{class_q_c_p_axis_rect_ab49d338d1ce74b476fcead5b32cf06dc}
  123. \item
  124. \hypertarget{class_q_c_p_axis_rect_a6024ccdc74f5dc0e8a0fe482e5b28a20}{}void {\bfseries update\+Axes\+Offset} (\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type} type)\label{class_q_c_p_axis_rect_a6024ccdc74f5dc0e8a0fe482e5b28a20}
  125. \end{DoxyCompactItemize}
  126. \subsection*{Protected Attributes}
  127. \begin{DoxyCompactItemize}
  128. \item
  129. \hypertarget{class_q_c_p_axis_rect_a5748e1a37f63c428e38b0a7724b46259}{}Q\+Brush {\bfseries m\+Background\+Brush}\label{class_q_c_p_axis_rect_a5748e1a37f63c428e38b0a7724b46259}
  130. \item
  131. \hypertarget{class_q_c_p_axis_rect_a38fb1a15f43228a0c124553649303722}{}Q\+Pixmap {\bfseries m\+Background\+Pixmap}\label{class_q_c_p_axis_rect_a38fb1a15f43228a0c124553649303722}
  132. \item
  133. \hypertarget{class_q_c_p_axis_rect_aa74b9415598d59b49290e41e42d7ee27}{}Q\+Pixmap {\bfseries m\+Scaled\+Background\+Pixmap}\label{class_q_c_p_axis_rect_aa74b9415598d59b49290e41e42d7ee27}
  134. \item
  135. \hypertarget{class_q_c_p_axis_rect_a5ad835f0fae5d7cc5ada9e063641dbf1}{}bool {\bfseries m\+Background\+Scaled}\label{class_q_c_p_axis_rect_a5ad835f0fae5d7cc5ada9e063641dbf1}
  136. \item
  137. \hypertarget{class_q_c_p_axis_rect_a859fd368e794663e346b4f53f35078e9}{}Qt\+::\+Aspect\+Ratio\+Mode {\bfseries m\+Background\+Scaled\+Mode}\label{class_q_c_p_axis_rect_a859fd368e794663e346b4f53f35078e9}
  138. \item
  139. \hypertarget{class_q_c_p_axis_rect_a255240399e0fd24baad80cbbe46f698a}{}\hyperlink{class_q_c_p_layout_inset}{Q\+C\+P\+Layout\+Inset} $\ast$ {\bfseries m\+Inset\+Layout}\label{class_q_c_p_axis_rect_a255240399e0fd24baad80cbbe46f698a}
  140. \item
  141. \hypertarget{class_q_c_p_axis_rect_aa9f107f66ca3469ad50ee6cea7c9e237}{}Qt\+::\+Orientations {\bfseries m\+Range\+Drag}\label{class_q_c_p_axis_rect_aa9f107f66ca3469ad50ee6cea7c9e237}
  142. \item
  143. \hypertarget{class_q_c_p_axis_rect_a215eff671d48df2edccc36e7f976f28c}{}Qt\+::\+Orientations {\bfseries m\+Range\+Zoom}\label{class_q_c_p_axis_rect_a215eff671d48df2edccc36e7f976f28c}
  144. \item
  145. \hypertarget{class_q_c_p_axis_rect_aeaaa38c6d2030dd5f84461e2596e41e3}{}Q\+Pointer$<$ \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $>$ {\bfseries m\+Range\+Drag\+Horz\+Axis}\label{class_q_c_p_axis_rect_aeaaa38c6d2030dd5f84461e2596e41e3}
  146. \item
  147. \hypertarget{class_q_c_p_axis_rect_a3e41dffec18987366f2a8ffd80689c12}{}Q\+Pointer$<$ \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $>$ {\bfseries m\+Range\+Drag\+Vert\+Axis}\label{class_q_c_p_axis_rect_a3e41dffec18987366f2a8ffd80689c12}
  148. \item
  149. \hypertarget{class_q_c_p_axis_rect_ae22f882bab20518559f3fbb84243d0ab}{}Q\+Pointer$<$ \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $>$ {\bfseries m\+Range\+Zoom\+Horz\+Axis}\label{class_q_c_p_axis_rect_ae22f882bab20518559f3fbb84243d0ab}
  150. \item
  151. \hypertarget{class_q_c_p_axis_rect_a8b9acd16a203a9692bd35a9465f54bc1}{}Q\+Pointer$<$ \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $>$ {\bfseries m\+Range\+Zoom\+Vert\+Axis}\label{class_q_c_p_axis_rect_a8b9acd16a203a9692bd35a9465f54bc1}
  152. \item
  153. \hypertarget{class_q_c_p_axis_rect_ad08d0250ed7b99de387d0ea6c7fd4dc1}{}double {\bfseries m\+Range\+Zoom\+Factor\+Horz}\label{class_q_c_p_axis_rect_ad08d0250ed7b99de387d0ea6c7fd4dc1}
  154. \item
  155. \hypertarget{class_q_c_p_axis_rect_a32f063629581d5bf82b12769940b34ad}{}double {\bfseries m\+Range\+Zoom\+Factor\+Vert}\label{class_q_c_p_axis_rect_a32f063629581d5bf82b12769940b34ad}
  156. \item
  157. \hypertarget{class_q_c_p_axis_rect_a41936cf473ec638bec382f5a40cdb1f3}{}\hyperlink{class_q_c_p_range}{Q\+C\+P\+Range} {\bfseries m\+Drag\+Start\+Horz\+Range}\label{class_q_c_p_axis_rect_a41936cf473ec638bec382f5a40cdb1f3}
  158. \item
  159. \hypertarget{class_q_c_p_axis_rect_a1a5ae4c74b8bd46baf91bf4e4f4165f0}{}\hyperlink{class_q_c_p_range}{Q\+C\+P\+Range} {\bfseries m\+Drag\+Start\+Vert\+Range}\label{class_q_c_p_axis_rect_a1a5ae4c74b8bd46baf91bf4e4f4165f0}
  160. \item
  161. \hypertarget{class_q_c_p_axis_rect_aa4a24f76360cfebe1bcf17a77fa7521b}{}Q\+C\+P\+::\+Antialiased\+Elements {\bfseries m\+A\+A\+Drag\+Backup}\label{class_q_c_p_axis_rect_aa4a24f76360cfebe1bcf17a77fa7521b}
  162. \item
  163. \hypertarget{class_q_c_p_axis_rect_a6fcb12e052e276d57efbb128be31d6f5}{}Q\+C\+P\+::\+Antialiased\+Elements {\bfseries m\+Not\+A\+A\+Drag\+Backup}\label{class_q_c_p_axis_rect_a6fcb12e052e276d57efbb128be31d6f5}
  164. \item
  165. \hypertarget{class_q_c_p_axis_rect_a032896b28f83a58010d8d533b78c49df}{}Q\+Point {\bfseries m\+Drag\+Start}\label{class_q_c_p_axis_rect_a032896b28f83a58010d8d533b78c49df}
  166. \item
  167. \hypertarget{class_q_c_p_axis_rect_ab49a6698194cf0e9e38a1d734c0888a8}{}bool {\bfseries m\+Dragging}\label{class_q_c_p_axis_rect_ab49a6698194cf0e9e38a1d734c0888a8}
  168. \item
  169. \hypertarget{class_q_c_p_axis_rect_afe7a24d2a2bea98fc552fa826350ba81}{}Q\+Hash$<$ \hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type}, Q\+List$<$ \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$ $>$ $>$ {\bfseries m\+Axes}\label{class_q_c_p_axis_rect_afe7a24d2a2bea98fc552fa826350ba81}
  170. \end{DoxyCompactItemize}
  171. \subsection*{Friends}
  172. \begin{DoxyCompactItemize}
  173. \item
  174. \hypertarget{class_q_c_p_axis_rect_a1cdf9df76adcfae45261690aa0ca2198}{}class {\bfseries Q\+Custom\+Plot}\label{class_q_c_p_axis_rect_a1cdf9df76adcfae45261690aa0ca2198}
  175. \end{DoxyCompactItemize}
  176. \subsection{Detailed Description}
  177. Holds multiple axes and arranges them in a rectangular shape.
  178. This class represents an axis rect, a rectangular area that is bounded on all sides with an arbitrary number of axes.
  179. Initially \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} has one axis rect, accessible via \hyperlink{class_q_custom_plot_a4a37a1add5fe63060ac518cf0a4c4050}{Q\+Custom\+Plot\+::axis\+Rect()}. However, the layout system allows to have multiple axis rects, e.\+g. arranged in a grid layout (\hyperlink{class_q_custom_plot_afd280d4d621ae64a106543a545c508d7}{Q\+Custom\+Plot\+::plot\+Layout}).
  180. By default, \hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect} comes with four axes, at bottom, top, left and right. They can be accessed via \hyperlink{class_q_c_p_axis_rect_a560de44e47a4af0f86c59102a094b1e4}{axis} by providing the respective axis type (\hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type}) and index. If you need all axes in the axis rect, use \hyperlink{class_q_c_p_axis_rect_a66654d51ca611ef036ded36250cd2518}{axes}. The top and right axes are set to be invisible initially (\hyperlink{class_q_c_p_layerable_a3bed99ddc396b48ce3ebfdc0418744f8}{Q\+C\+P\+Axis\+::set\+Visible}). To add more axes to a side, use \hyperlink{class_q_c_p_axis_rect_acbc382cc7715d23310d65d91f50a4bde}{add\+Axis} or \hyperlink{class_q_c_p_axis_rect_a792e1f3d9cb1591fca135bb0de9b81fc}{add\+Axes}. To remove an axis, use \hyperlink{class_q_c_p_axis_rect_a03c39cd9704f0d36fb6cf980cdddcbaa}{remove\+Axis}.
  181. The axis rect layerable itself only draws a background pixmap or color, if specified (\hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background}). It is placed on the \char`\"{}background\char`\"{} layer initially (see \hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} for an explanation of the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} layer system). The axes that are held by the axis rect can be placed on other layers, independently of the axis rect.
  182. Every axis rect has a child layout of type \hyperlink{class_q_c_p_layout_inset}{Q\+C\+P\+Layout\+Inset}. It is accessible via \hyperlink{class_q_c_p_axis_rect_a4114887c7141b59650b7488f930993e5}{inset\+Layout} and can be used to have other layout elements (or even other layouts with multiple elements) hovering inside the axis rect.
  183. If an axis rect is clicked and dragged, it processes this by moving certain axis ranges. The behaviour can be controlled with \hyperlink{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{set\+Range\+Drag} and \hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{set\+Range\+Drag\+Axes}. If the mouse wheel is scrolled while the cursor is on the axis rect, certain axes are scaled. This is controllable via \hyperlink{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{set\+Range\+Zoom}, \hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{set\+Range\+Zoom\+Axes} and \hyperlink{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}{set\+Range\+Zoom\+Factor}. These interactions are only enabled if \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{Q\+Custom\+Plot\+::set\+Interactions} contains \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}.
  184. \begin{center}Overview of the spacings and paddings that define the geometry of an axis. The dashed line on the far left indicates the viewport/widget border.\end{center}
  185. \subsection{Constructor \& Destructor Documentation}
  186. \hypertarget{class_q_c_p_axis_rect_a60b31dece805462c1b82eea2e69ba042}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  187. \index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  188. \subsubsection[{Q\+C\+P\+Axis\+Rect}]{\setlength{\rightskip}{0pt plus 5cm}Q\+C\+P\+Axis\+Rect\+::\+Q\+C\+P\+Axis\+Rect (
  189. \begin{DoxyParamCaption}
  190. \item[{{\bf Q\+Custom\+Plot} $\ast$}]{parent\+Plot, }
  191. \item[{bool}]{setup\+Default\+Axes = {\ttfamily true}}
  192. \end{DoxyParamCaption}
  193. )\hspace{0.3cm}{\ttfamily [explicit]}}\label{class_q_c_p_axis_rect_a60b31dece805462c1b82eea2e69ba042}
  194. Creates a \hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect} instance and sets default values. An axis is added for each of the four sides, the top and right axes are set invisible initially.
  195. \subsection{Member Function Documentation}
  196. \hypertarget{class_q_c_p_axis_rect_a792e1f3d9cb1591fca135bb0de9b81fc}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!add\+Axes@{add\+Axes}}
  197. \index{add\+Axes@{add\+Axes}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  198. \subsubsection[{add\+Axes}]{\setlength{\rightskip}{0pt plus 5cm}Q\+List$<$ {\bf Q\+C\+P\+Axis} $\ast$ $>$ Q\+C\+P\+Axis\+Rect\+::add\+Axes (
  199. \begin{DoxyParamCaption}
  200. \item[{Q\+C\+P\+Axis\+::\+Axis\+Types}]{types}
  201. \end{DoxyParamCaption}
  202. )}\label{class_q_c_p_axis_rect_a792e1f3d9cb1591fca135bb0de9b81fc}
  203. Adds a new axis with \hyperlink{class_q_c_p_axis_rect_acbc382cc7715d23310d65d91f50a4bde}{add\+Axis} to each axis rect side specified in {\itshape types}. This may be an {\ttfamily or}-\/combination of \hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type}, so axes can be added to multiple sides at once.
  204. Returns a list of the added axes.
  205. \begin{DoxySeeAlso}{See also}
  206. \hyperlink{class_q_c_p_axis_rect_acbc382cc7715d23310d65d91f50a4bde}{add\+Axis}, \hyperlink{class_q_c_p_axis_rect_a5fa906175447b14206954f77fc7f1ef4}{setup\+Full\+Axes\+Box}
  207. \end{DoxySeeAlso}
  208. \hypertarget{class_q_c_p_axis_rect_acbc382cc7715d23310d65d91f50a4bde}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!add\+Axis@{add\+Axis}}
  209. \index{add\+Axis@{add\+Axis}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  210. \subsubsection[{add\+Axis}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Axis} $\ast$ Q\+C\+P\+Axis\+Rect\+::add\+Axis (
  211. \begin{DoxyParamCaption}
  212. \item[{{\bf Q\+C\+P\+Axis\+::\+Axis\+Type}}]{type}
  213. \end{DoxyParamCaption}
  214. )}\label{class_q_c_p_axis_rect_acbc382cc7715d23310d65d91f50a4bde}
  215. Adds a new axis to the axis rect side specified with {\itshape type}, and returns it.
  216. If an axis rect side already contains one or more axes, the lower and upper endings of the new axis (\hyperlink{class_q_c_p_axis_a08af1c72db9ae4dc8cb8a973d44405ab}{Q\+C\+P\+Axis\+::set\+Lower\+Ending}, \hyperlink{class_q_c_p_axis_a69119b892fc306f651763596685aa377}{Q\+C\+P\+Axis\+::set\+Upper\+Ending}) are initialized to \hyperlink{class_q_c_p_line_ending_a5ef16e6876b4b74959c7261d8d4c2cd5a126c390f0c359fcd8df1fc5e38d26d5b}{Q\+C\+P\+Line\+Ending\+::es\+Half\+Bar}.
  217. \begin{DoxySeeAlso}{See also}
  218. \hyperlink{class_q_c_p_axis_rect_a792e1f3d9cb1591fca135bb0de9b81fc}{add\+Axes}, \hyperlink{class_q_c_p_axis_rect_a5fa906175447b14206954f77fc7f1ef4}{setup\+Full\+Axes\+Box}
  219. \end{DoxySeeAlso}
  220. \hypertarget{class_q_c_p_axis_rect_a66654d51ca611ef036ded36250cd2518}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!axes@{axes}}
  221. \index{axes@{axes}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  222. \subsubsection[{axes}]{\setlength{\rightskip}{0pt plus 5cm}Q\+List$<$ {\bf Q\+C\+P\+Axis} $\ast$ $>$ Q\+C\+P\+Axis\+Rect\+::axes (
  223. \begin{DoxyParamCaption}
  224. \item[{Q\+C\+P\+Axis\+::\+Axis\+Types}]{types}
  225. \end{DoxyParamCaption}
  226. ) const}\label{class_q_c_p_axis_rect_a66654d51ca611ef036ded36250cd2518}
  227. Returns all axes on the axis rect sides specified with {\itshape types}.
  228. {\itshape types} may be a single \hyperlink{class_q_c_p_axis_ae2bcc1728b382f10f064612b368bc18a}{Q\+C\+P\+Axis\+::\+Axis\+Type} or an {\ttfamily or}-\/combination, to get the axes of multiple sides.
  229. \begin{DoxySeeAlso}{See also}
  230. \hyperlink{class_q_c_p_axis_rect_a560de44e47a4af0f86c59102a094b1e4}{axis}
  231. \end{DoxySeeAlso}
  232. \hypertarget{class_q_c_p_axis_rect_a18dcdc0dd6c7520bc9f3d15a7a3feec2}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!axes@{axes}}
  233. \index{axes@{axes}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  234. \subsubsection[{axes}]{\setlength{\rightskip}{0pt plus 5cm}Q\+List$<$ {\bf Q\+C\+P\+Axis} $\ast$ $>$ Q\+C\+P\+Axis\+Rect\+::axes (
  235. \begin{DoxyParamCaption}
  236. {}
  237. \end{DoxyParamCaption}
  238. ) const}\label{class_q_c_p_axis_rect_a18dcdc0dd6c7520bc9f3d15a7a3feec2}
  239. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  240. Returns all axes of this axis rect. \hypertarget{class_q_c_p_axis_rect_a560de44e47a4af0f86c59102a094b1e4}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!axis@{axis}}
  241. \index{axis@{axis}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  242. \subsubsection[{axis}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Axis} $\ast$ Q\+C\+P\+Axis\+Rect\+::axis (
  243. \begin{DoxyParamCaption}
  244. \item[{{\bf Q\+C\+P\+Axis\+::\+Axis\+Type}}]{type, }
  245. \item[{int}]{index = {\ttfamily 0}}
  246. \end{DoxyParamCaption}
  247. ) const}\label{class_q_c_p_axis_rect_a560de44e47a4af0f86c59102a094b1e4}
  248. Returns the axis with the given {\itshape index} on the axis rect side specified with {\itshape type}.
  249. \begin{DoxySeeAlso}{See also}
  250. \hyperlink{class_q_c_p_axis_rect_a16e3e4646e52e4b5d5b865076c29ae58}{axis\+Count}, \hyperlink{class_q_c_p_axis_rect_a66654d51ca611ef036ded36250cd2518}{axes}
  251. \end{DoxySeeAlso}
  252. \hypertarget{class_q_c_p_axis_rect_a16e3e4646e52e4b5d5b865076c29ae58}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!axis\+Count@{axis\+Count}}
  253. \index{axis\+Count@{axis\+Count}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  254. \subsubsection[{axis\+Count}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+C\+P\+Axis\+Rect\+::axis\+Count (
  255. \begin{DoxyParamCaption}
  256. \item[{{\bf Q\+C\+P\+Axis\+::\+Axis\+Type}}]{type}
  257. \end{DoxyParamCaption}
  258. ) const}\label{class_q_c_p_axis_rect_a16e3e4646e52e4b5d5b865076c29ae58}
  259. Returns the number of axes on the axis rect side specified with {\itshape type}.
  260. \begin{DoxySeeAlso}{See also}
  261. \hyperlink{class_q_c_p_axis_rect_a560de44e47a4af0f86c59102a094b1e4}{axis}
  262. \end{DoxySeeAlso}
  263. \hypertarget{class_q_c_p_axis_rect_af2b5982ebe7e6f781b9bf1cc371a60d8}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!bottom@{bottom}}
  264. \index{bottom@{bottom}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  265. \subsubsection[{bottom}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+C\+P\+Axis\+Rect\+::bottom (
  266. \begin{DoxyParamCaption}
  267. {}
  268. \end{DoxyParamCaption}
  269. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_axis_rect_af2b5982ebe7e6f781b9bf1cc371a60d8}
  270. Returns the pixel position of the bottom border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}. \hypertarget{class_q_c_p_axis_rect_a724b0333971ea6a338f0dbd814dc97ae}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!bottom\+Left@{bottom\+Left}}
  271. \index{bottom\+Left@{bottom\+Left}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  272. \subsubsection[{bottom\+Left}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Point Q\+C\+P\+Axis\+Rect\+::bottom\+Left (
  273. \begin{DoxyParamCaption}
  274. {}
  275. \end{DoxyParamCaption}
  276. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_axis_rect_a724b0333971ea6a338f0dbd814dc97ae}
  277. Returns the bottom left corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}. \hypertarget{class_q_c_p_axis_rect_a49ea3c7dff834b47e266cbf3d79f78b9}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!bottom\+Right@{bottom\+Right}}
  278. \index{bottom\+Right@{bottom\+Right}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  279. \subsubsection[{bottom\+Right}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Point Q\+C\+P\+Axis\+Rect\+::bottom\+Right (
  280. \begin{DoxyParamCaption}
  281. {}
  282. \end{DoxyParamCaption}
  283. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_axis_rect_a49ea3c7dff834b47e266cbf3d79f78b9}
  284. Returns the bottom right corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}. \hypertarget{class_q_c_p_axis_rect_aea5e6042bca198424fa1bc02fc282e59}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!center@{center}}
  285. \index{center@{center}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  286. \subsubsection[{center}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Point Q\+C\+P\+Axis\+Rect\+::center (
  287. \begin{DoxyParamCaption}
  288. {}
  289. \end{DoxyParamCaption}
  290. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_axis_rect_aea5e6042bca198424fa1bc02fc282e59}
  291. Returns the center of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}. \hypertarget{class_q_c_p_axis_rect_a2bda6bf2b5b5797f92583cecd01c8949}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!elements@{elements}}
  292. \index{elements@{elements}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  293. \subsubsection[{elements}]{\setlength{\rightskip}{0pt plus 5cm}Q\+List$<$ {\bf Q\+C\+P\+Layout\+Element} $\ast$ $>$ Q\+C\+P\+Axis\+Rect\+::elements (
  294. \begin{DoxyParamCaption}
  295. \item[{bool}]{recursive}
  296. \end{DoxyParamCaption}
  297. ) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{class_q_c_p_axis_rect_a2bda6bf2b5b5797f92583cecd01c8949}
  298. Returns a list of all child elements in this layout element. If {\itshape recursive} is true, all sub-\/child elements are included in the list, too.
  299. Note that there may be entries with value 0 in the returned list. (For example, \hyperlink{class_q_c_p_layout_grid}{Q\+C\+P\+Layout\+Grid} may have empty cells which yield 0 at the respective index.)
  300. Reimplemented from \hyperlink{class_q_c_p_layout_element_a311d60d78e62ef8eaaedb1b6ceb9e788}{Q\+C\+P\+Layout\+Element}.
  301. \hypertarget{class_q_c_p_axis_rect_afa4ff90901d9275f670e24b40e3c1b25}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!graphs@{graphs}}
  302. \index{graphs@{graphs}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  303. \subsubsection[{graphs}]{\setlength{\rightskip}{0pt plus 5cm}Q\+List$<$ {\bf Q\+C\+P\+Graph} $\ast$ $>$ Q\+C\+P\+Axis\+Rect\+::graphs (
  304. \begin{DoxyParamCaption}
  305. {}
  306. \end{DoxyParamCaption}
  307. ) const}\label{class_q_c_p_axis_rect_afa4ff90901d9275f670e24b40e3c1b25}
  308. Returns a list of all the graphs that are associated with this axis rect.
  309. A graph is considered associated with an axis rect if its key or value axis (or both) is in this axis rect.
  310. \begin{DoxySeeAlso}{See also}
  311. \hyperlink{class_q_c_p_axis_rect_a5b0d629c8de5572945eeae79a142296e}{plottables}, \hyperlink{class_q_c_p_axis_rect_a0f17ed539962cfcbaca8ce0b1776c840}{items}
  312. \end{DoxySeeAlso}
  313. \hypertarget{class_q_c_p_axis_rect_a1c55c4f3bef40cf01b21820316c8469e}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!height@{height}}
  314. \index{height@{height}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  315. \subsubsection[{height}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+C\+P\+Axis\+Rect\+::height (
  316. \begin{DoxyParamCaption}
  317. {}
  318. \end{DoxyParamCaption}
  319. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_axis_rect_a1c55c4f3bef40cf01b21820316c8469e}
  320. Returns the pixel height of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}. \hypertarget{class_q_c_p_axis_rect_a4114887c7141b59650b7488f930993e5}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!inset\+Layout@{inset\+Layout}}
  321. \index{inset\+Layout@{inset\+Layout}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  322. \subsubsection[{inset\+Layout}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Layout\+Inset} $\ast$ Q\+C\+P\+Axis\+Rect\+::inset\+Layout (
  323. \begin{DoxyParamCaption}
  324. {}
  325. \end{DoxyParamCaption}
  326. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_axis_rect_a4114887c7141b59650b7488f930993e5}
  327. Returns the inset layout of this axis rect. It can be used to place other layout elements (or even layouts with multiple other elements) inside/on top of an axis rect.
  328. \begin{DoxySeeAlso}{See also}
  329. \hyperlink{class_q_c_p_layout_inset}{Q\+C\+P\+Layout\+Inset}
  330. \end{DoxySeeAlso}
  331. \hypertarget{class_q_c_p_axis_rect_a0f17ed539962cfcbaca8ce0b1776c840}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!items@{items}}
  332. \index{items@{items}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  333. \subsubsection[{items}]{\setlength{\rightskip}{0pt plus 5cm}Q\+List$<$ {\bf Q\+C\+P\+Abstract\+Item} $\ast$ $>$ Q\+C\+P\+Axis\+Rect\+::items (
  334. \begin{DoxyParamCaption}
  335. {}
  336. \end{DoxyParamCaption}
  337. ) const}\label{class_q_c_p_axis_rect_a0f17ed539962cfcbaca8ce0b1776c840}
  338. Returns a list of all the items that are associated with this axis rect.
  339. An item is considered associated with an axis rect if any of its positions has key or value axis set to an axis that is in this axis rect, or if any of its positions has \hyperlink{class_q_c_p_item_position_a0cd9b326fb324710169e92e8ca0041c2}{Q\+C\+P\+Item\+Position\+::set\+Axis\+Rect} set to the axis rect, or if the clip axis rect (\hyperlink{class_q_c_p_abstract_item_a7dc75fcbcd10206fe0b75d757ea7a347}{Q\+C\+P\+Abstract\+Item\+::set\+Clip\+Axis\+Rect}) is set to this axis rect.
  340. \begin{DoxySeeAlso}{See also}
  341. \hyperlink{class_q_c_p_axis_rect_a5b0d629c8de5572945eeae79a142296e}{plottables}, \hyperlink{class_q_c_p_axis_rect_afa4ff90901d9275f670e24b40e3c1b25}{graphs}
  342. \end{DoxySeeAlso}
  343. \hypertarget{class_q_c_p_axis_rect_a55b3ecf72a3a65b053f7651b88db458d}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!left@{left}}
  344. \index{left@{left}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  345. \subsubsection[{left}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+C\+P\+Axis\+Rect\+::left (
  346. \begin{DoxyParamCaption}
  347. {}
  348. \end{DoxyParamCaption}
  349. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_axis_rect_a55b3ecf72a3a65b053f7651b88db458d}
  350. Returns the pixel position of the left border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}. \hypertarget{class_q_c_p_axis_rect_a4baf3d5dd69166788f6ceda0ea182c6e}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!mouse\+Move\+Event@{mouse\+Move\+Event}}
  351. \index{mouse\+Move\+Event@{mouse\+Move\+Event}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  352. \subsubsection[{mouse\+Move\+Event}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::mouse\+Move\+Event (
  353. \begin{DoxyParamCaption}
  354. \item[{Q\+Mouse\+Event $\ast$}]{event}
  355. \end{DoxyParamCaption}
  356. )\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\label{class_q_c_p_axis_rect_a4baf3d5dd69166788f6ceda0ea182c6e}
  357. This event is called, if the mouse is moved inside the outer rect of this layout element.
  358. Reimplemented from \hyperlink{class_q_c_p_layout_element_a14f4acf58cdb8dd2c6c571479c4c4a40}{Q\+C\+P\+Layout\+Element}.
  359. \hypertarget{class_q_c_p_axis_rect_a77501dbeccdac7256f7979b05077c04e}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!mouse\+Press\+Event@{mouse\+Press\+Event}}
  360. \index{mouse\+Press\+Event@{mouse\+Press\+Event}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  361. \subsubsection[{mouse\+Press\+Event}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::mouse\+Press\+Event (
  362. \begin{DoxyParamCaption}
  363. \item[{Q\+Mouse\+Event $\ast$}]{event}
  364. \end{DoxyParamCaption}
  365. )\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\label{class_q_c_p_axis_rect_a77501dbeccdac7256f7979b05077c04e}
  366. This event is called, if the mouse was pressed while being inside the outer rect of this layout element.
  367. Reimplemented from \hyperlink{class_q_c_p_layout_element_a2d82ea21fe0ee628f177bd824bc51a71}{Q\+C\+P\+Layout\+Element}.
  368. \hypertarget{class_q_c_p_axis_rect_adf6c99780cea55ab39459a6eaad3a94a}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!mouse\+Release\+Event@{mouse\+Release\+Event}}
  369. \index{mouse\+Release\+Event@{mouse\+Release\+Event}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  370. \subsubsection[{mouse\+Release\+Event}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::mouse\+Release\+Event (
  371. \begin{DoxyParamCaption}
  372. \item[{Q\+Mouse\+Event $\ast$}]{event}
  373. \end{DoxyParamCaption}
  374. )\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\label{class_q_c_p_axis_rect_adf6c99780cea55ab39459a6eaad3a94a}
  375. This event is called, if the mouse was previously pressed inside the outer rect of this layout element and is now released.
  376. Reimplemented from \hyperlink{class_q_c_p_layout_element_ae526ac828cce1e5bb94eaa85776d7404}{Q\+C\+P\+Layout\+Element}.
  377. \hypertarget{class_q_c_p_axis_rect_a5b0d629c8de5572945eeae79a142296e}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!plottables@{plottables}}
  378. \index{plottables@{plottables}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  379. \subsubsection[{plottables}]{\setlength{\rightskip}{0pt plus 5cm}Q\+List$<$ {\bf Q\+C\+P\+Abstract\+Plottable} $\ast$ $>$ Q\+C\+P\+Axis\+Rect\+::plottables (
  380. \begin{DoxyParamCaption}
  381. {}
  382. \end{DoxyParamCaption}
  383. ) const}\label{class_q_c_p_axis_rect_a5b0d629c8de5572945eeae79a142296e}
  384. Returns a list of all the plottables that are associated with this axis rect.
  385. A plottable is considered associated with an axis rect if its key or value axis (or both) is in this axis rect.
  386. \begin{DoxySeeAlso}{See also}
  387. \hyperlink{class_q_c_p_axis_rect_afa4ff90901d9275f670e24b40e3c1b25}{graphs}, \hyperlink{class_q_c_p_axis_rect_a0f17ed539962cfcbaca8ce0b1776c840}{items}
  388. \end{DoxySeeAlso}
  389. \hypertarget{class_q_c_p_axis_rect_a6d7c22cfc54fac7a3d6ef80b133a8574}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!range\+Drag\+Axis@{range\+Drag\+Axis}}
  390. \index{range\+Drag\+Axis@{range\+Drag\+Axis}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  391. \subsubsection[{range\+Drag\+Axis}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Axis} $\ast$ Q\+C\+P\+Axis\+Rect\+::range\+Drag\+Axis (
  392. \begin{DoxyParamCaption}
  393. \item[{Qt\+::\+Orientation}]{orientation}
  394. \end{DoxyParamCaption}
  395. )}\label{class_q_c_p_axis_rect_a6d7c22cfc54fac7a3d6ef80b133a8574}
  396. Returns the range drag axis of the {\itshape orientation} provided.
  397. \begin{DoxySeeAlso}{See also}
  398. \hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{set\+Range\+Drag\+Axes}
  399. \end{DoxySeeAlso}
  400. \hypertarget{class_q_c_p_axis_rect_a679c63f2b8daccfe6ec5110dce3dd3b6}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!range\+Zoom\+Axis@{range\+Zoom\+Axis}}
  401. \index{range\+Zoom\+Axis@{range\+Zoom\+Axis}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  402. \subsubsection[{range\+Zoom\+Axis}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Axis} $\ast$ Q\+C\+P\+Axis\+Rect\+::range\+Zoom\+Axis (
  403. \begin{DoxyParamCaption}
  404. \item[{Qt\+::\+Orientation}]{orientation}
  405. \end{DoxyParamCaption}
  406. )}\label{class_q_c_p_axis_rect_a679c63f2b8daccfe6ec5110dce3dd3b6}
  407. Returns the range zoom axis of the {\itshape orientation} provided.
  408. \begin{DoxySeeAlso}{See also}
  409. \hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{set\+Range\+Zoom\+Axes}
  410. \end{DoxySeeAlso}
  411. \hypertarget{class_q_c_p_axis_rect_ae4e6c4d143aacc88d2d3c56f117c2fe1}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!range\+Zoom\+Factor@{range\+Zoom\+Factor}}
  412. \index{range\+Zoom\+Factor@{range\+Zoom\+Factor}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  413. \subsubsection[{range\+Zoom\+Factor}]{\setlength{\rightskip}{0pt plus 5cm}double Q\+C\+P\+Axis\+Rect\+::range\+Zoom\+Factor (
  414. \begin{DoxyParamCaption}
  415. \item[{Qt\+::\+Orientation}]{orientation}
  416. \end{DoxyParamCaption}
  417. )}\label{class_q_c_p_axis_rect_ae4e6c4d143aacc88d2d3c56f117c2fe1}
  418. Returns the range zoom factor of the {\itshape orientation} provided.
  419. \begin{DoxySeeAlso}{See also}
  420. \hyperlink{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}{set\+Range\+Zoom\+Factor}
  421. \end{DoxySeeAlso}
  422. \hypertarget{class_q_c_p_axis_rect_a03c39cd9704f0d36fb6cf980cdddcbaa}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!remove\+Axis@{remove\+Axis}}
  423. \index{remove\+Axis@{remove\+Axis}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  424. \subsubsection[{remove\+Axis}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+C\+P\+Axis\+Rect\+::remove\+Axis (
  425. \begin{DoxyParamCaption}
  426. \item[{{\bf Q\+C\+P\+Axis} $\ast$}]{axis}
  427. \end{DoxyParamCaption}
  428. )}\label{class_q_c_p_axis_rect_a03c39cd9704f0d36fb6cf980cdddcbaa}
  429. Removes the specified {\itshape axis} from the axis rect and deletes it.
  430. Returns true on success, i.\+e. if {\itshape axis} was a valid axis in this axis rect.
  431. \begin{DoxySeeAlso}{See also}
  432. \hyperlink{class_q_c_p_axis_rect_acbc382cc7715d23310d65d91f50a4bde}{add\+Axis}
  433. \end{DoxySeeAlso}
  434. \hypertarget{class_q_c_p_axis_rect_a6d0f989fc552aa2b563cf82f8fc81e61}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!right@{right}}
  435. \index{right@{right}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  436. \subsubsection[{right}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+C\+P\+Axis\+Rect\+::right (
  437. \begin{DoxyParamCaption}
  438. {}
  439. \end{DoxyParamCaption}
  440. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_axis_rect_a6d0f989fc552aa2b563cf82f8fc81e61}
  441. Returns the pixel position of the right border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}. \hypertarget{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Background@{set\+Background}}
  442. \index{set\+Background@{set\+Background}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  443. \subsubsection[{set\+Background}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::set\+Background (
  444. \begin{DoxyParamCaption}
  445. \item[{const Q\+Pixmap \&}]{pm}
  446. \end{DoxyParamCaption}
  447. )}\label{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}
  448. Sets {\itshape pm} as the axis background pixmap. The axis background pixmap will be drawn inside the axis rect. Since axis rects place themselves on the \char`\"{}background\char`\"{} layer by default, the axis rect backgrounds are usually drawn below everything else.
  449. For cases where the provided pixmap doesn\textquotesingle{}t have the same size as the axis rect, scaling can be enabled with \hyperlink{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}{set\+Background\+Scaled} and the scaling mode (i.\+e. whether and how the aspect ratio is preserved) can be set with \hyperlink{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}{set\+Background\+Scaled\+Mode}. To set all these options in one call, consider using the overloaded version of this function.
  450. Below the pixmap, the axis rect may be optionally filled with a brush, if specified with \hyperlink{class_q_c_p_axis_rect_a22a22b8668735438dc06f9a55fe46b33}{set\+Background(const Q\+Brush \&brush)}.
  451. \begin{DoxySeeAlso}{See also}
  452. \hyperlink{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}{set\+Background\+Scaled}, \hyperlink{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}{set\+Background\+Scaled\+Mode}, \hyperlink{class_q_c_p_axis_rect_a22a22b8668735438dc06f9a55fe46b33}{set\+Background(const Q\+Brush \&brush)}
  453. \end{DoxySeeAlso}
  454. \hypertarget{class_q_c_p_axis_rect_ac48a2d5d9b7732e73b86605c69c5e4c1}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Background@{set\+Background}}
  455. \index{set\+Background@{set\+Background}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  456. \subsubsection[{set\+Background}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::set\+Background (
  457. \begin{DoxyParamCaption}
  458. \item[{const Q\+Pixmap \&}]{pm, }
  459. \item[{bool}]{scaled, }
  460. \item[{Qt\+::\+Aspect\+Ratio\+Mode}]{mode = {\ttfamily Qt\+:\+:KeepAspectRatioByExpanding}}
  461. \end{DoxyParamCaption}
  462. )}\label{class_q_c_p_axis_rect_ac48a2d5d9b7732e73b86605c69c5e4c1}
  463. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  464. Allows setting the background pixmap of the axis rect, whether it shall be scaled and how it shall be scaled in one call.
  465. \begin{DoxySeeAlso}{See also}
  466. \hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background(const Q\+Pixmap \&pm)}, \hyperlink{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}{set\+Background\+Scaled}, \hyperlink{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}{set\+Background\+Scaled\+Mode}
  467. \end{DoxySeeAlso}
  468. \hypertarget{class_q_c_p_axis_rect_a22a22b8668735438dc06f9a55fe46b33}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Background@{set\+Background}}
  469. \index{set\+Background@{set\+Background}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  470. \subsubsection[{set\+Background}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::set\+Background (
  471. \begin{DoxyParamCaption}
  472. \item[{const Q\+Brush \&}]{brush}
  473. \end{DoxyParamCaption}
  474. )}\label{class_q_c_p_axis_rect_a22a22b8668735438dc06f9a55fe46b33}
  475. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  476. Sets {\itshape brush} as the background brush. The axis rect background will be filled with this brush. Since axis rects place themselves on the \char`\"{}background\char`\"{} layer by default, the axis rect backgrounds are usually drawn below everything else.
  477. The brush will be drawn before (under) any background pixmap, which may be specified with \hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background(const Q\+Pixmap \&pm)}.
  478. To disable drawing of a background brush, set {\itshape brush} to Qt\+::\+No\+Brush.
  479. \begin{DoxySeeAlso}{See also}
  480. \hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background(const Q\+Pixmap \&pm)}
  481. \end{DoxySeeAlso}
  482. \hypertarget{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Background\+Scaled@{set\+Background\+Scaled}}
  483. \index{set\+Background\+Scaled@{set\+Background\+Scaled}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  484. \subsubsection[{set\+Background\+Scaled}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::set\+Background\+Scaled (
  485. \begin{DoxyParamCaption}
  486. \item[{bool}]{scaled}
  487. \end{DoxyParamCaption}
  488. )}\label{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}
  489. Sets whether the axis background pixmap shall be scaled to fit the axis rect or not. If {\itshape scaled} is set to true, you may control whether and how the aspect ratio of the original pixmap is preserved with \hyperlink{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}{set\+Background\+Scaled\+Mode}.
  490. Note that the scaled version of the original pixmap is buffered, so there is no performance penalty on replots. (Except when the axis rect dimensions are changed continuously.)
  491. \begin{DoxySeeAlso}{See also}
  492. \hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background}, \hyperlink{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}{set\+Background\+Scaled\+Mode}
  493. \end{DoxySeeAlso}
  494. \hypertarget{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Background\+Scaled\+Mode@{set\+Background\+Scaled\+Mode}}
  495. \index{set\+Background\+Scaled\+Mode@{set\+Background\+Scaled\+Mode}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  496. \subsubsection[{set\+Background\+Scaled\+Mode}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::set\+Background\+Scaled\+Mode (
  497. \begin{DoxyParamCaption}
  498. \item[{Qt\+::\+Aspect\+Ratio\+Mode}]{mode}
  499. \end{DoxyParamCaption}
  500. )}\label{class_q_c_p_axis_rect_a5ef77ea829c9de7ba248e473f48f7305}
  501. If scaling of the axis background pixmap is enabled (\hyperlink{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}{set\+Background\+Scaled}), use this function to define whether and how the aspect ratio of the original pixmap passed to \hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background} is preserved. \begin{DoxySeeAlso}{See also}
  502. \hyperlink{class_q_c_p_axis_rect_af615ab5e52b8e0a9a0eff415b6559db5}{set\+Background}, \hyperlink{class_q_c_p_axis_rect_ae6d36c3e0e968ffb991170a018e7b503}{set\+Background\+Scaled}
  503. \end{DoxySeeAlso}
  504. \hypertarget{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Range\+Drag@{set\+Range\+Drag}}
  505. \index{set\+Range\+Drag@{set\+Range\+Drag}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  506. \subsubsection[{set\+Range\+Drag}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag (
  507. \begin{DoxyParamCaption}
  508. \item[{Qt\+::\+Orientations}]{orientations}
  509. \end{DoxyParamCaption}
  510. )}\label{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}
  511. Sets which axis orientation may be range dragged by the user with mouse interaction. What orientation corresponds to which specific axis can be set with \hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{set\+Range\+Drag\+Axes(\+Q\+C\+P\+Axis $\ast$horizontal, Q\+C\+P\+Axis $\ast$vertical)}. By default, the horizontal axis is the bottom axis (x\+Axis) and the vertical axis is the left axis (y\+Axis).
  512. To disable range dragging entirely, pass 0 as {\itshape orientations} or remove \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18}{Q\+C\+P\+::i\+Range\+Drag} from \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{Q\+Custom\+Plot\+::set\+Interactions}. To enable range dragging for both directions, pass {\ttfamily Qt\+::\+Horizontal $\vert$ Qt\+::\+Vertical} as {\itshape orientations}.
  513. In addition to setting {\itshape orientations} to a non-\/zero value, make sure \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{Q\+Custom\+Plot\+::set\+Interactions} contains \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18}{Q\+C\+P\+::i\+Range\+Drag} to enable the range dragging interaction.
  514. \begin{DoxySeeAlso}{See also}
  515. \hyperlink{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{set\+Range\+Zoom}, \hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{set\+Range\+Drag\+Axes}, set\+No\+Antialiasing\+On\+Drag
  516. \end{DoxySeeAlso}
  517. \hypertarget{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Range\+Drag\+Axes@{set\+Range\+Drag\+Axes}}
  518. \index{set\+Range\+Drag\+Axes@{set\+Range\+Drag\+Axes}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  519. \subsubsection[{set\+Range\+Drag\+Axes}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::set\+Range\+Drag\+Axes (
  520. \begin{DoxyParamCaption}
  521. \item[{{\bf Q\+C\+P\+Axis} $\ast$}]{horizontal, }
  522. \item[{{\bf Q\+C\+P\+Axis} $\ast$}]{vertical}
  523. \end{DoxyParamCaption}
  524. )}\label{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}
  525. Sets the axes whose range will be dragged when \hyperlink{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{set\+Range\+Drag} enables mouse range dragging on the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget.
  526. \begin{DoxySeeAlso}{See also}
  527. \hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{set\+Range\+Zoom\+Axes}
  528. \end{DoxySeeAlso}
  529. \hypertarget{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Range\+Zoom@{set\+Range\+Zoom}}
  530. \index{set\+Range\+Zoom@{set\+Range\+Zoom}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  531. \subsubsection[{set\+Range\+Zoom}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom (
  532. \begin{DoxyParamCaption}
  533. \item[{Qt\+::\+Orientations}]{orientations}
  534. \end{DoxyParamCaption}
  535. )}\label{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}
  536. Sets which axis orientation may be zoomed by the user with the mouse wheel. What orientation corresponds to which specific axis can be set with \hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{set\+Range\+Zoom\+Axes}(\hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$horizontal, \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis} $\ast$vertical). By default, the horizontal axis is the bottom axis (x\+Axis) and the vertical axis is the left axis (y\+Axis).
  537. To disable range zooming entirely, pass 0 as {\itshape orientations} or remove \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14}{Q\+C\+P\+::i\+Range\+Zoom} from \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{Q\+Custom\+Plot\+::set\+Interactions}. To enable range zooming for both directions, pass {\ttfamily Qt\+::\+Horizontal $\vert$ Qt\+::\+Vertical} as {\itshape orientations}.
  538. In addition to setting {\itshape orientations} to a non-\/zero value, make sure \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{Q\+Custom\+Plot\+::set\+Interactions} contains \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14}{Q\+C\+P\+::i\+Range\+Zoom} to enable the range zooming interaction.
  539. \begin{DoxySeeAlso}{See also}
  540. \hyperlink{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}{set\+Range\+Zoom\+Factor}, \hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{set\+Range\+Zoom\+Axes}, \hyperlink{class_q_c_p_axis_rect_ae6aef2f7211ba6097c925dcd26008418}{set\+Range\+Drag}
  541. \end{DoxySeeAlso}
  542. \hypertarget{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Range\+Zoom\+Axes@{set\+Range\+Zoom\+Axes}}
  543. \index{set\+Range\+Zoom\+Axes@{set\+Range\+Zoom\+Axes}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  544. \subsubsection[{set\+Range\+Zoom\+Axes}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom\+Axes (
  545. \begin{DoxyParamCaption}
  546. \item[{{\bf Q\+C\+P\+Axis} $\ast$}]{horizontal, }
  547. \item[{{\bf Q\+C\+P\+Axis} $\ast$}]{vertical}
  548. \end{DoxyParamCaption}
  549. )}\label{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}
  550. Sets the axes whose range will be zoomed when \hyperlink{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{set\+Range\+Zoom} enables mouse wheel zooming on the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} widget. The two axes can be zoomed with different strengths, when different factors are passed to \hyperlink{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}{set\+Range\+Zoom\+Factor(double horizontal\+Factor, double vertical\+Factor)}.
  551. \begin{DoxySeeAlso}{See also}
  552. \hyperlink{class_q_c_p_axis_rect_a648cce336bd99daac4a5ca3e5743775d}{set\+Range\+Drag\+Axes}
  553. \end{DoxySeeAlso}
  554. \hypertarget{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Range\+Zoom\+Factor@{set\+Range\+Zoom\+Factor}}
  555. \index{set\+Range\+Zoom\+Factor@{set\+Range\+Zoom\+Factor}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  556. \subsubsection[{set\+Range\+Zoom\+Factor}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom\+Factor (
  557. \begin{DoxyParamCaption}
  558. \item[{double}]{horizontal\+Factor, }
  559. \item[{double}]{vertical\+Factor}
  560. \end{DoxyParamCaption}
  561. )}\label{class_q_c_p_axis_rect_a895d7ac745ea614e04056244b3c138ac}
  562. Sets how strong one rotation step of the mouse wheel zooms, when range zoom was activated with \hyperlink{class_q_c_p_axis_rect_a7960a9d222f1c31d558b064b60f86a31}{set\+Range\+Zoom}. The two parameters {\itshape horizontal\+Factor} and {\itshape vertical\+Factor} provide a way to let the horizontal axis zoom at different rates than the vertical axis. Which axis is horizontal and which is vertical, can be set with \hyperlink{class_q_c_p_axis_rect_a9442cca2aa358405f39a64d51eca13d2}{set\+Range\+Zoom\+Axes}.
  563. When the zoom factor is greater than one, scrolling the mouse wheel backwards (towards the user) will zoom in (make the currently visible range smaller). For zoom factors smaller than one, the same scrolling direction will zoom out. \hypertarget{class_q_c_p_axis_rect_ae83d187b03fc6fa4f00765ad50cd3fc3}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!set\+Range\+Zoom\+Factor@{set\+Range\+Zoom\+Factor}}
  564. \index{set\+Range\+Zoom\+Factor@{set\+Range\+Zoom\+Factor}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  565. \subsubsection[{set\+Range\+Zoom\+Factor}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::set\+Range\+Zoom\+Factor (
  566. \begin{DoxyParamCaption}
  567. \item[{double}]{factor}
  568. \end{DoxyParamCaption}
  569. )}\label{class_q_c_p_axis_rect_ae83d187b03fc6fa4f00765ad50cd3fc3}
  570. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
  571. Sets both the horizontal and vertical zoom {\itshape factor}. \hypertarget{class_q_c_p_axis_rect_a5fa906175447b14206954f77fc7f1ef4}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!setup\+Full\+Axes\+Box@{setup\+Full\+Axes\+Box}}
  572. \index{setup\+Full\+Axes\+Box@{setup\+Full\+Axes\+Box}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  573. \subsubsection[{setup\+Full\+Axes\+Box}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::setup\+Full\+Axes\+Box (
  574. \begin{DoxyParamCaption}
  575. \item[{bool}]{connect\+Ranges = {\ttfamily false}}
  576. \end{DoxyParamCaption}
  577. )}\label{class_q_c_p_axis_rect_a5fa906175447b14206954f77fc7f1ef4}
  578. Convenience function to create an axis on each side that doesn\textquotesingle{}t have any axes yet, and assign the top/right axes the following properties of the bottom/left axes (even if they already existed and weren\textquotesingle{}t created by this function)\+:
  579. \begin{DoxyItemize}
  580. \item range (\hyperlink{class_q_c_p_axis_aebdfea5d44c3a0ad2b4700cd4d25b641}{Q\+C\+P\+Axis\+::set\+Range}) \item range reversed (\hyperlink{class_q_c_p_axis_a2172fdb196b1a0dc3f40992fcad8e9e1}{Q\+C\+P\+Axis\+::set\+Range\+Reversed}) \item scale type (\hyperlink{class_q_c_p_axis_adb6c5c45bdf899ea221881dd3b43b406}{Q\+C\+P\+Axis\+::set\+Scale\+Type}) \item scale log base (\hyperlink{class_q_c_p_axis_a726186054be90487885a748aa1b42188}{Q\+C\+P\+Axis\+::set\+Scale\+Log\+Base}) \item ticks (\hyperlink{class_q_c_p_axis_ac891409315bc379e3b1abdb162c1a011}{Q\+C\+P\+Axis\+::set\+Ticks}) \item auto (major) tick count (\hyperlink{class_q_c_p_axis_a7c7111cbeac9ec5fcb40f93a1ef51a0b}{Q\+C\+P\+Axis\+::set\+Auto\+Tick\+Count}) \item sub tick count (\hyperlink{class_q_c_p_axis_a4b1554ead9d7f9799650d51383e326dd}{Q\+C\+P\+Axis\+::set\+Sub\+Tick\+Count}) \item auto sub ticks (\hyperlink{class_q_c_p_axis_adcbdec7a60054b88571e89599f4a45bf}{Q\+C\+P\+Axis\+::set\+Auto\+Sub\+Ticks}) \item tick step (\hyperlink{class_q_c_p_axis_af727db0acc6492c4c774c0700e738205}{Q\+C\+P\+Axis\+::set\+Tick\+Step}) \item auto tick step (\hyperlink{class_q_c_p_axis_a99fe77b034e06f5b723995beab96e741}{Q\+C\+P\+Axis\+::set\+Auto\+Tick\+Step})\end{DoxyItemize}
  581. Tick labels (\hyperlink{class_q_c_p_axis_a04ba16e1f6f78d70f938519576ed32c8}{Q\+C\+P\+Axis\+::set\+Tick\+Labels}) of the right and top axes are set to false.
  582. If {\itshape connect\+Ranges} is true, the range\+Changed signals of the bottom and left axes are connected to the \hyperlink{class_q_c_p_axis_aebdfea5d44c3a0ad2b4700cd4d25b641}{Q\+C\+P\+Axis\+::set\+Range} slots of the top and right axes. \hypertarget{class_q_c_p_axis_rect_a871b9fe49e92b39a3cbe29a59e458536}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!size@{size}}
  583. \index{size@{size}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  584. \subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Size Q\+C\+P\+Axis\+Rect\+::size (
  585. \begin{DoxyParamCaption}
  586. {}
  587. \end{DoxyParamCaption}
  588. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_axis_rect_a871b9fe49e92b39a3cbe29a59e458536}
  589. Returns the pixel size of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}. \hypertarget{class_q_c_p_axis_rect_ac45aef1eb75cea46b241b6303028a607}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!top@{top}}
  590. \index{top@{top}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  591. \subsubsection[{top}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+C\+P\+Axis\+Rect\+::top (
  592. \begin{DoxyParamCaption}
  593. {}
  594. \end{DoxyParamCaption}
  595. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_axis_rect_ac45aef1eb75cea46b241b6303028a607}
  596. Returns the pixel position of the top border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}. \hypertarget{class_q_c_p_axis_rect_a88acbe716bcf5072790a6f95637c40d8}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!top\+Left@{top\+Left}}
  597. \index{top\+Left@{top\+Left}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  598. \subsubsection[{top\+Left}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Point Q\+C\+P\+Axis\+Rect\+::top\+Left (
  599. \begin{DoxyParamCaption}
  600. {}
  601. \end{DoxyParamCaption}
  602. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_axis_rect_a88acbe716bcf5072790a6f95637c40d8}
  603. Returns the top left corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}. \hypertarget{class_q_c_p_axis_rect_a232409546394c23b59407bc62fa460a8}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!top\+Right@{top\+Right}}
  604. \index{top\+Right@{top\+Right}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  605. \subsubsection[{top\+Right}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Point Q\+C\+P\+Axis\+Rect\+::top\+Right (
  606. \begin{DoxyParamCaption}
  607. {}
  608. \end{DoxyParamCaption}
  609. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_axis_rect_a232409546394c23b59407bc62fa460a8}
  610. Returns the top right corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}. \hypertarget{class_q_c_p_axis_rect_a8bdf6f76baa7b6c464706bce9b975a27}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!update@{update}}
  611. \index{update@{update}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  612. \subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::update (
  613. \begin{DoxyParamCaption}
  614. {}
  615. \end{DoxyParamCaption}
  616. )\hspace{0.3cm}{\ttfamily [virtual]}}\label{class_q_c_p_axis_rect_a8bdf6f76baa7b6c464706bce9b975a27}
  617. This method is called automatically upon replot and doesn\textquotesingle{}t need to be called by users of \hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect}.
  618. Calls the base class implementation to update the margins (see \hyperlink{class_q_c_p_layout_element_a46d52cb1f07ba05564920321f4ada184}{Q\+C\+P\+Layout\+Element\+::update}), and finally passes the \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect} to the inset layout (\hyperlink{class_q_c_p_axis_rect_a4114887c7141b59650b7488f930993e5}{inset\+Layout}) and calls its Q\+C\+P\+Inset\+Layout\+::update function.
  619. Reimplemented from \hyperlink{class_q_c_p_layout_element_a46d52cb1f07ba05564920321f4ada184}{Q\+C\+P\+Layout\+Element}.
  620. \hypertarget{class_q_c_p_axis_rect_a5acf41fc30aa68ea263246ecfad85c31}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!wheel\+Event@{wheel\+Event}}
  621. \index{wheel\+Event@{wheel\+Event}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  622. \subsubsection[{wheel\+Event}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Axis\+Rect\+::wheel\+Event (
  623. \begin{DoxyParamCaption}
  624. \item[{Q\+Wheel\+Event $\ast$}]{event}
  625. \end{DoxyParamCaption}
  626. )\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}\label{class_q_c_p_axis_rect_a5acf41fc30aa68ea263246ecfad85c31}
  627. This event is called, if the mouse wheel is scrolled while the cursor is inside the rect of this layout element.
  628. Reimplemented from \hyperlink{class_q_c_p_layout_element_a300521d2fd18a893c1b85f6be11ce2bf}{Q\+C\+P\+Layout\+Element}.
  629. \hypertarget{class_q_c_p_axis_rect_a45bf5c17f4ca29131b7eb0db06efc259}{}\index{Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}!width@{width}}
  630. \index{width@{width}!Q\+C\+P\+Axis\+Rect@{Q\+C\+P\+Axis\+Rect}}
  631. \subsubsection[{width}]{\setlength{\rightskip}{0pt plus 5cm}int Q\+C\+P\+Axis\+Rect\+::width (
  632. \begin{DoxyParamCaption}
  633. {}
  634. \end{DoxyParamCaption}
  635. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_axis_rect_a45bf5c17f4ca29131b7eb0db06efc259}
  636. Returns the pixel width of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}.
  637. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
  638. \item
  639. \hyperlink{qcustomplot_8h}{qcustomplot.\+h}\item
  640. \hyperlink{qcustomplot_8cpp}{qcustomplot.\+cpp}\end{DoxyCompactItemize}