설명 없음

class_q_c_p_abstract_legend_item.tex 17KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. \hypertarget{class_q_c_p_abstract_legend_item}{}\section{Q\+C\+P\+Abstract\+Legend\+Item Class Reference}
  2. \label{class_q_c_p_abstract_legend_item}\index{Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}}
  3. The abstract base class for all entries in a \hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend}.
  4. Inheritance diagram for Q\+C\+P\+Abstract\+Legend\+Item\+:\begin{figure}[H]
  5. \begin{center}
  6. \leavevmode
  7. \includegraphics[height=5.000000cm]{class_q_c_p_abstract_legend_item}
  8. \end{center}
  9. \end{figure}
  10. \subsection*{Signals}
  11. \begin{DoxyCompactItemize}
  12. \item
  13. void \hyperlink{class_q_c_p_abstract_legend_item_a7cb61fdfbaf69c590bacb8f9e7099d9e}{selection\+Changed} (bool selected)
  14. \end{DoxyCompactItemize}
  15. \subsection*{Public Member Functions}
  16. \begin{DoxyCompactItemize}
  17. \item
  18. \hyperlink{class_q_c_p_abstract_legend_item_afaff87610e8da0fa238ecf552872d774}{Q\+C\+P\+Abstract\+Legend\+Item} (\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend} $\ast$parent)
  19. \item
  20. \hypertarget{class_q_c_p_abstract_legend_item_afcd683e43058f99a47d6546eedffc5c1}{}\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend} $\ast$ {\bfseries parent\+Legend} () const \label{class_q_c_p_abstract_legend_item_afcd683e43058f99a47d6546eedffc5c1}
  21. \item
  22. \hypertarget{class_q_c_p_abstract_legend_item_ae476404706638d84fadc01021df2b19e}{}Q\+Font {\bfseries font} () const \label{class_q_c_p_abstract_legend_item_ae476404706638d84fadc01021df2b19e}
  23. \item
  24. \hypertarget{class_q_c_p_abstract_legend_item_a444caef8565ac8d8653269f14d82b42d}{}Q\+Color {\bfseries text\+Color} () const \label{class_q_c_p_abstract_legend_item_a444caef8565ac8d8653269f14d82b42d}
  25. \item
  26. \hypertarget{class_q_c_p_abstract_legend_item_afccfe665eb8483cec924a9c0a53ddf2b}{}Q\+Font {\bfseries selected\+Font} () const \label{class_q_c_p_abstract_legend_item_afccfe665eb8483cec924a9c0a53ddf2b}
  27. \item
  28. \hypertarget{class_q_c_p_abstract_legend_item_a076db1717257b82875b12a15ecf99ba3}{}Q\+Color {\bfseries selected\+Text\+Color} () const \label{class_q_c_p_abstract_legend_item_a076db1717257b82875b12a15ecf99ba3}
  29. \item
  30. \hypertarget{class_q_c_p_abstract_legend_item_a0a0205f33f37edae50826c24cb8f1983}{}bool {\bfseries selectable} () const \label{class_q_c_p_abstract_legend_item_a0a0205f33f37edae50826c24cb8f1983}
  31. \item
  32. \hypertarget{class_q_c_p_abstract_legend_item_ac776e68e3367704452131c6aa9908bb9}{}bool {\bfseries selected} () const \label{class_q_c_p_abstract_legend_item_ac776e68e3367704452131c6aa9908bb9}
  33. \item
  34. void \hyperlink{class_q_c_p_abstract_legend_item_a409c53455d8112f71d70c0c43eb10265}{set\+Font} (const Q\+Font \&font)
  35. \item
  36. void \hyperlink{class_q_c_p_abstract_legend_item_a6ebace6aaffaedcdab2d74e88acc2d1e}{set\+Text\+Color} (const Q\+Color \&color)
  37. \item
  38. void \hyperlink{class_q_c_p_abstract_legend_item_a91db5aee48617a9d3206e61376807365}{set\+Selected\+Font} (const Q\+Font \&font)
  39. \item
  40. void \hyperlink{class_q_c_p_abstract_legend_item_a4d01d008ee1a5bfe9905b0397a421936}{set\+Selected\+Text\+Color} (const Q\+Color \&color)
  41. \item
  42. void \hyperlink{class_q_c_p_abstract_legend_item_a9913ef48730551b696e7f98a2391c599}{set\+Selectable} (bool selectable)
  43. \item
  44. void \hyperlink{class_q_c_p_abstract_legend_item_a6eed93b0ab99cb3eabb043fb08179c2b}{set\+Selected} (bool selected)
  45. \item
  46. virtual double \hyperlink{class_q_c_p_abstract_legend_item_ad0480d5cad34627a294a2921caa4a62f}{select\+Test} (const Q\+Point\+F \&pos, bool only\+Selectable, Q\+Variant $\ast$details=0) const
  47. \end{DoxyCompactItemize}
  48. \subsection*{Protected Member Functions}
  49. \begin{DoxyCompactItemize}
  50. \item
  51. \hypertarget{class_q_c_p_abstract_legend_item_a53a80054ab329beaca072fb08c08944b}{}virtual \hyperlink{namespace_q_c_p_a2ad6bb6281c7c2d593d4277b44c2b037}{Q\+C\+P\+::\+Interaction} {\bfseries selection\+Category} () const \label{class_q_c_p_abstract_legend_item_a53a80054ab329beaca072fb08c08944b}
  52. \item
  53. \hypertarget{class_q_c_p_abstract_legend_item_a71c3baeda42ba78d2cccd97e74110a5e}{}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_abstract_legend_item_a71c3baeda42ba78d2cccd97e74110a5e}
  54. \item
  55. \hypertarget{class_q_c_p_abstract_legend_item_abcb540c331b49ef7ee0ea1abbd0dcac3}{}virtual Q\+Rect {\bfseries clip\+Rect} () const \label{class_q_c_p_abstract_legend_item_abcb540c331b49ef7ee0ea1abbd0dcac3}
  56. \item
  57. \hypertarget{class_q_c_p_abstract_legend_item_a97dedc084c672359710f16b31d046d1d}{}virtual void {\bfseries draw} (\hyperlink{class_q_c_p_painter}{Q\+C\+P\+Painter} $\ast$painter)=0\label{class_q_c_p_abstract_legend_item_a97dedc084c672359710f16b31d046d1d}
  58. \item
  59. \hypertarget{class_q_c_p_abstract_legend_item_abcfe9e335d99c7fac74e03d26723c1b7}{}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_abstract_legend_item_abcfe9e335d99c7fac74e03d26723c1b7}
  60. \item
  61. \hypertarget{class_q_c_p_abstract_legend_item_ae64e667e7c5b85cd92c9b91928faef28}{}virtual void {\bfseries deselect\+Event} (bool $\ast$selection\+State\+Changed)\label{class_q_c_p_abstract_legend_item_ae64e667e7c5b85cd92c9b91928faef28}
  62. \end{DoxyCompactItemize}
  63. \subsection*{Protected Attributes}
  64. \begin{DoxyCompactItemize}
  65. \item
  66. \hypertarget{class_q_c_p_abstract_legend_item_aafcd9fc6fcb10f4a8d46037011afafe8}{}\hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend} $\ast$ {\bfseries m\+Parent\+Legend}\label{class_q_c_p_abstract_legend_item_aafcd9fc6fcb10f4a8d46037011afafe8}
  67. \item
  68. \hypertarget{class_q_c_p_abstract_legend_item_ae916a78ac0d2a60e20a17ca2f24f9754}{}Q\+Font {\bfseries m\+Font}\label{class_q_c_p_abstract_legend_item_ae916a78ac0d2a60e20a17ca2f24f9754}
  69. \item
  70. \hypertarget{class_q_c_p_abstract_legend_item_a974b21e9930227d281344bd2242d289d}{}Q\+Color {\bfseries m\+Text\+Color}\label{class_q_c_p_abstract_legend_item_a974b21e9930227d281344bd2242d289d}
  71. \item
  72. \hypertarget{class_q_c_p_abstract_legend_item_ab971df604306b192875a7d097feb1e21}{}Q\+Font {\bfseries m\+Selected\+Font}\label{class_q_c_p_abstract_legend_item_ab971df604306b192875a7d097feb1e21}
  73. \item
  74. \hypertarget{class_q_c_p_abstract_legend_item_a4965c13854d970b24c284f0a4f005fbd}{}Q\+Color {\bfseries m\+Selected\+Text\+Color}\label{class_q_c_p_abstract_legend_item_a4965c13854d970b24c284f0a4f005fbd}
  75. \item
  76. \hypertarget{class_q_c_p_abstract_legend_item_aa84029f57b1b32f642fb7db63c3fc2c2}{}bool {\bfseries m\+Selectable}\label{class_q_c_p_abstract_legend_item_aa84029f57b1b32f642fb7db63c3fc2c2}
  77. \item
  78. \hypertarget{class_q_c_p_abstract_legend_item_ae58ebebbd0c36cc6fe897483369984d2}{}bool {\bfseries m\+Selected}\label{class_q_c_p_abstract_legend_item_ae58ebebbd0c36cc6fe897483369984d2}
  79. \end{DoxyCompactItemize}
  80. \subsection*{Friends}
  81. \begin{DoxyCompactItemize}
  82. \item
  83. \hypertarget{class_q_c_p_abstract_legend_item_a8429035e7adfbd7f05805a6530ad5e3b}{}class {\bfseries Q\+C\+P\+Legend}\label{class_q_c_p_abstract_legend_item_a8429035e7adfbd7f05805a6530ad5e3b}
  84. \end{DoxyCompactItemize}
  85. \subsection{Detailed Description}
  86. The abstract base class for all entries in a \hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend}.
  87. It defines a very basic interface for entries in a \hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend}. For representing plottables in the legend, the subclass \hyperlink{class_q_c_p_plottable_legend_item}{Q\+C\+P\+Plottable\+Legend\+Item} is more suitable.
  88. Only derive directly from this class when you need absolute freedom (e.\+g. a custom legend entry that\textquotesingle{}s not even associated with a plottable).
  89. You must implement the following pure virtual functions\+: \begin{DoxyItemize}
  90. \item draw (from \hyperlink{class_q_c_p_layerable}{Q\+C\+P\+Layerable})\end{DoxyItemize}
  91. You inherit the following members you may use\+: \begin{TabularC}{2}
  92. \hline
  93. \hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend} $\ast${\bfseries m\+Parent\+Legend} &A pointer to the parent \hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend}. \\\cline{1-2}
  94. Q\+Font {\bfseries m\+Font} &The generic font of the item. You should use this font for all or at least the most prominent text of the item. \\\cline{1-2}
  95. \end{TabularC}
  96. \subsection{Constructor \& Destructor Documentation}
  97. \hypertarget{class_q_c_p_abstract_legend_item_afaff87610e8da0fa238ecf552872d774}{}\index{Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}!Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}}
  98. \index{Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}!Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}}
  99. \subsubsection[{Q\+C\+P\+Abstract\+Legend\+Item}]{\setlength{\rightskip}{0pt plus 5cm}Q\+C\+P\+Abstract\+Legend\+Item\+::\+Q\+C\+P\+Abstract\+Legend\+Item (
  100. \begin{DoxyParamCaption}
  101. \item[{{\bf Q\+C\+P\+Legend} $\ast$}]{parent}
  102. \end{DoxyParamCaption}
  103. )\hspace{0.3cm}{\ttfamily [explicit]}}\label{class_q_c_p_abstract_legend_item_afaff87610e8da0fa238ecf552872d774}
  104. Constructs a \hyperlink{class_q_c_p_abstract_legend_item}{Q\+C\+P\+Abstract\+Legend\+Item} and associates it with the \hyperlink{class_q_c_p_legend}{Q\+C\+P\+Legend} {\itshape parent}. This does not cause the item to be added to {\itshape parent}, so \hyperlink{class_q_c_p_legend_a3ab274de52d2951faea45a6d975e6b3f}{Q\+C\+P\+Legend\+::add\+Item} must be called separately.
  105. \subsection{Member Function Documentation}
  106. \hypertarget{class_q_c_p_abstract_legend_item_a7cb61fdfbaf69c590bacb8f9e7099d9e}{}\index{Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}!selection\+Changed@{selection\+Changed}}
  107. \index{selection\+Changed@{selection\+Changed}!Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}}
  108. \subsubsection[{selection\+Changed}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Abstract\+Legend\+Item\+::selection\+Changed (
  109. \begin{DoxyParamCaption}
  110. \item[{bool}]{selected}
  111. \end{DoxyParamCaption}
  112. )\hspace{0.3cm}{\ttfamily [signal]}}\label{class_q_c_p_abstract_legend_item_a7cb61fdfbaf69c590bacb8f9e7099d9e}
  113. This signal is emitted when the selection state of this legend item has changed, either by user interaction or by a direct call to \hyperlink{class_q_c_p_abstract_legend_item_a6eed93b0ab99cb3eabb043fb08179c2b}{set\+Selected}. \hypertarget{class_q_c_p_abstract_legend_item_ad0480d5cad34627a294a2921caa4a62f}{}\index{Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}!select\+Test@{select\+Test}}
  114. \index{select\+Test@{select\+Test}!Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}}
  115. \subsubsection[{select\+Test}]{\setlength{\rightskip}{0pt plus 5cm}double Q\+C\+P\+Abstract\+Legend\+Item\+::select\+Test (
  116. \begin{DoxyParamCaption}
  117. \item[{const Q\+Point\+F \&}]{pos, }
  118. \item[{bool}]{only\+Selectable, }
  119. \item[{Q\+Variant $\ast$}]{details = {\ttfamily 0}}
  120. \end{DoxyParamCaption}
  121. ) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{class_q_c_p_abstract_legend_item_ad0480d5cad34627a294a2921caa4a62f}
  122. 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.
  123. See \hyperlink{class_q_c_p_layerable_a4001c4d0dfec55598efa4d531f2179a9}{Q\+C\+P\+Layerable\+::select\+Test} for a general explanation of this virtual method.
  124. \hyperlink{class_q_c_p_layout_element}{Q\+C\+P\+Layout\+Element} subclasses may reimplement this method to provide more specific selection test behaviour.
  125. Reimplemented from \hyperlink{class_q_c_p_layout_element_a9fcf5d0ea19f2c23b2b528bce2c6f095}{Q\+C\+P\+Layout\+Element}.
  126. \hypertarget{class_q_c_p_abstract_legend_item_a409c53455d8112f71d70c0c43eb10265}{}\index{Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}!set\+Font@{set\+Font}}
  127. \index{set\+Font@{set\+Font}!Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}}
  128. \subsubsection[{set\+Font}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Abstract\+Legend\+Item\+::set\+Font (
  129. \begin{DoxyParamCaption}
  130. \item[{const Q\+Font \&}]{font}
  131. \end{DoxyParamCaption}
  132. )}\label{class_q_c_p_abstract_legend_item_a409c53455d8112f71d70c0c43eb10265}
  133. Sets the default font of this specific legend item to {\itshape font}.
  134. \begin{DoxySeeAlso}{See also}
  135. \hyperlink{class_q_c_p_abstract_legend_item_a6ebace6aaffaedcdab2d74e88acc2d1e}{set\+Text\+Color}, \hyperlink{class_q_c_p_legend_aa4cda8499e3cb0f3be415edc02984c73}{Q\+C\+P\+Legend\+::set\+Font}
  136. \end{DoxySeeAlso}
  137. \hypertarget{class_q_c_p_abstract_legend_item_a9913ef48730551b696e7f98a2391c599}{}\index{Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}!set\+Selectable@{set\+Selectable}}
  138. \index{set\+Selectable@{set\+Selectable}!Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}}
  139. \subsubsection[{set\+Selectable}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Abstract\+Legend\+Item\+::set\+Selectable (
  140. \begin{DoxyParamCaption}
  141. \item[{bool}]{selectable}
  142. \end{DoxyParamCaption}
  143. )}\label{class_q_c_p_abstract_legend_item_a9913ef48730551b696e7f98a2391c599}
  144. Sets whether this specific legend item is selectable.
  145. \begin{DoxySeeAlso}{See also}
  146. set\+Selected\+Parts, \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{Q\+Custom\+Plot\+::set\+Interactions}
  147. \end{DoxySeeAlso}
  148. \hypertarget{class_q_c_p_abstract_legend_item_a6eed93b0ab99cb3eabb043fb08179c2b}{}\index{Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}!set\+Selected@{set\+Selected}}
  149. \index{set\+Selected@{set\+Selected}!Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}}
  150. \subsubsection[{set\+Selected}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Abstract\+Legend\+Item\+::set\+Selected (
  151. \begin{DoxyParamCaption}
  152. \item[{bool}]{selected}
  153. \end{DoxyParamCaption}
  154. )}\label{class_q_c_p_abstract_legend_item_a6eed93b0ab99cb3eabb043fb08179c2b}
  155. Sets whether this specific legend item is selected.
  156. It is possible to set the selection state of this item by calling this function directly, even if set\+Selectable is set to false.
  157. \begin{DoxySeeAlso}{See also}
  158. set\+Selectable\+Parts, \hyperlink{class_q_custom_plot_a5ee1e2f6ae27419deca53e75907c27e5}{Q\+Custom\+Plot\+::set\+Interactions}
  159. \end{DoxySeeAlso}
  160. \hypertarget{class_q_c_p_abstract_legend_item_a91db5aee48617a9d3206e61376807365}{}\index{Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}!set\+Selected\+Font@{set\+Selected\+Font}}
  161. \index{set\+Selected\+Font@{set\+Selected\+Font}!Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}}
  162. \subsubsection[{set\+Selected\+Font}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Abstract\+Legend\+Item\+::set\+Selected\+Font (
  163. \begin{DoxyParamCaption}
  164. \item[{const Q\+Font \&}]{font}
  165. \end{DoxyParamCaption}
  166. )}\label{class_q_c_p_abstract_legend_item_a91db5aee48617a9d3206e61376807365}
  167. When this legend item is selected, {\itshape font} is used to draw generic text, instead of the normal font set with \hyperlink{class_q_c_p_abstract_legend_item_a409c53455d8112f71d70c0c43eb10265}{set\+Font}.
  168. \begin{DoxySeeAlso}{See also}
  169. \hyperlink{class_q_c_p_abstract_legend_item_a409c53455d8112f71d70c0c43eb10265}{set\+Font}, \hyperlink{class_q_c_p_legend_ab580a01c3c0a239374ed66c29edf5ad2}{Q\+C\+P\+Legend\+::set\+Selected\+Font}
  170. \end{DoxySeeAlso}
  171. \hypertarget{class_q_c_p_abstract_legend_item_a4d01d008ee1a5bfe9905b0397a421936}{}\index{Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}!set\+Selected\+Text\+Color@{set\+Selected\+Text\+Color}}
  172. \index{set\+Selected\+Text\+Color@{set\+Selected\+Text\+Color}!Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}}
  173. \subsubsection[{set\+Selected\+Text\+Color}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Abstract\+Legend\+Item\+::set\+Selected\+Text\+Color (
  174. \begin{DoxyParamCaption}
  175. \item[{const Q\+Color \&}]{color}
  176. \end{DoxyParamCaption}
  177. )}\label{class_q_c_p_abstract_legend_item_a4d01d008ee1a5bfe9905b0397a421936}
  178. When this legend item is selected, {\itshape color} is used to draw generic text, instead of the normal color set with \hyperlink{class_q_c_p_abstract_legend_item_a6ebace6aaffaedcdab2d74e88acc2d1e}{set\+Text\+Color}.
  179. \begin{DoxySeeAlso}{See also}
  180. \hyperlink{class_q_c_p_abstract_legend_item_a6ebace6aaffaedcdab2d74e88acc2d1e}{set\+Text\+Color}, \hyperlink{class_q_c_p_legend_a7674dfc7a1f30e1abd1018c0ed45e0bc}{Q\+C\+P\+Legend\+::set\+Selected\+Text\+Color}
  181. \end{DoxySeeAlso}
  182. \hypertarget{class_q_c_p_abstract_legend_item_a6ebace6aaffaedcdab2d74e88acc2d1e}{}\index{Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}!set\+Text\+Color@{set\+Text\+Color}}
  183. \index{set\+Text\+Color@{set\+Text\+Color}!Q\+C\+P\+Abstract\+Legend\+Item@{Q\+C\+P\+Abstract\+Legend\+Item}}
  184. \subsubsection[{set\+Text\+Color}]{\setlength{\rightskip}{0pt plus 5cm}void Q\+C\+P\+Abstract\+Legend\+Item\+::set\+Text\+Color (
  185. \begin{DoxyParamCaption}
  186. \item[{const Q\+Color \&}]{color}
  187. \end{DoxyParamCaption}
  188. )}\label{class_q_c_p_abstract_legend_item_a6ebace6aaffaedcdab2d74e88acc2d1e}
  189. Sets the default text color of this specific legend item to {\itshape color}.
  190. \begin{DoxySeeAlso}{See also}
  191. \hyperlink{class_q_c_p_abstract_legend_item_a409c53455d8112f71d70c0c43eb10265}{set\+Font}, \hyperlink{class_q_c_p_legend_ae1eb239ff4a4632fe1b6c3e668d845c6}{Q\+C\+P\+Legend\+::set\+Text\+Color}
  192. \end{DoxySeeAlso}
  193. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
  194. \item
  195. \hyperlink{qcustomplot_8h}{qcustomplot.\+h}\item
  196. \hyperlink{qcustomplot_8cpp}{qcustomplot.\+cpp}\end{DoxyCompactItemize}