class_qwt_legend_label.html 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.20"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Qwt User&#39;s Guide: QwtLegendLabel Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  17. <script type="text/javascript" src="search/searchdata.js"></script>
  18. <script type="text/javascript" src="search/search.js"></script>
  19. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  20. </head>
  21. <body>
  22. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  23. <div id="titlearea">
  24. <table cellspacing="0" cellpadding="0">
  25. <tbody>
  26. <tr style="height: 56px;">
  27. <td id="projectalign" style="padding-left: 0.5em;">
  28. <div id="projectname">Qwt User&#39;s Guide
  29. &#160;<span id="projectnumber">6.1.6</span>
  30. </div>
  31. </td>
  32. </tr>
  33. </tbody>
  34. </table>
  35. </div>
  36. <!-- end header part -->
  37. <!-- Generated by Doxygen 1.8.20 -->
  38. <script type="text/javascript">
  39. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  40. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  41. /* @license-end */
  42. </script>
  43. <script type="text/javascript" src="menudata.js"></script>
  44. <script type="text/javascript" src="menu.js"></script>
  45. <script type="text/javascript">
  46. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  47. $(function() {
  48. initMenu('',true,false,'search.php','Search');
  49. $(document).ready(function() { init_search(); });
  50. });
  51. /* @license-end */</script>
  52. <div id="main-nav"></div>
  53. </div><!-- top -->
  54. <div id="side-nav" class="ui-resizable side-nav-resizable">
  55. <div id="nav-tree">
  56. <div id="nav-tree-contents">
  57. <div id="nav-sync" class="sync"></div>
  58. </div>
  59. </div>
  60. <div id="splitbar" style="-moz-user-select:none;"
  61. class="ui-resizable-handle">
  62. </div>
  63. </div>
  64. <script type="text/javascript">
  65. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  66. $(document).ready(function(){initNavTree('class_qwt_legend_label.html',''); initResizable(); });
  67. /* @license-end */
  68. </script>
  69. <div id="doc-content">
  70. <!-- window showing the filter options -->
  71. <div id="MSearchSelectWindow"
  72. onmouseover="return searchBox.OnSearchSelectShow()"
  73. onmouseout="return searchBox.OnSearchSelectHide()"
  74. onkeydown="return searchBox.OnSearchSelectKey(event)">
  75. </div>
  76. <!-- iframe showing the search results (closed by default) -->
  77. <div id="MSearchResultsWindow">
  78. <iframe src="javascript:void(0)" frameborder="0"
  79. name="MSearchResults" id="MSearchResults">
  80. </iframe>
  81. </div>
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-slots">Public Slots</a> &#124;
  85. <a href="#signals">Signals</a> &#124;
  86. <a href="#pub-methods">Public Member Functions</a> &#124;
  87. <a href="#pro-methods">Protected Member Functions</a> &#124;
  88. <a href="class_qwt_legend_label-members.html">List of all members</a> </div>
  89. <div class="headertitle">
  90. <div class="title">QwtLegendLabel Class Reference</div> </div>
  91. </div><!--header-->
  92. <div class="contents">
  93. <p>A widget representing something on a <a class="el" href="class_qwt_legend.html" title="The legend widget.">QwtLegend</a>.
  94. <a href="class_qwt_legend_label.html#details">More...</a></p>
  95. <p><code>#include &lt;<a class="el" href="qwt__legend__label_8h_source.html">qwt_legend_label.h</a>&gt;</code></p>
  96. <div class="dynheader">
  97. Inheritance diagram for QwtLegendLabel:</div>
  98. <div class="dyncontent">
  99. <div class="center"><img src="class_qwt_legend_label__inherit__graph.png" border="0" usemap="#a_qwt_legend_label_inherit__map" alt="Inheritance graph"/></div>
  100. <map name="_qwt_legend_label_inherit__map" id="a_qwt_legend_label_inherit__map">
  101. <area shape="rect" title="A widget representing something on a QwtLegend." alt="" coords="5,155,124,181"/>
  102. <area shape="rect" href="class_qwt_text_label.html" title="A Widget which displays a QwtText." alt="" coords="13,80,116,107"/>
  103. <area shape="rect" title=" " alt="" coords="30,5,99,32"/>
  104. </map>
  105. <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
  106. <table class="memberdecls">
  107. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
  108. Public Slots</h2></td></tr>
  109. <tr class="memitem:aec4affb8dbd281a7a8c5511c3ebf5ff8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#aec4affb8dbd281a7a8c5511c3ebf5ff8">setChecked</a> (bool on)</td></tr>
  110. <tr class="separator:aec4affb8dbd281a7a8c5511c3ebf5ff8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="inherit_header pub_slots_class_qwt_text_label"><td colspan="2" onclick="javascript:toggleInherit('pub_slots_class_qwt_text_label')"><img src="closed.png" alt="-"/>&#160;Public Slots inherited from <a class="el" href="class_qwt_text_label.html">QwtTextLabel</a></td></tr>
  112. <tr class="memitem:ab300b9a0a6392e180f2caff41ba2b9b8 inherit pub_slots_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#ab300b9a0a6392e180f2caff41ba2b9b8">setText</a> (const QString &amp;, <a class="el" href="class_qwt_text.html#a63e0d6a59a427a37ed0bfa71b782fd76">QwtText::TextFormat</a> textFormat=<a class="el" href="class_qwt_text.html#a63e0d6a59a427a37ed0bfa71b782fd76a0645d333081ec9e3574c98f510c284a1">QwtText::AutoText</a>)</td></tr>
  113. <tr class="separator:ab300b9a0a6392e180f2caff41ba2b9b8 inherit pub_slots_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:a6674cebd85cf692d154f967887547e11 inherit pub_slots_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top"><a id="a6674cebd85cf692d154f967887547e11"></a>
  115. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#a6674cebd85cf692d154f967887547e11">clear</a> ()</td></tr>
  116. <tr class="memdesc:a6674cebd85cf692d154f967887547e11 inherit pub_slots_class_qwt_text_label"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the text and all <a class="el" href="class_qwt_text.html" title="A class representing a text.">QwtText</a> attributes. <br /></td></tr>
  117. <tr class="separator:a6674cebd85cf692d154f967887547e11 inherit pub_slots_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. </table><table class="memberdecls">
  119. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
  120. Signals</h2></td></tr>
  121. <tr class="memitem:ae37056322967eddf53dbbd94748faa63"><td class="memItemLeft" align="right" valign="top"><a id="ae37056322967eddf53dbbd94748faa63"></a>
  122. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#ae37056322967eddf53dbbd94748faa63">clicked</a> ()</td></tr>
  123. <tr class="memdesc:ae37056322967eddf53dbbd94748faa63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal, when the legend item has been clicked. <br /></td></tr>
  124. <tr class="separator:ae37056322967eddf53dbbd94748faa63"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:ae3c6cdfa7a6390c3f4152fc78c701cdd"><td class="memItemLeft" align="right" valign="top"><a id="ae3c6cdfa7a6390c3f4152fc78c701cdd"></a>
  126. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#ae3c6cdfa7a6390c3f4152fc78c701cdd">pressed</a> ()</td></tr>
  127. <tr class="memdesc:ae3c6cdfa7a6390c3f4152fc78c701cdd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal, when the legend item has been pressed. <br /></td></tr>
  128. <tr class="separator:ae3c6cdfa7a6390c3f4152fc78c701cdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a6e5dc9325dfed28651c8b40f17ba73af"><td class="memItemLeft" align="right" valign="top"><a id="a6e5dc9325dfed28651c8b40f17ba73af"></a>
  130. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#a6e5dc9325dfed28651c8b40f17ba73af">released</a> ()</td></tr>
  131. <tr class="memdesc:a6e5dc9325dfed28651c8b40f17ba73af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal, when the legend item has been released. <br /></td></tr>
  132. <tr class="separator:a6e5dc9325dfed28651c8b40f17ba73af"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:a248d0836578ccf15fe56f2fee603e981"><td class="memItemLeft" align="right" valign="top"><a id="a248d0836578ccf15fe56f2fee603e981"></a>
  134. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#a248d0836578ccf15fe56f2fee603e981">checked</a> (bool)</td></tr>
  135. <tr class="memdesc:a248d0836578ccf15fe56f2fee603e981"><td class="mdescLeft">&#160;</td><td class="mdescRight">Signal, when the legend item has been toggled. <br /></td></tr>
  136. <tr class="separator:a248d0836578ccf15fe56f2fee603e981"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. </table><table class="memberdecls">
  138. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  139. Public Member Functions</h2></td></tr>
  140. <tr class="memitem:a557315a25a130c2608a2f63613096ab9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#a557315a25a130c2608a2f63613096ab9">QwtLegendLabel</a> (QWidget *parent=0)</td></tr>
  141. <tr class="separator:a557315a25a130c2608a2f63613096ab9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:ad9f7483fa0625a28aba97cca8c3167b7"><td class="memItemLeft" align="right" valign="top"><a id="ad9f7483fa0625a28aba97cca8c3167b7"></a>
  143. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#ad9f7483fa0625a28aba97cca8c3167b7">~QwtLegendLabel</a> ()</td></tr>
  144. <tr class="memdesc:ad9f7483fa0625a28aba97cca8c3167b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  145. <tr class="separator:ad9f7483fa0625a28aba97cca8c3167b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:abd0140174ae2f0818cc926f68a9f27cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#abd0140174ae2f0818cc926f68a9f27cc">setData</a> (const <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> &amp;)</td></tr>
  147. <tr class="separator:abd0140174ae2f0818cc926f68a9f27cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:aa7d232fa7a0f3e8bde4d71b360016167"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#aa7d232fa7a0f3e8bde4d71b360016167">data</a> () const</td></tr>
  149. <tr class="separator:aa7d232fa7a0f3e8bde4d71b360016167"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:a2f469bcbc733332110d61d70f863df2e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#a2f469bcbc733332110d61d70f863df2e">setItemMode</a> (<a class="el" href="class_qwt_legend_data.html#aaa33cc8e6aec17440df5d4c38d7545b7">QwtLegendData::Mode</a>)</td></tr>
  151. <tr class="separator:a2f469bcbc733332110d61d70f863df2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:a9a43bcf6281b9240eec1581ce400bc56"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_legend_data.html#aaa33cc8e6aec17440df5d4c38d7545b7">QwtLegendData::Mode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#a9a43bcf6281b9240eec1581ce400bc56">itemMode</a> () const</td></tr>
  153. <tr class="separator:a9a43bcf6281b9240eec1581ce400bc56"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:ad19d9ee759551f1fe785dc0ad806fd59"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#ad19d9ee759551f1fe785dc0ad806fd59">setSpacing</a> (int <a class="el" href="class_qwt_legend_label.html#a46c2aec2d42136cb5b9497f5e592980b">spacing</a>)</td></tr>
  155. <tr class="memdesc:ad19d9ee759551f1fe785dc0ad806fd59"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the spacing between icon and text. <a href="class_qwt_legend_label.html#ad19d9ee759551f1fe785dc0ad806fd59">More...</a><br /></td></tr>
  156. <tr class="separator:ad19d9ee759551f1fe785dc0ad806fd59"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:a46c2aec2d42136cb5b9497f5e592980b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#a46c2aec2d42136cb5b9497f5e592980b">spacing</a> () const</td></tr>
  158. <tr class="separator:a46c2aec2d42136cb5b9497f5e592980b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:a2498e1b2e1a17abf63fa4d94a08ebb95"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#a2498e1b2e1a17abf63fa4d94a08ebb95">setText</a> (const <a class="el" href="class_qwt_text.html">QwtText</a> &amp;)</td></tr>
  160. <tr class="separator:a2498e1b2e1a17abf63fa4d94a08ebb95"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr class="memitem:ae6113ca4894637f62f7e7df582672788"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#ae6113ca4894637f62f7e7df582672788">setIcon</a> (const QPixmap &amp;)</td></tr>
  162. <tr class="separator:ae6113ca4894637f62f7e7df582672788"><td class="memSeparator" colspan="2">&#160;</td></tr>
  163. <tr class="memitem:ab1d36a69550e88cb346d51d0889a5444"><td class="memItemLeft" align="right" valign="top">QPixmap&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#ab1d36a69550e88cb346d51d0889a5444">icon</a> () const</td></tr>
  164. <tr class="separator:ab1d36a69550e88cb346d51d0889a5444"><td class="memSeparator" colspan="2">&#160;</td></tr>
  165. <tr class="memitem:a7df4421d16f0ae5c46bfc4711750a793"><td class="memItemLeft" align="right" valign="top"><a id="a7df4421d16f0ae5c46bfc4711750a793"></a>
  166. virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#a7df4421d16f0ae5c46bfc4711750a793">sizeHint</a> () const</td></tr>
  167. <tr class="memdesc:a7df4421d16f0ae5c46bfc4711750a793"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a size hint. <br /></td></tr>
  168. <tr class="separator:a7df4421d16f0ae5c46bfc4711750a793"><td class="memSeparator" colspan="2">&#160;</td></tr>
  169. <tr class="memitem:afdfcb6dbb06d6bd0037e66b45e43cb6f"><td class="memItemLeft" align="right" valign="top"><a id="afdfcb6dbb06d6bd0037e66b45e43cb6f"></a>
  170. bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#afdfcb6dbb06d6bd0037e66b45e43cb6f">isChecked</a> () const</td></tr>
  171. <tr class="memdesc:afdfcb6dbb06d6bd0037e66b45e43cb6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true, if the item is checked. <br /></td></tr>
  172. <tr class="separator:afdfcb6dbb06d6bd0037e66b45e43cb6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  173. <tr class="inherit_header pub_methods_class_qwt_text_label"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qwt_text_label')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_qwt_text_label.html">QwtTextLabel</a></td></tr>
  174. <tr class="memitem:a95e022e766f4b9675f451482be7d654a inherit pub_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#a95e022e766f4b9675f451482be7d654a">QwtTextLabel</a> (QWidget *parent=NULL)</td></tr>
  175. <tr class="separator:a95e022e766f4b9675f451482be7d654a inherit pub_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <tr class="memitem:a1a44e38b02bb398d315affe02bb4ea69 inherit pub_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#a1a44e38b02bb398d315affe02bb4ea69">QwtTextLabel</a> (const <a class="el" href="class_qwt_text.html">QwtText</a> &amp;, QWidget *parent=NULL)</td></tr>
  177. <tr class="separator:a1a44e38b02bb398d315affe02bb4ea69 inherit pub_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  178. <tr class="memitem:adf8f363200c527a6af4259647304be5a inherit pub_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top"><a id="adf8f363200c527a6af4259647304be5a"></a>
  179. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#adf8f363200c527a6af4259647304be5a">~QwtTextLabel</a> ()</td></tr>
  180. <tr class="memdesc:adf8f363200c527a6af4259647304be5a inherit pub_methods_class_qwt_text_label"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  181. <tr class="separator:adf8f363200c527a6af4259647304be5a inherit pub_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:a02113ab776a00ab8bbc83197ce49445e inherit pub_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#a02113ab776a00ab8bbc83197ce49445e">setPlainText</a> (const QString &amp;)</td></tr>
  183. <tr class="separator:a02113ab776a00ab8bbc83197ce49445e inherit pub_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. <tr class="memitem:a69f0c6b13a6368ecf3e4e7e0e43252c1 inherit pub_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#a69f0c6b13a6368ecf3e4e7e0e43252c1">plainText</a> () const</td></tr>
  185. <tr class="separator:a69f0c6b13a6368ecf3e4e7e0e43252c1 inherit pub_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. <tr class="memitem:a65113573cdf1fe4098a324453e11fe4e inherit pub_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top"><a id="a65113573cdf1fe4098a324453e11fe4e"></a>
  187. const <a class="el" href="class_qwt_text.html">QwtText</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#a65113573cdf1fe4098a324453e11fe4e">text</a> () const</td></tr>
  188. <tr class="memdesc:a65113573cdf1fe4098a324453e11fe4e inherit pub_methods_class_qwt_text_label"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the text. <br /></td></tr>
  189. <tr class="separator:a65113573cdf1fe4098a324453e11fe4e inherit pub_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  190. <tr class="memitem:a10c9a8e239241d72f082e31b4ff1ce09 inherit pub_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top"><a id="a10c9a8e239241d72f082e31b4ff1ce09"></a>
  191. int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#a10c9a8e239241d72f082e31b4ff1ce09">indent</a> () const</td></tr>
  192. <tr class="memdesc:a10c9a8e239241d72f082e31b4ff1ce09 inherit pub_methods_class_qwt_text_label"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return label's text indent in pixels. <br /></td></tr>
  193. <tr class="separator:a10c9a8e239241d72f082e31b4ff1ce09 inherit pub_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  194. <tr class="memitem:aad25ab34c219f8d97ec7c39d064ed4a0 inherit pub_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#aad25ab34c219f8d97ec7c39d064ed4a0">setIndent</a> (int)</td></tr>
  195. <tr class="separator:aad25ab34c219f8d97ec7c39d064ed4a0 inherit pub_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  196. <tr class="memitem:a213b9d779d8f12b6db264d27be188eb5 inherit pub_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top"><a id="a213b9d779d8f12b6db264d27be188eb5"></a>
  197. int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#a213b9d779d8f12b6db264d27be188eb5">margin</a> () const</td></tr>
  198. <tr class="memdesc:a213b9d779d8f12b6db264d27be188eb5 inherit pub_methods_class_qwt_text_label"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return label's text margin in pixels. <br /></td></tr>
  199. <tr class="separator:a213b9d779d8f12b6db264d27be188eb5 inherit pub_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  200. <tr class="memitem:a833d27574b72bbc135f2972c72382eba inherit pub_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#a833d27574b72bbc135f2972c72382eba">setMargin</a> (int)</td></tr>
  201. <tr class="separator:a833d27574b72bbc135f2972c72382eba inherit pub_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  202. <tr class="memitem:a8608bb4cc67f8c494f8e15a2f7e80838 inherit pub_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top"><a id="a8608bb4cc67f8c494f8e15a2f7e80838"></a>
  203. virtual QSize&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#a8608bb4cc67f8c494f8e15a2f7e80838">minimumSizeHint</a> () const</td></tr>
  204. <tr class="memdesc:a8608bb4cc67f8c494f8e15a2f7e80838 inherit pub_methods_class_qwt_text_label"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a minimum size hint. <br /></td></tr>
  205. <tr class="separator:a8608bb4cc67f8c494f8e15a2f7e80838 inherit pub_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  206. <tr class="memitem:ad0e95c1b381a3fa3327181d076969042 inherit pub_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#ad0e95c1b381a3fa3327181d076969042">heightForWidth</a> (int) const</td></tr>
  207. <tr class="separator:ad0e95c1b381a3fa3327181d076969042 inherit pub_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  208. <tr class="memitem:aba181e6b4644df6d9014948f5a02acc2 inherit pub_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top">QRect&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#aba181e6b4644df6d9014948f5a02acc2">textRect</a> () const</td></tr>
  209. <tr class="separator:aba181e6b4644df6d9014948f5a02acc2 inherit pub_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  210. <tr class="memitem:af1e33db74ecf9c4e7aff158db65404c2 inherit pub_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top"><a id="af1e33db74ecf9c4e7aff158db65404c2"></a>
  211. virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#af1e33db74ecf9c4e7aff158db65404c2">drawText</a> (QPainter *, const QRectF &amp;)</td></tr>
  212. <tr class="memdesc:af1e33db74ecf9c4e7aff158db65404c2 inherit pub_methods_class_qwt_text_label"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redraw the text. <br /></td></tr>
  213. <tr class="separator:af1e33db74ecf9c4e7aff158db65404c2 inherit pub_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  214. </table><table class="memberdecls">
  215. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  216. Protected Member Functions</h2></td></tr>
  217. <tr class="memitem:ad79fbc910254d1607deb331ade69db90"><td class="memItemLeft" align="right" valign="top"><a id="ad79fbc910254d1607deb331ade69db90"></a>
  218. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#ad79fbc910254d1607deb331ade69db90">setDown</a> (bool)</td></tr>
  219. <tr class="memdesc:ad79fbc910254d1607deb331ade69db90"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the item being down. <br /></td></tr>
  220. <tr class="separator:ad79fbc910254d1607deb331ade69db90"><td class="memSeparator" colspan="2">&#160;</td></tr>
  221. <tr class="memitem:a637bf4081c1004de5850987be03c3a35"><td class="memItemLeft" align="right" valign="top"><a id="a637bf4081c1004de5850987be03c3a35"></a>
  222. bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#a637bf4081c1004de5850987be03c3a35">isDown</a> () const</td></tr>
  223. <tr class="memdesc:a637bf4081c1004de5850987be03c3a35"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true, if the item is down. <br /></td></tr>
  224. <tr class="separator:a637bf4081c1004de5850987be03c3a35"><td class="memSeparator" colspan="2">&#160;</td></tr>
  225. <tr class="memitem:a03649851d343dbd2c4128e9e50def6b7"><td class="memItemLeft" align="right" valign="top"><a id="a03649851d343dbd2c4128e9e50def6b7"></a>
  226. virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#a03649851d343dbd2c4128e9e50def6b7">paintEvent</a> (QPaintEvent *)</td></tr>
  227. <tr class="memdesc:a03649851d343dbd2c4128e9e50def6b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paint event. <br /></td></tr>
  228. <tr class="separator:a03649851d343dbd2c4128e9e50def6b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  229. <tr class="memitem:a2890c885c9665c7cfe630f7471337cb2"><td class="memItemLeft" align="right" valign="top"><a id="a2890c885c9665c7cfe630f7471337cb2"></a>
  230. virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#a2890c885c9665c7cfe630f7471337cb2">mousePressEvent</a> (QMouseEvent *)</td></tr>
  231. <tr class="memdesc:a2890c885c9665c7cfe630f7471337cb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handle mouse press events. <br /></td></tr>
  232. <tr class="separator:a2890c885c9665c7cfe630f7471337cb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  233. <tr class="memitem:a4b2c6badfcb25aea68fe3e72b134339e"><td class="memItemLeft" align="right" valign="top"><a id="a4b2c6badfcb25aea68fe3e72b134339e"></a>
  234. virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#a4b2c6badfcb25aea68fe3e72b134339e">mouseReleaseEvent</a> (QMouseEvent *)</td></tr>
  235. <tr class="memdesc:a4b2c6badfcb25aea68fe3e72b134339e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handle mouse release events. <br /></td></tr>
  236. <tr class="separator:a4b2c6badfcb25aea68fe3e72b134339e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  237. <tr class="memitem:a801059fdc196563ca28fd22fb3675024"><td class="memItemLeft" align="right" valign="top"><a id="a801059fdc196563ca28fd22fb3675024"></a>
  238. virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#a801059fdc196563ca28fd22fb3675024">keyPressEvent</a> (QKeyEvent *)</td></tr>
  239. <tr class="memdesc:a801059fdc196563ca28fd22fb3675024"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handle key press events. <br /></td></tr>
  240. <tr class="separator:a801059fdc196563ca28fd22fb3675024"><td class="memSeparator" colspan="2">&#160;</td></tr>
  241. <tr class="memitem:aed12dffa845db6538f15cb45077cfb76"><td class="memItemLeft" align="right" valign="top"><a id="aed12dffa845db6538f15cb45077cfb76"></a>
  242. virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_label.html#aed12dffa845db6538f15cb45077cfb76">keyReleaseEvent</a> (QKeyEvent *)</td></tr>
  243. <tr class="memdesc:aed12dffa845db6538f15cb45077cfb76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Handle key release events. <br /></td></tr>
  244. <tr class="separator:aed12dffa845db6538f15cb45077cfb76"><td class="memSeparator" colspan="2">&#160;</td></tr>
  245. <tr class="inherit_header pro_methods_class_qwt_text_label"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_qwt_text_label')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_qwt_text_label.html">QwtTextLabel</a></td></tr>
  246. <tr class="memitem:ab1d6c248f451517a32c626372670ab51 inherit pro_methods_class_qwt_text_label"><td class="memItemLeft" align="right" valign="top"><a id="ab1d6c248f451517a32c626372670ab51"></a>
  247. virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_text_label.html#ab1d6c248f451517a32c626372670ab51">drawContents</a> (QPainter *)</td></tr>
  248. <tr class="memdesc:ab1d6c248f451517a32c626372670ab51 inherit pro_methods_class_qwt_text_label"><td class="mdescLeft">&#160;</td><td class="mdescRight">Redraw the text and focus indicator. <br /></td></tr>
  249. <tr class="separator:ab1d6c248f451517a32c626372670ab51 inherit pro_methods_class_qwt_text_label"><td class="memSeparator" colspan="2">&#160;</td></tr>
  250. </table>
  251. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  252. <div class="textblock"><p>A widget representing something on a <a class="el" href="class_qwt_legend.html" title="The legend widget.">QwtLegend</a>. </p>
  253. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  254. <a id="a557315a25a130c2608a2f63613096ab9"></a>
  255. <h2 class="memtitle"><span class="permalink"><a href="#a557315a25a130c2608a2f63613096ab9">&#9670;&nbsp;</a></span>QwtLegendLabel()</h2>
  256. <div class="memitem">
  257. <div class="memproto">
  258. <table class="mlabels">
  259. <tr>
  260. <td class="mlabels-left">
  261. <table class="memname">
  262. <tr>
  263. <td class="memname">QwtLegendLabel::QwtLegendLabel </td>
  264. <td>(</td>
  265. <td class="paramtype">QWidget *&#160;</td>
  266. <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
  267. <td></td>
  268. </tr>
  269. </table>
  270. </td>
  271. <td class="mlabels-right">
  272. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  273. </tr>
  274. </table>
  275. </div><div class="memdoc">
  276. <dl class="params"><dt>Parameters</dt><dd>
  277. <table class="params">
  278. <tr><td class="paramname">parent</td><td>Parent widget </td></tr>
  279. </table>
  280. </dd>
  281. </dl>
  282. </div>
  283. </div>
  284. <h2 class="groupheader">Member Function Documentation</h2>
  285. <a id="aa7d232fa7a0f3e8bde4d71b360016167"></a>
  286. <h2 class="memtitle"><span class="permalink"><a href="#aa7d232fa7a0f3e8bde4d71b360016167">&#9670;&nbsp;</a></span>data()</h2>
  287. <div class="memitem">
  288. <div class="memproto">
  289. <table class="memname">
  290. <tr>
  291. <td class="memname">const <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> &amp; QwtLegendLabel::data </td>
  292. <td>(</td>
  293. <td class="paramname"></td><td>)</td>
  294. <td> const</td>
  295. </tr>
  296. </table>
  297. </div><div class="memdoc">
  298. <dl class="section return"><dt>Returns</dt><dd>Attributes of the label </dd></dl>
  299. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_legend_label.html#abd0140174ae2f0818cc926f68a9f27cc">setData()</a>, <a class="el" href="class_qwt_plot_item.html#a367ed5160b8475daf6b5b06558310f98" title="Return all information, that is needed to represent the item on the legend.">QwtPlotItem::legendData()</a> </dd></dl>
  300. </div>
  301. </div>
  302. <a id="ab1d36a69550e88cb346d51d0889a5444"></a>
  303. <h2 class="memtitle"><span class="permalink"><a href="#ab1d36a69550e88cb346d51d0889a5444">&#9670;&nbsp;</a></span>icon()</h2>
  304. <div class="memitem">
  305. <div class="memproto">
  306. <table class="memname">
  307. <tr>
  308. <td class="memname">QPixmap QwtLegendLabel::icon </td>
  309. <td>(</td>
  310. <td class="paramname"></td><td>)</td>
  311. <td> const</td>
  312. </tr>
  313. </table>
  314. </div><div class="memdoc">
  315. <dl class="section return"><dt>Returns</dt><dd>Pixmap representing a plot item </dd></dl>
  316. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_legend_label.html#ae6113ca4894637f62f7e7df582672788">setIcon()</a> </dd></dl>
  317. </div>
  318. </div>
  319. <a id="a9a43bcf6281b9240eec1581ce400bc56"></a>
  320. <h2 class="memtitle"><span class="permalink"><a href="#a9a43bcf6281b9240eec1581ce400bc56">&#9670;&nbsp;</a></span>itemMode()</h2>
  321. <div class="memitem">
  322. <div class="memproto">
  323. <table class="memname">
  324. <tr>
  325. <td class="memname"><a class="el" href="class_qwt_legend_data.html#aaa33cc8e6aec17440df5d4c38d7545b7">QwtLegendData::Mode</a> QwtLegendLabel::itemMode </td>
  326. <td>(</td>
  327. <td class="paramname"></td><td>)</td>
  328. <td> const</td>
  329. </tr>
  330. </table>
  331. </div><div class="memdoc">
  332. <dl class="section return"><dt>Returns</dt><dd>Item mode </dd></dl>
  333. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_legend_label.html#a2f469bcbc733332110d61d70f863df2e">setItemMode()</a> </dd></dl>
  334. </div>
  335. </div>
  336. <a id="aec4affb8dbd281a7a8c5511c3ebf5ff8"></a>
  337. <h2 class="memtitle"><span class="permalink"><a href="#aec4affb8dbd281a7a8c5511c3ebf5ff8">&#9670;&nbsp;</a></span>setChecked</h2>
  338. <div class="memitem">
  339. <div class="memproto">
  340. <table class="mlabels">
  341. <tr>
  342. <td class="mlabels-left">
  343. <table class="memname">
  344. <tr>
  345. <td class="memname">void QwtLegendLabel::setChecked </td>
  346. <td>(</td>
  347. <td class="paramtype">bool&#160;</td>
  348. <td class="paramname"><em>on</em></td><td>)</td>
  349. <td></td>
  350. </tr>
  351. </table>
  352. </td>
  353. <td class="mlabels-right">
  354. <span class="mlabels"><span class="mlabel">slot</span></span> </td>
  355. </tr>
  356. </table>
  357. </div><div class="memdoc">
  358. <p>Check/Uncheck a the item</p>
  359. <dl class="params"><dt>Parameters</dt><dd>
  360. <table class="params">
  361. <tr><td class="paramname">on</td><td>check/uncheck </td></tr>
  362. </table>
  363. </dd>
  364. </dl>
  365. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_legend_label.html#a2f469bcbc733332110d61d70f863df2e">setItemMode()</a> </dd></dl>
  366. </div>
  367. </div>
  368. <a id="abd0140174ae2f0818cc926f68a9f27cc"></a>
  369. <h2 class="memtitle"><span class="permalink"><a href="#abd0140174ae2f0818cc926f68a9f27cc">&#9670;&nbsp;</a></span>setData()</h2>
  370. <div class="memitem">
  371. <div class="memproto">
  372. <table class="memname">
  373. <tr>
  374. <td class="memname">void QwtLegendLabel::setData </td>
  375. <td>(</td>
  376. <td class="paramtype">const <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> &amp;&#160;</td>
  377. <td class="paramname"><em>legendData</em></td><td>)</td>
  378. <td></td>
  379. </tr>
  380. </table>
  381. </div><div class="memdoc">
  382. <p>Set the attributes of the legend label</p>
  383. <dl class="params"><dt>Parameters</dt><dd>
  384. <table class="params">
  385. <tr><td class="paramname">legendData</td><td>Attributes of the label </td></tr>
  386. </table>
  387. </dd>
  388. </dl>
  389. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_legend_label.html#aa7d232fa7a0f3e8bde4d71b360016167">data()</a> </dd></dl>
  390. </div>
  391. </div>
  392. <a id="ae6113ca4894637f62f7e7df582672788"></a>
  393. <h2 class="memtitle"><span class="permalink"><a href="#ae6113ca4894637f62f7e7df582672788">&#9670;&nbsp;</a></span>setIcon()</h2>
  394. <div class="memitem">
  395. <div class="memproto">
  396. <table class="memname">
  397. <tr>
  398. <td class="memname">void QwtLegendLabel::setIcon </td>
  399. <td>(</td>
  400. <td class="paramtype">const QPixmap &amp;&#160;</td>
  401. <td class="paramname"><em>icon</em></td><td>)</td>
  402. <td></td>
  403. </tr>
  404. </table>
  405. </div><div class="memdoc">
  406. <p>Assign the icon</p>
  407. <dl class="params"><dt>Parameters</dt><dd>
  408. <table class="params">
  409. <tr><td class="paramname">icon</td><td>Pixmap representing a plot item</td></tr>
  410. </table>
  411. </dd>
  412. </dl>
  413. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_legend_label.html#ab1d36a69550e88cb346d51d0889a5444">icon()</a>, <a class="el" href="class_qwt_plot_item.html#a1a0d7f4328741d7396f1959e44e63412">QwtPlotItem::legendIcon()</a> </dd></dl>
  414. </div>
  415. </div>
  416. <a id="a2f469bcbc733332110d61d70f863df2e"></a>
  417. <h2 class="memtitle"><span class="permalink"><a href="#a2f469bcbc733332110d61d70f863df2e">&#9670;&nbsp;</a></span>setItemMode()</h2>
  418. <div class="memitem">
  419. <div class="memproto">
  420. <table class="memname">
  421. <tr>
  422. <td class="memname">void QwtLegendLabel::setItemMode </td>
  423. <td>(</td>
  424. <td class="paramtype"><a class="el" href="class_qwt_legend_data.html#aaa33cc8e6aec17440df5d4c38d7545b7">QwtLegendData::Mode</a>&#160;</td>
  425. <td class="paramname"><em>mode</em></td><td>)</td>
  426. <td></td>
  427. </tr>
  428. </table>
  429. </div><div class="memdoc">
  430. <p>Set the item mode The default is <a class="el" href="class_qwt_legend_data.html#aaa33cc8e6aec17440df5d4c38d7545b7add4342fbe2d82828b9ef7031c1b41a0b" title="The legend item is not interactive, like a label.">QwtLegendData::ReadOnly</a></p>
  431. <dl class="params"><dt>Parameters</dt><dd>
  432. <table class="params">
  433. <tr><td class="paramname">mode</td><td>Item mode </td></tr>
  434. </table>
  435. </dd>
  436. </dl>
  437. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_legend_label.html#a9a43bcf6281b9240eec1581ce400bc56">itemMode()</a> </dd></dl>
  438. </div>
  439. </div>
  440. <a id="ad19d9ee759551f1fe785dc0ad806fd59"></a>
  441. <h2 class="memtitle"><span class="permalink"><a href="#ad19d9ee759551f1fe785dc0ad806fd59">&#9670;&nbsp;</a></span>setSpacing()</h2>
  442. <div class="memitem">
  443. <div class="memproto">
  444. <table class="memname">
  445. <tr>
  446. <td class="memname">void QwtLegendLabel::setSpacing </td>
  447. <td>(</td>
  448. <td class="paramtype">int&#160;</td>
  449. <td class="paramname"><em>spacing</em></td><td>)</td>
  450. <td></td>
  451. </tr>
  452. </table>
  453. </div><div class="memdoc">
  454. <p>Change the spacing between icon and text. </p>
  455. <dl class="params"><dt>Parameters</dt><dd>
  456. <table class="params">
  457. <tr><td class="paramname">spacing</td><td>Spacing </td></tr>
  458. </table>
  459. </dd>
  460. </dl>
  461. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_legend_label.html#a46c2aec2d42136cb5b9497f5e592980b">spacing()</a>, <a class="el" href="class_qwt_text_label.html#a213b9d779d8f12b6db264d27be188eb5" title="Return label&#39;s text margin in pixels.">QwtTextLabel::margin()</a> </dd></dl>
  462. </div>
  463. </div>
  464. <a id="a2498e1b2e1a17abf63fa4d94a08ebb95"></a>
  465. <h2 class="memtitle"><span class="permalink"><a href="#a2498e1b2e1a17abf63fa4d94a08ebb95">&#9670;&nbsp;</a></span>setText()</h2>
  466. <div class="memitem">
  467. <div class="memproto">
  468. <table class="mlabels">
  469. <tr>
  470. <td class="mlabels-left">
  471. <table class="memname">
  472. <tr>
  473. <td class="memname">void QwtLegendLabel::setText </td>
  474. <td>(</td>
  475. <td class="paramtype">const <a class="el" href="class_qwt_text.html">QwtText</a> &amp;&#160;</td>
  476. <td class="paramname"><em>text</em></td><td>)</td>
  477. <td></td>
  478. </tr>
  479. </table>
  480. </td>
  481. <td class="mlabels-right">
  482. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  483. </tr>
  484. </table>
  485. </div><div class="memdoc">
  486. <p>Set the text to the legend item</p>
  487. <dl class="params"><dt>Parameters</dt><dd>
  488. <table class="params">
  489. <tr><td class="paramname">text</td><td>Text label </td></tr>
  490. </table>
  491. </dd>
  492. </dl>
  493. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_text_label.html#a65113573cdf1fe4098a324453e11fe4e" title="Return the text.">QwtTextLabel::text()</a> </dd></dl>
  494. <p>Reimplemented from <a class="el" href="class_qwt_text_label.html#ac43ba313b78dccf7aa7433f26059b2e2">QwtTextLabel</a>.</p>
  495. </div>
  496. </div>
  497. <a id="a46c2aec2d42136cb5b9497f5e592980b"></a>
  498. <h2 class="memtitle"><span class="permalink"><a href="#a46c2aec2d42136cb5b9497f5e592980b">&#9670;&nbsp;</a></span>spacing()</h2>
  499. <div class="memitem">
  500. <div class="memproto">
  501. <table class="memname">
  502. <tr>
  503. <td class="memname">int QwtLegendLabel::spacing </td>
  504. <td>(</td>
  505. <td class="paramname"></td><td>)</td>
  506. <td> const</td>
  507. </tr>
  508. </table>
  509. </div><div class="memdoc">
  510. <dl class="section return"><dt>Returns</dt><dd>Spacing between icon and text </dd></dl>
  511. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_legend_label.html#ad19d9ee759551f1fe785dc0ad806fd59" title="Change the spacing between icon and text.">setSpacing()</a>, <a class="el" href="class_qwt_text_label.html#a213b9d779d8f12b6db264d27be188eb5" title="Return label&#39;s text margin in pixels.">QwtTextLabel::margin()</a> </dd></dl>
  512. </div>
  513. </div>
  514. </div><!-- contents -->
  515. </div><!-- doc-content -->
  516. <!-- start footer part -->
  517. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  518. <ul>
  519. <li class="navelem"><a class="el" href="class_qwt_legend_label.html">QwtLegendLabel</a></li>
  520. <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  521. </ul>
  522. </div>
  523. </body>
  524. </html>