No Description

class_q_c_p_layout_element.tex 36KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. \hypertarget{class_q_c_p_layout_element}{}\section{Referencia de la Clase Q\+C\+P\+Layout\+Element}
  2. \label{class_q_c_p_layout_element}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  3. The abstract base class for all objects that form \hyperlink{thelayoutsystem}{the layout system}.
  4. Diagrama de herencias de Q\+C\+P\+Layout\+Element\begin{figure}[H]
  5. \begin{center}
  6. \leavevmode
  7. \includegraphics[height=5.283019cm]{class_q_c_p_layout_element}
  8. \end{center}
  9. \end{figure}
  10. \subsection*{Métodos públicos}
  11. \begin{DoxyCompactItemize}
  12. \item
  13. \hyperlink{class_q_c_p_layout_element_a8947f0ada17e672aaba3d424cbbb67e3}{Q\+C\+P\+Layout\+Element} (\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} $\ast$parent\+Plot=0)
  14. \item
  15. \hyperlink{class_q_c_p_layout}{Q\+C\+P\+Layout} $\ast$ \hyperlink{class_q_c_p_layout_element_a6235f5384db871fc6e3387a1bc558b0d}{layout} () const
  16. \item
  17. Q\+Rect \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect} () const
  18. \item
  19. \hypertarget{class_q_c_p_layout_element_a60bbddee2d1230c2414bd776f44d17b8}{}Q\+Rect {\bfseries outer\+Rect} () const \label{class_q_c_p_layout_element_a60bbddee2d1230c2414bd776f44d17b8}
  20. \item
  21. \hypertarget{class_q_c_p_layout_element_a85ff977dfcced84eef32d9f819ec9543}{}Q\+Margins {\bfseries margins} () const \label{class_q_c_p_layout_element_a85ff977dfcced84eef32d9f819ec9543}
  22. \item
  23. \hypertarget{class_q_c_p_layout_element_a60ec7f377c26726174d536bffb632002}{}Q\+Margins {\bfseries minimum\+Margins} () const \label{class_q_c_p_layout_element_a60ec7f377c26726174d536bffb632002}
  24. \item
  25. \hypertarget{class_q_c_p_layout_element_a2f499b1179b3126e22d0d7508124ccb3}{}Q\+C\+P\+::\+Margin\+Sides {\bfseries auto\+Margins} () const \label{class_q_c_p_layout_element_a2f499b1179b3126e22d0d7508124ccb3}
  26. \item
  27. \hypertarget{class_q_c_p_layout_element_ae71f9230171d2d898e21dc461fc3df03}{}Q\+Size {\bfseries minimum\+Size} () const \label{class_q_c_p_layout_element_ae71f9230171d2d898e21dc461fc3df03}
  28. \item
  29. \hypertarget{class_q_c_p_layout_element_a1fc85c79e15c2ab8051eccd455fccc4a}{}Q\+Size {\bfseries maximum\+Size} () const \label{class_q_c_p_layout_element_a1fc85c79e15c2ab8051eccd455fccc4a}
  30. \item
  31. \hypertarget{class_q_c_p_layout_element_a22cb1bb62c452fd802e43ca2524660db}{}\hyperlink{class_q_c_p_margin_group}{Q\+C\+P\+Margin\+Group} $\ast$ {\bfseries margin\+Group} (\hyperlink{namespace_q_c_p_a7e487e3e2ccb62ab7771065bab7cae54}{Q\+C\+P\+::\+Margin\+Side} side) const \label{class_q_c_p_layout_element_a22cb1bb62c452fd802e43ca2524660db}
  32. \item
  33. \hypertarget{class_q_c_p_layout_element_ac43921c997570389c14a1671bc3ea499}{}Q\+Hash$<$ \hyperlink{namespace_q_c_p_a7e487e3e2ccb62ab7771065bab7cae54}{Q\+C\+P\+::\+Margin\+Side}, \hyperlink{class_q_c_p_margin_group}{Q\+C\+P\+Margin\+Group} $\ast$ $>$ {\bfseries margin\+Groups} () const \label{class_q_c_p_layout_element_ac43921c997570389c14a1671bc3ea499}
  34. \item
  35. void \hyperlink{class_q_c_p_layout_element_a38975ea13e36de8e53391ce41d94bc0f}{set\+Outer\+Rect} (const Q\+Rect \&\hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect})
  36. \item
  37. void \hyperlink{class_q_c_p_layout_element_a8f450b1f3f992ad576fce2c63d8b79cf}{set\+Margins} (const Q\+Margins \&margins)
  38. \item
  39. void \hyperlink{class_q_c_p_layout_element_a0a8a17abc16b7923159fcc7608f94673}{set\+Minimum\+Margins} (const Q\+Margins \&margins)
  40. \item
  41. void \hyperlink{class_q_c_p_layout_element_accfda49994e3e6d51ed14504abf9d27d}{set\+Auto\+Margins} (Q\+C\+P\+::\+Margin\+Sides sides)
  42. \item
  43. void \hyperlink{class_q_c_p_layout_element_a5dd29a3c8bc88440c97c06b67be7886b}{set\+Minimum\+Size} (const Q\+Size \&size)
  44. \item
  45. void \hyperlink{class_q_c_p_layout_element_a8e0447614a0bf92de9a7304588c6b96e}{set\+Minimum\+Size} (int width, int height)
  46. \item
  47. void \hyperlink{class_q_c_p_layout_element_a74eb5280a737ab44833d506db65efd95}{set\+Maximum\+Size} (const Q\+Size \&size)
  48. \item
  49. void \hyperlink{class_q_c_p_layout_element_a03e0e9c48f230217c529b0819f832d84}{set\+Maximum\+Size} (int width, int height)
  50. \item
  51. void \hyperlink{class_q_c_p_layout_element_a516e56f76b6bc100e8e71d329866847d}{set\+Margin\+Group} (Q\+C\+P\+::\+Margin\+Sides sides, \hyperlink{class_q_c_p_margin_group}{Q\+C\+P\+Margin\+Group} $\ast$group)
  52. \item
  53. virtual void \hyperlink{class_q_c_p_layout_element_a46d52cb1f07ba05564920321f4ada184}{update} ()
  54. \item
  55. virtual Q\+Size \hyperlink{class_q_c_p_layout_element_aebe14fb71f858c0f98caf8d342a9864a}{minimum\+Size\+Hint} () const
  56. \item
  57. virtual Q\+Size \hyperlink{class_q_c_p_layout_element_adbd3a00fec44c977150c6be7329eb801}{maximum\+Size\+Hint} () const
  58. \item
  59. virtual Q\+List$<$ \hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element} $\ast$ $>$ \hyperlink{class_q_c_p_layout_element_a311d60d78e62ef8eaaedb1b6ceb9e788}{elements} (bool recursive) const
  60. \item
  61. virtual double \hyperlink{class_q_c_p_layout_element_a9fcf5d0ea19f2c23b2b528bce2c6f095}{select\+Test} (const Q\+Point\+F \&pos, bool only\+Selectable, Q\+Variant $\ast$details=0) const
  62. \end{DoxyCompactItemize}
  63. \subsection*{Métodos protegidos}
  64. \begin{DoxyCompactItemize}
  65. \item
  66. \hypertarget{class_q_c_p_layout_element_a005c9f0fe84bc1591a2cf2c46fd477b4}{}virtual int {\bfseries calculate\+Auto\+Margin} (\hyperlink{namespace_q_c_p_a7e487e3e2ccb62ab7771065bab7cae54}{Q\+C\+P\+::\+Margin\+Side} side)\label{class_q_c_p_layout_element_a005c9f0fe84bc1591a2cf2c46fd477b4}
  67. \item
  68. virtual void \hyperlink{class_q_c_p_layout_element_a2d82ea21fe0ee628f177bd824bc51a71}{mouse\+Press\+Event} (Q\+Mouse\+Event $\ast$event)
  69. \item
  70. virtual void \hyperlink{class_q_c_p_layout_element_a14f4acf58cdb8dd2c6c571479c4c4a40}{mouse\+Move\+Event} (Q\+Mouse\+Event $\ast$event)
  71. \item
  72. virtual void \hyperlink{class_q_c_p_layout_element_ae526ac828cce1e5bb94eaa85776d7404}{mouse\+Release\+Event} (Q\+Mouse\+Event $\ast$event)
  73. \item
  74. virtual void \hyperlink{class_q_c_p_layout_element_aa8fef6486cb6ceb7c82cbdd50bc32ee9}{mouse\+Double\+Click\+Event} (Q\+Mouse\+Event $\ast$event)
  75. \item
  76. virtual void \hyperlink{class_q_c_p_layout_element_a300521d2fd18a893c1b85f6be11ce2bf}{wheel\+Event} (Q\+Wheel\+Event $\ast$event)
  77. \item
  78. \hypertarget{class_q_c_p_layout_element_ad6d2b4bb0291c2441b2e1ca3d5296df5}{}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_layout_element_ad6d2b4bb0291c2441b2e1ca3d5296df5}
  79. \item
  80. \hypertarget{class_q_c_p_layout_element_a547bcc1e6e2be5645ca781efe0834653}{}virtual void {\bfseries draw} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter)\label{class_q_c_p_layout_element_a547bcc1e6e2be5645ca781efe0834653}
  81. \item
  82. \hypertarget{class_q_c_p_layout_element_a1478899e80e8244b411e96ec3b2e5ce2}{}virtual void {\bfseries parent\+Plot\+Initialized} (\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} $\ast$parent\+Plot)\label{class_q_c_p_layout_element_a1478899e80e8244b411e96ec3b2e5ce2}
  83. \end{DoxyCompactItemize}
  84. \subsection*{Atributos protegidos}
  85. \begin{DoxyCompactItemize}
  86. \item
  87. \hypertarget{class_q_c_p_layout_element_ae7c75c25549608bd688bdb65d4c38066}{}\hyperlink{class_q_c_p_layout}{Q\+C\+P\+Layout} $\ast$ {\bfseries m\+Parent\+Layout}\label{class_q_c_p_layout_element_ae7c75c25549608bd688bdb65d4c38066}
  88. \item
  89. \hypertarget{class_q_c_p_layout_element_affef747c81632de33f08483b7fd10d01}{}Q\+Size {\bfseries m\+Minimum\+Size}\label{class_q_c_p_layout_element_affef747c81632de33f08483b7fd10d01}
  90. \item
  91. \hypertarget{class_q_c_p_layout_element_a64a387973fd4addac842028c89088998}{}Q\+Size {\bfseries m\+Maximum\+Size}\label{class_q_c_p_layout_element_a64a387973fd4addac842028c89088998}
  92. \item
  93. \hypertarget{class_q_c_p_layout_element_ad8896f05550389f7b9e92c9e6cdf6e01}{}Q\+Rect {\bfseries m\+Rect}\label{class_q_c_p_layout_element_ad8896f05550389f7b9e92c9e6cdf6e01}
  94. \item
  95. \hypertarget{class_q_c_p_layout_element_a07bb4973379e75cb0fa5b032c1d24afd}{}Q\+Rect {\bfseries m\+Outer\+Rect}\label{class_q_c_p_layout_element_a07bb4973379e75cb0fa5b032c1d24afd}
  96. \item
  97. \hypertarget{class_q_c_p_layout_element_ac2a32b99ee527ca5dfff9da03628fe94}{}Q\+Margins {\bfseries m\+Margins}\label{class_q_c_p_layout_element_ac2a32b99ee527ca5dfff9da03628fe94}
  98. \item
  99. \hypertarget{class_q_c_p_layout_element_a5ba71f25d1af4bb092b28df618538e63}{}Q\+Margins {\bfseries m\+Minimum\+Margins}\label{class_q_c_p_layout_element_a5ba71f25d1af4bb092b28df618538e63}
  100. \item
  101. \hypertarget{class_q_c_p_layout_element_af61c70354d1275778d68206b2a1b2d36}{}Q\+C\+P\+::\+Margin\+Sides {\bfseries m\+Auto\+Margins}\label{class_q_c_p_layout_element_af61c70354d1275778d68206b2a1b2d36}
  102. \item
  103. \hypertarget{class_q_c_p_layout_element_aeafbbc1130e02eee663c5326761fc963}{}Q\+Hash$<$ \hyperlink{namespace_q_c_p_a7e487e3e2ccb62ab7771065bab7cae54}{Q\+C\+P\+::\+Margin\+Side}, \hyperlink{class_q_c_p_margin_group}{Q\+C\+P\+Margin\+Group} $\ast$ $>$ {\bfseries m\+Margin\+Groups}\label{class_q_c_p_layout_element_aeafbbc1130e02eee663c5326761fc963}
  104. \end{DoxyCompactItemize}
  105. \subsection*{Amigas}
  106. \begin{DoxyCompactItemize}
  107. \item
  108. \hypertarget{class_q_c_p_layout_element_a1cdf9df76adcfae45261690aa0ca2198}{}class {\bfseries Q\+Custom\+Plot}\label{class_q_c_p_layout_element_a1cdf9df76adcfae45261690aa0ca2198}
  109. \item
  110. \hypertarget{class_q_c_p_layout_element_a588aac0a0d721f6c5f10126d8596a20f}{}class {\bfseries Q\+C\+P\+Layout}\label{class_q_c_p_layout_element_a588aac0a0d721f6c5f10126d8596a20f}
  111. \item
  112. \hypertarget{class_q_c_p_layout_element_ad077a686e85ab6fa03dcb2fd37fc499a}{}class {\bfseries Q\+C\+P\+Margin\+Group}\label{class_q_c_p_layout_element_ad077a686e85ab6fa03dcb2fd37fc499a}
  113. \end{DoxyCompactItemize}
  114. \subsection{Descripción detallada}
  115. The abstract base class for all objects that form \hyperlink{thelayoutsystem}{the layout system}.
  116. This is an abstract base class. As such, it can\textquotesingle{}t be instantiated directly, rather use one of its subclasses.
  117. A Layout element is a rectangular object which can be placed in layouts. It has an outer rect (Q\+C\+P\+Layout\+Element\+::outer\+Rect) and an inner rect (\hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{Q\+C\+P\+Layout\+Element\+::rect}). The difference between outer and inner rect is called its margin. The margin can either be set to automatic or manual (\hyperlink{class_q_c_p_layout_element_accfda49994e3e6d51ed14504abf9d27d}{set\+Auto\+Margins}) on a per-\/side basis. If a side is set to manual, that margin can be set explicitly with \hyperlink{class_q_c_p_layout_element_a8f450b1f3f992ad576fce2c63d8b79cf}{set\+Margins} and will stay fixed at that value. If it\textquotesingle{}s set to automatic, the layout element subclass will control the value itself (via calculate\+Auto\+Margin).
  118. Layout elements can be placed in layouts (base class \hyperlink{class_q_c_p_layout}{Q\+C\+P\+Layout}) like \hyperlink{class_q_c_p_layout_grid}{Q\+C\+P\+Layout\+Grid}. The top level layout is reachable via \hyperlink{class_q_custom_plot_afd280d4d621ae64a106543a545c508d7}{Q\+Custom\+Plot\+::plot\+Layout}, and is a \hyperlink{class_q_c_p_layout_grid}{Q\+C\+P\+Layout\+Grid}. Since \hyperlink{class_q_c_p_layout}{Q\+C\+P\+Layout} itself derives from \hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element}, layouts can be nested.
  119. Thus in \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} one can divide layout elements into two categories\+: The ones that are invisible by themselves, because they don\textquotesingle{}t draw anything. Their only purpose is to manage the position and size of other layout elements. This category of layout elements usually use \hyperlink{class_q_c_p_layout}{Q\+C\+P\+Layout} as base class. Then there is the category of layout elements which actually draw something. For example, \hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect}, \hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend} and \hyperlink{class_q_c_p_plot_title}{Q\+C\+P\+Plot\+Title} are of this category. This does not necessarily mean that the latter category can\textquotesingle{}t have child layout elements. \hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend} for instance, actually derives from \hyperlink{class_q_c_p_layout_grid}{Q\+C\+P\+Layout\+Grid} and the individual legend items are child layout elements in the grid layout.
  120. \subsection{Documentación del constructor y destructor}
  121. \hypertarget{class_q_c_p_layout_element_a8947f0ada17e672aaba3d424cbbb67e3}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  122. \index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  123. \subsubsection[{Q\+C\+P\+Layout\+Element}]{\setlength{\rightskip}{0pt plus 5cm}Q\+C\+P\+Layout\+Element\+::\+Q\+C\+P\+Layout\+Element (
  124. \begin{DoxyParamCaption}
  125. \item[{{\bf Q\+Custom\+Plot} $\ast$}]{parent\+Plot = {\ttfamily 0}}
  126. \end{DoxyParamCaption}
  127. )\hspace{0.3cm}{\ttfamily [explicit]}}\label{class_q_c_p_layout_element_a8947f0ada17e672aaba3d424cbbb67e3}
  128. Creates an instance of \hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element} and sets default values.
  129. \subsection{Documentación de las funciones miembro}
  130. \hypertarget{class_q_c_p_layout_element_a311d60d78e62ef8eaaedb1b6ceb9e788}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!elements@{elements}}
  131. \index{elements@{elements}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  132. \subsubsection[{elements}]{\setlength{\rightskip}{0pt plus 5cm}Q\+List$<$ {\bf Q\+C\+P\+Layout\+Element} $\ast$ $>$ Q\+C\+P\+Layout\+Element\+::elements (
  133. \begin{DoxyParamCaption}
  134. \item[{bool}]{recursive}
  135. \end{DoxyParamCaption}
  136. ) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{class_q_c_p_layout_element_a311d60d78e62ef8eaaedb1b6ceb9e788}
  137. 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.
  138. 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.)
  139. Reimplementado en \hyperlink{class_q_c_p_axis_rect_a2bda6bf2b5b5797f92583cecd01c8949}{Q\+C\+P\+Axis\+Rect}, \hyperlink{class_q_c_p_layout_grid_ae9e24e01552f6667b6d05b12a54a4caa}{Q\+C\+P\+Layout\+Grid} y \hyperlink{class_q_c_p_layout_a51fe2675b53e829130b229bc1f7b0f99}{Q\+C\+P\+Layout}.
  140. \hypertarget{class_q_c_p_layout_element_a6235f5384db871fc6e3387a1bc558b0d}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!layout@{layout}}
  141. \index{layout@{layout}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  142. \subsubsection[{layout}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Layout} $\ast$ Q\+C\+P\+Layout\+Element\+::layout (
  143. \begin{DoxyParamCaption}
  144. {}
  145. \end{DoxyParamCaption}
  146. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_layout_element_a6235f5384db871fc6e3387a1bc558b0d}
  147. Returns the parent layout of this layout element. \hypertarget{class_q_c_p_layout_element_adbd3a00fec44c977150c6be7329eb801}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!maximum\+Size\+Hint@{maximum\+Size\+Hint}}
  148. \index{maximum\+Size\+Hint@{maximum\+Size\+Hint}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  149. \subsubsection[{maximum\+Size\+Hint}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Size Q\+C\+P\+Layout\+Element\+::maximum\+Size\+Hint (
  150. \begin{DoxyParamCaption}
  151. {}
  152. \end{DoxyParamCaption}
  153. ) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{class_q_c_p_layout_element_adbd3a00fec44c977150c6be7329eb801}
  154. Returns the maximum size this layout element (the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}) may be expanded to.
  155. if a maximum size (\hyperlink{class_q_c_p_layout_element_a74eb5280a737ab44833d506db65efd95}{set\+Maximum\+Size}) was not set manually, parent layouts consult this function to determine the maximum allowed size of this layout element. (A manual maximum size is considered set if it is smaller than Qt\textquotesingle{}s Q\+W\+I\+D\+G\+E\+T\+S\+I\+Z\+E\+\_\+\+M\+A\+X.)
  156. Reimplementado en \hyperlink{class_q_c_p_plot_title_a2afaf11a379038e5ca58040a0eb0ae4c}{Q\+C\+P\+Plot\+Title} y \hyperlink{class_q_c_p_layout_grid_a1ec4bf5914900a51829a7919f74aa58c}{Q\+C\+P\+Layout\+Grid}.
  157. \hypertarget{class_q_c_p_layout_element_aebe14fb71f858c0f98caf8d342a9864a}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!minimum\+Size\+Hint@{minimum\+Size\+Hint}}
  158. \index{minimum\+Size\+Hint@{minimum\+Size\+Hint}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  159. \subsubsection[{minimum\+Size\+Hint}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Size Q\+C\+P\+Layout\+Element\+::minimum\+Size\+Hint (
  160. \begin{DoxyParamCaption}
  161. {}
  162. \end{DoxyParamCaption}
  163. ) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{class_q_c_p_layout_element_aebe14fb71f858c0f98caf8d342a9864a}
  164. Returns the minimum size this layout element (the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}) may be compressed to.
  165. if a minimum size (\hyperlink{class_q_c_p_layout_element_a5dd29a3c8bc88440c97c06b67be7886b}{set\+Minimum\+Size}) was not set manually, parent layouts consult this function to determine the minimum allowed size of this layout element. (A manual minimum size is considered set if it is non-\/zero.)
  166. Reimplementado en \hyperlink{class_q_c_p_plot_title_a695e6037e72a1e129387e7e4a980faea}{Q\+C\+P\+Plot\+Title}, \hyperlink{class_q_c_p_plottable_legend_item_a76bad654ebc8e870392f488419a6a483}{Q\+C\+P\+Plottable\+Legend\+Item} y \hyperlink{class_q_c_p_layout_grid_a67aae235fb4dd9a479aafe07462ef9ee}{Q\+C\+P\+Layout\+Grid}.
  167. \hypertarget{class_q_c_p_layout_element_aa8fef6486cb6ceb7c82cbdd50bc32ee9}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!mouse\+Double\+Click\+Event@{mouse\+Double\+Click\+Event}}
  168. \index{mouse\+Double\+Click\+Event@{mouse\+Double\+Click\+Event}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  169. \subsubsection[{mouse\+Double\+Click\+Event}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::mouse\+Double\+Click\+Event (
  170. \begin{DoxyParamCaption}
  171. \item[{Q\+Mouse\+Event $\ast$}]{event}
  172. \end{DoxyParamCaption}
  173. )\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}\label{class_q_c_p_layout_element_aa8fef6486cb6ceb7c82cbdd50bc32ee9}
  174. This event is called, if the mouse is double-\/clicked inside the outer rect of this layout element. \hypertarget{class_q_c_p_layout_element_a14f4acf58cdb8dd2c6c571479c4c4a40}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!mouse\+Move\+Event@{mouse\+Move\+Event}}
  175. \index{mouse\+Move\+Event@{mouse\+Move\+Event}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  176. \subsubsection[{mouse\+Move\+Event}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::mouse\+Move\+Event (
  177. \begin{DoxyParamCaption}
  178. \item[{Q\+Mouse\+Event $\ast$}]{event}
  179. \end{DoxyParamCaption}
  180. )\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}\label{class_q_c_p_layout_element_a14f4acf58cdb8dd2c6c571479c4c4a40}
  181. This event is called, if the mouse is moved inside the outer rect of this layout element.
  182. Reimplementado en \hyperlink{class_q_c_p_axis_rect_a4baf3d5dd69166788f6ceda0ea182c6e}{Q\+C\+P\+Axis\+Rect}.
  183. \hypertarget{class_q_c_p_layout_element_a2d82ea21fe0ee628f177bd824bc51a71}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!mouse\+Press\+Event@{mouse\+Press\+Event}}
  184. \index{mouse\+Press\+Event@{mouse\+Press\+Event}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  185. \subsubsection[{mouse\+Press\+Event}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::mouse\+Press\+Event (
  186. \begin{DoxyParamCaption}
  187. \item[{Q\+Mouse\+Event $\ast$}]{event}
  188. \end{DoxyParamCaption}
  189. )\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}\label{class_q_c_p_layout_element_a2d82ea21fe0ee628f177bd824bc51a71}
  190. This event is called, if the mouse was pressed while being inside the outer rect of this layout element.
  191. Reimplementado en \hyperlink{class_q_c_p_axis_rect_a77501dbeccdac7256f7979b05077c04e}{Q\+C\+P\+Axis\+Rect}.
  192. \hypertarget{class_q_c_p_layout_element_ae526ac828cce1e5bb94eaa85776d7404}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!mouse\+Release\+Event@{mouse\+Release\+Event}}
  193. \index{mouse\+Release\+Event@{mouse\+Release\+Event}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  194. \subsubsection[{mouse\+Release\+Event}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::mouse\+Release\+Event (
  195. \begin{DoxyParamCaption}
  196. \item[{Q\+Mouse\+Event $\ast$}]{event}
  197. \end{DoxyParamCaption}
  198. )\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}\label{class_q_c_p_layout_element_ae526ac828cce1e5bb94eaa85776d7404}
  199. This event is called, if the mouse was previously pressed inside the outer rect of this layout element and is now released.
  200. Reimplementado en \hyperlink{class_q_c_p_axis_rect_adf6c99780cea55ab39459a6eaad3a94a}{Q\+C\+P\+Axis\+Rect}.
  201. \hypertarget{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!rect@{rect}}
  202. \index{rect@{rect}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  203. \subsubsection[{rect}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Rect Q\+C\+P\+Layout\+Element\+::rect (
  204. \begin{DoxyParamCaption}
  205. {}
  206. \end{DoxyParamCaption}
  207. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}
  208. Returns the inner rect of this layout element. The inner rect is the outer rect (\hyperlink{class_q_c_p_layout_element_a38975ea13e36de8e53391ce41d94bc0f}{set\+Outer\+Rect}) shrinked by the margins (\hyperlink{class_q_c_p_layout_element_a8f450b1f3f992ad576fce2c63d8b79cf}{set\+Margins}, \hyperlink{class_q_c_p_layout_element_accfda49994e3e6d51ed14504abf9d27d}{set\+Auto\+Margins}).
  209. In some cases, the area between outer and inner rect is left blank. In other cases the margin area is used to display peripheral graphics while the main content is in the inner rect. This is where automatic margin calculation becomes interesting because it allows the layout element to adapt the margins to the peripheral graphics it wants to draw. For example, \hyperlink{class_q_c_p_axis_rect}{Q\+C\+P\+Axis\+Rect} draws the axis labels and tick labels in the margin area, thus needs to adjust the margins (if \hyperlink{class_q_c_p_layout_element_accfda49994e3e6d51ed14504abf9d27d}{set\+Auto\+Margins} is enabled) according to the space required by the labels of the axes. \hypertarget{class_q_c_p_layout_element_a9fcf5d0ea19f2c23b2b528bce2c6f095}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!select\+Test@{select\+Test}}
  210. \index{select\+Test@{select\+Test}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  211. \subsubsection[{select\+Test}]{\setlength{\rightskip}{0pt plus 5cm}double Q\+C\+P\+Layout\+Element\+::select\+Test (
  212. \begin{DoxyParamCaption}
  213. \item[{const Q\+Point\+F \&}]{pos, }
  214. \item[{bool}]{only\+Selectable, }
  215. \item[{Q\+Variant $\ast$}]{details = {\ttfamily 0}}
  216. \end{DoxyParamCaption}
  217. ) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{class_q_c_p_layout_element_a9fcf5d0ea19f2c23b2b528bce2c6f095}
  218. Layout elements are sensitive to events inside their outer rect. If {\itshape pos} is within the outer rect, this method returns a value corresponding to 0.\+99 times the parent plot\textquotesingle{}s selection tolerance. However, layout elements are not selectable by default. So if {\itshape only\+Selectable} is true, -\/1.\+0 is returned.
  219. See \hyperlink{class_q_c_p_layerable_a4001c4d0dfec55598efa4d531f2179a9}{Q\+C\+P\+Layerable\+::select\+Test} for a general explanation of this virtual method.
  220. \hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element} subclasses may reimplement this method to provide more specific selection test behaviour.
  221. Reimplementado de \hyperlink{class_q_c_p_layerable_a4001c4d0dfec55598efa4d531f2179a9}{Q\+C\+P\+Layerable}.
  222. Reimplementado en \hyperlink{class_q_c_p_plot_title_a5b7ae716be9134a48f4e378feb0e6699}{Q\+C\+P\+Plot\+Title}, \hyperlink{class_q_c_p_legend_aa3892801051bc7b985e003576df844db}{Q\+C\+P\+Legend}, \hyperlink{class_q_c_p_abstract_legend_item_ad0480d5cad34627a294a2921caa4a62f}{Q\+C\+P\+Abstract\+Legend\+Item} y \hyperlink{class_q_c_p_layout_inset_ab5a2f2b88c05e369fd7da9583d17aa3a}{Q\+C\+P\+Layout\+Inset}.
  223. \hypertarget{class_q_c_p_layout_element_accfda49994e3e6d51ed14504abf9d27d}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!set\+Auto\+Margins@{set\+Auto\+Margins}}
  224. \index{set\+Auto\+Margins@{set\+Auto\+Margins}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  225. \subsubsection[{set\+Auto\+Margins}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::set\+Auto\+Margins (
  226. \begin{DoxyParamCaption}
  227. \item[{Q\+C\+P\+::\+Margin\+Sides}]{sides}
  228. \end{DoxyParamCaption}
  229. )}\label{class_q_c_p_layout_element_accfda49994e3e6d51ed14504abf9d27d}
  230. Sets on which sides the margin shall be calculated automatically. If a side is calculated automatically, a minimum margin value may be provided with \hyperlink{class_q_c_p_layout_element_a0a8a17abc16b7923159fcc7608f94673}{set\+Minimum\+Margins}. If a side is set to be controlled manually, the value may be specified with \hyperlink{class_q_c_p_layout_element_a8f450b1f3f992ad576fce2c63d8b79cf}{set\+Margins}.
  231. Margin sides that are under automatic control may participate in a \hyperlink{class_q_c_p_margin_group}{Q\+C\+P\+Margin\+Group} (see \hyperlink{class_q_c_p_layout_element_a516e56f76b6bc100e8e71d329866847d}{set\+Margin\+Group}), to synchronize (align) it with other layout elements in the plot.
  232. \begin{DoxySeeAlso}{Ver también}
  233. \hyperlink{class_q_c_p_layout_element_a0a8a17abc16b7923159fcc7608f94673}{set\+Minimum\+Margins}, \hyperlink{class_q_c_p_layout_element_a8f450b1f3f992ad576fce2c63d8b79cf}{set\+Margins}
  234. \end{DoxySeeAlso}
  235. \hypertarget{class_q_c_p_layout_element_a516e56f76b6bc100e8e71d329866847d}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!set\+Margin\+Group@{set\+Margin\+Group}}
  236. \index{set\+Margin\+Group@{set\+Margin\+Group}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  237. \subsubsection[{set\+Margin\+Group}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::set\+Margin\+Group (
  238. \begin{DoxyParamCaption}
  239. \item[{Q\+C\+P\+::\+Margin\+Sides}]{sides, }
  240. \item[{{\bf Q\+C\+P\+Margin\+Group} $\ast$}]{group}
  241. \end{DoxyParamCaption}
  242. )}\label{class_q_c_p_layout_element_a516e56f76b6bc100e8e71d329866847d}
  243. Sets the margin {\itshape group} of the specified margin {\itshape sides}.
  244. Margin groups allow synchronizing specified margins across layout elements, see the documentation of \hyperlink{class_q_c_p_margin_group}{Q\+C\+P\+Margin\+Group}.
  245. To unset the margin group of {\itshape sides}, set {\itshape group} to 0.
  246. Note that margin groups only work for margin sides that are set to automatic (\hyperlink{class_q_c_p_layout_element_accfda49994e3e6d51ed14504abf9d27d}{set\+Auto\+Margins}). \hypertarget{class_q_c_p_layout_element_a8f450b1f3f992ad576fce2c63d8b79cf}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!set\+Margins@{set\+Margins}}
  247. \index{set\+Margins@{set\+Margins}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  248. \subsubsection[{set\+Margins}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::set\+Margins (
  249. \begin{DoxyParamCaption}
  250. \item[{const Q\+Margins \&}]{margins}
  251. \end{DoxyParamCaption}
  252. )}\label{class_q_c_p_layout_element_a8f450b1f3f992ad576fce2c63d8b79cf}
  253. Sets the margins of this layout element. If \hyperlink{class_q_c_p_layout_element_accfda49994e3e6d51ed14504abf9d27d}{set\+Auto\+Margins} is disabled for some or all sides, this function is used to manually set the margin on those sides. Sides that are still set to be handled automatically are ignored and may have any value in {\itshape margins}.
  254. The margin is the distance between the outer rect (controlled by the parent layout via \hyperlink{class_q_c_p_layout_element_a38975ea13e36de8e53391ce41d94bc0f}{set\+Outer\+Rect}) and the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect} (which usually contains the main content of this layout element).
  255. \begin{DoxySeeAlso}{Ver también}
  256. \hyperlink{class_q_c_p_layout_element_accfda49994e3e6d51ed14504abf9d27d}{set\+Auto\+Margins}
  257. \end{DoxySeeAlso}
  258. \hypertarget{class_q_c_p_layout_element_a74eb5280a737ab44833d506db65efd95}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!set\+Maximum\+Size@{set\+Maximum\+Size}}
  259. \index{set\+Maximum\+Size@{set\+Maximum\+Size}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  260. \subsubsection[{set\+Maximum\+Size}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::set\+Maximum\+Size (
  261. \begin{DoxyParamCaption}
  262. \item[{const Q\+Size \&}]{size}
  263. \end{DoxyParamCaption}
  264. )}\label{class_q_c_p_layout_element_a74eb5280a737ab44833d506db65efd95}
  265. Sets the maximum size for the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect} of this layout element. A parent layout tries to respect the {\itshape size} here by changing row/column sizes in the layout accordingly. \hypertarget{class_q_c_p_layout_element_a03e0e9c48f230217c529b0819f832d84}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!set\+Maximum\+Size@{set\+Maximum\+Size}}
  266. \index{set\+Maximum\+Size@{set\+Maximum\+Size}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  267. \subsubsection[{set\+Maximum\+Size}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::set\+Maximum\+Size (
  268. \begin{DoxyParamCaption}
  269. \item[{int}]{width, }
  270. \item[{int}]{height}
  271. \end{DoxyParamCaption}
  272. )}\label{class_q_c_p_layout_element_a03e0e9c48f230217c529b0819f832d84}
  273. Esta es una función miembro sobrecargada que se suministra por conveniencia. Difiere de la anterior función solamente en los argumentos que acepta.
  274. Sets the maximum size for the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect} of this layout element. \hypertarget{class_q_c_p_layout_element_a0a8a17abc16b7923159fcc7608f94673}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!set\+Minimum\+Margins@{set\+Minimum\+Margins}}
  275. \index{set\+Minimum\+Margins@{set\+Minimum\+Margins}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  276. \subsubsection[{set\+Minimum\+Margins}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::set\+Minimum\+Margins (
  277. \begin{DoxyParamCaption}
  278. \item[{const Q\+Margins \&}]{margins}
  279. \end{DoxyParamCaption}
  280. )}\label{class_q_c_p_layout_element_a0a8a17abc16b7923159fcc7608f94673}
  281. If \hyperlink{class_q_c_p_layout_element_accfda49994e3e6d51ed14504abf9d27d}{set\+Auto\+Margins} is enabled on some or all margins, this function is used to provide minimum values for those margins.
  282. The minimum values are not enforced on margin sides that were set to be under manual control via \hyperlink{class_q_c_p_layout_element_accfda49994e3e6d51ed14504abf9d27d}{set\+Auto\+Margins}.
  283. \begin{DoxySeeAlso}{Ver también}
  284. \hyperlink{class_q_c_p_layout_element_accfda49994e3e6d51ed14504abf9d27d}{set\+Auto\+Margins}
  285. \end{DoxySeeAlso}
  286. \hypertarget{class_q_c_p_layout_element_a5dd29a3c8bc88440c97c06b67be7886b}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!set\+Minimum\+Size@{set\+Minimum\+Size}}
  287. \index{set\+Minimum\+Size@{set\+Minimum\+Size}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  288. \subsubsection[{set\+Minimum\+Size}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::set\+Minimum\+Size (
  289. \begin{DoxyParamCaption}
  290. \item[{const Q\+Size \&}]{size}
  291. \end{DoxyParamCaption}
  292. )}\label{class_q_c_p_layout_element_a5dd29a3c8bc88440c97c06b67be7886b}
  293. Sets the minimum size for the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect} of this layout element. A parent layout tries to respect the {\itshape size} here by changing row/column sizes in the layout accordingly.
  294. If the parent layout size is not sufficient to satisfy all minimum size constraints of its child layout elements, the layout may set a size that is actually smaller than {\itshape size}. \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} propagates the layout\textquotesingle{}s size constraints to the outside by setting its own minimum Q\+Widget size accordingly, so violations of {\itshape size} should be exceptions. \hypertarget{class_q_c_p_layout_element_a8e0447614a0bf92de9a7304588c6b96e}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!set\+Minimum\+Size@{set\+Minimum\+Size}}
  295. \index{set\+Minimum\+Size@{set\+Minimum\+Size}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  296. \subsubsection[{set\+Minimum\+Size}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::set\+Minimum\+Size (
  297. \begin{DoxyParamCaption}
  298. \item[{int}]{width, }
  299. \item[{int}]{height}
  300. \end{DoxyParamCaption}
  301. )}\label{class_q_c_p_layout_element_a8e0447614a0bf92de9a7304588c6b96e}
  302. Esta es una función miembro sobrecargada que se suministra por conveniencia. Difiere de la anterior función solamente en los argumentos que acepta.
  303. Sets the minimum size for the inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect} of this layout element. \hypertarget{class_q_c_p_layout_element_a38975ea13e36de8e53391ce41d94bc0f}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!set\+Outer\+Rect@{set\+Outer\+Rect}}
  304. \index{set\+Outer\+Rect@{set\+Outer\+Rect}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  305. \subsubsection[{set\+Outer\+Rect}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::set\+Outer\+Rect (
  306. \begin{DoxyParamCaption}
  307. \item[{const Q\+Rect \&}]{rect}
  308. \end{DoxyParamCaption}
  309. )}\label{class_q_c_p_layout_element_a38975ea13e36de8e53391ce41d94bc0f}
  310. Sets the outer rect of this layout element. If the layout element is inside a layout, the layout sets the position and size of this layout element using this function.
  311. Calling this function externally has no effect, since the layout will overwrite any changes to the outer rect upon the next replot.
  312. The layout element will adapt its inner \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect} by applying the margins inward to the outer rect.
  313. \begin{DoxySeeAlso}{Ver también}
  314. \hyperlink{class_q_c_p_layout_element_affdfea003469aac3d0fac5f4e06171bc}{rect}
  315. \end{DoxySeeAlso}
  316. \hypertarget{class_q_c_p_layout_element_a46d52cb1f07ba05564920321f4ada184}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!update@{update}}
  317. \index{update@{update}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  318. \subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::update (
  319. \begin{DoxyParamCaption}
  320. {}
  321. \end{DoxyParamCaption}
  322. )\hspace{0.3cm}{\ttfamily [virtual]}}\label{class_q_c_p_layout_element_a46d52cb1f07ba05564920321f4ada184}
  323. Updates the layout element and sub-\/elements. This function is automatically called upon replot by the parent layout element.
  324. Layout elements that have child elements should call the \hyperlink{class_q_c_p_layout_element_a46d52cb1f07ba05564920321f4ada184}{update} method of their child elements.
  325. The default implementation executes the automatic margin mechanism, so subclasses should make sure to call the base class implementation.
  326. Reimplementado en \hyperlink{class_q_c_p_axis_rect_a8bdf6f76baa7b6c464706bce9b975a27}{Q\+C\+P\+Axis\+Rect} y \hyperlink{class_q_c_p_layout_a91321049c2e37e372abd118095f65b87}{Q\+C\+P\+Layout}.
  327. \hypertarget{class_q_c_p_layout_element_a300521d2fd18a893c1b85f6be11ce2bf}{}\index{Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}!wheel\+Event@{wheel\+Event}}
  328. \index{wheel\+Event@{wheel\+Event}!Q\+C\+P\+Layout\+Element@{Q\+C\+P\+Layout\+Element}}
  329. \subsubsection[{wheel\+Event}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layout\+Element\+::wheel\+Event (
  330. \begin{DoxyParamCaption}
  331. \item[{Q\+Wheel\+Event $\ast$}]{event}
  332. \end{DoxyParamCaption}
  333. )\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}\label{class_q_c_p_layout_element_a300521d2fd18a893c1b85f6be11ce2bf}
  334. This event is called, if the mouse wheel is scrolled while the cursor is inside the rect of this layout element.
  335. Reimplementado en \hyperlink{class_q_c_p_axis_rect_a5acf41fc30aa68ea263246ecfad85c31}{Q\+C\+P\+Axis\+Rect}.
  336. La documentación para esta clase fue generada a partir de los siguientes ficheros\+:\begin{DoxyCompactItemize}
  337. \item
  338. \hyperlink{qcustomplot_8h}{qcustomplot.\+h}\item
  339. \hyperlink{qcustomplot_8cpp}{qcustomplot.\+cpp}\end{DoxyCompactItemize}