Sin descripción

class_q_c_p_layerable.tex 20KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. \hypertarget{class_q_c_p_layerable}{}\section{Referencia de la Clase Q\+C\+P\+Layerable}
  2. \label{class_q_c_p_layerable}\index{Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}}
  3. Base class for all drawable objects.
  4. Diagrama de herencias de Q\+C\+P\+Layerable\begin{figure}[H]
  5. \begin{center}
  6. \leavevmode
  7. \includegraphics[height=6.075950cm]{class_q_c_p_layerable}
  8. \end{center}
  9. \end{figure}
  10. \subsection*{Métodos públicos}
  11. \begin{DoxyCompactItemize}
  12. \item
  13. \hyperlink{class_q_c_p_layerable_a76592e80a4657e03da4bfd91aab91ef3}{Q\+C\+P\+Layerable} (\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} $\ast$plot, Q\+String target\+Layer=\char`\"{}\char`\"{}, \hyperlink{class_q_c_p_layerable}{Q\+C\+P\+Layerable} $\ast$\hyperlink{class_q_c_p_layerable_a98d79f5b716d45eac4347befe546d0ec}{parent\+Layerable}=0)
  14. \item
  15. \hypertarget{class_q_c_p_layerable_a10a3cc92e0fa63e4a929e61d34e275a7}{}bool {\bfseries visible} () const \label{class_q_c_p_layerable_a10a3cc92e0fa63e4a929e61d34e275a7}
  16. \item
  17. \hypertarget{class_q_c_p_layerable_ab7e0e94461566093d36ffc0f5312b109}{}\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} $\ast$ {\bfseries parent\+Plot} () const \label{class_q_c_p_layerable_ab7e0e94461566093d36ffc0f5312b109}
  18. \item
  19. \hyperlink{class_q_c_p_layerable}{Q\+C\+P\+Layerable} $\ast$ \hyperlink{class_q_c_p_layerable_a98d79f5b716d45eac4347befe546d0ec}{parent\+Layerable} () const
  20. \item
  21. \hypertarget{class_q_c_p_layerable_aea67e8c19145e70d68c286a36f6b8300}{}\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} $\ast$ {\bfseries layer} () const \label{class_q_c_p_layerable_aea67e8c19145e70d68c286a36f6b8300}
  22. \item
  23. \hypertarget{class_q_c_p_layerable_aef5cb4aa899ed9dc9384fd614560291e}{}bool {\bfseries antialiased} () const \label{class_q_c_p_layerable_aef5cb4aa899ed9dc9384fd614560291e}
  24. \item
  25. void \hyperlink{class_q_c_p_layerable_a3bed99ddc396b48ce3ebfdc0418744f8}{set\+Visible} (bool on)
  26. \item
  27. bool \hyperlink{class_q_c_p_layerable_ab0d0da6d2de45a118886d2c8e16d5a54}{set\+Layer} (\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} $\ast$layer)
  28. \item
  29. bool \hyperlink{class_q_c_p_layerable_ab25a0e7b897993b44447caee0f142083}{set\+Layer} (const Q\+String \&layer\+Name)
  30. \item
  31. void \hyperlink{class_q_c_p_layerable_a4fd43e89be4a553ead41652565ff0581}{set\+Antialiased} (bool enabled)
  32. \item
  33. virtual double \hyperlink{class_q_c_p_layerable_a4001c4d0dfec55598efa4d531f2179a9}{select\+Test} (const Q\+Point\+F \&pos, bool only\+Selectable, Q\+Variant $\ast$details=0) const
  34. \item
  35. bool \hyperlink{class_q_c_p_layerable_a30809f7455e9794bca7b6c737622fa63}{real\+Visibility} () const
  36. \end{DoxyCompactItemize}
  37. \subsection*{Métodos protegidos}
  38. \begin{DoxyCompactItemize}
  39. \item
  40. \hypertarget{class_q_c_p_layerable_ab20b7dbd8e0249ed61adb9622c427382}{}virtual void {\bfseries parent\+Plot\+Initialized} (\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} $\ast$parent\+Plot)\label{class_q_c_p_layerable_ab20b7dbd8e0249ed61adb9622c427382}
  41. \item
  42. \hypertarget{class_q_c_p_layerable_aa4035e586b7f317a06ba7e74e242a5ea}{}virtual \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037}{Q\+C\+P\+::\+Interaction} {\bfseries selection\+Category} () const \label{class_q_c_p_layerable_aa4035e586b7f317a06ba7e74e242a5ea}
  43. \item
  44. \hypertarget{class_q_c_p_layerable_a07a8f746640c3704b09910df297afcba}{}virtual Q\+Rect {\bfseries clip\+Rect} () const \label{class_q_c_p_layerable_a07a8f746640c3704b09910df297afcba}
  45. \item
  46. \hypertarget{class_q_c_p_layerable_afdf83ddc6a265cbf4c89fe99d3d93473}{}virtual void {\bfseries apply\+Default\+Antialiasing\+Hint} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter) const =0\label{class_q_c_p_layerable_afdf83ddc6a265cbf4c89fe99d3d93473}
  47. \item
  48. \hypertarget{class_q_c_p_layerable_aecf2f7087482d4b6a78cb2770e5ed12d}{}virtual void {\bfseries draw} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter)=0\label{class_q_c_p_layerable_aecf2f7087482d4b6a78cb2770e5ed12d}
  49. \item
  50. \hypertarget{class_q_c_p_layerable_a7498c2d0d081cf7cad0fb3bb93aa0e91}{}virtual void {\bfseries select\+Event} (Q\+Mouse\+Event $\ast$event, bool additive, const Q\+Variant \&details, bool $\ast$selection\+State\+Changed)\label{class_q_c_p_layerable_a7498c2d0d081cf7cad0fb3bb93aa0e91}
  51. \item
  52. \hypertarget{class_q_c_p_layerable_ae546370644a5551c76af739afc008bee}{}virtual void {\bfseries deselect\+Event} (bool $\ast$selection\+State\+Changed)\label{class_q_c_p_layerable_ae546370644a5551c76af739afc008bee}
  53. \item
  54. \hypertarget{class_q_c_p_layerable_a8cbe5a0c9a5674249982f5ca5f8e02bc}{}void {\bfseries initialize\+Parent\+Plot} (\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} $\ast$parent\+Plot)\label{class_q_c_p_layerable_a8cbe5a0c9a5674249982f5ca5f8e02bc}
  55. \item
  56. \hypertarget{class_q_c_p_layerable_aa23c893671f1f6744ac235cf2204cf3a}{}void {\bfseries set\+Parent\+Layerable} (\hyperlink{class_q_c_p_layerable}{Q\+C\+P\+Layerable} $\ast$\hyperlink{class_q_c_p_layerable_a98d79f5b716d45eac4347befe546d0ec}{parent\+Layerable})\label{class_q_c_p_layerable_aa23c893671f1f6744ac235cf2204cf3a}
  57. \item
  58. \hypertarget{class_q_c_p_layerable_af94484cfb7cbbddb7de522e9be71d9a4}{}bool {\bfseries move\+To\+Layer} (\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} $\ast$layer, bool prepend)\label{class_q_c_p_layerable_af94484cfb7cbbddb7de522e9be71d9a4}
  59. \item
  60. \hypertarget{class_q_c_p_layerable_a62bd552d1a45aa9accb24b310542279e}{}void {\bfseries apply\+Antialiasing\+Hint} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter, bool local\+Antialiased, \hyperlink{namespace_q_c_p_ae55dbe315d41fe80f29ba88100843a0c}{Q\+C\+P\+::\+Antialiased\+Element} override\+Element) const \label{class_q_c_p_layerable_a62bd552d1a45aa9accb24b310542279e}
  61. \end{DoxyCompactItemize}
  62. \subsection*{Atributos protegidos}
  63. \begin{DoxyCompactItemize}
  64. \item
  65. \hypertarget{class_q_c_p_layerable_a62e3aed8427d6ce3ccf716f285106cb3}{}bool {\bfseries m\+Visible}\label{class_q_c_p_layerable_a62e3aed8427d6ce3ccf716f285106cb3}
  66. \item
  67. \hypertarget{class_q_c_p_layerable_aa2a528433e44db02b8aef23c1f9f90ed}{}\hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} $\ast$ {\bfseries m\+Parent\+Plot}\label{class_q_c_p_layerable_aa2a528433e44db02b8aef23c1f9f90ed}
  68. \item
  69. \hypertarget{class_q_c_p_layerable_a3291445a980053e2d17a21d15957624e}{}Q\+Pointer$<$ \hyperlink{class_q_c_p_layerable}{Q\+C\+P\+Layerable} $>$ {\bfseries m\+Parent\+Layerable}\label{class_q_c_p_layerable_a3291445a980053e2d17a21d15957624e}
  70. \item
  71. \hypertarget{class_q_c_p_layerable_aa38ec5891aff0f50b36fd63e9372a0cd}{}\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} $\ast$ {\bfseries m\+Layer}\label{class_q_c_p_layerable_aa38ec5891aff0f50b36fd63e9372a0cd}
  72. \item
  73. \hypertarget{class_q_c_p_layerable_a3ab45a4c76a3333ce42eb217a81733ec}{}bool {\bfseries m\+Antialiased}\label{class_q_c_p_layerable_a3ab45a4c76a3333ce42eb217a81733ec}
  74. \end{DoxyCompactItemize}
  75. \subsection*{Amigas}
  76. \begin{DoxyCompactItemize}
  77. \item
  78. \hypertarget{class_q_c_p_layerable_a1cdf9df76adcfae45261690aa0ca2198}{}class {\bfseries Q\+Custom\+Plot}\label{class_q_c_p_layerable_a1cdf9df76adcfae45261690aa0ca2198}
  79. \item
  80. \hypertarget{class_q_c_p_layerable_acbf20ecb140f66c5fd1bc64ae0762990}{}class {\bfseries Q\+C\+P\+Axis\+Rect}\label{class_q_c_p_layerable_acbf20ecb140f66c5fd1bc64ae0762990}
  81. \end{DoxyCompactItemize}
  82. \subsection{Descripción detallada}
  83. Base class for all drawable objects.
  84. This is the abstract base class most visible objects derive from, e.\+g. plottables, axes, grid etc.
  85. Every layerable is on a layer (\hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer}) which allows controlling the rendering order by stacking the layers accordingly.
  86. For details about the layering mechanism, see the \hyperlink{class_q_c_p_layer}{Q\+C\+P\+Layer} documentation.
  87. \subsection{Documentación del constructor y destructor}
  88. \hypertarget{class_q_c_p_layerable_a76592e80a4657e03da4bfd91aab91ef3}{}\index{Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}!Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}}
  89. \index{Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}!Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}}
  90. \subsubsection[{Q\+C\+P\+Layerable}]{\setlength{\rightskip}{0pt plus 5cm}Q\+C\+P\+Layerable\+::\+Q\+C\+P\+Layerable (
  91. \begin{DoxyParamCaption}
  92. \item[{{\bf Q\+Custom\+Plot} $\ast$}]{plot, }
  93. \item[{Q\+String}]{target\+Layer = {\ttfamily \char`\"{}\char`\"{}}, }
  94. \item[{{\bf Q\+C\+P\+Layerable} $\ast$}]{parent\+Layerable = {\ttfamily 0}}
  95. \end{DoxyParamCaption}
  96. )}\label{class_q_c_p_layerable_a76592e80a4657e03da4bfd91aab91ef3}
  97. Creates a new \hyperlink{class_q_c_p_layerable}{Q\+C\+P\+Layerable} instance.
  98. Since \hyperlink{class_q_c_p_layerable}{Q\+C\+P\+Layerable} is an abstract base class, it can\textquotesingle{}t be instantiated directly. Use one of the derived classes.
  99. If {\itshape plot} is provided, it automatically places itself on the layer named {\itshape target\+Layer}. If {\itshape target\+Layer} is an empty string, it places itself on the current layer of the plot (see \hyperlink{class_q_custom_plot_a73a6dc47c653bb6f8f030abca5a11852}{Q\+Custom\+Plot\+::set\+Current\+Layer}).
  100. It is possible to provide 0 as {\itshape plot}. In that case, you should assign a parent plot at a later time with initialize\+Parent\+Plot.
  101. The layerable\textquotesingle{}s parent layerable is set to {\itshape parent\+Layerable}, if provided. Direct layerable parents are mainly used to control visibility in a hierarchy of layerables. This means a layerable is only drawn, if all its ancestor layerables are also visible. Note that {\itshape parent\+Layerable} does not become the Q\+Object-\/parent (for memory management) of this layerable, {\itshape plot} does.
  102. \subsection{Documentación de las funciones miembro}
  103. \hypertarget{class_q_c_p_layerable_a98d79f5b716d45eac4347befe546d0ec}{}\index{Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}!parent\+Layerable@{parent\+Layerable}}
  104. \index{parent\+Layerable@{parent\+Layerable}!Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}}
  105. \subsubsection[{parent\+Layerable}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Q\+C\+P\+Layerable} $\ast$ Q\+C\+P\+Layerable\+::parent\+Layerable (
  106. \begin{DoxyParamCaption}
  107. {}
  108. \end{DoxyParamCaption}
  109. ) const\hspace{0.3cm}{\ttfamily [inline]}}\label{class_q_c_p_layerable_a98d79f5b716d45eac4347befe546d0ec}
  110. Returns the parent layerable of this layerable. The parent layerable is used to provide visibility hierarchies in conjunction with the method \hyperlink{class_q_c_p_layerable_a30809f7455e9794bca7b6c737622fa63}{real\+Visibility}. This way, layerables only get drawn if their parent layerables are visible, too.
  111. Note that a parent layerable is not necessarily also the Q\+Object parent for memory management. Further, a layerable doesn\textquotesingle{}t always have a parent layerable, so this function may return 0.
  112. A parent layerable is set implicitly with when placed inside layout elements and doesn\textquotesingle{}t need to be set manually by the user. \hypertarget{class_q_c_p_layerable_a30809f7455e9794bca7b6c737622fa63}{}\index{Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}!real\+Visibility@{real\+Visibility}}
  113. \index{real\+Visibility@{real\+Visibility}!Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}}
  114. \subsubsection[{real\+Visibility}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+C\+P\+Layerable\+::real\+Visibility (
  115. \begin{DoxyParamCaption}
  116. {}
  117. \end{DoxyParamCaption}
  118. ) const}\label{class_q_c_p_layerable_a30809f7455e9794bca7b6c737622fa63}
  119. Returns whether this layerable is visible, taking possible direct layerable parent visibility into account. This is the method that is consulted to decide whether a layerable shall be drawn or not.
  120. If this layerable has a direct layerable parent (usually set via hierarchies implemented in subclasses, like in the case of \hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element}), this function returns true only if this layerable has its visibility set to true and the parent layerable\textquotesingle{}s \hyperlink{class_q_c_p_layerable_a30809f7455e9794bca7b6c737622fa63}{real\+Visibility} returns true.
  121. If this layerable doesn\textquotesingle{}t have a direct layerable parent, returns the state of this layerable\textquotesingle{}s visibility. \hypertarget{class_q_c_p_layerable_a4001c4d0dfec55598efa4d531f2179a9}{}\index{Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}!select\+Test@{select\+Test}}
  122. \index{select\+Test@{select\+Test}!Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}}
  123. \subsubsection[{select\+Test}]{\setlength{\rightskip}{0pt plus 5cm}double Q\+C\+P\+Layerable\+::select\+Test (
  124. \begin{DoxyParamCaption}
  125. \item[{const Q\+Point\+F \&}]{pos, }
  126. \item[{bool}]{only\+Selectable, }
  127. \item[{Q\+Variant $\ast$}]{details = {\ttfamily 0}}
  128. \end{DoxyParamCaption}
  129. ) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{class_q_c_p_layerable_a4001c4d0dfec55598efa4d531f2179a9}
  130. This function is used to decide whether a click hits a layerable object or not.
  131. {\itshape pos} is a point in pixel coordinates on the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} surface. This function returns the shortest pixel distance of this point to the object. If the object is either invisible or the distance couldn\textquotesingle{}t be determined, -\/1.\+0 is returned. Further, if {\itshape only\+Selectable} is true and the object is not selectable, -\/1.\+0 is returned, too.
  132. If the item is represented not by single lines but by an area like \hyperlink{class_q_c_p_item_rect}{Q\+C\+P\+Item\+Rect} or \hyperlink{class_q_c_p_item_text}{Q\+C\+P\+Item\+Text}, a click inside the area returns a constant value greater zero (typically the selection\+Tolerance of the parent \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} multiplied by 0.\+99). If the click lies outside the area, this function returns -\/1.\+0.
  133. Providing a constant value for area objects allows selecting line objects even when they are obscured by such area objects, by clicking close to the lines (i.\+e. closer than 0.\+99$\ast$selection\+Tolerance).
  134. The actual setting of the selection state is not done by this function. This is handled by the parent \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} when the mouse\+Release\+Event occurs, and the finally selected object is notified via the select\+Event/deselect\+Event methods.
  135. {\itshape details} is an optional output parameter. Every layerable subclass may place any information in {\itshape details}. This information will be passed to select\+Event when the parent \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} decides on the basis of this select\+Test call, that the object was successfully selected. The subsequent call to select\+Event will carry the {\itshape details}. This is useful for multi-\/part objects (like \hyperlink{class_q_c_p_axis}{Q\+C\+P\+Axis}). This way, a possibly complex calculation to decide which part was clicked is only done once in \hyperlink{class_q_c_p_layerable_a4001c4d0dfec55598efa4d531f2179a9}{select\+Test}. The result (i.\+e. the actually clicked part) can then be placed in {\itshape details}. So in the subsequent select\+Event, the decision which part was selected doesn\textquotesingle{}t have to be done a second time for a single selection operation.
  136. You may pass 0 as {\itshape details} to indicate that you are not interested in those selection details.
  137. \begin{DoxySeeAlso}{Ver también}
  138. select\+Event, deselect\+Event, \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{Q\+Custom\+Plot\+::set\+Interactions}
  139. \end{DoxySeeAlso}
  140. 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}, \hyperlink{class_q_c_p_item_bracket_aa6933caff1d42c54bcebc769ef88c798}{Q\+C\+P\+Item\+Bracket}, \hyperlink{class_q_c_p_item_tracer_ae71f3728421c83c188c117279ca050fd}{Q\+C\+P\+Item\+Tracer}, \hyperlink{class_q_c_p_item_pixmap_a9f8436aa141fa0fb504191c882c2f4d9}{Q\+C\+P\+Item\+Pixmap}, \hyperlink{class_q_c_p_item_ellipse_acd7e5f9528630b2ab5987e2a5782eb7c}{Q\+C\+P\+Item\+Ellipse}, \hyperlink{class_q_c_p_item_text_a285b95bb6634c2e4f7768abb7a8bc69c}{Q\+C\+P\+Item\+Text}, \hyperlink{class_q_c_p_item_rect_af13b0797079b40b73d1c7286b76f18ac}{Q\+C\+P\+Item\+Rect}, \hyperlink{class_q_c_p_item_curve_a741375c11667b5f9c95b2683f93ee514}{Q\+C\+P\+Item\+Curve}, \hyperlink{class_q_c_p_item_line_a7541e5d9378ca121d07b0df3b24f7178}{Q\+C\+P\+Item\+Line}, \hyperlink{class_q_c_p_item_straight_line_a64cc3796f58ce856012732603edb2f1c}{Q\+C\+P\+Item\+Straight\+Line}, \hyperlink{class_q_c_p_statistical_box_a7d3ac843dc48a085740fdfc4319a89cc}{Q\+C\+P\+Statistical\+Box}, \hyperlink{class_q_c_p_bars_a0d37a9feb1d0baf73ce6e809db214445}{Q\+C\+P\+Bars}, \hyperlink{class_q_c_p_curve_a5af9949e725704811bbc81ecd5970b8e}{Q\+C\+P\+Curve}, \hyperlink{class_q_c_p_graph_abc9ff375aabcf2d21cca33d6baf85772}{Q\+C\+P\+Graph}, \hyperlink{class_q_c_p_abstract_item_a96d522d10ffc0413b9a366c6f7f0476b}{Q\+C\+P\+Abstract\+Item}, \hyperlink{class_q_c_p_abstract_plottable_a38efe9641d972992a3d44204bc80ec1d}{Q\+C\+P\+Abstract\+Plottable}, \hyperlink{class_q_c_p_axis_a2877a6230920c118be65c6113089f467}{Q\+C\+P\+Axis}, \hyperlink{class_q_c_p_layout_inset_ab5a2f2b88c05e369fd7da9583d17aa3a}{Q\+C\+P\+Layout\+Inset} y \hyperlink{class_q_c_p_layout_element_a9fcf5d0ea19f2c23b2b528bce2c6f095}{Q\+C\+P\+Layout\+Element}.
  141. \hypertarget{class_q_c_p_layerable_a4fd43e89be4a553ead41652565ff0581}{}\index{Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}!set\+Antialiased@{set\+Antialiased}}
  142. \index{set\+Antialiased@{set\+Antialiased}!Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}}
  143. \subsubsection[{set\+Antialiased}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layerable\+::set\+Antialiased (
  144. \begin{DoxyParamCaption}
  145. \item[{bool}]{enabled}
  146. \end{DoxyParamCaption}
  147. )}\label{class_q_c_p_layerable_a4fd43e89be4a553ead41652565ff0581}
  148. Sets whether this object will be drawn antialiased or not.
  149. Note that antialiasing settings may be overridden by \hyperlink{class_q_custom_plot_af6f91e5eab1be85f67c556e98c3745e8}{Q\+Custom\+Plot\+::set\+Antialiased\+Elements} and \hyperlink{class_q_custom_plot_ae10d685b5eabea2999fb8775ca173c24}{Q\+Custom\+Plot\+::set\+Not\+Antialiased\+Elements}. \hypertarget{class_q_c_p_layerable_ab0d0da6d2de45a118886d2c8e16d5a54}{}\index{Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}!set\+Layer@{set\+Layer}}
  150. \index{set\+Layer@{set\+Layer}!Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}}
  151. \subsubsection[{set\+Layer}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+C\+P\+Layerable\+::set\+Layer (
  152. \begin{DoxyParamCaption}
  153. \item[{{\bf Q\+C\+P\+Layer} $\ast$}]{layer}
  154. \end{DoxyParamCaption}
  155. )}\label{class_q_c_p_layerable_ab0d0da6d2de45a118886d2c8e16d5a54}
  156. Sets the {\itshape layer} of this layerable object. The object will be placed on top of the other objects already on {\itshape layer}.
  157. Returns true on success, i.\+e. if {\itshape layer} is a valid layer. \hypertarget{class_q_c_p_layerable_ab25a0e7b897993b44447caee0f142083}{}\index{Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}!set\+Layer@{set\+Layer}}
  158. \index{set\+Layer@{set\+Layer}!Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}}
  159. \subsubsection[{set\+Layer}]{\setlength{\rightskip}{0pt plus 5cm}bool Q\+C\+P\+Layerable\+::set\+Layer (
  160. \begin{DoxyParamCaption}
  161. \item[{const Q\+String \&}]{layer\+Name}
  162. \end{DoxyParamCaption}
  163. )}\label{class_q_c_p_layerable_ab25a0e7b897993b44447caee0f142083}
  164. Esta es una función miembro sobrecargada que se suministra por conveniencia. Difiere de la anterior función solamente en los argumentos que acepta. Sets the layer of this layerable object by name
  165. Returns true on success, i.\+e. if {\itshape layer\+Name} is a valid layer name. \hypertarget{class_q_c_p_layerable_a3bed99ddc396b48ce3ebfdc0418744f8}{}\index{Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}!set\+Visible@{set\+Visible}}
  166. \index{set\+Visible@{set\+Visible}!Q\+C\+P\+Layerable@{Q\+C\+P\+Layerable}}
  167. \subsubsection[{set\+Visible}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Layerable\+::set\+Visible (
  168. \begin{DoxyParamCaption}
  169. \item[{bool}]{on}
  170. \end{DoxyParamCaption}
  171. )}\label{class_q_c_p_layerable_a3bed99ddc396b48ce3ebfdc0418744f8}
  172. Sets the visibility of this layerable object. If an object is not visible, it will not be drawn on the \hyperlink{class_q_custom_plot}{Q\+Custom\+Plot} surface, and user interaction with it (e.\+g. click and selection) is not possible.
  173. La documentación para esta clase fue generada a partir de los siguientes ficheros\+:\begin{DoxyCompactItemize}
  174. \item
  175. \hyperlink{qcustomplot_8h}{qcustomplot.\+h}\item
  176. \hyperlink{qcustomplot_8cpp}{qcustomplot.\+cpp}\end{DoxyCompactItemize}