class_qwt_interval_symbol.html 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  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: QwtIntervalSymbol 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_interval_symbol.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-types">Public Types</a> &#124;
  85. <a href="#pub-methods">Public Member Functions</a> &#124;
  86. <a href="class_qwt_interval_symbol-members.html">List of all members</a> </div>
  87. <div class="headertitle">
  88. <div class="title">QwtIntervalSymbol Class Reference</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <p>A drawing primitive for displaying an interval like an error bar.
  92. <a href="class_qwt_interval_symbol.html#details">More...</a></p>
  93. <p><code>#include &lt;<a class="el" href="qwt__interval__symbol_8h_source.html">qwt_interval_symbol.h</a>&gt;</code></p>
  94. <table class="memberdecls">
  95. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  96. Public Types</h2></td></tr>
  97. <tr class="memitem:a8fe960fd50b3ad08765ef8bb632ad77e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">Style</a> { <a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77ea48e0d047b9988e77067a11f784556019">NoSymbol</a> = -1,
  98. <a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77ea1e4120af73e888e2edf05798d906e934">Bar</a>,
  99. <a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77eaf4f31197926c38dcc0377bb75ed5e6e1">Box</a>,
  100. <a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77ea40c2cb30f61f7ad63ff20482efd0e7b0">UserSymbol</a> = 1000
  101. }</td></tr>
  102. <tr class="memdesc:a8fe960fd50b3ad08765ef8bb632ad77e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Symbol style. <a href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">More...</a><br /></td></tr>
  103. <tr class="separator:a8fe960fd50b3ad08765ef8bb632ad77e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. </table><table class="memberdecls">
  105. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  106. Public Member Functions</h2></td></tr>
  107. <tr class="memitem:a40c03c5b54dc3c4a69cf1dc88bf25893"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a40c03c5b54dc3c4a69cf1dc88bf25893">QwtIntervalSymbol</a> (<a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">Style</a>=<a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77ea48e0d047b9988e77067a11f784556019">NoSymbol</a>)</td></tr>
  108. <tr class="separator:a40c03c5b54dc3c4a69cf1dc88bf25893"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:a7a4ddf7e61445833f39105614ebd77c1"><td class="memItemLeft" align="right" valign="top"><a id="a7a4ddf7e61445833f39105614ebd77c1"></a>
  110. &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a7a4ddf7e61445833f39105614ebd77c1">QwtIntervalSymbol</a> (const <a class="el" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a> &amp;)</td></tr>
  111. <tr class="memdesc:a7a4ddf7e61445833f39105614ebd77c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor. <br /></td></tr>
  112. <tr class="separator:a7a4ddf7e61445833f39105614ebd77c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:ac983feda2d6417a24e430aa0cd0548b9"><td class="memItemLeft" align="right" valign="top"><a id="ac983feda2d6417a24e430aa0cd0548b9"></a>
  114. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#ac983feda2d6417a24e430aa0cd0548b9">~QwtIntervalSymbol</a> ()</td></tr>
  115. <tr class="memdesc:ac983feda2d6417a24e430aa0cd0548b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  116. <tr class="separator:ac983feda2d6417a24e430aa0cd0548b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a49558f59372b7e69143f1ff49c5bfad8"><td class="memItemLeft" align="right" valign="top"><a id="a49558f59372b7e69143f1ff49c5bfad8"></a>
  118. <a class="el" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a49558f59372b7e69143f1ff49c5bfad8">operator=</a> (const <a class="el" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a> &amp;)</td></tr>
  119. <tr class="memdesc:a49558f59372b7e69143f1ff49c5bfad8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator. <br /></td></tr>
  120. <tr class="separator:a49558f59372b7e69143f1ff49c5bfad8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a77e4bea6375935ceeea9da85140b7810"><td class="memItemLeft" align="right" valign="top"><a id="a77e4bea6375935ceeea9da85140b7810"></a>
  122. bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a77e4bea6375935ceeea9da85140b7810">operator==</a> (const <a class="el" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a> &amp;) const</td></tr>
  123. <tr class="memdesc:a77e4bea6375935ceeea9da85140b7810"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare two symbols. <br /></td></tr>
  124. <tr class="separator:a77e4bea6375935ceeea9da85140b7810"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:aa6e97423d8053b42695d40ff9572a307"><td class="memItemLeft" align="right" valign="top"><a id="aa6e97423d8053b42695d40ff9572a307"></a>
  126. bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#aa6e97423d8053b42695d40ff9572a307">operator!=</a> (const <a class="el" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a> &amp;) const</td></tr>
  127. <tr class="memdesc:aa6e97423d8053b42695d40ff9572a307"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare two symbols. <br /></td></tr>
  128. <tr class="separator:aa6e97423d8053b42695d40ff9572a307"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:adfacdeb67c9e6d194df4d3d627de23eb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#adfacdeb67c9e6d194df4d3d627de23eb">setWidth</a> (int)</td></tr>
  130. <tr class="separator:adfacdeb67c9e6d194df4d3d627de23eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:a0c44abb2a0eecfee5364f5da23a479d2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a0c44abb2a0eecfee5364f5da23a479d2">width</a> () const</td></tr>
  132. <tr class="separator:a0c44abb2a0eecfee5364f5da23a479d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="memitem:a37b432508493d77342cf75f5baea7533"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a37b432508493d77342cf75f5baea7533">setBrush</a> (const QBrush &amp;)</td></tr>
  134. <tr class="memdesc:a37b432508493d77342cf75f5baea7533"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assign a brush. <a href="class_qwt_interval_symbol.html#a37b432508493d77342cf75f5baea7533">More...</a><br /></td></tr>
  135. <tr class="separator:a37b432508493d77342cf75f5baea7533"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:abef796f1049dc0dae379076eb2ca96e2"><td class="memItemLeft" align="right" valign="top">const QBrush &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#abef796f1049dc0dae379076eb2ca96e2">brush</a> () const</td></tr>
  137. <tr class="separator:abef796f1049dc0dae379076eb2ca96e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:a9c3bbee5ea764f246e66bd7bc9382b79"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a9c3bbee5ea764f246e66bd7bc9382b79">setPen</a> (const QColor &amp;, qreal <a class="el" href="class_qwt_interval_symbol.html#a0c44abb2a0eecfee5364f5da23a479d2">width</a>=0.0, Qt::PenStyle=Qt::SolidLine)</td></tr>
  139. <tr class="separator:a9c3bbee5ea764f246e66bd7bc9382b79"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:af40ddcffa51daf70c9f44f18b33a9ee2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#af40ddcffa51daf70c9f44f18b33a9ee2">setPen</a> (const QPen &amp;)</td></tr>
  141. <tr class="separator:af40ddcffa51daf70c9f44f18b33a9ee2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:a3e50ba91b4367d2525319e2c93ec3b09"><td class="memItemLeft" align="right" valign="top">const QPen &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a3e50ba91b4367d2525319e2c93ec3b09">pen</a> () const</td></tr>
  143. <tr class="separator:a3e50ba91b4367d2525319e2c93ec3b09"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:a24d64169355cc200a49af15c08fe93fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">setStyle</a> (<a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">Style</a>)</td></tr>
  145. <tr class="separator:a24d64169355cc200a49af15c08fe93fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:a942ebebe5b03daf644f8d382ebb2bc47"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">Style</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a942ebebe5b03daf644f8d382ebb2bc47">style</a> () const</td></tr>
  147. <tr class="separator:a942ebebe5b03daf644f8d382ebb2bc47"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a2dde342fee1c1f6051c39620f3bf8930"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_interval_symbol.html#a2dde342fee1c1f6051c39620f3bf8930">draw</a> (QPainter *, Qt::Orientation, const QPointF &amp;from, const QPointF &amp;to) const</td></tr>
  149. <tr class="separator:a2dde342fee1c1f6051c39620f3bf8930"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. </table>
  151. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  152. <div class="textblock"><p>A drawing primitive for displaying an interval like an error bar. </p>
  153. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_interval_curve.html" title="QwtPlotIntervalCurve represents a series of samples, where each value is associated with an interval ...">QwtPlotIntervalCurve</a> </dd></dl>
  154. </div><h2 class="groupheader">Member Enumeration Documentation</h2>
  155. <a id="a8fe960fd50b3ad08765ef8bb632ad77e"></a>
  156. <h2 class="memtitle"><span class="permalink"><a href="#a8fe960fd50b3ad08765ef8bb632ad77e">&#9670;&nbsp;</a></span>Style</h2>
  157. <div class="memitem">
  158. <div class="memproto">
  159. <table class="memname">
  160. <tr>
  161. <td class="memname">enum <a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">QwtIntervalSymbol::Style</a></td>
  162. </tr>
  163. </table>
  164. </div><div class="memdoc">
  165. <p>Symbol style. </p>
  166. <table class="fieldtable">
  167. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a8fe960fd50b3ad08765ef8bb632ad77ea48e0d047b9988e77067a11f784556019"></a>NoSymbol&#160;</td><td class="fielddoc"><p>No Style. The symbol cannot be drawn. </p>
  168. </td></tr>
  169. <tr><td class="fieldname"><a id="a8fe960fd50b3ad08765ef8bb632ad77ea1e4120af73e888e2edf05798d906e934"></a>Bar&#160;</td><td class="fielddoc"><p>The symbol displays a line with caps at the beginning/end. The size of the caps depends on the symbol <a class="el" href="class_qwt_interval_symbol.html#a0c44abb2a0eecfee5364f5da23a479d2">width()</a>. </p>
  170. </td></tr>
  171. <tr><td class="fieldname"><a id="a8fe960fd50b3ad08765ef8bb632ad77eaf4f31197926c38dcc0377bb75ed5e6e1"></a>Box&#160;</td><td class="fielddoc"><p>The symbol displays a plain rectangle using <a class="el" href="class_qwt_interval_symbol.html#a3e50ba91b4367d2525319e2c93ec3b09">pen()</a> and <a class="el" href="class_qwt_interval_symbol.html#abef796f1049dc0dae379076eb2ca96e2">brush()</a>. The size of the rectangle depends on the translated interval and the <a class="el" href="class_qwt_interval_symbol.html#a0c44abb2a0eecfee5364f5da23a479d2">width()</a>, </p>
  172. </td></tr>
  173. <tr><td class="fieldname"><a id="a8fe960fd50b3ad08765ef8bb632ad77ea40c2cb30f61f7ad63ff20482efd0e7b0"></a>UserSymbol&#160;</td><td class="fielddoc"><p>Styles &gt;= UserSymbol are reserved for derived classes of <a class="el" href="class_qwt_interval_symbol.html" title="A drawing primitive for displaying an interval like an error bar.">QwtIntervalSymbol</a> that overload <a class="el" href="class_qwt_interval_symbol.html#a2dde342fee1c1f6051c39620f3bf8930">draw()</a> with additional application specific symbol types. </p>
  174. </td></tr>
  175. </table>
  176. </div>
  177. </div>
  178. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  179. <a id="a40c03c5b54dc3c4a69cf1dc88bf25893"></a>
  180. <h2 class="memtitle"><span class="permalink"><a href="#a40c03c5b54dc3c4a69cf1dc88bf25893">&#9670;&nbsp;</a></span>QwtIntervalSymbol()</h2>
  181. <div class="memitem">
  182. <div class="memproto">
  183. <table class="memname">
  184. <tr>
  185. <td class="memname">QwtIntervalSymbol::QwtIntervalSymbol </td>
  186. <td>(</td>
  187. <td class="paramtype"><a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">Style</a>&#160;</td>
  188. <td class="paramname"><em>style</em> = <code><a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77ea48e0d047b9988e77067a11f784556019">NoSymbol</a></code></td><td>)</td>
  189. <td></td>
  190. </tr>
  191. </table>
  192. </div><div class="memdoc">
  193. <p>Constructor</p>
  194. <dl class="params"><dt>Parameters</dt><dd>
  195. <table class="params">
  196. <tr><td class="paramname">style</td><td>Style of the symbol </td></tr>
  197. </table>
  198. </dd>
  199. </dl>
  200. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">setStyle()</a>, <a class="el" href="class_qwt_interval_symbol.html#a942ebebe5b03daf644f8d382ebb2bc47">style()</a>, <a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e" title="Symbol style.">Style</a> </dd></dl>
  201. </div>
  202. </div>
  203. <h2 class="groupheader">Member Function Documentation</h2>
  204. <a id="abef796f1049dc0dae379076eb2ca96e2"></a>
  205. <h2 class="memtitle"><span class="permalink"><a href="#abef796f1049dc0dae379076eb2ca96e2">&#9670;&nbsp;</a></span>brush()</h2>
  206. <div class="memitem">
  207. <div class="memproto">
  208. <table class="memname">
  209. <tr>
  210. <td class="memname">const QBrush &amp; QwtIntervalSymbol::brush </td>
  211. <td>(</td>
  212. <td class="paramname"></td><td>)</td>
  213. <td> const</td>
  214. </tr>
  215. </table>
  216. </div><div class="memdoc">
  217. <dl class="section return"><dt>Returns</dt><dd>Brush </dd></dl>
  218. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a37b432508493d77342cf75f5baea7533" title="Assign a brush.">setBrush()</a> </dd></dl>
  219. </div>
  220. </div>
  221. <a id="a2dde342fee1c1f6051c39620f3bf8930"></a>
  222. <h2 class="memtitle"><span class="permalink"><a href="#a2dde342fee1c1f6051c39620f3bf8930">&#9670;&nbsp;</a></span>draw()</h2>
  223. <div class="memitem">
  224. <div class="memproto">
  225. <table class="mlabels">
  226. <tr>
  227. <td class="mlabels-left">
  228. <table class="memname">
  229. <tr>
  230. <td class="memname">void QwtIntervalSymbol::draw </td>
  231. <td>(</td>
  232. <td class="paramtype">QPainter *&#160;</td>
  233. <td class="paramname"><em>painter</em>, </td>
  234. </tr>
  235. <tr>
  236. <td class="paramkey"></td>
  237. <td></td>
  238. <td class="paramtype">Qt::Orientation&#160;</td>
  239. <td class="paramname"><em>orientation</em>, </td>
  240. </tr>
  241. <tr>
  242. <td class="paramkey"></td>
  243. <td></td>
  244. <td class="paramtype">const QPointF &amp;&#160;</td>
  245. <td class="paramname"><em>from</em>, </td>
  246. </tr>
  247. <tr>
  248. <td class="paramkey"></td>
  249. <td></td>
  250. <td class="paramtype">const QPointF &amp;&#160;</td>
  251. <td class="paramname"><em>to</em>&#160;</td>
  252. </tr>
  253. <tr>
  254. <td></td>
  255. <td>)</td>
  256. <td></td><td> const</td>
  257. </tr>
  258. </table>
  259. </td>
  260. <td class="mlabels-right">
  261. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  262. </tr>
  263. </table>
  264. </div><div class="memdoc">
  265. <p>Draw a symbol depending on its style</p>
  266. <dl class="params"><dt>Parameters</dt><dd>
  267. <table class="params">
  268. <tr><td class="paramname">painter</td><td>Painter </td></tr>
  269. <tr><td class="paramname">orientation</td><td>Orientation </td></tr>
  270. <tr><td class="paramname">from</td><td>Start point of the interval in target device coordinates </td></tr>
  271. <tr><td class="paramname">to</td><td>End point of the interval in target device coordinates</td></tr>
  272. </table>
  273. </dd>
  274. </dl>
  275. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">setStyle()</a> </dd></dl>
  276. </div>
  277. </div>
  278. <a id="a3e50ba91b4367d2525319e2c93ec3b09"></a>
  279. <h2 class="memtitle"><span class="permalink"><a href="#a3e50ba91b4367d2525319e2c93ec3b09">&#9670;&nbsp;</a></span>pen()</h2>
  280. <div class="memitem">
  281. <div class="memproto">
  282. <table class="memname">
  283. <tr>
  284. <td class="memname">const QPen &amp; QwtIntervalSymbol::pen </td>
  285. <td>(</td>
  286. <td class="paramname"></td><td>)</td>
  287. <td> const</td>
  288. </tr>
  289. </table>
  290. </div><div class="memdoc">
  291. <dl class="section return"><dt>Returns</dt><dd>Pen </dd></dl>
  292. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a9c3bbee5ea764f246e66bd7bc9382b79">setPen()</a>, <a class="el" href="class_qwt_interval_symbol.html#abef796f1049dc0dae379076eb2ca96e2">brush()</a> </dd></dl>
  293. </div>
  294. </div>
  295. <a id="a37b432508493d77342cf75f5baea7533"></a>
  296. <h2 class="memtitle"><span class="permalink"><a href="#a37b432508493d77342cf75f5baea7533">&#9670;&nbsp;</a></span>setBrush()</h2>
  297. <div class="memitem">
  298. <div class="memproto">
  299. <table class="memname">
  300. <tr>
  301. <td class="memname">void QwtIntervalSymbol::setBrush </td>
  302. <td>(</td>
  303. <td class="paramtype">const QBrush &amp;&#160;</td>
  304. <td class="paramname"><em>brush</em></td><td>)</td>
  305. <td></td>
  306. </tr>
  307. </table>
  308. </div><div class="memdoc">
  309. <p>Assign a brush. </p>
  310. <p>The brush is used for the Box style.</p>
  311. <dl class="params"><dt>Parameters</dt><dd>
  312. <table class="params">
  313. <tr><td class="paramname">brush</td><td>Brush </td></tr>
  314. </table>
  315. </dd>
  316. </dl>
  317. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#abef796f1049dc0dae379076eb2ca96e2">brush()</a> </dd></dl>
  318. </div>
  319. </div>
  320. <a id="a9c3bbee5ea764f246e66bd7bc9382b79"></a>
  321. <h2 class="memtitle"><span class="permalink"><a href="#a9c3bbee5ea764f246e66bd7bc9382b79">&#9670;&nbsp;</a></span>setPen() <span class="overload">[1/2]</span></h2>
  322. <div class="memitem">
  323. <div class="memproto">
  324. <table class="memname">
  325. <tr>
  326. <td class="memname">void QwtIntervalSymbol::setPen </td>
  327. <td>(</td>
  328. <td class="paramtype">const QColor &amp;&#160;</td>
  329. <td class="paramname"><em>color</em>, </td>
  330. </tr>
  331. <tr>
  332. <td class="paramkey"></td>
  333. <td></td>
  334. <td class="paramtype">qreal&#160;</td>
  335. <td class="paramname"><em>width</em> = <code>0.0</code>, </td>
  336. </tr>
  337. <tr>
  338. <td class="paramkey"></td>
  339. <td></td>
  340. <td class="paramtype">Qt::PenStyle&#160;</td>
  341. <td class="paramname"><em>style</em> = <code>Qt::SolidLine</code>&#160;</td>
  342. </tr>
  343. <tr>
  344. <td></td>
  345. <td>)</td>
  346. <td></td><td></td>
  347. </tr>
  348. </table>
  349. </div><div class="memdoc">
  350. <p>Build and assign a pen</p>
  351. <p>In Qt5 the default pen width is 1.0 ( 0.0 in Qt4 ) what makes it non cosmetic ( see QPen::isCosmetic() ). This method has been introduced to hide this incompatibility.</p>
  352. <dl class="params"><dt>Parameters</dt><dd>
  353. <table class="params">
  354. <tr><td class="paramname">color</td><td>Pen color </td></tr>
  355. <tr><td class="paramname">width</td><td>Pen width </td></tr>
  356. <tr><td class="paramname">style</td><td>Pen style</td></tr>
  357. </table>
  358. </dd>
  359. </dl>
  360. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a3e50ba91b4367d2525319e2c93ec3b09">pen()</a>, <a class="el" href="class_qwt_interval_symbol.html#abef796f1049dc0dae379076eb2ca96e2">brush()</a> </dd></dl>
  361. </div>
  362. </div>
  363. <a id="af40ddcffa51daf70c9f44f18b33a9ee2"></a>
  364. <h2 class="memtitle"><span class="permalink"><a href="#af40ddcffa51daf70c9f44f18b33a9ee2">&#9670;&nbsp;</a></span>setPen() <span class="overload">[2/2]</span></h2>
  365. <div class="memitem">
  366. <div class="memproto">
  367. <table class="memname">
  368. <tr>
  369. <td class="memname">void QwtIntervalSymbol::setPen </td>
  370. <td>(</td>
  371. <td class="paramtype">const QPen &amp;&#160;</td>
  372. <td class="paramname"><em>pen</em></td><td>)</td>
  373. <td></td>
  374. </tr>
  375. </table>
  376. </div><div class="memdoc">
  377. <p>Assign a pen</p>
  378. <dl class="params"><dt>Parameters</dt><dd>
  379. <table class="params">
  380. <tr><td class="paramname">pen</td><td>Pen </td></tr>
  381. </table>
  382. </dd>
  383. </dl>
  384. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a3e50ba91b4367d2525319e2c93ec3b09">pen()</a>, <a class="el" href="class_qwt_interval_symbol.html#a37b432508493d77342cf75f5baea7533" title="Assign a brush.">setBrush()</a> </dd></dl>
  385. </div>
  386. </div>
  387. <a id="a24d64169355cc200a49af15c08fe93fc"></a>
  388. <h2 class="memtitle"><span class="permalink"><a href="#a24d64169355cc200a49af15c08fe93fc">&#9670;&nbsp;</a></span>setStyle()</h2>
  389. <div class="memitem">
  390. <div class="memproto">
  391. <table class="memname">
  392. <tr>
  393. <td class="memname">void QwtIntervalSymbol::setStyle </td>
  394. <td>(</td>
  395. <td class="paramtype"><a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">Style</a>&#160;</td>
  396. <td class="paramname"><em>style</em></td><td>)</td>
  397. <td></td>
  398. </tr>
  399. </table>
  400. </div><div class="memdoc">
  401. <p>Specify the symbol style</p>
  402. <dl class="params"><dt>Parameters</dt><dd>
  403. <table class="params">
  404. <tr><td class="paramname">style</td><td>Style </td></tr>
  405. </table>
  406. </dd>
  407. </dl>
  408. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a942ebebe5b03daf644f8d382ebb2bc47">style()</a>, <a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e" title="Symbol style.">Style</a> </dd></dl>
  409. </div>
  410. </div>
  411. <a id="adfacdeb67c9e6d194df4d3d627de23eb"></a>
  412. <h2 class="memtitle"><span class="permalink"><a href="#adfacdeb67c9e6d194df4d3d627de23eb">&#9670;&nbsp;</a></span>setWidth()</h2>
  413. <div class="memitem">
  414. <div class="memproto">
  415. <table class="memname">
  416. <tr>
  417. <td class="memname">void QwtIntervalSymbol::setWidth </td>
  418. <td>(</td>
  419. <td class="paramtype">int&#160;</td>
  420. <td class="paramname"><em>width</em></td><td>)</td>
  421. <td></td>
  422. </tr>
  423. </table>
  424. </div><div class="memdoc">
  425. <p>Specify the width of the symbol It is used depending on the style.</p>
  426. <dl class="params"><dt>Parameters</dt><dd>
  427. <table class="params">
  428. <tr><td class="paramname">width</td><td>Width </td></tr>
  429. </table>
  430. </dd>
  431. </dl>
  432. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a0c44abb2a0eecfee5364f5da23a479d2">width()</a>, <a class="el" href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">setStyle()</a> </dd></dl>
  433. </div>
  434. </div>
  435. <a id="a942ebebe5b03daf644f8d382ebb2bc47"></a>
  436. <h2 class="memtitle"><span class="permalink"><a href="#a942ebebe5b03daf644f8d382ebb2bc47">&#9670;&nbsp;</a></span>style()</h2>
  437. <div class="memitem">
  438. <div class="memproto">
  439. <table class="memname">
  440. <tr>
  441. <td class="memname"><a class="el" href="class_qwt_interval_symbol.html#a8fe960fd50b3ad08765ef8bb632ad77e">QwtIntervalSymbol::Style</a> QwtIntervalSymbol::style </td>
  442. <td>(</td>
  443. <td class="paramname"></td><td>)</td>
  444. <td> const</td>
  445. </tr>
  446. </table>
  447. </div><div class="memdoc">
  448. <dl class="section return"><dt>Returns</dt><dd>Current symbol style </dd></dl>
  449. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">setStyle()</a> </dd></dl>
  450. </div>
  451. </div>
  452. <a id="a0c44abb2a0eecfee5364f5da23a479d2"></a>
  453. <h2 class="memtitle"><span class="permalink"><a href="#a0c44abb2a0eecfee5364f5da23a479d2">&#9670;&nbsp;</a></span>width()</h2>
  454. <div class="memitem">
  455. <div class="memproto">
  456. <table class="memname">
  457. <tr>
  458. <td class="memname">int QwtIntervalSymbol::width </td>
  459. <td>(</td>
  460. <td class="paramname"></td><td>)</td>
  461. <td> const</td>
  462. </tr>
  463. </table>
  464. </div><div class="memdoc">
  465. <dl class="section return"><dt>Returns</dt><dd>Width of the symbol. </dd></dl>
  466. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_interval_symbol.html#adfacdeb67c9e6d194df4d3d627de23eb">setWidth()</a>, <a class="el" href="class_qwt_interval_symbol.html#a24d64169355cc200a49af15c08fe93fc">setStyle()</a> </dd></dl>
  467. </div>
  468. </div>
  469. </div><!-- contents -->
  470. </div><!-- doc-content -->
  471. <!-- start footer part -->
  472. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  473. <ul>
  474. <li class="navelem"><a class="el" href="class_qwt_interval_symbol.html">QwtIntervalSymbol</a></li>
  475. <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>
  476. </ul>
  477. </div>
  478. </body>
  479. </html>