Keine Beschreibung

class_q_c_p_scatter_style.html 55KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>My Project: Referencia de la Clase QCPScatterStyle</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td style="padding-left: 0.5em;">
  26. <div id="projectname">My Project
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generado por Doxygen 1.8.9.1 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Página&#160;principal</span></a></li>
  41. <li><a href="pages.html"><span>Páginas&#160;relacionadas</span></a></li>
  42. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  43. <li class="current"><a href="annotated.html"><span>Clases</span></a></li>
  44. <li><a href="files.html"><span>Archivos</span></a></li>
  45. <li>
  46. <div id="MSearchBox" class="MSearchBoxInactive">
  47. <span class="left">
  48. <img id="MSearchSelect" src="search/mag_sel.png"
  49. onmouseover="return searchBox.OnSearchSelectShow()"
  50. onmouseout="return searchBox.OnSearchSelectHide()"
  51. alt=""/>
  52. <input type="text" id="MSearchField" value="Buscar" accesskey="S"
  53. onfocus="searchBox.OnSearchFieldFocus(true)"
  54. onblur="searchBox.OnSearchFieldFocus(false)"
  55. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  56. </span><span class="right">
  57. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  58. </span>
  59. </div>
  60. </li>
  61. </ul>
  62. </div>
  63. <div id="navrow2" class="tabs2">
  64. <ul class="tablist">
  65. <li><a href="annotated.html"><span>Lista&#160;de&#160;clases</span></a></li>
  66. <li><a href="classes.html"><span>Índice&#160;de&#160;clases</span></a></li>
  67. <li><a href="hierarchy.html"><span>Jerarquía&#160;de&#160;la&#160;clase</span></a></li>
  68. <li><a href="functions.html"><span>Miembros&#160;de&#160;las&#160;clases</span></a></li>
  69. </ul>
  70. </div>
  71. <!-- window showing the filter options -->
  72. <div id="MSearchSelectWindow"
  73. onmouseover="return searchBox.OnSearchSelectShow()"
  74. onmouseout="return searchBox.OnSearchSelectHide()"
  75. onkeydown="return searchBox.OnSearchSelectKey(event)">
  76. </div>
  77. <!-- iframe showing the search results (closed by default) -->
  78. <div id="MSearchResultsWindow">
  79. <iframe src="javascript:void(0)" frameborder="0"
  80. name="MSearchResults" id="MSearchResults">
  81. </iframe>
  82. </div>
  83. </div><!-- top -->
  84. <div class="header">
  85. <div class="summary">
  86. <a href="#pub-types">Tipos públicos</a> &#124;
  87. <a href="#pub-methods">Métodos públicos</a> &#124;
  88. <a href="#pro-attribs">Atributos protegidos</a> &#124;
  89. <a href="class_q_c_p_scatter_style-members.html">Lista de todos los miembros</a> </div>
  90. <div class="headertitle">
  91. <div class="title">Referencia de la Clase QCPScatterStyle</div> </div>
  92. </div><!--header-->
  93. <div class="contents">
  94. <p>Represents the visual appearance of scatter points.
  95. <a href="class_q_c_p_scatter_style.html#details">Más...</a></p>
  96. <table class="memberdecls">
  97. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  98. Tipos públicos</h2></td></tr>
  99. <tr class="memitem:adb31525af6b680e6f1b7472e43859349"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a> { <br />
  100. &#160;&#160;<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">ssNone</a>,
  101. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a06e15a735b79093a1d999c0374fa3aa1">ssDot</a>,
  102. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a9eacd60f059dc3ef71bf249f515a6fe4">ssCross</a>,
  103. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a2d7f1d3c1a148b9d9d17f2fd9cae5eb7">ssPlus</a>,
  104. <br />
  105. &#160;&#160;<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a7c92a110880d0ef2170dff3a5b4f7779">ssCircle</a>,
  106. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a281fe1434696dcbab3aa6b9ccfbb09e9">ssDisc</a>,
  107. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a279e48703ddc9f1cf4a61d3e2817ab3c">ssSquare</a>,
  108. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a4fc5929df1b2dad0a3cb2ef2c8b6e633">ssDiamond</a>,
  109. <br />
  110. &#160;&#160;<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a6047a2d64e41f1d6ce54445d595d442f">ssStar</a>,
  111. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a74a8d4eff1d97b57c53a60d0003453c3">ssTriangle</a>,
  112. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a6156274d21d8b4115197567d3ea2d9a8">ssTriangleInverted</a>,
  113. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a7081310936c200c6c78e34c172f72d07">ssCrossSquare</a>,
  114. <br />
  115. &#160;&#160;<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a5aa8e9db545e5404482fec774768ee25">ssPlusSquare</a>,
  116. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a524613ba5d1c4eaa1541d74cf339d283">ssCrossCircle</a>,
  117. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a6fa151d01f1694c9ff9922da686dc535">ssPlusCircle</a>,
  118. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349ada3b2988ece38c121922a4b5007eb08d">ssPeace</a>,
  119. <br />
  120. &#160;&#160;<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e">ssPixmap</a>,
  121. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a15d9bcfd9de94edda949006529f9219d">ssCustom</a>
  122. <br />
  123. }</td></tr>
  124. <tr class="separator:adb31525af6b680e6f1b7472e43859349"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. </table><table class="memberdecls">
  126. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  127. Métodos públicos</h2></td></tr>
  128. <tr class="memitem:a8836018d9ad83ccd8870de8315c1be73"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a8836018d9ad83ccd8870de8315c1be73">QCPScatterStyle</a> ()</td></tr>
  129. <tr class="separator:a8836018d9ad83ccd8870de8315c1be73"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:a003d92f74f4561eda111862eadd62f28"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a003d92f74f4561eda111862eadd62f28">QCPScatterStyle</a> (<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a> shape, double size=6)</td></tr>
  131. <tr class="separator:a003d92f74f4561eda111862eadd62f28"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:afa059da858c864c7e05871dc602d7eab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#afa059da858c864c7e05871dc602d7eab">QCPScatterStyle</a> (<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a> shape, const QColor &amp;color, double size)</td></tr>
  133. <tr class="separator:afa059da858c864c7e05871dc602d7eab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:a6e1b64f12cac7f07af180ae4316fd38d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a6e1b64f12cac7f07af180ae4316fd38d">QCPScatterStyle</a> (<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a> shape, const QColor &amp;color, const QColor &amp;fill, double size)</td></tr>
  135. <tr class="separator:a6e1b64f12cac7f07af180ae4316fd38d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:a85acc4941d7e5c9bca5fa51377a77f49"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a85acc4941d7e5c9bca5fa51377a77f49">QCPScatterStyle</a> (<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a> shape, const QPen &amp;pen, const QBrush &amp;brush, double size)</td></tr>
  137. <tr class="separator:a85acc4941d7e5c9bca5fa51377a77f49"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:a63962094587a4c2258435aa7933996cc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a63962094587a4c2258435aa7933996cc">QCPScatterStyle</a> (const QPixmap &amp;pixmap)</td></tr>
  139. <tr class="separator:a63962094587a4c2258435aa7933996cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:a879c30647683b3cfbde2afecea815e6f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a879c30647683b3cfbde2afecea815e6f">QCPScatterStyle</a> (const QPainterPath &amp;customPath, const QPen &amp;pen, const QBrush &amp;brush=Qt::NoBrush, double size=6)</td></tr>
  141. <tr class="separator:a879c30647683b3cfbde2afecea815e6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:a1973ee650368f1c5f55507b78473f634"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1973ee650368f1c5f55507b78473f634"></a>
  143. double&#160;</td><td class="memItemRight" valign="bottom"><b>size</b> () const </td></tr>
  144. <tr class="separator:a1973ee650368f1c5f55507b78473f634"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:a4462a25ef17769631f4e0aa81dadca4b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4462a25ef17769631f4e0aa81dadca4b"></a>
  146. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a>&#160;</td><td class="memItemRight" valign="bottom"><b>shape</b> () const </td></tr>
  147. <tr class="separator:a4462a25ef17769631f4e0aa81dadca4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a3c24c3bf37b561b4807aed9f1418ab58"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3c24c3bf37b561b4807aed9f1418ab58"></a>
  149. QPen&#160;</td><td class="memItemRight" valign="bottom"><b>pen</b> () const </td></tr>
  150. <tr class="separator:a3c24c3bf37b561b4807aed9f1418ab58"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:a46bf481d84bfa31b287dd43a3bf86d37"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a46bf481d84bfa31b287dd43a3bf86d37"></a>
  152. QBrush&#160;</td><td class="memItemRight" valign="bottom"><b>brush</b> () const </td></tr>
  153. <tr class="separator:a46bf481d84bfa31b287dd43a3bf86d37"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:a9bab44cc41fcd585621a4b3e0e48231b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9bab44cc41fcd585621a4b3e0e48231b"></a>
  155. QPixmap&#160;</td><td class="memItemRight" valign="bottom"><b>pixmap</b> () const </td></tr>
  156. <tr class="separator:a9bab44cc41fcd585621a4b3e0e48231b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:a4dd4998dfb0d6889205668a06c790328"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4dd4998dfb0d6889205668a06c790328"></a>
  158. QPainterPath&#160;</td><td class="memItemRight" valign="bottom"><b>customPath</b> () const </td></tr>
  159. <tr class="separator:a4dd4998dfb0d6889205668a06c790328"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:aaefdd031052892c4136129db68596e0f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#aaefdd031052892c4136129db68596e0f">setSize</a> (double size)</td></tr>
  161. <tr class="separator:aaefdd031052892c4136129db68596e0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:a7c641c4d4c6d29cb705d3887cfce91c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a7c641c4d4c6d29cb705d3887cfce91c1">setShape</a> (<a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a> shape)</td></tr>
  163. <tr class="separator:a7c641c4d4c6d29cb705d3887cfce91c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:a761f1f229cc0ca4703e1e2b89f6dd1ba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a761f1f229cc0ca4703e1e2b89f6dd1ba">setPen</a> (const QPen &amp;pen)</td></tr>
  165. <tr class="separator:a761f1f229cc0ca4703e1e2b89f6dd1ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
  166. <tr class="memitem:a74d692aaeb8d4b36d6f7d510e44264b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a74d692aaeb8d4b36d6f7d510e44264b1">setBrush</a> (const QBrush &amp;brush)</td></tr>
  167. <tr class="separator:a74d692aaeb8d4b36d6f7d510e44264b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <tr class="memitem:a5fb611d46acfac520d7b89a1c71d9246"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a5fb611d46acfac520d7b89a1c71d9246">setPixmap</a> (const QPixmap &amp;pixmap)</td></tr>
  169. <tr class="separator:a5fb611d46acfac520d7b89a1c71d9246"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. <tr class="memitem:a96a3e949f90b2afe5677ca9412a12a1e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a96a3e949f90b2afe5677ca9412a12a1e">setCustomPath</a> (const QPainterPath &amp;customPath)</td></tr>
  171. <tr class="separator:a96a3e949f90b2afe5677ca9412a12a1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  172. <tr class="memitem:aa3861281108d0adbeb291c820ea3925c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#aa3861281108d0adbeb291c820ea3925c">isNone</a> () const </td></tr>
  173. <tr class="separator:aa3861281108d0adbeb291c820ea3925c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  174. <tr class="memitem:a7f1385a8d5e4f349a6b8030723fbd0f7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a7f1385a8d5e4f349a6b8030723fbd0f7">isPenDefined</a> () const </td></tr>
  175. <tr class="separator:a7f1385a8d5e4f349a6b8030723fbd0f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <tr class="memitem:a81817dfd404635f211e6ff2a04657d36"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a81817dfd404635f211e6ff2a04657d36">applyTo</a> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter, const QPen &amp;defaultPen) const </td></tr>
  177. <tr class="separator:a81817dfd404635f211e6ff2a04657d36"><td class="memSeparator" colspan="2">&#160;</td></tr>
  178. <tr class="memitem:a992d531ac471ec2b29bdec6aeb400a06"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#a992d531ac471ec2b29bdec6aeb400a06">drawShape</a> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter, QPointF pos) const </td></tr>
  179. <tr class="separator:a992d531ac471ec2b29bdec6aeb400a06"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. <tr class="memitem:ae76811ac9f70ebf7a2b4c759853e6ed8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_c_p_scatter_style.html#ae76811ac9f70ebf7a2b4c759853e6ed8">drawShape</a> (<a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *painter, double x, double y) const </td></tr>
  181. <tr class="separator:ae76811ac9f70ebf7a2b4c759853e6ed8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. </table><table class="memberdecls">
  183. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
  184. Atributos protegidos</h2></td></tr>
  185. <tr class="memitem:a757da98671eb06b221979373ac2cec91"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a757da98671eb06b221979373ac2cec91"></a>
  186. double&#160;</td><td class="memItemRight" valign="bottom"><b>mSize</b></td></tr>
  187. <tr class="separator:a757da98671eb06b221979373ac2cec91"><td class="memSeparator" colspan="2">&#160;</td></tr>
  188. <tr class="memitem:af1b327f35f107ed108290187bbc8c7c6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1b327f35f107ed108290187bbc8c7c6"></a>
  189. <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a>&#160;</td><td class="memItemRight" valign="bottom"><b>mShape</b></td></tr>
  190. <tr class="separator:af1b327f35f107ed108290187bbc8c7c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  191. <tr class="memitem:a0f6a85e6d1e3ae1ca1b6efb4d4cdfe17"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f6a85e6d1e3ae1ca1b6efb4d4cdfe17"></a>
  192. QPen&#160;</td><td class="memItemRight" valign="bottom"><b>mPen</b></td></tr>
  193. <tr class="separator:a0f6a85e6d1e3ae1ca1b6efb4d4cdfe17"><td class="memSeparator" colspan="2">&#160;</td></tr>
  194. <tr class="memitem:a1b9c6ab10aebcaf236f1f45d1d6d64d1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1b9c6ab10aebcaf236f1f45d1d6d64d1"></a>
  195. QBrush&#160;</td><td class="memItemRight" valign="bottom"><b>mBrush</b></td></tr>
  196. <tr class="separator:a1b9c6ab10aebcaf236f1f45d1d6d64d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  197. <tr class="memitem:a7697346c89b19d4cd1d8dd33319ec9e3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7697346c89b19d4cd1d8dd33319ec9e3"></a>
  198. QPixmap&#160;</td><td class="memItemRight" valign="bottom"><b>mPixmap</b></td></tr>
  199. <tr class="separator:a7697346c89b19d4cd1d8dd33319ec9e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  200. <tr class="memitem:a813cb074744dc5a2f59cc99d6a10c6f0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a813cb074744dc5a2f59cc99d6a10c6f0"></a>
  201. QPainterPath&#160;</td><td class="memItemRight" valign="bottom"><b>mCustomPath</b></td></tr>
  202. <tr class="separator:a813cb074744dc5a2f59cc99d6a10c6f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  203. <tr class="memitem:a84ef5aa591ddba07b440f597e1669e78"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a84ef5aa591ddba07b440f597e1669e78"></a>
  204. bool&#160;</td><td class="memItemRight" valign="bottom"><b>mPenDefined</b></td></tr>
  205. <tr class="separator:a84ef5aa591ddba07b440f597e1669e78"><td class="memSeparator" colspan="2">&#160;</td></tr>
  206. </table>
  207. <a name="details" id="details"></a><h2 class="groupheader">Descripción detallada</h2>
  208. <div class="textblock"><p>Represents the visual appearance of scatter points. </p>
  209. <p>This class holds information about shape, color and size of scatter points. In plottables like <a class="el" href="class_q_c_p_graph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a> it is used to store how scatter points shall be drawn. For example, <a class="el" href="class_q_c_p_graph.html#a12bd17a8ba21983163ec5d8f42a9fea5">QCPGraph::setScatterStyle</a> takes a <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance.</p>
  210. <p>A scatter style consists of a shape (<a class="el" href="class_q_c_p_scatter_style.html#a7c641c4d4c6d29cb705d3887cfce91c1">setShape</a>), a line color (<a class="el" href="class_q_c_p_scatter_style.html#a761f1f229cc0ca4703e1e2b89f6dd1ba">setPen</a>) and possibly a fill (<a class="el" href="class_q_c_p_scatter_style.html#a74d692aaeb8d4b36d6f7d510e44264b1">setBrush</a>), if the shape provides a fillable area. Further, the size of the shape can be controlled with <a class="el" href="class_q_c_p_scatter_style.html#aaefdd031052892c4136129db68596e0f">setSize</a>.</p>
  211. <h1><a class="anchor" id="QCPScatterStyle-defining"></a>
  212. Specifying a scatter style</h1>
  213. <p>You can set all these configurations either by calling the respective functions on an instance: </p><div class="fragment"><div class="line"><a class="code" href="class_q_c_p_scatter_style.html">QCPScatterStyle</a> myScatter;</div>
  214. <div class="line">myScatter.<a class="code" href="class_q_c_p_scatter_style.html#a7c641c4d4c6d29cb705d3887cfce91c1">setShape</a>(<a class="code" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a7c92a110880d0ef2170dff3a5b4f7779">QCPScatterStyle::ssCircle</a>);</div>
  215. <div class="line">myScatter.<a class="code" href="class_q_c_p_scatter_style.html#a761f1f229cc0ca4703e1e2b89f6dd1ba">setPen</a>(Qt::blue);</div>
  216. <div class="line">myScatter.<a class="code" href="class_q_c_p_scatter_style.html#a74d692aaeb8d4b36d6f7d510e44264b1">setBrush</a>(Qt::white);</div>
  217. <div class="line">myScatter.<a class="code" href="class_q_c_p_scatter_style.html#aaefdd031052892c4136129db68596e0f">setSize</a>(5);</div>
  218. <div class="line">customPlot-&gt;graph(0)-&gt;setScatterStyle(myScatter);</div>
  219. </div><!-- fragment --><p>Or you can use one of the various constructors that take different parameter combinations, making it easy to specify a scatter style in a single call, like so: </p><div class="fragment"><div class="line">customPlot-&gt;graph(0)-&gt;setScatterStyle(<a class="code" href="class_q_c_p_scatter_style.html#a8836018d9ad83ccd8870de8315c1be73">QCPScatterStyle</a>(<a class="code" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a7c92a110880d0ef2170dff3a5b4f7779">QCPScatterStyle::ssCircle</a>, Qt::blue, Qt::white, 5));</div>
  220. </div><!-- fragment --><h1><a class="anchor" id="QCPScatterStyle-undefinedpen"></a>
  221. Leaving the color/pen up to the plottable</h1>
  222. <p>There are two constructors which leave the pen undefined: <a class="el" href="class_q_c_p_scatter_style.html#a8836018d9ad83ccd8870de8315c1be73">QCPScatterStyle()</a> and <a class="el" href="class_q_c_p_scatter_style.html#a003d92f74f4561eda111862eadd62f28">QCPScatterStyle(ScatterShape shape, double size)</a>. If those constructors are used, a call to <a class="el" href="class_q_c_p_scatter_style.html#a7f1385a8d5e4f349a6b8030723fbd0f7">isPenDefined</a> will return false. It leads to scatter points that inherit the pen from the plottable that uses the scatter style. Thus, if such a scatter style is passed to <a class="el" href="class_q_c_p_graph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a>, the line color of the graph (<a class="el" href="class_q_c_p_abstract_plottable.html#ab74b09ae4c0e7e13142fe4b5bf46cac7">QCPGraph::setPen</a>) will be used by the scatter points. This makes it very convenient to set up typical scatter settings:</p>
  223. <div class="fragment"><div class="line">customPlot-&gt;graph(0)-&gt;setScatterStyle(<a class="code" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a2d7f1d3c1a148b9d9d17f2fd9cae5eb7">QCPScatterStyle::ssPlus</a>);</div>
  224. </div><!-- fragment --><p>Notice that it wasn't even necessary to explicitly call a <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> constructor. This works because <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> provides a constructor that can transform a <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a> directly into a <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance (that's the <a class="el" href="class_q_c_p_scatter_style.html#a003d92f74f4561eda111862eadd62f28">QCPScatterStyle(ScatterShape shape, double size)</a> constructor with a default for <em>size</em>). In those cases, C++ allows directly supplying a <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a>, where actually a <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> is expected.</p>
  225. <h1><a class="anchor" id="QCPScatterStyle-custompath-and-pixmap"></a>
  226. Custom shapes and pixmaps</h1>
  227. <p><a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> supports drawing custom shapes and arbitrary pixmaps as scatter points.</p>
  228. <p>For custom shapes, you can provide a QPainterPath with the desired shape to the <a class="el" href="class_q_c_p_scatter_style.html#a96a3e949f90b2afe5677ca9412a12a1e">setCustomPath</a> function or call the constructor that takes a painter path. The scatter shape will automatically be set to <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a15d9bcfd9de94edda949006529f9219d">ssCustom</a>.</p>
  229. <p>For pixmaps, you call <a class="el" href="class_q_c_p_scatter_style.html#a5fb611d46acfac520d7b89a1c71d9246">setPixmap</a> with the desired QPixmap. Alternatively you can use the constructor that takes a QPixmap. The scatter shape will automatically be set to <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e">ssPixmap</a>. Note that <a class="el" href="class_q_c_p_scatter_style.html#aaefdd031052892c4136129db68596e0f">setSize</a> does not influence the appearance of the pixmap. </p>
  230. </div><h2 class="groupheader">Documentación de las enumeraciones miembro de la clase</h2>
  231. <a class="anchor" id="adb31525af6b680e6f1b7472e43859349"></a>
  232. <div class="memitem">
  233. <div class="memproto">
  234. <table class="memname">
  235. <tr>
  236. <td class="memname">enum <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">QCPScatterStyle::ScatterShape</a></td>
  237. </tr>
  238. </table>
  239. </div><div class="memdoc">
  240. <p>Defines the shape used for scatter points.</p>
  241. <p>On plottables/items that draw scatters, the sizes of these visualizations (with exception of <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a06e15a735b79093a1d999c0374fa3aa1">ssDot</a> and <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e">ssPixmap</a>) can be controlled with the <a class="el" href="class_q_c_p_scatter_style.html#aaefdd031052892c4136129db68596e0f">setSize</a> function. Scatters are drawn with the pen and brush specified with <a class="el" href="class_q_c_p_scatter_style.html#a761f1f229cc0ca4703e1e2b89f6dd1ba">setPen</a> and <a class="el" href="class_q_c_p_scatter_style.html#a74d692aaeb8d4b36d6f7d510e44264b1">setBrush</a>. </p>
  242. <table class="fieldtable">
  243. <tr><th colspan="2">Valores de enumeraciones</th></tr><tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022"></a>ssNone&#160;</td><td class="fielddoc">
  244. <p>no scatter symbols are drawn (e.g. in <a class="el" href="class_q_c_p_graph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a>, data only represented with lines) </p>
  245. </td></tr>
  246. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a06e15a735b79093a1d999c0374fa3aa1"></a>ssDot&#160;</td><td class="fielddoc">
  247. <p>{ssDot.png} a single pixel (use <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a281fe1434696dcbab3aa6b9ccfbb09e9">ssDisc</a> or <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a7c92a110880d0ef2170dff3a5b4f7779">ssCircle</a> if you want a round shape with a certain radius) </p>
  248. </td></tr>
  249. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a9eacd60f059dc3ef71bf249f515a6fe4"></a>ssCross&#160;</td><td class="fielddoc">
  250. <p>{ssCross.png} a cross </p>
  251. </td></tr>
  252. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a2d7f1d3c1a148b9d9d17f2fd9cae5eb7"></a>ssPlus&#160;</td><td class="fielddoc">
  253. <p>{ssPlus.png} a plus </p>
  254. </td></tr>
  255. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a7c92a110880d0ef2170dff3a5b4f7779"></a>ssCircle&#160;</td><td class="fielddoc">
  256. <p>{ssCircle.png} a circle </p>
  257. </td></tr>
  258. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a281fe1434696dcbab3aa6b9ccfbb09e9"></a>ssDisc&#160;</td><td class="fielddoc">
  259. <p>{ssDisc.png} a circle which is filled with the pen's color (not the brush as with ssCircle) </p>
  260. </td></tr>
  261. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a279e48703ddc9f1cf4a61d3e2817ab3c"></a>ssSquare&#160;</td><td class="fielddoc">
  262. <p>{ssSquare.png} a square </p>
  263. </td></tr>
  264. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a4fc5929df1b2dad0a3cb2ef2c8b6e633"></a>ssDiamond&#160;</td><td class="fielddoc">
  265. <p>{ssDiamond.png} a diamond </p>
  266. </td></tr>
  267. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a6047a2d64e41f1d6ce54445d595d442f"></a>ssStar&#160;</td><td class="fielddoc">
  268. <p>{ssStar.png} a star with eight arms, i.e. a combination of cross and plus </p>
  269. </td></tr>
  270. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a74a8d4eff1d97b57c53a60d0003453c3"></a>ssTriangle&#160;</td><td class="fielddoc">
  271. <p>{ssTriangle.png} an equilateral triangle, standing on baseline </p>
  272. </td></tr>
  273. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a6156274d21d8b4115197567d3ea2d9a8"></a>ssTriangleInverted&#160;</td><td class="fielddoc">
  274. <p>{ssTriangleInverted.png} an equilateral triangle, standing on corner </p>
  275. </td></tr>
  276. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a7081310936c200c6c78e34c172f72d07"></a>ssCrossSquare&#160;</td><td class="fielddoc">
  277. <p>{ssCrossSquare.png} a square with a cross inside </p>
  278. </td></tr>
  279. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a5aa8e9db545e5404482fec774768ee25"></a>ssPlusSquare&#160;</td><td class="fielddoc">
  280. <p>{ssPlusSquare.png} a square with a plus inside </p>
  281. </td></tr>
  282. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a524613ba5d1c4eaa1541d74cf339d283"></a>ssCrossCircle&#160;</td><td class="fielddoc">
  283. <p>{ssCrossCircle.png} a circle with a cross inside </p>
  284. </td></tr>
  285. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a6fa151d01f1694c9ff9922da686dc535"></a>ssPlusCircle&#160;</td><td class="fielddoc">
  286. <p>{ssPlusCircle.png} a circle with a plus inside </p>
  287. </td></tr>
  288. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349ada3b2988ece38c121922a4b5007eb08d"></a>ssPeace&#160;</td><td class="fielddoc">
  289. <p>{ssPeace.png} a circle, with one vertical and two downward diagonal lines </p>
  290. </td></tr>
  291. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e"></a>ssPixmap&#160;</td><td class="fielddoc">
  292. <p>a custom pixmap specified by <a class="el" href="class_q_c_p_scatter_style.html#a5fb611d46acfac520d7b89a1c71d9246">setPixmap</a>, centered on the data point coordinates </p>
  293. </td></tr>
  294. <tr><td class="fieldname"><a class="anchor" id="adb31525af6b680e6f1b7472e43859349a15d9bcfd9de94edda949006529f9219d"></a>ssCustom&#160;</td><td class="fielddoc">
  295. <p>custom painter operations are performed per scatter (As QPainterPath, see <a class="el" href="class_q_c_p_scatter_style.html#a96a3e949f90b2afe5677ca9412a12a1e">setCustomPath</a>) </p>
  296. </td></tr>
  297. </table>
  298. </div>
  299. </div>
  300. <h2 class="groupheader">Documentación del constructor y destructor</h2>
  301. <a class="anchor" id="a8836018d9ad83ccd8870de8315c1be73"></a>
  302. <div class="memitem">
  303. <div class="memproto">
  304. <table class="memname">
  305. <tr>
  306. <td class="memname">QCPScatterStyle::QCPScatterStyle </td>
  307. <td>(</td>
  308. <td class="paramname"></td><td>)</td>
  309. <td></td>
  310. </tr>
  311. </table>
  312. </div><div class="memdoc">
  313. <p>Creates a new <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance with size set to 6. No shape, pen or brush is defined.</p>
  314. <p>Since the pen is undefined (<a class="el" href="class_q_c_p_scatter_style.html#a7f1385a8d5e4f349a6b8030723fbd0f7">isPenDefined</a> returns false), the scatter color will be inherited from the plottable that uses this scatter style. </p>
  315. </div>
  316. </div>
  317. <a class="anchor" id="a003d92f74f4561eda111862eadd62f28"></a>
  318. <div class="memitem">
  319. <div class="memproto">
  320. <table class="memname">
  321. <tr>
  322. <td class="memname">QCPScatterStyle::QCPScatterStyle </td>
  323. <td>(</td>
  324. <td class="paramtype"><a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a>&#160;</td>
  325. <td class="paramname"><em>shape</em>, </td>
  326. </tr>
  327. <tr>
  328. <td class="paramkey"></td>
  329. <td></td>
  330. <td class="paramtype">double&#160;</td>
  331. <td class="paramname"><em>size</em> = <code>6</code>&#160;</td>
  332. </tr>
  333. <tr>
  334. <td></td>
  335. <td>)</td>
  336. <td></td><td></td>
  337. </tr>
  338. </table>
  339. </div><div class="memdoc">
  340. <p>Creates a new <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance with shape set to <em>shape</em> and size to <em>size</em>. No pen or brush is defined.</p>
  341. <p>Since the pen is undefined (<a class="el" href="class_q_c_p_scatter_style.html#a7f1385a8d5e4f349a6b8030723fbd0f7">isPenDefined</a> returns false), the scatter color will be inherited from the plottable that uses this scatter style. </p>
  342. </div>
  343. </div>
  344. <a class="anchor" id="afa059da858c864c7e05871dc602d7eab"></a>
  345. <div class="memitem">
  346. <div class="memproto">
  347. <table class="memname">
  348. <tr>
  349. <td class="memname">QCPScatterStyle::QCPScatterStyle </td>
  350. <td>(</td>
  351. <td class="paramtype"><a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a>&#160;</td>
  352. <td class="paramname"><em>shape</em>, </td>
  353. </tr>
  354. <tr>
  355. <td class="paramkey"></td>
  356. <td></td>
  357. <td class="paramtype">const QColor &amp;&#160;</td>
  358. <td class="paramname"><em>color</em>, </td>
  359. </tr>
  360. <tr>
  361. <td class="paramkey"></td>
  362. <td></td>
  363. <td class="paramtype">double&#160;</td>
  364. <td class="paramname"><em>size</em>&#160;</td>
  365. </tr>
  366. <tr>
  367. <td></td>
  368. <td>)</td>
  369. <td></td><td></td>
  370. </tr>
  371. </table>
  372. </div><div class="memdoc">
  373. <p>Creates a new <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance with shape set to <em>shape</em>, the pen color set to <em>color</em>, and size to <em>size</em>. No brush is defined, i.e. the scatter point will not be filled. </p>
  374. </div>
  375. </div>
  376. <a class="anchor" id="a6e1b64f12cac7f07af180ae4316fd38d"></a>
  377. <div class="memitem">
  378. <div class="memproto">
  379. <table class="memname">
  380. <tr>
  381. <td class="memname">QCPScatterStyle::QCPScatterStyle </td>
  382. <td>(</td>
  383. <td class="paramtype"><a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a>&#160;</td>
  384. <td class="paramname"><em>shape</em>, </td>
  385. </tr>
  386. <tr>
  387. <td class="paramkey"></td>
  388. <td></td>
  389. <td class="paramtype">const QColor &amp;&#160;</td>
  390. <td class="paramname"><em>color</em>, </td>
  391. </tr>
  392. <tr>
  393. <td class="paramkey"></td>
  394. <td></td>
  395. <td class="paramtype">const QColor &amp;&#160;</td>
  396. <td class="paramname"><em>fill</em>, </td>
  397. </tr>
  398. <tr>
  399. <td class="paramkey"></td>
  400. <td></td>
  401. <td class="paramtype">double&#160;</td>
  402. <td class="paramname"><em>size</em>&#160;</td>
  403. </tr>
  404. <tr>
  405. <td></td>
  406. <td>)</td>
  407. <td></td><td></td>
  408. </tr>
  409. </table>
  410. </div><div class="memdoc">
  411. <p>Creates a new <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance with shape set to <em>shape</em>, the pen color set to <em>color</em>, the brush color to <em>fill</em> (with a solid pattern), and size to <em>size</em>. </p>
  412. </div>
  413. </div>
  414. <a class="anchor" id="a85acc4941d7e5c9bca5fa51377a77f49"></a>
  415. <div class="memitem">
  416. <div class="memproto">
  417. <table class="memname">
  418. <tr>
  419. <td class="memname">QCPScatterStyle::QCPScatterStyle </td>
  420. <td>(</td>
  421. <td class="paramtype"><a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">ScatterShape</a>&#160;</td>
  422. <td class="paramname"><em>shape</em>, </td>
  423. </tr>
  424. <tr>
  425. <td class="paramkey"></td>
  426. <td></td>
  427. <td class="paramtype">const QPen &amp;&#160;</td>
  428. <td class="paramname"><em>pen</em>, </td>
  429. </tr>
  430. <tr>
  431. <td class="paramkey"></td>
  432. <td></td>
  433. <td class="paramtype">const QBrush &amp;&#160;</td>
  434. <td class="paramname"><em>brush</em>, </td>
  435. </tr>
  436. <tr>
  437. <td class="paramkey"></td>
  438. <td></td>
  439. <td class="paramtype">double&#160;</td>
  440. <td class="paramname"><em>size</em>&#160;</td>
  441. </tr>
  442. <tr>
  443. <td></td>
  444. <td>)</td>
  445. <td></td><td></td>
  446. </tr>
  447. </table>
  448. </div><div class="memdoc">
  449. <p>Creates a new <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance with shape set to <em>shape</em>, the pen set to <em>pen</em>, the brush to <em>brush</em>, and size to <em>size</em>.</p>
  450. <dl class="section warning"><dt>Atención</dt><dd>In some cases it might be tempting to directly use a pen style like <code>Qt::NoPen</code> as <em>pen</em> and a color like <code>Qt::blue</code> as <em>brush</em>. Notice however, that the corresponding call<br />
  451. <code><a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle(QCPScatterShape::ssCircle, Qt::NoPen, Qt::blue, 5)</a></code><br />
  452. doesn't necessarily lead C++ to use this constructor in some cases, but might mistake <code>Qt::NoPen</code> for a QColor and use the <a class="el" href="class_q_c_p_scatter_style.html#a6e1b64f12cac7f07af180ae4316fd38d">QCPScatterStyle(ScatterShape shape, const QColor &amp;color, const QColor &amp;fill, double size)</a> constructor instead (which will lead to an unexpected look of the scatter points). To prevent this, be more explicit with the parameter types. For example, use <code>QBrush(Qt::blue)</code> instead of just <code>Qt::blue</code>, to clearly point out to the compiler that this constructor is wanted. </dd></dl>
  453. </div>
  454. </div>
  455. <a class="anchor" id="a63962094587a4c2258435aa7933996cc"></a>
  456. <div class="memitem">
  457. <div class="memproto">
  458. <table class="memname">
  459. <tr>
  460. <td class="memname">QCPScatterStyle::QCPScatterStyle </td>
  461. <td>(</td>
  462. <td class="paramtype">const QPixmap &amp;&#160;</td>
  463. <td class="paramname"><em>pixmap</em></td><td>)</td>
  464. <td></td>
  465. </tr>
  466. </table>
  467. </div><div class="memdoc">
  468. <p>Creates a new <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance which will show the specified <em>pixmap</em>. The scatter shape is set to <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e">ssPixmap</a>. </p>
  469. </div>
  470. </div>
  471. <a class="anchor" id="a879c30647683b3cfbde2afecea815e6f"></a>
  472. <div class="memitem">
  473. <div class="memproto">
  474. <table class="memname">
  475. <tr>
  476. <td class="memname">QCPScatterStyle::QCPScatterStyle </td>
  477. <td>(</td>
  478. <td class="paramtype">const QPainterPath &amp;&#160;</td>
  479. <td class="paramname"><em>customPath</em>, </td>
  480. </tr>
  481. <tr>
  482. <td class="paramkey"></td>
  483. <td></td>
  484. <td class="paramtype">const QPen &amp;&#160;</td>
  485. <td class="paramname"><em>pen</em>, </td>
  486. </tr>
  487. <tr>
  488. <td class="paramkey"></td>
  489. <td></td>
  490. <td class="paramtype">const QBrush &amp;&#160;</td>
  491. <td class="paramname"><em>brush</em> = <code>Qt::NoBrush</code>, </td>
  492. </tr>
  493. <tr>
  494. <td class="paramkey"></td>
  495. <td></td>
  496. <td class="paramtype">double&#160;</td>
  497. <td class="paramname"><em>size</em> = <code>6</code>&#160;</td>
  498. </tr>
  499. <tr>
  500. <td></td>
  501. <td>)</td>
  502. <td></td><td></td>
  503. </tr>
  504. </table>
  505. </div><div class="memdoc">
  506. <p>Creates a new <a class="el" href="class_q_c_p_scatter_style.html" title="Represents the visual appearance of scatter points. ">QCPScatterStyle</a> instance with a custom shape that is defined via <em>customPath</em>. The scatter shape is set to <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a15d9bcfd9de94edda949006529f9219d">ssCustom</a>.</p>
  507. <p>The custom shape line will be drawn with <em>pen</em> and filled with <em>brush</em>. The size has a slightly different meaning than for built-in scatter points: The custom path will be drawn scaled by a factor of <em>size/6.0</em>. Since the default <em>size</em> is 6, the custom path will appear at a its natural size by default. To double the size of the path for example, set <em>size</em> to 12. </p>
  508. </div>
  509. </div>
  510. <h2 class="groupheader">Documentación de las funciones miembro</h2>
  511. <a class="anchor" id="a81817dfd404635f211e6ff2a04657d36"></a>
  512. <div class="memitem">
  513. <div class="memproto">
  514. <table class="memname">
  515. <tr>
  516. <td class="memname">void QCPScatterStyle::applyTo </td>
  517. <td>(</td>
  518. <td class="paramtype"><a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *&#160;</td>
  519. <td class="paramname"><em>painter</em>, </td>
  520. </tr>
  521. <tr>
  522. <td class="paramkey"></td>
  523. <td></td>
  524. <td class="paramtype">const QPen &amp;&#160;</td>
  525. <td class="paramname"><em>defaultPen</em>&#160;</td>
  526. </tr>
  527. <tr>
  528. <td></td>
  529. <td>)</td>
  530. <td></td><td> const</td>
  531. </tr>
  532. </table>
  533. </div><div class="memdoc">
  534. <p>Applies the pen and the brush of this scatter style to <em>painter</em>. If this scatter style has an undefined pen (<a class="el" href="class_q_c_p_scatter_style.html#a7f1385a8d5e4f349a6b8030723fbd0f7">isPenDefined</a>), sets the pen of <em>painter</em> to <em>defaultPen</em> instead.</p>
  535. <p>This function is used by plottables (or any class that wants to draw scatters) just before a number of scatters with this style shall be drawn with the <em>painter</em>.</p>
  536. <dl class="section see"><dt>Ver también</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#a992d531ac471ec2b29bdec6aeb400a06">drawShape</a> </dd></dl>
  537. </div>
  538. </div>
  539. <a class="anchor" id="a992d531ac471ec2b29bdec6aeb400a06"></a>
  540. <div class="memitem">
  541. <div class="memproto">
  542. <table class="memname">
  543. <tr>
  544. <td class="memname">void QCPScatterStyle::drawShape </td>
  545. <td>(</td>
  546. <td class="paramtype"><a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *&#160;</td>
  547. <td class="paramname"><em>painter</em>, </td>
  548. </tr>
  549. <tr>
  550. <td class="paramkey"></td>
  551. <td></td>
  552. <td class="paramtype">QPointF&#160;</td>
  553. <td class="paramname"><em>pos</em>&#160;</td>
  554. </tr>
  555. <tr>
  556. <td></td>
  557. <td>)</td>
  558. <td></td><td> const</td>
  559. </tr>
  560. </table>
  561. </div><div class="memdoc">
  562. <p>Draws the scatter shape with <em>painter</em> at position <em>pos</em>.</p>
  563. <p>This function does not modify the pen or the brush on the painter, as <a class="el" href="class_q_c_p_scatter_style.html#a81817dfd404635f211e6ff2a04657d36">applyTo</a> is meant to be called before scatter points are drawn with <a class="el" href="class_q_c_p_scatter_style.html#a992d531ac471ec2b29bdec6aeb400a06">drawShape</a>.</p>
  564. <dl class="section see"><dt>Ver también</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#a81817dfd404635f211e6ff2a04657d36">applyTo</a> </dd></dl>
  565. </div>
  566. </div>
  567. <a class="anchor" id="ae76811ac9f70ebf7a2b4c759853e6ed8"></a>
  568. <div class="memitem">
  569. <div class="memproto">
  570. <table class="memname">
  571. <tr>
  572. <td class="memname">void QCPScatterStyle::drawShape </td>
  573. <td>(</td>
  574. <td class="paramtype"><a class="el" href="class_q_c_p_painter.html">QCPPainter</a> *&#160;</td>
  575. <td class="paramname"><em>painter</em>, </td>
  576. </tr>
  577. <tr>
  578. <td class="paramkey"></td>
  579. <td></td>
  580. <td class="paramtype">double&#160;</td>
  581. <td class="paramname"><em>x</em>, </td>
  582. </tr>
  583. <tr>
  584. <td class="paramkey"></td>
  585. <td></td>
  586. <td class="paramtype">double&#160;</td>
  587. <td class="paramname"><em>y</em>&#160;</td>
  588. </tr>
  589. <tr>
  590. <td></td>
  591. <td>)</td>
  592. <td></td><td> const</td>
  593. </tr>
  594. </table>
  595. </div><div class="memdoc">
  596. <p>Esta es una función miembro sobrecargada que se suministra por conveniencia. Difiere de la anterior función solamente en los argumentos que acepta. Draws the scatter shape with <em>painter</em> at position <em>x</em> and <em>y</em>. </p>
  597. </div>
  598. </div>
  599. <a class="anchor" id="aa3861281108d0adbeb291c820ea3925c"></a>
  600. <div class="memitem">
  601. <div class="memproto">
  602. <table class="mlabels">
  603. <tr>
  604. <td class="mlabels-left">
  605. <table class="memname">
  606. <tr>
  607. <td class="memname">bool QCPScatterStyle::isNone </td>
  608. <td>(</td>
  609. <td class="paramname"></td><td>)</td>
  610. <td> const</td>
  611. </tr>
  612. </table>
  613. </td>
  614. <td class="mlabels-right">
  615. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  616. </tr>
  617. </table>
  618. </div><div class="memdoc">
  619. <p>Returns whether the scatter shape is <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349abd144c291ca274f77053ec68cab6c022">ssNone</a>.</p>
  620. <dl class="section see"><dt>Ver también</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#a7c641c4d4c6d29cb705d3887cfce91c1">setShape</a> </dd></dl>
  621. </div>
  622. </div>
  623. <a class="anchor" id="a7f1385a8d5e4f349a6b8030723fbd0f7"></a>
  624. <div class="memitem">
  625. <div class="memproto">
  626. <table class="mlabels">
  627. <tr>
  628. <td class="mlabels-left">
  629. <table class="memname">
  630. <tr>
  631. <td class="memname">bool QCPScatterStyle::isPenDefined </td>
  632. <td>(</td>
  633. <td class="paramname"></td><td>)</td>
  634. <td> const</td>
  635. </tr>
  636. </table>
  637. </td>
  638. <td class="mlabels-right">
  639. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  640. </tr>
  641. </table>
  642. </div><div class="memdoc">
  643. <p>Returns whether a pen has been defined for this scatter style.</p>
  644. <p>The pen is undefined if a constructor is called that does not carry <em>pen</em> as parameter. Those are <a class="el" href="class_q_c_p_scatter_style.html#a8836018d9ad83ccd8870de8315c1be73">QCPScatterStyle()</a> and <a class="el" href="class_q_c_p_scatter_style.html#a003d92f74f4561eda111862eadd62f28">QCPScatterStyle(ScatterShape shape, double size)</a>. If the pen is left undefined, the scatter color will be inherited from the plottable that uses this scatter style.</p>
  645. <dl class="section see"><dt>Ver también</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#a761f1f229cc0ca4703e1e2b89f6dd1ba">setPen</a> </dd></dl>
  646. </div>
  647. </div>
  648. <a class="anchor" id="a74d692aaeb8d4b36d6f7d510e44264b1"></a>
  649. <div class="memitem">
  650. <div class="memproto">
  651. <table class="memname">
  652. <tr>
  653. <td class="memname">void QCPScatterStyle::setBrush </td>
  654. <td>(</td>
  655. <td class="paramtype">const QBrush &amp;&#160;</td>
  656. <td class="paramname"><em>brush</em></td><td>)</td>
  657. <td></td>
  658. </tr>
  659. </table>
  660. </div><div class="memdoc">
  661. <p>Sets the brush that will be used to fill scatter points to <em>brush</em>. Note that not all scatter shapes have fillable areas. For example, <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a2d7f1d3c1a148b9d9d17f2fd9cae5eb7">ssPlus</a> does not while <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a7c92a110880d0ef2170dff3a5b4f7779">ssCircle</a> does.</p>
  662. <dl class="section see"><dt>Ver también</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#a761f1f229cc0ca4703e1e2b89f6dd1ba">setPen</a> </dd></dl>
  663. </div>
  664. </div>
  665. <a class="anchor" id="a96a3e949f90b2afe5677ca9412a12a1e"></a>
  666. <div class="memitem">
  667. <div class="memproto">
  668. <table class="memname">
  669. <tr>
  670. <td class="memname">void QCPScatterStyle::setCustomPath </td>
  671. <td>(</td>
  672. <td class="paramtype">const QPainterPath &amp;&#160;</td>
  673. <td class="paramname"><em>customPath</em></td><td>)</td>
  674. <td></td>
  675. </tr>
  676. </table>
  677. </div><div class="memdoc">
  678. <p>Sets the custom shape that will be drawn as scatter point to <em>customPath</em>.</p>
  679. <p>The scatter shape is automatically set to <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a15d9bcfd9de94edda949006529f9219d">ssCustom</a>. </p>
  680. </div>
  681. </div>
  682. <a class="anchor" id="a761f1f229cc0ca4703e1e2b89f6dd1ba"></a>
  683. <div class="memitem">
  684. <div class="memproto">
  685. <table class="memname">
  686. <tr>
  687. <td class="memname">void QCPScatterStyle::setPen </td>
  688. <td>(</td>
  689. <td class="paramtype">const QPen &amp;&#160;</td>
  690. <td class="paramname"><em>pen</em></td><td>)</td>
  691. <td></td>
  692. </tr>
  693. </table>
  694. </div><div class="memdoc">
  695. <p>Sets the pen that will be used to draw scatter points to <em>pen</em>.</p>
  696. <p>If the pen was previously undefined (see <a class="el" href="class_q_c_p_scatter_style.html#a7f1385a8d5e4f349a6b8030723fbd0f7">isPenDefined</a>), the pen is considered defined after a call to this function, even if <em>pen</em> is <code>Qt::NoPen</code>.</p>
  697. <dl class="section see"><dt>Ver también</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#a74d692aaeb8d4b36d6f7d510e44264b1">setBrush</a> </dd></dl>
  698. </div>
  699. </div>
  700. <a class="anchor" id="a5fb611d46acfac520d7b89a1c71d9246"></a>
  701. <div class="memitem">
  702. <div class="memproto">
  703. <table class="memname">
  704. <tr>
  705. <td class="memname">void QCPScatterStyle::setPixmap </td>
  706. <td>(</td>
  707. <td class="paramtype">const QPixmap &amp;&#160;</td>
  708. <td class="paramname"><em>pixmap</em></td><td>)</td>
  709. <td></td>
  710. </tr>
  711. </table>
  712. </div><div class="memdoc">
  713. <p>Sets the pixmap that will be drawn as scatter point to <em>pixmap</em>.</p>
  714. <p>Note that <a class="el" href="class_q_c_p_scatter_style.html#aaefdd031052892c4136129db68596e0f">setSize</a> does not influence the appearance of the pixmap.</p>
  715. <p>The scatter shape is automatically set to <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e">ssPixmap</a>. </p>
  716. </div>
  717. </div>
  718. <a class="anchor" id="a7c641c4d4c6d29cb705d3887cfce91c1"></a>
  719. <div class="memitem">
  720. <div class="memproto">
  721. <table class="memname">
  722. <tr>
  723. <td class="memname">void QCPScatterStyle::setShape </td>
  724. <td>(</td>
  725. <td class="paramtype"><a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349">QCPScatterStyle::ScatterShape</a>&#160;</td>
  726. <td class="paramname"><em>shape</em></td><td>)</td>
  727. <td></td>
  728. </tr>
  729. </table>
  730. </div><div class="memdoc">
  731. <p>Sets the shape to <em>shape</em>.</p>
  732. <p>Note that the calls <a class="el" href="class_q_c_p_scatter_style.html#a5fb611d46acfac520d7b89a1c71d9246">setPixmap</a> and <a class="el" href="class_q_c_p_scatter_style.html#a96a3e949f90b2afe5677ca9412a12a1e">setCustomPath</a> automatically set the shape to <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a8718b849ca7c307b07b8e091efb0c31e">ssPixmap</a> and <a class="el" href="class_q_c_p_scatter_style.html#adb31525af6b680e6f1b7472e43859349a15d9bcfd9de94edda949006529f9219d">ssCustom</a>, respectively.</p>
  733. <dl class="section see"><dt>Ver también</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#aaefdd031052892c4136129db68596e0f">setSize</a> </dd></dl>
  734. </div>
  735. </div>
  736. <a class="anchor" id="aaefdd031052892c4136129db68596e0f"></a>
  737. <div class="memitem">
  738. <div class="memproto">
  739. <table class="memname">
  740. <tr>
  741. <td class="memname">void QCPScatterStyle::setSize </td>
  742. <td>(</td>
  743. <td class="paramtype">double&#160;</td>
  744. <td class="paramname"><em>size</em></td><td>)</td>
  745. <td></td>
  746. </tr>
  747. </table>
  748. </div><div class="memdoc">
  749. <p>Sets the size (pixel diameter) of the drawn scatter points to <em>size</em>.</p>
  750. <dl class="section see"><dt>Ver también</dt><dd><a class="el" href="class_q_c_p_scatter_style.html#a7c641c4d4c6d29cb705d3887cfce91c1">setShape</a> </dd></dl>
  751. </div>
  752. </div>
  753. <hr/>La documentación para esta clase fue generada a partir de los siguientes ficheros:<ul>
  754. <li><a class="el" href="qcustomplot_8h_source.html">qcustomplot.h</a></li>
  755. <li><a class="el" href="qcustomplot_8cpp.html">qcustomplot.cpp</a></li>
  756. </ul>
  757. </div><!-- contents -->
  758. <!-- start footer part -->
  759. <hr class="footer"/><address class="footer"><small>
  760. Generado el Martes, 11 de Agosto de 2015 13:05:04 para My Project por &#160;<a href="http://www.doxygen.org/index.html">
  761. <img class="footer" src="doxygen.png" alt="doxygen"/>
  762. </a> 1.8.9.1
  763. </small></address>
  764. </body>
  765. </html>