class_qwt_plot_canvas.html 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688
  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: QwtPlotCanvas 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_plot_canvas.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-slots">Public Slots</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_plot_canvas-members.html">List of all members</a> </div>
  89. <div class="headertitle">
  90. <div class="title">QwtPlotCanvas Class Reference</div> </div>
  91. </div><!--header-->
  92. <div class="contents">
  93. <p>Canvas of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>.
  94. <a href="class_qwt_plot_canvas.html#details">More...</a></p>
  95. <p><code>#include &lt;<a class="el" href="qwt__plot__canvas_8h_source.html">qwt_plot_canvas.h</a>&gt;</code></p>
  96. <div class="dynheader">
  97. Inheritance diagram for QwtPlotCanvas:</div>
  98. <div class="dyncontent">
  99. <div class="center"><img src="class_qwt_plot_canvas__inherit__graph.png" border="0" usemap="#a_qwt_plot_canvas_inherit__map" alt="Inheritance graph"/></div>
  100. <map name="_qwt_plot_canvas_inherit__map" id="a_qwt_plot_canvas_inherit__map">
  101. <area shape="rect" title="Canvas of a QwtPlot." alt="" coords="5,80,119,107"/>
  102. <area shape="rect" title=" " alt="" coords="27,5,97,32"/>
  103. </map>
  104. <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
  105. <table class="memberdecls">
  106. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  107. Public Types</h2></td></tr>
  108. <tr class="memitem:a76066290edb594a71ee09be564563b0f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a> { <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0fa7b88a46e1414f6d904aa494c89d064f3">BackingStore</a> = 1,
  109. <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0fa1d10fbb2b1fc3323e8597597684b1f9f">Opaque</a> = 2,
  110. <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0fa2a2fee2c1807f8306850e15977bacb70">HackStyledBackground</a> = 4,
  111. <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0fa91fb95b7ec380cc5d517195c2ae6368f">ImmediatePaint</a> = 8
  112. }</td></tr>
  113. <tr class="memdesc:a76066290edb594a71ee09be564563b0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paint attributes. <a href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">More...</a><br /></td></tr>
  114. <tr class="separator:a76066290edb594a71ee09be564563b0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:a89b44e4c28038a674ce211fe9ac2d7be"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a> { <a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7bea8578c1bdcba0a05d5d0b89aeb35a040d">NoFocusIndicator</a>,
  116. <a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7bea884899cc2fa5cb416e73fe3e7aba2271">CanvasFocusIndicator</a>,
  117. <a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7bea5a56f0e29a38350abdcef18c3e583115">ItemFocusIndicator</a>
  118. }</td></tr>
  119. <tr class="memdesc:a89b44e4c28038a674ce211fe9ac2d7be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Focus indicator The default setting is NoFocusIndicator. <a href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be">More...</a><br /></td></tr>
  120. <tr class="separator:a89b44e4c28038a674ce211fe9ac2d7be"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:ac007a0126efb62443e52905d3157102d"><td class="memItemLeft" align="right" valign="top"><a id="ac007a0126efb62443e52905d3157102d"></a>
  122. typedef QFlags&lt; <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#ac007a0126efb62443e52905d3157102d">PaintAttributes</a></td></tr>
  123. <tr class="memdesc:ac007a0126efb62443e52905d3157102d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paint attributes. <br /></td></tr>
  124. <tr class="separator:ac007a0126efb62443e52905d3157102d"><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-slots"></a>
  127. Public Slots</h2></td></tr>
  128. <tr class="memitem:a1548423348c29001ee2b6fd1c0f9f033"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a1548423348c29001ee2b6fd1c0f9f033">replot</a> ()</td></tr>
  129. <tr class="separator:a1548423348c29001ee2b6fd1c0f9f033"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. </table><table class="memberdecls">
  131. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  132. Public Member Functions</h2></td></tr>
  133. <tr class="memitem:a8b0cd76cd283f8f35331dfc7543cbf89"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a8b0cd76cd283f8f35331dfc7543cbf89">QwtPlotCanvas</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</a> *=NULL)</td></tr>
  134. <tr class="memdesc:a8b0cd76cd283f8f35331dfc7543cbf89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="class_qwt_plot_canvas.html#a8b0cd76cd283f8f35331dfc7543cbf89">More...</a><br /></td></tr>
  135. <tr class="separator:a8b0cd76cd283f8f35331dfc7543cbf89"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:a320320bbb1b511c0c37fb2452a7f4404"><td class="memItemLeft" align="right" valign="top"><a id="a320320bbb1b511c0c37fb2452a7f4404"></a>
  137. virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a320320bbb1b511c0c37fb2452a7f4404">~QwtPlotCanvas</a> ()</td></tr>
  138. <tr class="memdesc:a320320bbb1b511c0c37fb2452a7f4404"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
  139. <tr class="separator:a320320bbb1b511c0c37fb2452a7f4404"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:a1b720b99dc1b686f58e789b13f339f63"><td class="memItemLeft" align="right" valign="top"><a id="a1b720b99dc1b686f58e789b13f339f63"></a>
  141. <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a1b720b99dc1b686f58e789b13f339f63">plot</a> ()</td></tr>
  142. <tr class="memdesc:a1b720b99dc1b686f58e789b13f339f63"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return parent plot widget. <br /></td></tr>
  143. <tr class="separator:a1b720b99dc1b686f58e789b13f339f63"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:a3ef5af082aa3da3d0f9daad051f11f68"><td class="memItemLeft" align="right" valign="top"><a id="a3ef5af082aa3da3d0f9daad051f11f68"></a>
  145. const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a3ef5af082aa3da3d0f9daad051f11f68">plot</a> () const</td></tr>
  146. <tr class="memdesc:a3ef5af082aa3da3d0f9daad051f11f68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return parent plot widget. <br /></td></tr>
  147. <tr class="separator:a3ef5af082aa3da3d0f9daad051f11f68"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:ae7330616dbb97128d01c5446ef0b006e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#ae7330616dbb97128d01c5446ef0b006e">setFocusIndicator</a> (<a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a>)</td></tr>
  149. <tr class="separator:ae7330616dbb97128d01c5446ef0b006e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:a2fc7d682fe7d84ecb197205a59ea2e20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a2fc7d682fe7d84ecb197205a59ea2e20">focusIndicator</a> () const</td></tr>
  151. <tr class="separator:a2fc7d682fe7d84ecb197205a59ea2e20"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:a1e5c325697c0e892bf0e4e514d50177c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a1e5c325697c0e892bf0e4e514d50177c">setBorderRadius</a> (double)</td></tr>
  153. <tr class="separator:a1e5c325697c0e892bf0e4e514d50177c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:a803ef8bbe8e2f8379cb0b9e133313a48"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a803ef8bbe8e2f8379cb0b9e133313a48">borderRadius</a> () const</td></tr>
  155. <tr class="separator:a803ef8bbe8e2f8379cb0b9e133313a48"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="memitem:a7859beb87bcef4fd53f99e7c87104e27"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a7859beb87bcef4fd53f99e7c87104e27">setPaintAttribute</a> (<a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a>, bool on=true)</td></tr>
  157. <tr class="memdesc:a7859beb87bcef4fd53f99e7c87104e27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changing the paint attributes. <a href="class_qwt_plot_canvas.html#a7859beb87bcef4fd53f99e7c87104e27">More...</a><br /></td></tr>
  158. <tr class="separator:a7859beb87bcef4fd53f99e7c87104e27"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:a3dc8278bd9ce9b9d801706d61e139baf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a3dc8278bd9ce9b9d801706d61e139baf">testPaintAttribute</a> (<a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a>) const</td></tr>
  160. <tr class="separator:a3dc8278bd9ce9b9d801706d61e139baf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr class="memitem:ac656d1b06a71a416a39287a612e15bc5"><td class="memItemLeft" align="right" valign="top">const QPixmap *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#ac656d1b06a71a416a39287a612e15bc5">backingStore</a> () const</td></tr>
  162. <tr class="separator:ac656d1b06a71a416a39287a612e15bc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  163. <tr class="memitem:adafbfa908b2d3b6cf9c20aa6cf9abe27"><td class="memItemLeft" align="right" valign="top"><a id="adafbfa908b2d3b6cf9c20aa6cf9abe27"></a>
  164. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#adafbfa908b2d3b6cf9c20aa6cf9abe27">invalidateBackingStore</a> ()</td></tr>
  165. <tr class="memdesc:adafbfa908b2d3b6cf9c20aa6cf9abe27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalidate the internal backing store. <br /></td></tr>
  166. <tr class="separator:adafbfa908b2d3b6cf9c20aa6cf9abe27"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. <tr class="memitem:ab7f160c99d7d408a979ebe2acae951bc"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#ab7f160c99d7d408a979ebe2acae951bc">event</a> (QEvent *)</td></tr>
  168. <tr class="separator:ab7f160c99d7d408a979ebe2acae951bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  169. <tr class="memitem:af21afcc5f858ab70afb589b32c856ca1"><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE QPainterPath&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#af21afcc5f858ab70afb589b32c856ca1">borderPath</a> (const QRect &amp;) const</td></tr>
  170. <tr class="separator:af21afcc5f858ab70afb589b32c856ca1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  171. </table><table class="memberdecls">
  172. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  173. Protected Member Functions</h2></td></tr>
  174. <tr class="memitem:aa8f1516817c578efd407d8dd574170ec"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#aa8f1516817c578efd407d8dd574170ec">paintEvent</a> (QPaintEvent *)</td></tr>
  175. <tr class="separator:aa8f1516817c578efd407d8dd574170ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <tr class="memitem:a1d4a1508bef7b417c3414c345bd60022"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a1d4a1508bef7b417c3414c345bd60022">resizeEvent</a> (QResizeEvent *)</td></tr>
  177. <tr class="separator:a1d4a1508bef7b417c3414c345bd60022"><td class="memSeparator" colspan="2">&#160;</td></tr>
  178. <tr class="memitem:a4dc526ac5186fe253a158a392bbb4f40"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a4dc526ac5186fe253a158a392bbb4f40">drawFocusIndicator</a> (QPainter *)</td></tr>
  179. <tr class="separator:a4dc526ac5186fe253a158a392bbb4f40"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. <tr class="memitem:a4d415010a4baa09fa3b3edfcc6e5e4e7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a4d415010a4baa09fa3b3edfcc6e5e4e7">drawBorder</a> (QPainter *)</td></tr>
  181. <tr class="separator:a4d415010a4baa09fa3b3edfcc6e5e4e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:a00cf0a23416a719cb8b742fca074c681"><td class="memItemLeft" align="right" valign="top"><a id="a00cf0a23416a719cb8b742fca074c681"></a>
  183. void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a00cf0a23416a719cb8b742fca074c681">updateStyleSheetInfo</a> ()</td></tr>
  184. <tr class="memdesc:a00cf0a23416a719cb8b742fca074c681"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the cached information about the current style sheet. <br /></td></tr>
  185. <tr class="separator:a00cf0a23416a719cb8b742fca074c681"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. </table>
  187. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  188. <div class="textblock"><p>Canvas of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>. </p>
  189. <p>Canvas is the widget where all plot items are displayed</p>
  190. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot.html#aea67c885034219789b360c0e624bfeaf" title="Set the drawing canvas of the plot widget.">QwtPlot::setCanvas()</a>, <a class="el" href="class_qwt_plot_g_l_canvas.html" title="An alternative canvas for a QwtPlot derived from QGLWidget.">QwtPlotGLCanvas</a> </dd></dl>
  191. </div><h2 class="groupheader">Member Enumeration Documentation</h2>
  192. <a id="a89b44e4c28038a674ce211fe9ac2d7be"></a>
  193. <h2 class="memtitle"><span class="permalink"><a href="#a89b44e4c28038a674ce211fe9ac2d7be">&#9670;&nbsp;</a></span>FocusIndicator</h2>
  194. <div class="memitem">
  195. <div class="memproto">
  196. <table class="memname">
  197. <tr>
  198. <td class="memname">enum <a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be">QwtPlotCanvas::FocusIndicator</a></td>
  199. </tr>
  200. </table>
  201. </div><div class="memdoc">
  202. <p>Focus indicator The default setting is NoFocusIndicator. </p>
  203. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#ae7330616dbb97128d01c5446ef0b006e">setFocusIndicator()</a>, <a class="el" href="class_qwt_plot_canvas.html#a2fc7d682fe7d84ecb197205a59ea2e20">focusIndicator()</a>, <a class="el" href="class_qwt_plot_canvas.html#a4dc526ac5186fe253a158a392bbb4f40">drawFocusIndicator()</a> </dd></dl>
  204. <table class="fieldtable">
  205. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a89b44e4c28038a674ce211fe9ac2d7bea8578c1bdcba0a05d5d0b89aeb35a040d"></a>NoFocusIndicator&#160;</td><td class="fielddoc"><p>Don't paint a focus indicator. </p>
  206. </td></tr>
  207. <tr><td class="fieldname"><a id="a89b44e4c28038a674ce211fe9ac2d7bea884899cc2fa5cb416e73fe3e7aba2271"></a>CanvasFocusIndicator&#160;</td><td class="fielddoc"><p>The focus is related to the complete canvas. Paint the focus indicator using <a class="el" href="class_qwt_plot_canvas.html#a4dc526ac5186fe253a158a392bbb4f40">drawFocusIndicator()</a> </p>
  208. </td></tr>
  209. <tr><td class="fieldname"><a id="a89b44e4c28038a674ce211fe9ac2d7bea5a56f0e29a38350abdcef18c3e583115"></a>ItemFocusIndicator&#160;</td><td class="fielddoc"><p>The focus is related to an item (curve, point, ...) on the canvas. It is up to the application to display a focus indication using f.e. highlighting. </p>
  210. </td></tr>
  211. </table>
  212. </div>
  213. </div>
  214. <a id="a76066290edb594a71ee09be564563b0f"></a>
  215. <h2 class="memtitle"><span class="permalink"><a href="#a76066290edb594a71ee09be564563b0f">&#9670;&nbsp;</a></span>PaintAttribute</h2>
  216. <div class="memitem">
  217. <div class="memproto">
  218. <table class="memname">
  219. <tr>
  220. <td class="memname">enum <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">QwtPlotCanvas::PaintAttribute</a></td>
  221. </tr>
  222. </table>
  223. </div><div class="memdoc">
  224. <p>Paint attributes. </p>
  225. <p>The default setting enables BackingStore and Opaque.</p>
  226. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#a7859beb87bcef4fd53f99e7c87104e27" title="Changing the paint attributes.">setPaintAttribute()</a>, <a class="el" href="class_qwt_plot_canvas.html#a3dc8278bd9ce9b9d801706d61e139baf">testPaintAttribute()</a> </dd></dl>
  227. <table class="fieldtable">
  228. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a76066290edb594a71ee09be564563b0fa7b88a46e1414f6d904aa494c89d064f3"></a>BackingStore&#160;</td><td class="fielddoc"><p>Paint double buffered reusing the content of the pixmap buffer when possible. </p>
  229. <p>Using a backing store might improve the performance significantly, when working with widget overlays ( like rubber bands ). Disabling the cache might improve the performance for incremental paints (using <a class="el" href="class_qwt_plot_direct_painter.html" title="Painter object trying to paint incrementally.">QwtPlotDirectPainter</a> ).</p>
  230. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#ac656d1b06a71a416a39287a612e15bc5">backingStore()</a>, <a class="el" href="class_qwt_plot_canvas.html#adafbfa908b2d3b6cf9c20aa6cf9abe27" title="Invalidate the internal backing store.">invalidateBackingStore()</a> </dd></dl>
  231. </td></tr>
  232. <tr><td class="fieldname"><a id="a76066290edb594a71ee09be564563b0fa1d10fbb2b1fc3323e8597597684b1f9f"></a>Opaque&#160;</td><td class="fielddoc"><p>Try to fill the complete contents rectangle of the plot canvas. </p>
  233. <p>When using styled backgrounds Qt assumes, that the canvas doesn't fill its area completely ( f.e because of rounded borders ) and fills the area below the canvas. When this is done with gradients it might result in a serious performance bottleneck - depending on the size.</p>
  234. <p>When the Opaque attribute is enabled the canvas tries to identify the gaps with some heuristics and to fill those only.</p>
  235. <dl class="section warning"><dt>Warning</dt><dd>Will not work for semitransparent backgrounds </dd></dl>
  236. </td></tr>
  237. <tr><td class="fieldname"><a id="a76066290edb594a71ee09be564563b0fa2a2fee2c1807f8306850e15977bacb70"></a>HackStyledBackground&#160;</td><td class="fielddoc"><p>Try to improve painting of styled backgrounds. </p>
  238. <p><a class="el" href="class_qwt_plot_canvas.html" title="Canvas of a QwtPlot.">QwtPlotCanvas</a> supports the box model attributes for customizing the layout with style sheets. Unfortunately the design of Qt style sheets has no concept how to handle backgrounds with rounded corners - beside of padding.</p>
  239. <p>When HackStyledBackground is enabled the plot canvas tries to separate the background from the background border by reverse engineering to paint the background before and the border after the plot items. In this order the border gets perfectly antialiased and you can avoid some pixel artifacts in the corners. </p>
  240. </td></tr>
  241. <tr><td class="fieldname"><a id="a76066290edb594a71ee09be564563b0fa91fb95b7ec380cc5d517195c2ae6368f"></a>ImmediatePaint&#160;</td><td class="fielddoc"><p>When ImmediatePaint is set <a class="el" href="class_qwt_plot_canvas.html#a1548423348c29001ee2b6fd1c0f9f033">replot()</a> calls repaint() instead of update().</p>
  242. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#a1548423348c29001ee2b6fd1c0f9f033">replot()</a>, QWidget::repaint(), QWidget::update() </dd></dl>
  243. </td></tr>
  244. </table>
  245. </div>
  246. </div>
  247. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  248. <a id="a8b0cd76cd283f8f35331dfc7543cbf89"></a>
  249. <h2 class="memtitle"><span class="permalink"><a href="#a8b0cd76cd283f8f35331dfc7543cbf89">&#9670;&nbsp;</a></span>QwtPlotCanvas()</h2>
  250. <div class="memitem">
  251. <div class="memproto">
  252. <table class="mlabels">
  253. <tr>
  254. <td class="mlabels-left">
  255. <table class="memname">
  256. <tr>
  257. <td class="memname">QwtPlotCanvas::QwtPlotCanvas </td>
  258. <td>(</td>
  259. <td class="paramtype"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
  260. <td class="paramname"><em>plot</em> = <code>NULL</code></td><td>)</td>
  261. <td></td>
  262. </tr>
  263. </table>
  264. </td>
  265. <td class="mlabels-right">
  266. <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
  267. </tr>
  268. </table>
  269. </div><div class="memdoc">
  270. <p>Constructor. </p>
  271. <dl class="params"><dt>Parameters</dt><dd>
  272. <table class="params">
  273. <tr><td class="paramname">plot</td><td>Parent plot widget </td></tr>
  274. </table>
  275. </dd>
  276. </dl>
  277. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot.html#aea67c885034219789b360c0e624bfeaf" title="Set the drawing canvas of the plot widget.">QwtPlot::setCanvas()</a> </dd></dl>
  278. </div>
  279. </div>
  280. <h2 class="groupheader">Member Function Documentation</h2>
  281. <a id="ac656d1b06a71a416a39287a612e15bc5"></a>
  282. <h2 class="memtitle"><span class="permalink"><a href="#ac656d1b06a71a416a39287a612e15bc5">&#9670;&nbsp;</a></span>backingStore()</h2>
  283. <div class="memitem">
  284. <div class="memproto">
  285. <table class="memname">
  286. <tr>
  287. <td class="memname">const QPixmap * QwtPlotCanvas::backingStore </td>
  288. <td>(</td>
  289. <td class="paramname"></td><td>)</td>
  290. <td> const</td>
  291. </tr>
  292. </table>
  293. </div><div class="memdoc">
  294. <dl class="section return"><dt>Returns</dt><dd>Backing store, might be null </dd></dl>
  295. </div>
  296. </div>
  297. <a id="af21afcc5f858ab70afb589b32c856ca1"></a>
  298. <h2 class="memtitle"><span class="permalink"><a href="#af21afcc5f858ab70afb589b32c856ca1">&#9670;&nbsp;</a></span>borderPath()</h2>
  299. <div class="memitem">
  300. <div class="memproto">
  301. <table class="memname">
  302. <tr>
  303. <td class="memname">QPainterPath QwtPlotCanvas::borderPath </td>
  304. <td>(</td>
  305. <td class="paramtype">const QRect &amp;&#160;</td>
  306. <td class="paramname"><em>rect</em></td><td>)</td>
  307. <td> const</td>
  308. </tr>
  309. </table>
  310. </div><div class="memdoc">
  311. <p>Calculate the painter path for a styled or rounded border</p>
  312. <p>When the canvas has no styled background or rounded borders the painter path is empty.</p>
  313. <dl class="params"><dt>Parameters</dt><dd>
  314. <table class="params">
  315. <tr><td class="paramname">rect</td><td>Bounding rectangle of the canvas </td></tr>
  316. </table>
  317. </dd>
  318. </dl>
  319. <dl class="section return"><dt>Returns</dt><dd>Painter path, that can be used for clipping </dd></dl>
  320. </div>
  321. </div>
  322. <a id="a803ef8bbe8e2f8379cb0b9e133313a48"></a>
  323. <h2 class="memtitle"><span class="permalink"><a href="#a803ef8bbe8e2f8379cb0b9e133313a48">&#9670;&nbsp;</a></span>borderRadius()</h2>
  324. <div class="memitem">
  325. <div class="memproto">
  326. <table class="memname">
  327. <tr>
  328. <td class="memname">double QwtPlotCanvas::borderRadius </td>
  329. <td>(</td>
  330. <td class="paramname"></td><td>)</td>
  331. <td> const</td>
  332. </tr>
  333. </table>
  334. </div><div class="memdoc">
  335. <dl class="section return"><dt>Returns</dt><dd>Radius for the corners of the border frame </dd></dl>
  336. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#a1e5c325697c0e892bf0e4e514d50177c">setBorderRadius()</a> </dd></dl>
  337. </div>
  338. </div>
  339. <a id="a4d415010a4baa09fa3b3edfcc6e5e4e7"></a>
  340. <h2 class="memtitle"><span class="permalink"><a href="#a4d415010a4baa09fa3b3edfcc6e5e4e7">&#9670;&nbsp;</a></span>drawBorder()</h2>
  341. <div class="memitem">
  342. <div class="memproto">
  343. <table class="mlabels">
  344. <tr>
  345. <td class="mlabels-left">
  346. <table class="memname">
  347. <tr>
  348. <td class="memname">void QwtPlotCanvas::drawBorder </td>
  349. <td>(</td>
  350. <td class="paramtype">QPainter *&#160;</td>
  351. <td class="paramname"><em>painter</em></td><td>)</td>
  352. <td></td>
  353. </tr>
  354. </table>
  355. </td>
  356. <td class="mlabels-right">
  357. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  358. </tr>
  359. </table>
  360. </div><div class="memdoc">
  361. <p>Draw the border of the plot canvas</p>
  362. <dl class="params"><dt>Parameters</dt><dd>
  363. <table class="params">
  364. <tr><td class="paramname">painter</td><td>Painter </td></tr>
  365. </table>
  366. </dd>
  367. </dl>
  368. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#a1e5c325697c0e892bf0e4e514d50177c">setBorderRadius()</a> </dd></dl>
  369. </div>
  370. </div>
  371. <a id="a4dc526ac5186fe253a158a392bbb4f40"></a>
  372. <h2 class="memtitle"><span class="permalink"><a href="#a4dc526ac5186fe253a158a392bbb4f40">&#9670;&nbsp;</a></span>drawFocusIndicator()</h2>
  373. <div class="memitem">
  374. <div class="memproto">
  375. <table class="mlabels">
  376. <tr>
  377. <td class="mlabels-left">
  378. <table class="memname">
  379. <tr>
  380. <td class="memname">void QwtPlotCanvas::drawFocusIndicator </td>
  381. <td>(</td>
  382. <td class="paramtype">QPainter *&#160;</td>
  383. <td class="paramname"><em>painter</em></td><td>)</td>
  384. <td></td>
  385. </tr>
  386. </table>
  387. </td>
  388. <td class="mlabels-right">
  389. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  390. </tr>
  391. </table>
  392. </div><div class="memdoc">
  393. <p>Draw the focus indication </p><dl class="params"><dt>Parameters</dt><dd>
  394. <table class="params">
  395. <tr><td class="paramname">painter</td><td>Painter </td></tr>
  396. </table>
  397. </dd>
  398. </dl>
  399. </div>
  400. </div>
  401. <a id="ab7f160c99d7d408a979ebe2acae951bc"></a>
  402. <h2 class="memtitle"><span class="permalink"><a href="#ab7f160c99d7d408a979ebe2acae951bc">&#9670;&nbsp;</a></span>event()</h2>
  403. <div class="memitem">
  404. <div class="memproto">
  405. <table class="mlabels">
  406. <tr>
  407. <td class="mlabels-left">
  408. <table class="memname">
  409. <tr>
  410. <td class="memname">bool QwtPlotCanvas::event </td>
  411. <td>(</td>
  412. <td class="paramtype">QEvent *&#160;</td>
  413. <td class="paramname"><em>event</em></td><td>)</td>
  414. <td></td>
  415. </tr>
  416. </table>
  417. </td>
  418. <td class="mlabels-right">
  419. <span class="mlabels"><span class="mlabel">virtual</span></span> </td>
  420. </tr>
  421. </table>
  422. </div><div class="memdoc">
  423. <p>Qt event handler for QEvent::PolishRequest and QEvent::StyleChange</p>
  424. <dl class="params"><dt>Parameters</dt><dd>
  425. <table class="params">
  426. <tr><td class="paramname">event</td><td>Qt Event </td></tr>
  427. </table>
  428. </dd>
  429. </dl>
  430. <dl class="section return"><dt>Returns</dt><dd>See QFrame::event() </dd></dl>
  431. </div>
  432. </div>
  433. <a id="a2fc7d682fe7d84ecb197205a59ea2e20"></a>
  434. <h2 class="memtitle"><span class="permalink"><a href="#a2fc7d682fe7d84ecb197205a59ea2e20">&#9670;&nbsp;</a></span>focusIndicator()</h2>
  435. <div class="memitem">
  436. <div class="memproto">
  437. <table class="memname">
  438. <tr>
  439. <td class="memname"><a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be">QwtPlotCanvas::FocusIndicator</a> QwtPlotCanvas::focusIndicator </td>
  440. <td>(</td>
  441. <td class="paramname"></td><td>)</td>
  442. <td> const</td>
  443. </tr>
  444. </table>
  445. </div><div class="memdoc">
  446. <dl class="section return"><dt>Returns</dt><dd>Focus indicator</dd></dl>
  447. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be" title="Focus indicator The default setting is NoFocusIndicator.">FocusIndicator</a>, <a class="el" href="class_qwt_plot_canvas.html#ae7330616dbb97128d01c5446ef0b006e">setFocusIndicator()</a> </dd></dl>
  448. </div>
  449. </div>
  450. <a id="aa8f1516817c578efd407d8dd574170ec"></a>
  451. <h2 class="memtitle"><span class="permalink"><a href="#aa8f1516817c578efd407d8dd574170ec">&#9670;&nbsp;</a></span>paintEvent()</h2>
  452. <div class="memitem">
  453. <div class="memproto">
  454. <table class="mlabels">
  455. <tr>
  456. <td class="mlabels-left">
  457. <table class="memname">
  458. <tr>
  459. <td class="memname">void QwtPlotCanvas::paintEvent </td>
  460. <td>(</td>
  461. <td class="paramtype">QPaintEvent *&#160;</td>
  462. <td class="paramname"><em>event</em></td><td>)</td>
  463. <td></td>
  464. </tr>
  465. </table>
  466. </td>
  467. <td class="mlabels-right">
  468. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  469. </tr>
  470. </table>
  471. </div><div class="memdoc">
  472. <p>Paint event </p><dl class="params"><dt>Parameters</dt><dd>
  473. <table class="params">
  474. <tr><td class="paramname">event</td><td>Paint event </td></tr>
  475. </table>
  476. </dd>
  477. </dl>
  478. </div>
  479. </div>
  480. <a id="a1548423348c29001ee2b6fd1c0f9f033"></a>
  481. <h2 class="memtitle"><span class="permalink"><a href="#a1548423348c29001ee2b6fd1c0f9f033">&#9670;&nbsp;</a></span>replot</h2>
  482. <div class="memitem">
  483. <div class="memproto">
  484. <table class="mlabels">
  485. <tr>
  486. <td class="mlabels-left">
  487. <table class="memname">
  488. <tr>
  489. <td class="memname">void QwtPlotCanvas::replot </td>
  490. <td>(</td>
  491. <td class="paramname"></td><td>)</td>
  492. <td></td>
  493. </tr>
  494. </table>
  495. </td>
  496. <td class="mlabels-right">
  497. <span class="mlabels"><span class="mlabel">slot</span></span> </td>
  498. </tr>
  499. </table>
  500. </div><div class="memdoc">
  501. <p>Invalidate the paint cache and repaint the canvas </p><dl class="section see"><dt>See also</dt><dd>invalidatePaintCache() </dd></dl>
  502. </div>
  503. </div>
  504. <a id="a1d4a1508bef7b417c3414c345bd60022"></a>
  505. <h2 class="memtitle"><span class="permalink"><a href="#a1d4a1508bef7b417c3414c345bd60022">&#9670;&nbsp;</a></span>resizeEvent()</h2>
  506. <div class="memitem">
  507. <div class="memproto">
  508. <table class="mlabels">
  509. <tr>
  510. <td class="mlabels-left">
  511. <table class="memname">
  512. <tr>
  513. <td class="memname">void QwtPlotCanvas::resizeEvent </td>
  514. <td>(</td>
  515. <td class="paramtype">QResizeEvent *&#160;</td>
  516. <td class="paramname"><em>event</em></td><td>)</td>
  517. <td></td>
  518. </tr>
  519. </table>
  520. </td>
  521. <td class="mlabels-right">
  522. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
  523. </tr>
  524. </table>
  525. </div><div class="memdoc">
  526. <p>Resize event </p><dl class="params"><dt>Parameters</dt><dd>
  527. <table class="params">
  528. <tr><td class="paramname">event</td><td>Resize event </td></tr>
  529. </table>
  530. </dd>
  531. </dl>
  532. </div>
  533. </div>
  534. <a id="a1e5c325697c0e892bf0e4e514d50177c"></a>
  535. <h2 class="memtitle"><span class="permalink"><a href="#a1e5c325697c0e892bf0e4e514d50177c">&#9670;&nbsp;</a></span>setBorderRadius()</h2>
  536. <div class="memitem">
  537. <div class="memproto">
  538. <table class="memname">
  539. <tr>
  540. <td class="memname">void QwtPlotCanvas::setBorderRadius </td>
  541. <td>(</td>
  542. <td class="paramtype">double&#160;</td>
  543. <td class="paramname"><em>radius</em></td><td>)</td>
  544. <td></td>
  545. </tr>
  546. </table>
  547. </div><div class="memdoc">
  548. <p>Set the radius for the corners of the border frame</p>
  549. <dl class="params"><dt>Parameters</dt><dd>
  550. <table class="params">
  551. <tr><td class="paramname">radius</td><td>Radius of a rounded corner </td></tr>
  552. </table>
  553. </dd>
  554. </dl>
  555. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#a803ef8bbe8e2f8379cb0b9e133313a48">borderRadius()</a> </dd></dl>
  556. </div>
  557. </div>
  558. <a id="ae7330616dbb97128d01c5446ef0b006e"></a>
  559. <h2 class="memtitle"><span class="permalink"><a href="#ae7330616dbb97128d01c5446ef0b006e">&#9670;&nbsp;</a></span>setFocusIndicator()</h2>
  560. <div class="memitem">
  561. <div class="memproto">
  562. <table class="memname">
  563. <tr>
  564. <td class="memname">void QwtPlotCanvas::setFocusIndicator </td>
  565. <td>(</td>
  566. <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a>&#160;</td>
  567. <td class="paramname"><em>focusIndicator</em></td><td>)</td>
  568. <td></td>
  569. </tr>
  570. </table>
  571. </div><div class="memdoc">
  572. <p>Set the focus indicator</p>
  573. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#a89b44e4c28038a674ce211fe9ac2d7be" title="Focus indicator The default setting is NoFocusIndicator.">FocusIndicator</a>, <a class="el" href="class_qwt_plot_canvas.html#a2fc7d682fe7d84ecb197205a59ea2e20">focusIndicator()</a> </dd></dl>
  574. </div>
  575. </div>
  576. <a id="a7859beb87bcef4fd53f99e7c87104e27"></a>
  577. <h2 class="memtitle"><span class="permalink"><a href="#a7859beb87bcef4fd53f99e7c87104e27">&#9670;&nbsp;</a></span>setPaintAttribute()</h2>
  578. <div class="memitem">
  579. <div class="memproto">
  580. <table class="memname">
  581. <tr>
  582. <td class="memname">void QwtPlotCanvas::setPaintAttribute </td>
  583. <td>(</td>
  584. <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a>&#160;</td>
  585. <td class="paramname"><em>attribute</em>, </td>
  586. </tr>
  587. <tr>
  588. <td class="paramkey"></td>
  589. <td></td>
  590. <td class="paramtype">bool&#160;</td>
  591. <td class="paramname"><em>on</em> = <code>true</code>&#160;</td>
  592. </tr>
  593. <tr>
  594. <td></td>
  595. <td>)</td>
  596. <td></td><td></td>
  597. </tr>
  598. </table>
  599. </div><div class="memdoc">
  600. <p>Changing the paint attributes. </p>
  601. <dl class="params"><dt>Parameters</dt><dd>
  602. <table class="params">
  603. <tr><td class="paramname">attribute</td><td>Paint attribute </td></tr>
  604. <tr><td class="paramname">on</td><td>On/Off</td></tr>
  605. </table>
  606. </dd>
  607. </dl>
  608. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#a3dc8278bd9ce9b9d801706d61e139baf">testPaintAttribute()</a>, <a class="el" href="class_qwt_plot_canvas.html#ac656d1b06a71a416a39287a612e15bc5">backingStore()</a> </dd></dl>
  609. </div>
  610. </div>
  611. <a id="a3dc8278bd9ce9b9d801706d61e139baf"></a>
  612. <h2 class="memtitle"><span class="permalink"><a href="#a3dc8278bd9ce9b9d801706d61e139baf">&#9670;&nbsp;</a></span>testPaintAttribute()</h2>
  613. <div class="memitem">
  614. <div class="memproto">
  615. <table class="memname">
  616. <tr>
  617. <td class="memname">bool QwtPlotCanvas::testPaintAttribute </td>
  618. <td>(</td>
  619. <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a>&#160;</td>
  620. <td class="paramname"><em>attribute</em></td><td>)</td>
  621. <td> const</td>
  622. </tr>
  623. </table>
  624. </div><div class="memdoc">
  625. <p>Test whether a paint attribute is enabled</p>
  626. <dl class="params"><dt>Parameters</dt><dd>
  627. <table class="params">
  628. <tr><td class="paramname">attribute</td><td>Paint attribute </td></tr>
  629. </table>
  630. </dd>
  631. </dl>
  632. <dl class="section return"><dt>Returns</dt><dd>true, when attribute is enabled </dd></dl>
  633. <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#a7859beb87bcef4fd53f99e7c87104e27" title="Changing the paint attributes.">setPaintAttribute()</a> </dd></dl>
  634. </div>
  635. </div>
  636. </div><!-- contents -->
  637. </div><!-- doc-content -->
  638. <!-- start footer part -->
  639. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  640. <ul>
  641. <li class="navelem"><a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a></li>
  642. <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>
  643. </ul>
  644. </div>
  645. </body>
  646. </html>