<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.11"/> <title>Qwt User's Guide: QwtPlotItem Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript" src="navtreedata.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript"> $(document).ready(initResizable); $(window).load(resizeHeight); </script> <link href="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { init_search(); }); </script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">Qwt User's Guide  <span id="projectnumber">6.1.3</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.11 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> $(document).ready(function(){initNavTree('class_qwt_plot_item.html','');}); </script> <div id="doc-content"> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="class_qwt_plot_item-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">QwtPlotItem Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> </div><!--header--> <div class="contents"> <p>Base class for items on the plot canvas. <a href="class_qwt_plot_item.html#details">More...</a></p> <p><code>#include <<a class="el" href="qwt__plot__item_8h_source.html">qwt_plot_item.h</a>></code></p> <div class="dynheader"> Inheritance diagram for QwtPlotItem:</div> <div class="dyncontent"> <div class="center"><img src="class_qwt_plot_item__inherit__graph.png" border="0" usemap="#_qwt_plot_item_inherit__map" alt="Inheritance graph"/></div> <map name="_qwt_plot_item_inherit__map" id="_qwt_plot_item_inherit__map"> <area shape="rect" id="node2" href="class_qwt_plot_grid.html" title="A class which draws a coordinate grid. " alt="" coords="169,5,263,32"/> <area shape="rect" id="node3" href="class_qwt_plot_legend_item.html" title="A class which draws a legend inside the plot canvas. " alt="" coords="147,56,285,83"/> <area shape="rect" id="node4" href="class_qwt_plot_marker.html" title="A class for drawing markers. " alt="" coords="161,107,271,133"/> <area shape="rect" id="node5" href="class_qwt_plot_raster_item.html" title="A class, which displays raster data. " alt="" coords="150,157,282,184"/> <area shape="rect" id="node7" href="class_qwt_plot_scale_item.html" title="A class which draws a scale inside the plot canvas. " alt="" coords="152,208,280,235"/> <area shape="rect" id="node8" href="class_qwt_plot_series_item.html" title="Base class for plot items representing a series of samples. " alt="" coords="150,259,282,285"/> <area shape="rect" id="node17" href="class_qwt_plot_shape_item.html" title="A plot item, which displays any graphical shape, that can be defined by a QPainterPath. " alt="" coords="150,309,282,336"/> <area shape="rect" id="node18" href="class_qwt_plot_svg_item.html" title="A plot item, which displays data in Scalable Vector Graphics (SVG) format. " alt="" coords="157,360,275,387"/> <area shape="rect" id="node19" href="class_qwt_plot_text_label.html" title="A plot item, which displays a text label. " alt="" coords="151,411,281,437"/> <area shape="rect" id="node20" href="class_qwt_plot_zone_item.html" title="A plot item, which displays a zone. " alt="" coords="153,461,279,488"/> <area shape="rect" id="node6" href="class_qwt_plot_spectrogram.html" title="A plot item, which displays a spectrogram. " alt="" coords="345,107,491,133"/> <area shape="rect" id="node9" href="class_qwt_plot_abstract_bar_chart.html" title="Abstract base class for bar chart items. " alt="" coords="333,157,503,184"/> <area shape="rect" id="node12" href="class_qwt_plot_curve.html" title="A plot item, that represents a series of points. " alt="" coords="366,208,470,235"/> <area shape="rect" id="node13" href="class_qwt_plot_histogram.html" title="QwtPlotHistogram represents a series of samples, where an interval is associated with a value (  )..." alt="" coords="353,259,483,285"/> <area shape="rect" id="node14" href="class_qwt_plot_interval_curve.html" title="QwtPlotIntervalCurve represents a series of samples, where each value is associated with an interval ..." alt="" coords="345,309,491,336"/> <area shape="rect" id="node15" href="class_qwt_plot_spectro_curve.html" title="Curve that displays 3D points as dots, where the z coordinate is mapped to a color. " alt="" coords="343,360,493,387"/> <area shape="rect" id="node16" href="class_qwt_plot_trading_curve.html" title="QwtPlotTradingCurve illustrates movements in the price of a financial instrument over time..." alt="" coords="342,411,494,437"/> <area shape="rect" id="node10" href="class_qwt_plot_bar_chart.html" title="QwtPlotBarChart displays a series of a values as bars. " alt="" coords="564,132,685,159"/> <area shape="rect" id="node11" href="class_qwt_plot_multi_bar_chart.html" title="QwtPlotMultiBarChart displays a series of a samples that consist each of a set of values..." alt="" coords="551,183,699,209"/> </map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:ab149ac85e233ce9cedf2f2f2af871bf3"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3">RttiValues</a> { <br />   <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3af1fb53ddb320ecbf2bba00a323cf08ff">Rtti_PlotItem</a> = 0, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3af3125faa8333135a5724cc1d6c276683">Rtti_PlotGrid</a>, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a386936d7e0186eabeb833a51cc4fb1cc">Rtti_PlotScale</a>, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a06cd77e370cf62597501e692965e1f9c">Rtti_PlotLegend</a>, <br />   <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a15b3819a193f24b76c78e39cb80c7789">Rtti_PlotMarker</a>, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3af51a35012ed097a762b8918cf20caa69">Rtti_PlotCurve</a>, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a27c1741ae71fad58da835b747246015d">Rtti_PlotSpectroCurve</a>, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a5698aa120baa6e3d3d2a6bda8a82b226">Rtti_PlotIntervalCurve</a>, <br />   <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a4538dd66ec78ffd7ce6763f9000edcee">Rtti_PlotHistogram</a>, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3ad67d72195856e6fd8112e1b310f3acb7">Rtti_PlotSpectrogram</a>, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a3aabc62d4c006ab40dd3e01db692ab4a">Rtti_PlotSVG</a>, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3abcd9cebf717e528cb67458abfbf622dd">Rtti_PlotTradingCurve</a>, <br />   <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3ab89eb3547903640b6cc9d0aac02ef6c3">Rtti_PlotBarChart</a>, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a73007ac5158d0ac857af2c6dcecf2712">Rtti_PlotMultiBarChart</a>, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3af18fa4c34b44eaf43e13608c6bd7c7b7">Rtti_PlotShape</a>, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3ae6f046fd43f578ad8a59243e6e665167">Rtti_PlotTextLabel</a>, <br />   <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3a52b2ec5c64c77a36a103b329a530b606">Rtti_PlotZone</a>, <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3aa60198228f57f46d4c64e4779107d0dc">Rtti_PlotUserItem</a> = 1000 <br /> }<tr class="memdesc:ab149ac85e233ce9cedf2f2f2af871bf3"><td class="mdescLeft"> </td><td class="mdescRight">Runtime type information. <a href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3">More...</a><br /></td></tr> </td></tr> <tr class="separator:ab149ac85e233ce9cedf2f2f2af871bf3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae0fabcdd35f4818ce5bbe019b0eed062"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a> { <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176">Legend</a> = 0x01, <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48">AutoScale</a> = 0x02, <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a56ea00cf43b862667dec2ac727307d4d">Margins</a> = 0x04 }<tr class="memdesc:ae0fabcdd35f4818ce5bbe019b0eed062"><td class="mdescLeft"> </td><td class="mdescRight">Plot Item Attributes. <a href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">More...</a><br /></td></tr> </td></tr> <tr class="separator:ae0fabcdd35f4818ce5bbe019b0eed062"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:affbc42460ace9ac725fa825a3f8bfb66"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">ItemInterest</a> { <a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66a0d1c46890f22ef973d897ab0a9d38971">ScaleInterest</a> = 0x01, <a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66afcc4ef45e6613104ccc2b9f7988e4d22">LegendInterest</a> = 0x02 }<tr class="memdesc:affbc42460ace9ac725fa825a3f8bfb66"><td class="mdescLeft"> </td><td class="mdescRight">Plot Item Interests. <a href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">More...</a><br /></td></tr> </td></tr> <tr class="separator:affbc42460ace9ac725fa825a3f8bfb66"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abe0e8a39aceef9a600b73e02550a9704"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a> { <a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704ae0c9811915d496eaacbd749724647f13">RenderAntialiased</a> = 0x1 }<tr class="memdesc:abe0e8a39aceef9a600b73e02550a9704"><td class="mdescLeft"> </td><td class="mdescRight">Render hints. <a href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">More...</a><br /></td></tr> </td></tr> <tr class="separator:abe0e8a39aceef9a600b73e02550a9704"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af356dc13c7838c7437334e199a356764"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af356dc13c7838c7437334e199a356764"></a> typedef QFlags< <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#af356dc13c7838c7437334e199a356764">ItemAttributes</a></td></tr> <tr class="memdesc:af356dc13c7838c7437334e199a356764"><td class="mdescLeft"> </td><td class="mdescRight">Plot Item Attributes. <br /></td></tr> <tr class="separator:af356dc13c7838c7437334e199a356764"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6a0c870664f074f342422859638c1228"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6a0c870664f074f342422859638c1228"></a> typedef QFlags< <a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">ItemInterest</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a6a0c870664f074f342422859638c1228">ItemInterests</a></td></tr> <tr class="memdesc:a6a0c870664f074f342422859638c1228"><td class="mdescLeft"> </td><td class="mdescRight">Plot Item Interests. <br /></td></tr> <tr class="separator:a6a0c870664f074f342422859638c1228"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a40cf900701d3a68948b00316689616d1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a40cf900701d3a68948b00316689616d1"></a> typedef QFlags< <a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a40cf900701d3a68948b00316689616d1">RenderHints</a></td></tr> <tr class="memdesc:a40cf900701d3a68948b00316689616d1"><td class="mdescLeft"> </td><td class="mdescRight">Render hints. <br /></td></tr> <tr class="separator:a40cf900701d3a68948b00316689616d1"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a5d892ac856fb9176515c5f2d806161dc"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a5d892ac856fb9176515c5f2d806161dc">QwtPlotItem</a> (const <a class="el" href="class_qwt_text.html">QwtText</a> &<a class="el" href="class_qwt_plot_item.html#a3859d011b670b5f89e45d1ccef9206f7">title</a>=<a class="el" href="class_qwt_text.html">QwtText</a>())</td></tr> <tr class="separator:a5d892ac856fb9176515c5f2d806161dc"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a282a1d0424a06737f80e1fe83ccf7a0c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a282a1d0424a06737f80e1fe83ccf7a0c"></a> virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a282a1d0424a06737f80e1fe83ccf7a0c">~QwtPlotItem</a> ()</td></tr> <tr class="memdesc:a282a1d0424a06737f80e1fe83ccf7a0c"><td class="mdescLeft"> </td><td class="mdescRight">Destroy the <a class="el" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas. ">QwtPlotItem</a>. <br /></td></tr> <tr class="separator:a282a1d0424a06737f80e1fe83ccf7a0c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeb2f676533ccae3436bf578824e2165e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#aeb2f676533ccae3436bf578824e2165e">attach</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</a> *<a class="el" href="class_qwt_plot_item.html#a4c99653a14a49ad94d466168d06e97b9">plot</a>)</td></tr> <tr class="memdesc:aeb2f676533ccae3436bf578824e2165e"><td class="mdescLeft"> </td><td class="mdescRight">Attach the item to a plot. <a href="#aeb2f676533ccae3436bf578824e2165e">More...</a><br /></td></tr> <tr class="separator:aeb2f676533ccae3436bf578824e2165e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab2bbee6dbe36a5f1d0ce853ac66716a6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ab2bbee6dbe36a5f1d0ce853ac66716a6">detach</a> ()</td></tr> <tr class="memdesc:ab2bbee6dbe36a5f1d0ce853ac66716a6"><td class="mdescLeft"> </td><td class="mdescRight">This method detaches a <a class="el" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas. ">QwtPlotItem</a> from any <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget. ">QwtPlot</a> it has been associated with. <a href="#ab2bbee6dbe36a5f1d0ce853ac66716a6">More...</a><br /></td></tr> <tr class="separator:ab2bbee6dbe36a5f1d0ce853ac66716a6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4c99653a14a49ad94d466168d06e97b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4c99653a14a49ad94d466168d06e97b9"></a> <a class="el" href="class_qwt_plot.html">QwtPlot</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a4c99653a14a49ad94d466168d06e97b9">plot</a> () const </td></tr> <tr class="memdesc:a4c99653a14a49ad94d466168d06e97b9"><td class="mdescLeft"> </td><td class="mdescRight">Return attached plot. <br /></td></tr> <tr class="separator:a4c99653a14a49ad94d466168d06e97b9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1b74686181ab6dd5033917123c7db30f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a1b74686181ab6dd5033917123c7db30f">setTitle</a> (const QString &<a class="el" href="class_qwt_plot_item.html#a3859d011b670b5f89e45d1ccef9206f7">title</a>)</td></tr> <tr class="separator:a1b74686181ab6dd5033917123c7db30f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2db3214b23b78274fa6f8c0321a76839"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a2db3214b23b78274fa6f8c0321a76839">setTitle</a> (const <a class="el" href="class_qwt_text.html">QwtText</a> &<a class="el" href="class_qwt_plot_item.html#a3859d011b670b5f89e45d1ccef9206f7">title</a>)</td></tr> <tr class="separator:a2db3214b23b78274fa6f8c0321a76839"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3859d011b670b5f89e45d1ccef9206f7"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_text.html">QwtText</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a3859d011b670b5f89e45d1ccef9206f7">title</a> () const </td></tr> <tr class="separator:a3859d011b670b5f89e45d1ccef9206f7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af153b5a40a60ac626f1c58e69fc4ecad"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#af153b5a40a60ac626f1c58e69fc4ecad">rtti</a> () const </td></tr> <tr class="separator:af153b5a40a60ac626f1c58e69fc4ecad"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5a335be8ff488809a2cf7f4b734ad1b6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">setItemAttribute</a> (<a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a>, bool on=true)</td></tr> <tr class="separator:a5a335be8ff488809a2cf7f4b734ad1b6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aef70936d34ef661876692e6a06d4a464"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#aef70936d34ef661876692e6a06d4a464">testItemAttribute</a> (<a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a>) const </td></tr> <tr class="separator:aef70936d34ef661876692e6a06d4a464"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab65cbfe489ff73e32a919a0633298fb7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ab65cbfe489ff73e32a919a0633298fb7">setItemInterest</a> (<a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">ItemInterest</a>, bool on=true)</td></tr> <tr class="separator:ab65cbfe489ff73e32a919a0633298fb7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a788e1dcce2faadd0bf2fd6f453ec55d0"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a788e1dcce2faadd0bf2fd6f453ec55d0">testItemInterest</a> (<a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">ItemInterest</a>) const </td></tr> <tr class="separator:a788e1dcce2faadd0bf2fd6f453ec55d0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acd023c40f659c304ded324942865edc8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#acd023c40f659c304ded324942865edc8">setRenderHint</a> (<a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a>, bool on=true)</td></tr> <tr class="separator:acd023c40f659c304ded324942865edc8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad4009381d6a26359125549e1cf874b69"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ad4009381d6a26359125549e1cf874b69">testRenderHint</a> (<a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a>) const </td></tr> <tr class="separator:ad4009381d6a26359125549e1cf874b69"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a188ae18fbbce9adcf259ebe2f0de1f6b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a188ae18fbbce9adcf259ebe2f0de1f6b">setRenderThreadCount</a> (uint numThreads)</td></tr> <tr class="separator:a188ae18fbbce9adcf259ebe2f0de1f6b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acb8a2fce65770739fc263fd1fb19fcf3"><td class="memItemLeft" align="right" valign="top">uint </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#acb8a2fce65770739fc263fd1fb19fcf3">renderThreadCount</a> () const </td></tr> <tr class="separator:acb8a2fce65770739fc263fd1fb19fcf3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0827dd69bf19ec0145b6cc6efad2c11b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a0827dd69bf19ec0145b6cc6efad2c11b">setLegendIconSize</a> (const QSize &)</td></tr> <tr class="separator:a0827dd69bf19ec0145b6cc6efad2c11b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3239ad2b425382e153e80cc393dd4fc2"><td class="memItemLeft" align="right" valign="top">QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a3239ad2b425382e153e80cc393dd4fc2">legendIconSize</a> () const </td></tr> <tr class="separator:a3239ad2b425382e153e80cc393dd4fc2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4c58d814336643190b9f2918f80c30df"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a4c58d814336643190b9f2918f80c30df">z</a> () const </td></tr> <tr class="separator:a4c58d814336643190b9f2918f80c30df"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a57d90e4146133b59d589c71b3a643e82"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a57d90e4146133b59d589c71b3a643e82">setZ</a> (double <a class="el" href="class_qwt_plot_item.html#a4c58d814336643190b9f2918f80c30df">z</a>)</td></tr> <tr class="memdesc:a57d90e4146133b59d589c71b3a643e82"><td class="mdescLeft"> </td><td class="mdescRight">Set the z value. <a href="#a57d90e4146133b59d589c71b3a643e82">More...</a><br /></td></tr> <tr class="separator:a57d90e4146133b59d589c71b3a643e82"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a93a50fb9c86bc66617e28315e02281c3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a93a50fb9c86bc66617e28315e02281c3"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a93a50fb9c86bc66617e28315e02281c3">show</a> ()</td></tr> <tr class="memdesc:a93a50fb9c86bc66617e28315e02281c3"><td class="mdescLeft"> </td><td class="mdescRight">Show the item. <br /></td></tr> <tr class="separator:a93a50fb9c86bc66617e28315e02281c3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1faea017baa2492416a13e6bc3c144aa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1faea017baa2492416a13e6bc3c144aa"></a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a1faea017baa2492416a13e6bc3c144aa">hide</a> ()</td></tr> <tr class="memdesc:a1faea017baa2492416a13e6bc3c144aa"><td class="mdescLeft"> </td><td class="mdescRight">Hide the item. <br /></td></tr> <tr class="separator:a1faea017baa2492416a13e6bc3c144aa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5f0eeb2b72207fd8d33a95b0565657a1"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a5f0eeb2b72207fd8d33a95b0565657a1">setVisible</a> (bool)</td></tr> <tr class="separator:a5f0eeb2b72207fd8d33a95b0565657a1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aeaf8eeb5f080017e181a5d7be798d789"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#aeaf8eeb5f080017e181a5d7be798d789">isVisible</a> () const </td></tr> <tr class="separator:aeaf8eeb5f080017e181a5d7be798d789"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6f6c7b34fe86e8029914b3b780b55ea4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a6f6c7b34fe86e8029914b3b780b55ea4">setAxes</a> (int <a class="el" href="class_qwt_plot_item.html#a7af360bf6d5a5b6257ce6b0dd99b7525">xAxis</a>, int <a class="el" href="class_qwt_plot_item.html#ac7714ffa278a10e0cf45972e487b63ff">yAxis</a>)</td></tr> <tr class="separator:a6f6c7b34fe86e8029914b3b780b55ea4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a81d3dd7feaadda4b0dbb8c13642046cf"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a81d3dd7feaadda4b0dbb8c13642046cf">setXAxis</a> (int axis)</td></tr> <tr class="separator:a81d3dd7feaadda4b0dbb8c13642046cf"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7af360bf6d5a5b6257ce6b0dd99b7525"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7af360bf6d5a5b6257ce6b0dd99b7525"></a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a7af360bf6d5a5b6257ce6b0dd99b7525">xAxis</a> () const </td></tr> <tr class="memdesc:a7af360bf6d5a5b6257ce6b0dd99b7525"><td class="mdescLeft"> </td><td class="mdescRight">Return xAxis. <br /></td></tr> <tr class="separator:a7af360bf6d5a5b6257ce6b0dd99b7525"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa92dad876d76ce136925d5ae8f01db9a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#aa92dad876d76ce136925d5ae8f01db9a">setYAxis</a> (int axis)</td></tr> <tr class="separator:aa92dad876d76ce136925d5ae8f01db9a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac7714ffa278a10e0cf45972e487b63ff"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac7714ffa278a10e0cf45972e487b63ff"></a> int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ac7714ffa278a10e0cf45972e487b63ff">yAxis</a> () const </td></tr> <tr class="memdesc:ac7714ffa278a10e0cf45972e487b63ff"><td class="mdescLeft"> </td><td class="mdescRight">Return yAxis. <br /></td></tr> <tr class="separator:ac7714ffa278a10e0cf45972e487b63ff"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad956fdbce5b0721abccce6d09fe4d5ce"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged</a> ()</td></tr> <tr class="separator:ad956fdbce5b0721abccce6d09fe4d5ce"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3967414c7542e267d0c2793f02be7241"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a3967414c7542e267d0c2793f02be7241">legendChanged</a> ()</td></tr> <tr class="separator:a3967414c7542e267d0c2793f02be7241"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4e4c2f404d38e670690805b0e2a17d16"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a4e4c2f404d38e670690805b0e2a17d16">draw</a> (QPainter *painter, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &yMap, const QRectF &canvasRect) const =0</td></tr> <tr class="memdesc:a4e4c2f404d38e670690805b0e2a17d16"><td class="mdescLeft"> </td><td class="mdescRight">Draw the item. <a href="#a4e4c2f404d38e670690805b0e2a17d16">More...</a><br /></td></tr> <tr class="separator:a4e4c2f404d38e670690805b0e2a17d16"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aec3c408e14af30b82b52c1197310eb21"><td class="memItemLeft" align="right" valign="top">virtual QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#aec3c408e14af30b82b52c1197310eb21">boundingRect</a> () const </td></tr> <tr class="separator:aec3c408e14af30b82b52c1197310eb21"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a46b0d88f7667e0e93dee5253c8be001f"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a46b0d88f7667e0e93dee5253c8be001f">getCanvasMarginHint</a> (const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &yMap, const QRectF &canvasSize, double &left, double &top, double &right, double &bottom) const </td></tr> <tr class="memdesc:a46b0d88f7667e0e93dee5253c8be001f"><td class="mdescLeft"> </td><td class="mdescRight">Calculate a hint for the canvas margin. <a href="#a46b0d88f7667e0e93dee5253c8be001f">More...</a><br /></td></tr> <tr class="separator:a46b0d88f7667e0e93dee5253c8be001f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abf6a70847d3db952161ca4d4a952eea0"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#abf6a70847d3db952161ca4d4a952eea0">updateScaleDiv</a> (const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &, const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &)</td></tr> <tr class="memdesc:abf6a70847d3db952161ca4d4a952eea0"><td class="mdescLeft"> </td><td class="mdescRight">Update the item to changes of the axes scale division. <a href="#abf6a70847d3db952161ca4d4a952eea0">More...</a><br /></td></tr> <tr class="separator:abf6a70847d3db952161ca4d4a952eea0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af0c4272375b1ee95a1454c4c503ff324"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#af0c4272375b1ee95a1454c4c503ff324">updateLegend</a> (const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> *, const QList< <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> > &)</td></tr> <tr class="memdesc:af0c4272375b1ee95a1454c4c503ff324"><td class="mdescLeft"> </td><td class="mdescRight">Update the item to changes of the legend info. <a href="#af0c4272375b1ee95a1454c4c503ff324">More...</a><br /></td></tr> <tr class="separator:af0c4272375b1ee95a1454c4c503ff324"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a186036cbee194b87b9bc4afb693c27f4"><td class="memItemLeft" align="right" valign="top">QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a186036cbee194b87b9bc4afb693c27f4">scaleRect</a> (const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &) const </td></tr> <tr class="memdesc:a186036cbee194b87b9bc4afb693c27f4"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the bounding scale rectangle of 2 maps. <a href="#a186036cbee194b87b9bc4afb693c27f4">More...</a><br /></td></tr> <tr class="separator:a186036cbee194b87b9bc4afb693c27f4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afa05b98fd7ea65ca1ffcb04bb6b4326d"><td class="memItemLeft" align="right" valign="top">QRectF </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#afa05b98fd7ea65ca1ffcb04bb6b4326d">paintRect</a> (const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &) const </td></tr> <tr class="memdesc:afa05b98fd7ea65ca1ffcb04bb6b4326d"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the bounding paint rectangle of 2 maps. <a href="#afa05b98fd7ea65ca1ffcb04bb6b4326d">More...</a><br /></td></tr> <tr class="separator:afa05b98fd7ea65ca1ffcb04bb6b4326d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a584b37b42cb2c63424cedade1f4d7221"><td class="memItemLeft" align="right" valign="top">virtual QList< <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a584b37b42cb2c63424cedade1f4d7221">legendData</a> () const </td></tr> <tr class="memdesc:a584b37b42cb2c63424cedade1f4d7221"><td class="mdescLeft"> </td><td class="mdescRight">Return all information, that is needed to represent the item on the legend. <a href="#a584b37b42cb2c63424cedade1f4d7221">More...</a><br /></td></tr> <tr class="separator:a584b37b42cb2c63424cedade1f4d7221"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab192921c0d3c94832c6f617716a6b275"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_qwt_graphic.html">QwtGraphic</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ab192921c0d3c94832c6f617716a6b275">legendIcon</a> (int index, const QSizeF &) const </td></tr> <tr class="separator:ab192921c0d3c94832c6f617716a6b275"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:af5264c9dcd9d1ec503bc1d46c10adc83"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_graphic.html">QwtGraphic</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#af5264c9dcd9d1ec503bc1d46c10adc83">defaultIcon</a> (const QBrush &, const QSizeF &) const </td></tr> <tr class="memdesc:af5264c9dcd9d1ec503bc1d46c10adc83"><td class="mdescLeft"> </td><td class="mdescRight">Return a default icon from a brush. <a href="#af5264c9dcd9d1ec503bc1d46c10adc83">More...</a><br /></td></tr> <tr class="separator:af5264c9dcd9d1ec503bc1d46c10adc83"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Base class for items on the plot canvas. </p> <p>A plot item is "something", that can be painted on the plot canvas, or only affects the scales of the plot widget. They can be categorized as:</p> <ul> <li>Representator<br /> A "Representator" is an item that represents some sort of data on the plot canvas. The different representator classes are organized according to the characteristics of the data:<ul> <li><a class="el" href="class_qwt_plot_marker.html" title="A class for drawing markers. ">QwtPlotMarker</a> Represents a point or a horizontal/vertical coordinate</li> <li><a class="el" href="class_qwt_plot_curve.html" title="A plot item, that represents a series of points. ">QwtPlotCurve</a> Represents a series of points</li> <li><a class="el" href="class_qwt_plot_spectrogram.html" title="A plot item, which displays a spectrogram. ">QwtPlotSpectrogram</a> ( <a class="el" href="class_qwt_plot_raster_item.html" title="A class, which displays raster data. ">QwtPlotRasterItem</a> ) Represents raster data</li> <li>...</li> </ul> </li> <li>Decorators<br /> A "Decorator" is an item, that displays additional information, that is not related to any data:<ul> <li><a class="el" href="class_qwt_plot_grid.html" title="A class which draws a coordinate grid. ">QwtPlotGrid</a></li> <li><a class="el" href="class_qwt_plot_scale_item.html" title="A class which draws a scale inside the plot canvas. ">QwtPlotScaleItem</a></li> <li><a class="el" href="class_qwt_plot_svg_item.html" title="A plot item, which displays data in Scalable Vector Graphics (SVG) format. ">QwtPlotSvgItem</a></li> <li>...</li> </ul> </li> </ul> <p>Depending on the <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062" title="Plot Item Attributes. ">QwtPlotItem::ItemAttribute</a> flags, an item is included into autoscaling or has an entry on the legend.</p> <p>Before misusing the existing item classes it might be better to implement a new type of plot item ( don't implement a watermark as spectrogram ). Deriving a new type of <a class="el" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas. ">QwtPlotItem</a> primarily means to implement the YourPlotItem::draw() method.</p> <dl class="section see"><dt>See also</dt><dd>The cpuplot example shows the implementation of additional <a class="el" href="class_qwt_plot_item.html#a4c99653a14a49ad94d466168d06e97b9" title="Return attached plot. ">plot</a> items. </dd></dl> </div><h2 class="groupheader">Member Enumeration Documentation</h2> <a class="anchor" id="ae0fabcdd35f4818ce5bbe019b0eed062"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">QwtPlotItem::ItemAttribute</a></td> </tr> </table> </div><div class="memdoc"> <p>Plot Item Attributes. </p> <p>Various aspects of a plot widget depend on the attributes of the attached plot items. If and how a single plot item participates in these updates depends on its attributes.</p> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">setItemAttribute()</a>, <a class="el" href="class_qwt_plot_item.html#aef70936d34ef661876692e6a06d4a464">testItemAttribute()</a>, <a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66" title="Plot Item Interests. ">ItemInterest</a> </dd></dl> <table class="fieldtable"> <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176"></a>Legend </td><td class="fielddoc"> <p>The item is represented on the legend. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48"></a>AutoScale </td><td class="fielddoc"> <p>The <a class="el" href="class_qwt_plot_item.html#aec3c408e14af30b82b52c1197310eb21">boundingRect()</a> of the item is included in the autoscaling calculation as long as its width or height is >= 0.0. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ae0fabcdd35f4818ce5bbe019b0eed062a56ea00cf43b862667dec2ac727307d4d"></a>Margins </td><td class="fielddoc"> <p>The item needs extra space to display something outside its bounding rectangle. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a46b0d88f7667e0e93dee5253c8be001f" title="Calculate a hint for the canvas margin. ">getCanvasMarginHint()</a> </dd></dl> </td></tr> </table> </div> </div> <a class="anchor" id="affbc42460ace9ac725fa825a3f8bfb66"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">QwtPlotItem::ItemInterest</a></td> </tr> </table> </div><div class="memdoc"> <p>Plot Item Interests. </p> <p>Plot items might depend on the situation of the corresponding plot widget. By enabling an interest the plot item will be notified, when the corresponding attribute of the plot widgets has changed.</p> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">setItemAttribute()</a>, <a class="el" href="class_qwt_plot_item.html#aef70936d34ef661876692e6a06d4a464">testItemAttribute()</a>, <a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66" title="Plot Item Interests. ">ItemInterest</a> </dd></dl> <table class="fieldtable"> <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="affbc42460ace9ac725fa825a3f8bfb66a0d1c46890f22ef973d897ab0a9d38971"></a>ScaleInterest </td><td class="fielddoc"> <p>The item is interested in updates of the scales </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#abf6a70847d3db952161ca4d4a952eea0" title="Update the item to changes of the axes scale division. ">updateScaleDiv()</a> </dd></dl> </td></tr> <tr><td class="fieldname"><a class="anchor" id="affbc42460ace9ac725fa825a3f8bfb66afcc4ef45e6613104ccc2b9f7988e4d22"></a>LegendInterest </td><td class="fielddoc"> <p>The item is interested in updates of the legend ( of other items ) This flag is intended for items, that want to implement a legend for displaying entries of other plot item.</p> <dl class="section note"><dt>Note</dt><dd>If the plot item wants to be represented on a legend enable <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176" title="The item is represented on the legend. ">QwtPlotItem::Legend</a> instead.</dd></dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#af0c4272375b1ee95a1454c4c503ff324" title="Update the item to changes of the legend info. ">updateLegend()</a> </dd></dl> </td></tr> </table> </div> </div> <a class="anchor" id="abe0e8a39aceef9a600b73e02550a9704"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">QwtPlotItem::RenderHint</a></td> </tr> </table> </div><div class="memdoc"> <p>Render hints. </p> <table class="fieldtable"> <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="abe0e8a39aceef9a600b73e02550a9704ae0c9811915d496eaacbd749724647f13"></a>RenderAntialiased </td><td class="fielddoc"> <p>Enable antialiasing. </p> </td></tr> </table> </div> </div> <a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3">QwtPlotItem::RttiValues</a></td> </tr> </table> </div><div class="memdoc"> <p>Runtime type information. </p> <p>RttiValues is used to cast plot items, without having to enable runtime type information of the compiler. </p> <table class="fieldtable"> <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3af1fb53ddb320ecbf2bba00a323cf08ff"></a>Rtti_PlotItem </td><td class="fielddoc"> <p>Unspecific value, that can be used, when it doesn't matter. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3af3125faa8333135a5724cc1d6c276683"></a>Rtti_PlotGrid </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_grid.html" title="A class which draws a coordinate grid. ">QwtPlotGrid</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3a386936d7e0186eabeb833a51cc4fb1cc"></a>Rtti_PlotScale </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_scale_item.html" title="A class which draws a scale inside the plot canvas. ">QwtPlotScaleItem</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3a06cd77e370cf62597501e692965e1f9c"></a>Rtti_PlotLegend </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_legend_item.html" title="A class which draws a legend inside the plot canvas. ">QwtPlotLegendItem</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3a15b3819a193f24b76c78e39cb80c7789"></a>Rtti_PlotMarker </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_marker.html" title="A class for drawing markers. ">QwtPlotMarker</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3af51a35012ed097a762b8918cf20caa69"></a>Rtti_PlotCurve </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_curve.html" title="A plot item, that represents a series of points. ">QwtPlotCurve</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3a27c1741ae71fad58da835b747246015d"></a>Rtti_PlotSpectroCurve </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_spectro_curve.html" title="Curve that displays 3D points as dots, where the z coordinate is mapped to a color. ">QwtPlotSpectroCurve</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3a5698aa120baa6e3d3d2a6bda8a82b226"></a>Rtti_PlotIntervalCurve </td><td class="fielddoc"> <p>For <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>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3a4538dd66ec78ffd7ce6763f9000edcee"></a>Rtti_PlotHistogram </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_histogram.html" title="QwtPlotHistogram represents a series of samples, where an interval is associated with a value ( )...">QwtPlotHistogram</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3ad67d72195856e6fd8112e1b310f3acb7"></a>Rtti_PlotSpectrogram </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_spectrogram.html" title="A plot item, which displays a spectrogram. ">QwtPlotSpectrogram</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3a3aabc62d4c006ab40dd3e01db692ab4a"></a>Rtti_PlotSVG </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_svg_item.html" title="A plot item, which displays data in Scalable Vector Graphics (SVG) format. ">QwtPlotSvgItem</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3abcd9cebf717e528cb67458abfbf622dd"></a>Rtti_PlotTradingCurve </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_trading_curve.html" title="QwtPlotTradingCurve illustrates movements in the price of a financial instrument over time...">QwtPlotTradingCurve</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3ab89eb3547903640b6cc9d0aac02ef6c3"></a>Rtti_PlotBarChart </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_bar_chart.html" title="QwtPlotBarChart displays a series of a values as bars. ">QwtPlotBarChart</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3a73007ac5158d0ac857af2c6dcecf2712"></a>Rtti_PlotMultiBarChart </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_multi_bar_chart.html" title="QwtPlotMultiBarChart displays a series of a samples that consist each of a set of values...">QwtPlotMultiBarChart</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3af18fa4c34b44eaf43e13608c6bd7c7b7"></a>Rtti_PlotShape </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_shape_item.html" title="A plot item, which displays any graphical shape, that can be defined by a QPainterPath. ">QwtPlotShapeItem</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3ae6f046fd43f578ad8a59243e6e665167"></a>Rtti_PlotTextLabel </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_text_label.html" title="A plot item, which displays a text label. ">QwtPlotTextLabel</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3a52b2ec5c64c77a36a103b329a530b606"></a>Rtti_PlotZone </td><td class="fielddoc"> <p>For <a class="el" href="class_qwt_plot_zone_item.html" title="A plot item, which displays a zone. ">QwtPlotZoneItem</a>. </p> </td></tr> <tr><td class="fieldname"><a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3aa60198228f57f46d4c64e4779107d0dc"></a>Rtti_PlotUserItem </td><td class="fielddoc"> <p>Values >= Rtti_PlotUserItem are reserved for plot items not implemented in the Qwt library. </p> </td></tr> </table> </div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a5d892ac856fb9176515c5f2d806161dc"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">QwtPlotItem::QwtPlotItem </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_qwt_text.html">QwtText</a> & </td> <td class="paramname"><em>title</em> = <code><a class="el" href="class_qwt_text.html">QwtText</a>()</code></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">explicit</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Constructor </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">title</td><td>Title of the item </td></tr> </table> </dd> </dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="aeb2f676533ccae3436bf578824e2165e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::attach </td> <td>(</td> <td class="paramtype"><a class="el" href="class_qwt_plot.html">QwtPlot</a> * </td> <td class="paramname"><em>plot</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Attach the item to a plot. </p> <p>This method will attach a <a class="el" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas. ">QwtPlotItem</a> to the <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget. ">QwtPlot</a> argument. It will first detach the <a class="el" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas. ">QwtPlotItem</a> from any plot from a previous call to attach (if necessary). If a NULL argument is passed, it will detach from any <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget. ">QwtPlot</a> it was attached to.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">plot</td><td>Plot widget </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#ab2bbee6dbe36a5f1d0ce853ac66716a6" title="This method detaches a QwtPlotItem from any QwtPlot it has been associated with. ">detach()</a> </dd></dl> </div> </div> <a class="anchor" id="aec3c408e14af30b82b52c1197310eb21"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">QRectF QwtPlotItem::boundingRect </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>An invalid bounding rect: QRectF(1.0, 1.0, -2.0, -2.0) </dd></dl> <dl class="section note"><dt>Note</dt><dd>A width or height < 0.0 is ignored by the autoscaler </dd></dl> <p>Reimplemented in <a class="el" href="class_qwt_plot_trading_curve.html#a1d0d5becf5adfce57f2083e73e32b6fb">QwtPlotTradingCurve</a>, <a class="el" href="class_qwt_plot_marker.html#a270ada9e0a68dcfd5cf0f7629af898a2">QwtPlotMarker</a>, <a class="el" href="class_qwt_plot_interval_curve.html#ae4b1140a52682976bb5946a772b7da7c">QwtPlotIntervalCurve</a>, <a class="el" href="class_qwt_plot_histogram.html#a683686684263a384cd609c484330bb1f">QwtPlotHistogram</a>, <a class="el" href="class_qwt_plot_raster_item.html#ad96073173caf80301e108a6d8b0648e9">QwtPlotRasterItem</a>, <a class="el" href="class_qwt_plot_shape_item.html#a79d76e0b482abd8124f0226a15c1d3c0">QwtPlotShapeItem</a>, <a class="el" href="class_qwt_plot_bar_chart.html#a004aec33aa7412c0d8fc23a94cf2e1e0">QwtPlotBarChart</a>, <a class="el" href="class_qwt_plot_multi_bar_chart.html#a598ffecdc85925d084ac4346a675bc4b">QwtPlotMultiBarChart</a>, <a class="el" href="class_qwt_plot_zone_item.html#a293eb96989d4678ec82ede787d0b4583">QwtPlotZoneItem</a>, <a class="el" href="class_qwt_plot_series_item.html#a7a0fffd64c5416a8f18df00ab8a90ea3">QwtPlotSeriesItem</a>, and <a class="el" href="class_qwt_plot_svg_item.html#af358905da83fb1c67631b7fba9539daa">QwtPlotSvgItem</a>.</p> </div> </div> <a class="anchor" id="af5264c9dcd9d1ec503bc1d46c10adc83"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="class_qwt_graphic.html">QwtGraphic</a> QwtPlotItem::defaultIcon </td> <td>(</td> <td class="paramtype">const QBrush & </td> <td class="paramname"><em>brush</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QSizeF & </td> <td class="paramname"><em>size</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return a default icon from a brush. </p> <p>The default icon is a filled rectangle used in several derived classes as <a class="el" href="class_qwt_plot_item.html#ab192921c0d3c94832c6f617716a6b275">legendIcon()</a>.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">brush</td><td>Fill brush </td></tr> <tr><td class="paramname">size</td><td>Icon size</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A filled rectangle </dd></dl> </div> </div> <a class="anchor" id="ab2bbee6dbe36a5f1d0ce853ac66716a6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::detach </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>This method detaches a <a class="el" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas. ">QwtPlotItem</a> from any <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget. ">QwtPlot</a> it has been associated with. </p> <p><a class="el" href="class_qwt_plot_item.html#ab2bbee6dbe36a5f1d0ce853ac66716a6" title="This method detaches a QwtPlotItem from any QwtPlot it has been associated with. ">detach()</a> is equivalent to calling attach( NULL ) </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#aeb2f676533ccae3436bf578824e2165e" title="Attach the item to a plot. ">attach()</a> </dd></dl> </div> </div> <a class="anchor" id="a4e4c2f404d38e670690805b0e2a17d16"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void QwtPlotItem::draw </td> <td>(</td> <td class="paramtype">QPainter * </td> <td class="paramname"><em>painter</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td> <td class="paramname"><em>xMap</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td> <td class="paramname"><em>yMap</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QRectF & </td> <td class="paramname"><em>canvasRect</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Draw the item. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">painter</td><td>Painter </td></tr> <tr><td class="paramname">xMap</td><td>Maps x-values into pixel coordinates. </td></tr> <tr><td class="paramname">yMap</td><td>Maps y-values into pixel coordinates. </td></tr> <tr><td class="paramname">canvasRect</td><td>Contents rect of the canvas in painter coordinates </td></tr> </table> </dd> </dl> <p>Implemented in <a class="el" href="class_qwt_plot_marker.html#abfd653364d9feeac09cd7ba77a650e3b">QwtPlotMarker</a>, <a class="el" href="class_qwt_plot_legend_item.html#a6ce9e0ea057705582e31d3f6ea44ff16">QwtPlotLegendItem</a>, <a class="el" href="class_qwt_plot_raster_item.html#a2bb321c1ddc67b96a54a266ba27e6fe0">QwtPlotRasterItem</a>, <a class="el" href="class_qwt_plot_shape_item.html#ab548f8daef8a2ae4184486bb1c4a47cf">QwtPlotShapeItem</a>, <a class="el" href="class_qwt_plot_spectrogram.html#a92bafff167caeef9e1e4a6e652c0c5d4">QwtPlotSpectrogram</a>, <a class="el" href="class_qwt_plot_scale_item.html#a2eef74cfd6007faf8b6e146277c82661">QwtPlotScaleItem</a>, <a class="el" href="class_qwt_plot_grid.html#a9534a18db4f70b798bbbee2e50e0458d">QwtPlotGrid</a>, <a class="el" href="class_qwt_plot_text_label.html#adfb623425eb95dcfe6fb18c661d04ebe">QwtPlotTextLabel</a>, <a class="el" href="class_qwt_plot_zone_item.html#a02dfffe85a5578c6bbac0889f4739317">QwtPlotZoneItem</a>, <a class="el" href="class_qwt_plot_svg_item.html#a83a95b772cc79f9a1590e0c4fe73d39c">QwtPlotSvgItem</a>, and <a class="el" href="class_qwt_plot_series_item.html#af64601a32413f6f4928ceccc4934737e">QwtPlotSeriesItem</a>.</p> </div> </div> <a class="anchor" id="a46b0d88f7667e0e93dee5253c8be001f"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::getCanvasMarginHint </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td> <td class="paramname"><em>xMap</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td> <td class="paramname"><em>yMap</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QRectF & </td> <td class="paramname"><em>canvasRect</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double & </td> <td class="paramname"><em>left</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double & </td> <td class="paramname"><em>top</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double & </td> <td class="paramname"><em>right</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double & </td> <td class="paramname"><em>bottom</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Calculate a hint for the canvas margin. </p> <p>When the <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a56ea00cf43b862667dec2ac727307d4d">QwtPlotItem::Margins</a> flag is enabled the plot item indicates, that it needs some margins at the borders of the canvas. This is f.e. used by bar charts to reserve space for displaying the bars.</p> <p>The margins are in target device coordinates ( pixels on screen )</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">xMap</td><td>Maps x-values into pixel coordinates. </td></tr> <tr><td class="paramname">yMap</td><td>Maps y-values into pixel coordinates. </td></tr> <tr><td class="paramname">canvasRect</td><td>Contents rectangle of the canvas in painter coordinates </td></tr> <tr><td class="paramname">left</td><td>Returns the left margin </td></tr> <tr><td class="paramname">top</td><td>Returns the top margin </td></tr> <tr><td class="paramname">right</td><td>Returns the right margin </td></tr> <tr><td class="paramname">bottom</td><td>Returns the bottom margin</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>The default implementation returns 0 for all margins</dd></dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot.html#aa1cd126530e6b9db28714476035487ac" title="Calculate the canvas margins. ">QwtPlot::getCanvasMarginsHint()</a>, <a class="el" href="class_qwt_plot.html#aef8e679c64cf3158466ab33e7774f264" title="Update the canvas margins. ">QwtPlot::updateCanvasMargins()</a> </dd></dl> <p>Reimplemented in <a class="el" href="class_qwt_plot_abstract_bar_chart.html#aade3c92c2fcbbfdef47b810cdb2d4d90">QwtPlotAbstractBarChart</a>.</p> </div> </div> <a class="anchor" id="aeaf8eeb5f080017e181a5d7be798d789"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool QwtPlotItem::isVisible </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>true if visible </dd></dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a5f0eeb2b72207fd8d33a95b0565657a1">setVisible()</a>, <a class="el" href="class_qwt_plot_item.html#a93a50fb9c86bc66617e28315e02281c3" title="Show the item. ">show()</a>, <a class="el" href="class_qwt_plot_item.html#a1faea017baa2492416a13e6bc3c144aa" title="Hide the item. ">hide()</a> </dd></dl> </div> </div> <a class="anchor" id="ad956fdbce5b0721abccce6d09fe4d5ce"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::itemChanged </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Update the legend and call <a class="el" href="class_qwt_plot.html#aea78ab565d05b69b8730a4af2a11f07e" title="Replots the plot if autoReplot() is true. ">QwtPlot::autoRefresh()</a> for the parent plot.</p> <dl class="section see"><dt>See also</dt><dd>QwtPlot::legendChanged(), <a class="el" href="class_qwt_plot.html#aea78ab565d05b69b8730a4af2a11f07e" title="Replots the plot if autoReplot() is true. ">QwtPlot::autoRefresh()</a> </dd></dl> </div> </div> <a class="anchor" id="a3967414c7542e267d0c2793f02be7241"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::legendChanged </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Update the legend of the parent plot. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot.html#a9c4242c89decd06f3d35b66568ad69c9">QwtPlot::updateLegend()</a>, <a class="el" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged()</a> </dd></dl> </div> </div> <a class="anchor" id="a584b37b42cb2c63424cedade1f4d7221"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">QList< <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> > QwtPlotItem::legendData </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return all information, that is needed to represent the item on the legend. </p> <p>Most items are represented by one entry on the legend showing an icon and a text, but f.e. <a class="el" href="class_qwt_plot_multi_bar_chart.html" title="QwtPlotMultiBarChart displays a series of a samples that consist each of a set of values...">QwtPlotMultiBarChart</a> displays one entry for each bar.</p> <p><a class="el" href="class_qwt_legend_data.html" title="Attributes of an entry on a legend. ">QwtLegendData</a> is basically a list of QVariants that makes it possible to overload and reimplement <a class="el" href="class_qwt_plot_item.html#a584b37b42cb2c63424cedade1f4d7221" title="Return all information, that is needed to represent the item on the legend. ">legendData()</a> to return almost any type of information, that is understood by the receiver that acts as the legend.</p> <p>The default implementation returns one entry with the <a class="el" href="class_qwt_plot_item.html#a3859d011b670b5f89e45d1ccef9206f7">title()</a> of the item and the <a class="el" href="class_qwt_plot_item.html#ab192921c0d3c94832c6f617716a6b275">legendIcon()</a>.</p> <dl class="section return"><dt>Returns</dt><dd>Data, that is needed to represent the item on the legend </dd></dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a3859d011b670b5f89e45d1ccef9206f7">title()</a>, <a class="el" href="class_qwt_plot_item.html#ab192921c0d3c94832c6f617716a6b275">legendIcon()</a>, <a class="el" href="class_qwt_legend.html" title="The legend widget. ">QwtLegend</a>, <a class="el" href="class_qwt_plot_legend_item.html" title="A class which draws a legend inside the plot canvas. ">QwtPlotLegendItem</a> </dd></dl> <p>Reimplemented in <a class="el" href="class_qwt_plot_bar_chart.html#aab363d4fbe516f7e2db3796a93745e83">QwtPlotBarChart</a>, and <a class="el" href="class_qwt_plot_multi_bar_chart.html#aaa178e1310e20219976db52c8beea2e5">QwtPlotMultiBarChart</a>.</p> </div> </div> <a class="anchor" id="ab192921c0d3c94832c6f617716a6b275"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="class_qwt_graphic.html">QwtGraphic</a> QwtPlotItem::legendIcon </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>index</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QSizeF & </td> <td class="paramname"><em>size</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>Icon representing the item on the legend</dd></dl> <p>The default implementation returns an invalid icon</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">index</td><td>Index of the legend entry ( usually there is only one ) </td></tr> <tr><td class="paramname">size</td><td>Icon size</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a0827dd69bf19ec0145b6cc6efad2c11b">setLegendIconSize()</a>, <a class="el" href="class_qwt_plot_item.html#a584b37b42cb2c63424cedade1f4d7221" title="Return all information, that is needed to represent the item on the legend. ">legendData()</a> </dd></dl> <p>Reimplemented in <a class="el" href="class_qwt_plot_curve.html#a2ac863876e1e2a7f30f6d4fbc9ca677e">QwtPlotCurve</a>, <a class="el" href="class_qwt_plot_trading_curve.html#ad88db48643d8119e8077a0b2c9dad0f1">QwtPlotTradingCurve</a>, <a class="el" href="class_qwt_plot_marker.html#afd4de898e8615b6cec8c6f090b585c1b">QwtPlotMarker</a>, <a class="el" href="class_qwt_plot_interval_curve.html#ac7ad3b7a2a70aef77c15a75101c36bf4">QwtPlotIntervalCurve</a>, <a class="el" href="class_qwt_plot_histogram.html#a541b2532b9437979b35f78a44ac5ff3e">QwtPlotHistogram</a>, <a class="el" href="class_qwt_plot_bar_chart.html#a9563e64873ecf0589adae350b0ba5240">QwtPlotBarChart</a>, <a class="el" href="class_qwt_plot_shape_item.html#aacaaf2fb5cc5011d0c7164a26c1af2df">QwtPlotShapeItem</a>, and <a class="el" href="class_qwt_plot_multi_bar_chart.html#a9200443a4ff8b88041136b2292d63965">QwtPlotMultiBarChart</a>.</p> </div> </div> <a class="anchor" id="a3239ad2b425382e153e80cc393dd4fc2"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QSize QwtPlotItem::legendIconSize </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>Legend icon size </dd></dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a0827dd69bf19ec0145b6cc6efad2c11b">setLegendIconSize()</a>, <a class="el" href="class_qwt_plot_item.html#ab192921c0d3c94832c6f617716a6b275">legendIcon()</a> </dd></dl> </div> </div> <a class="anchor" id="afa05b98fd7ea65ca1ffcb04bb6b4326d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QRectF QwtPlotItem::paintRect </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td> <td class="paramname"><em>xMap</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td> <td class="paramname"><em>yMap</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Calculate the bounding paint rectangle of 2 maps. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">xMap</td><td>Maps x-values into pixel coordinates. </td></tr> <tr><td class="paramname">yMap</td><td>Maps y-values into pixel coordinates.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Bounding paint rectangle of the scale maps, not normalized </dd></dl> </div> </div> <a class="anchor" id="acb8a2fce65770739fc263fd1fb19fcf3"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">uint QwtPlotItem::renderThreadCount </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>Number of threads to be used for rendering. If numThreads() is set to 0, the system specific ideal thread count is used. </dd></dl> </div> </div> <a class="anchor" id="af153b5a40a60ac626f1c58e69fc4ecad"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int QwtPlotItem::rtti </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return rtti for the specific class represented. <a class="el" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas. ">QwtPlotItem</a> is simply a virtual interface class, and base classes will implement this method with specific rtti values so a user can differentiate them.</p> <p>The rtti value is useful for environments, where the runtime type information is disabled and it is not possible to do a dynamic_cast<...>.</p> <dl class="section return"><dt>Returns</dt><dd>rtti value </dd></dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3" title="Runtime type information. ">RttiValues</a> </dd></dl> <p>Reimplemented in <a class="el" href="class_qwt_plot_curve.html#a1cb75062e781f4e0839a6cd2081c3928">QwtPlotCurve</a>, <a class="el" href="class_qwt_plot_trading_curve.html#aa57d588027e9dbeb2cc9bc0cafff84b9">QwtPlotTradingCurve</a>, <a class="el" href="class_qwt_plot_shape_item.html#a1f7cff8165dcd7f6cfa416b28f052847">QwtPlotShapeItem</a>, <a class="el" href="class_qwt_plot_spectrogram.html#a01197466f530633759337bbb7b8f7504">QwtPlotSpectrogram</a>, <a class="el" href="class_qwt_plot_interval_curve.html#a59e7b26fc91dd3c7c2412b5fd8d4ca9f">QwtPlotIntervalCurve</a>, <a class="el" href="class_qwt_plot_histogram.html#a7a927d6ad8544cf5d46e629a03a5a8f1">QwtPlotHistogram</a>, <a class="el" href="class_qwt_plot_marker.html#a4e48032adf8bdda1aacba4977280123f">QwtPlotMarker</a>, <a class="el" href="class_qwt_plot_bar_chart.html#a88888d4deb246c45f3161cfc5a8940e6">QwtPlotBarChart</a>, <a class="el" href="class_qwt_plot_multi_bar_chart.html#a60d8065486dbf458019a283798f1e99c">QwtPlotMultiBarChart</a>, <a class="el" href="class_qwt_plot_legend_item.html#ad5ae47214f5424e73e960cf16e282cf5">QwtPlotLegendItem</a>, <a class="el" href="class_qwt_plot_scale_item.html#a72d7c46ade62f45f3dffa93931900d74">QwtPlotScaleItem</a>, <a class="el" href="class_qwt_plot_text_label.html#a6478e871cb51ee383e82c437cf6dbf86">QwtPlotTextLabel</a>, <a class="el" href="class_qwt_plot_spectro_curve.html#a5e866a7b7c024d26329814745ca2379c">QwtPlotSpectroCurve</a>, <a class="el" href="class_qwt_plot_svg_item.html#a4331deca8a2ecdd6a7ebe1be7de22969">QwtPlotSvgItem</a>, <a class="el" href="class_qwt_plot_grid.html#aae0d0b5afbc670dd257302b13601ea99">QwtPlotGrid</a>, and <a class="el" href="class_qwt_plot_zone_item.html#a7af34a4fdf5d9af4786049405de46ce1">QwtPlotZoneItem</a>.</p> </div> </div> <a class="anchor" id="a186036cbee194b87b9bc4afb693c27f4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QRectF QwtPlotItem::scaleRect </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td> <td class="paramname"><em>xMap</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> & </td> <td class="paramname"><em>yMap</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </div><div class="memdoc"> <p>Calculate the bounding scale rectangle of 2 maps. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">xMap</td><td>Maps x-values into pixel coordinates. </td></tr> <tr><td class="paramname">yMap</td><td>Maps y-values into pixel coordinates.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Bounding scale rect of the scale maps, not normalized </dd></dl> </div> </div> <a class="anchor" id="a6f6c7b34fe86e8029914b3b780b55ea4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::setAxes </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>xAxis</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>yAxis</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Set X and Y axis</p> <p>The item will painted according to the coordinates of its Axes.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">xAxis</td><td>X Axis ( <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271ad5566960e78f2473c1a1e853def4c4ac" title="X axis below the canvas. ">QwtPlot::xBottom</a> or <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271ae51eb7525eb3f9f806e659614018beb8" title="X axis above the canvas. ">QwtPlot::xTop</a> ) </td></tr> <tr><td class="paramname">yAxis</td><td>Y Axis ( <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271a1bb1fbc11e31ebfa8bf72356f6837b17" title="Y axis left of the canvas. ">QwtPlot::yLeft</a> or <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271a1de23b30c6b0c08aefe06d6265b65155" title="Y axis right of the canvas. ">QwtPlot::yRight</a> )</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a81d3dd7feaadda4b0dbb8c13642046cf">setXAxis()</a>, <a class="el" href="class_qwt_plot_item.html#aa92dad876d76ce136925d5ae8f01db9a">setYAxis()</a>, <a class="el" href="class_qwt_plot_item.html#a7af360bf6d5a5b6257ce6b0dd99b7525" title="Return xAxis. ">xAxis()</a>, <a class="el" href="class_qwt_plot_item.html#ac7714ffa278a10e0cf45972e487b63ff" title="Return yAxis. ">yAxis()</a>, <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271" title="Axis index. ">QwtPlot::Axis</a> </dd></dl> </div> </div> <a class="anchor" id="a5a335be8ff488809a2cf7f4b734ad1b6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::setItemAttribute </td> <td>(</td> <td class="paramtype"><a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a> </td> <td class="paramname"><em>attribute</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>on</em> = <code>true</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Toggle an item attribute</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">attribute</td><td>Attribute type </td></tr> <tr><td class="paramname">on</td><td>true/false</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#aef70936d34ef661876692e6a06d4a464">testItemAttribute()</a>, <a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66" title="Plot Item Interests. ">ItemInterest</a> </dd></dl> </div> </div> <a class="anchor" id="ab65cbfe489ff73e32a919a0633298fb7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::setItemInterest </td> <td>(</td> <td class="paramtype"><a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">ItemInterest</a> </td> <td class="paramname"><em>interest</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>on</em> = <code>true</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Toggle an item interest</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">interest</td><td>Interest type </td></tr> <tr><td class="paramname">on</td><td>true/false</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a788e1dcce2faadd0bf2fd6f453ec55d0">testItemInterest()</a>, <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062" title="Plot Item Attributes. ">ItemAttribute</a> </dd></dl> </div> </div> <a class="anchor" id="a0827dd69bf19ec0145b6cc6efad2c11b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::setLegendIconSize </td> <td>(</td> <td class="paramtype">const QSize & </td> <td class="paramname"><em>size</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the size of the legend icon</p> <p>The default setting is 8x8 pixels</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">size</td><td>Size </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a3239ad2b425382e153e80cc393dd4fc2">legendIconSize()</a>, <a class="el" href="class_qwt_plot_item.html#ab192921c0d3c94832c6f617716a6b275">legendIcon()</a> </dd></dl> </div> </div> <a class="anchor" id="acd023c40f659c304ded324942865edc8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::setRenderHint </td> <td>(</td> <td class="paramtype"><a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a> </td> <td class="paramname"><em>hint</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>on</em> = <code>true</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Toggle an render hint</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">hint</td><td>Render hint </td></tr> <tr><td class="paramname">on</td><td>true/false</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#ad4009381d6a26359125549e1cf874b69">testRenderHint()</a>, <a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704" title="Render hints. ">RenderHint</a> </dd></dl> </div> </div> <a class="anchor" id="a188ae18fbbce9adcf259ebe2f0de1f6b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::setRenderThreadCount </td> <td>(</td> <td class="paramtype">uint </td> <td class="paramname"><em>numThreads</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>On multi core systems rendering of certain plot item ( f.e <a class="el" href="class_qwt_plot_raster_item.html" title="A class, which displays raster data. ">QwtPlotRasterItem</a> ) can be done in parallel in several threads.</p> <p>The default setting is set to 1.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">numThreads</td><td>Number of threads to be used for rendering. If numThreads is set to 0, the system specific ideal thread count is used.</td></tr> </table> </dd> </dl> <p>The default thread count is 1 ( = no additional threads ) </p> </div> </div> <a class="anchor" id="a1b74686181ab6dd5033917123c7db30f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::setTitle </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"><em>title</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set a new title</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">title</td><td>Title </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a3859d011b670b5f89e45d1ccef9206f7">title()</a> </dd></dl> </div> </div> <a class="anchor" id="a2db3214b23b78274fa6f8c0321a76839"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::setTitle </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_qwt_text.html">QwtText</a> & </td> <td class="paramname"><em>title</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set a new title</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">title</td><td>Title </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a3859d011b670b5f89e45d1ccef9206f7">title()</a> </dd></dl> </div> </div> <a class="anchor" id="a5f0eeb2b72207fd8d33a95b0565657a1"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::setVisible </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"><em>on</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Show/Hide the item</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">on</td><td>Show if true, otherwise hide </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#aeaf8eeb5f080017e181a5d7be798d789">isVisible()</a>, <a class="el" href="class_qwt_plot_item.html#a93a50fb9c86bc66617e28315e02281c3" title="Show the item. ">show()</a>, <a class="el" href="class_qwt_plot_item.html#a1faea017baa2492416a13e6bc3c144aa" title="Hide the item. ">hide()</a> </dd></dl> </div> </div> <a class="anchor" id="a81d3dd7feaadda4b0dbb8c13642046cf"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::setXAxis </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>axis</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the X axis</p> <p>The item will painted according to the coordinates its Axes.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">axis</td><td>X Axis ( <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271ad5566960e78f2473c1a1e853def4c4ac" title="X axis below the canvas. ">QwtPlot::xBottom</a> or <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271ae51eb7525eb3f9f806e659614018beb8" title="X axis above the canvas. ">QwtPlot::xTop</a> ) </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a6f6c7b34fe86e8029914b3b780b55ea4">setAxes()</a>, <a class="el" href="class_qwt_plot_item.html#aa92dad876d76ce136925d5ae8f01db9a">setYAxis()</a>, <a class="el" href="class_qwt_plot_item.html#a7af360bf6d5a5b6257ce6b0dd99b7525" title="Return xAxis. ">xAxis()</a>, <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271" title="Axis index. ">QwtPlot::Axis</a> </dd></dl> </div> </div> <a class="anchor" id="aa92dad876d76ce136925d5ae8f01db9a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::setYAxis </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>axis</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the Y axis</p> <p>The item will painted according to the coordinates its Axes.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">axis</td><td>Y Axis ( <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271a1bb1fbc11e31ebfa8bf72356f6837b17" title="Y axis left of the canvas. ">QwtPlot::yLeft</a> or <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271a1de23b30c6b0c08aefe06d6265b65155" title="Y axis right of the canvas. ">QwtPlot::yRight</a> ) </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a6f6c7b34fe86e8029914b3b780b55ea4">setAxes()</a>, <a class="el" href="class_qwt_plot_item.html#a81d3dd7feaadda4b0dbb8c13642046cf">setXAxis()</a>, <a class="el" href="class_qwt_plot_item.html#ac7714ffa278a10e0cf45972e487b63ff" title="Return yAxis. ">yAxis()</a>, <a class="el" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271" title="Axis index. ">QwtPlot::Axis</a> </dd></dl> </div> </div> <a class="anchor" id="a57d90e4146133b59d589c71b3a643e82"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::setZ </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>z</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Set the z value. </p> <p>Plot items are painted in increasing z-order.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">z</td><td>Z-value </td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a4c58d814336643190b9f2918f80c30df">z()</a>, <a class="el" href="class_qwt_plot_dict.html#a9cbb1c5c22de93594b7e2524af108f55" title="A QwtPlotItemList of all attached plot items. ">QwtPlotDict::itemList()</a> </dd></dl> </div> </div> <a class="anchor" id="aef70936d34ef661876692e6a06d4a464"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool QwtPlotItem::testItemAttribute </td> <td>(</td> <td class="paramtype"><a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a> </td> <td class="paramname"><em>attribute</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Test an item attribute</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">attribute</td><td>Attribute type </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true/false </dd></dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">setItemAttribute()</a>, <a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66" title="Plot Item Interests. ">ItemInterest</a> </dd></dl> </div> </div> <a class="anchor" id="a788e1dcce2faadd0bf2fd6f453ec55d0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool QwtPlotItem::testItemInterest </td> <td>(</td> <td class="paramtype"><a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66">ItemInterest</a> </td> <td class="paramname"><em>interest</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Test an item interest</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">interest</td><td>Interest type </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true/false </dd></dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#ab65cbfe489ff73e32a919a0633298fb7">setItemInterest()</a>, <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062" title="Plot Item Attributes. ">ItemAttribute</a> </dd></dl> </div> </div> <a class="anchor" id="ad4009381d6a26359125549e1cf874b69"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool QwtPlotItem::testRenderHint </td> <td>(</td> <td class="paramtype"><a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a> </td> <td class="paramname"><em>hint</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Test a render hint</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">hint</td><td>Render hint </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>true/false </dd></dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#acd023c40f659c304ded324942865edc8">setRenderHint()</a>, <a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704" title="Render hints. ">RenderHint</a> </dd></dl> </div> </div> <a class="anchor" id="a3859d011b670b5f89e45d1ccef9206f7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="class_qwt_text.html">QwtText</a> & QwtPlotItem::title </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>Title of the item </dd></dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_item.html#a1b74686181ab6dd5033917123c7db30f">setTitle()</a> </dd></dl> </div> </div> <a class="anchor" id="af0c4272375b1ee95a1454c4c503ff324"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::updateLegend </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a> * </td> <td class="paramname"><em>item</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QList< <a class="el" href="class_qwt_legend_data.html">QwtLegendData</a> > & </td> <td class="paramname"><em>data</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Update the item to changes of the legend info. </p> <p>Plot items that want to display a legend ( not those, that want to be displayed on a legend ! ) will have to implement <a class="el" href="class_qwt_plot_item.html#af0c4272375b1ee95a1454c4c503ff324" title="Update the item to changes of the legend info. ">updateLegend()</a>.</p> <p><a class="el" href="class_qwt_plot_item.html#af0c4272375b1ee95a1454c4c503ff324" title="Update the item to changes of the legend info. ">updateLegend()</a> is only called when the LegendInterest interest is enabled. The default implementation does nothing.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">item</td><td>Plot item to be displayed on a legend </td></tr> <tr><td class="paramname">data</td><td>Attributes how to display item on the legend</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_legend_item.html" title="A class which draws a legend inside the plot canvas. ">QwtPlotLegendItem</a></dd></dl> <dl class="section note"><dt>Note</dt><dd>Plot items, that want to be displayed on a legend need to enable the <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176" title="The item is represented on the legend. ">QwtPlotItem::Legend</a> flag and to implement <a class="el" href="class_qwt_plot_item.html#a584b37b42cb2c63424cedade1f4d7221" title="Return all information, that is needed to represent the item on the legend. ">legendData()</a> and <a class="el" href="class_qwt_plot_item.html#ab192921c0d3c94832c6f617716a6b275">legendIcon()</a> </dd></dl> <p>Reimplemented in <a class="el" href="class_qwt_plot_legend_item.html#a5bfda08242671a2d9d02b7bfc558926d">QwtPlotLegendItem</a>.</p> </div> </div> <a class="anchor" id="abf6a70847d3db952161ca4d4a952eea0"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::updateScaleDiv </td> <td>(</td> <td class="paramtype">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> & </td> <td class="paramname"><em>xScaleDiv</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> & </td> <td class="paramname"><em>yScaleDiv</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Update the item to changes of the axes scale division. </p> <p>Update the item, when the axes of plot have changed. The default implementation does nothing, but items that depend on the scale division (like <a class="el" href="class_qwt_plot_grid.html" title="A class which draws a coordinate grid. ">QwtPlotGrid()</a>) have to reimplement <a class="el" href="class_qwt_plot_item.html#abf6a70847d3db952161ca4d4a952eea0" title="Update the item to changes of the axes scale division. ">updateScaleDiv()</a></p> <p><a class="el" href="class_qwt_plot_item.html#abf6a70847d3db952161ca4d4a952eea0" title="Update the item to changes of the axes scale division. ">updateScaleDiv()</a> is only called when the ScaleInterest interest is enabled. The default implementation does nothing.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">xScaleDiv</td><td>Scale division of the x-axis </td></tr> <tr><td class="paramname">yScaleDiv</td><td>Scale division of the y-axis</td></tr> </table> </dd> </dl> <dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot.html#a1fb2dbc3697a66024d48c08b1d18f8a5" title="Rebuild the axes scales. ">QwtPlot::updateAxes()</a>, <a class="el" href="class_qwt_plot_item.html#affbc42460ace9ac725fa825a3f8bfb66a0d1c46890f22ef973d897ab0a9d38971">ScaleInterest</a> </dd></dl> <p>Reimplemented in <a class="el" href="class_qwt_plot_scale_item.html#a9c32bac1ff73c6527305698792a6edfe">QwtPlotScaleItem</a>, <a class="el" href="class_qwt_plot_grid.html#ad15166f257160adc90b60b9e29d69edf">QwtPlotGrid</a>, and <a class="el" href="class_qwt_plot_series_item.html#a890792d0f44e341812b5283c249608b2">QwtPlotSeriesItem</a>.</p> </div> </div> <a class="anchor" id="a4c58d814336643190b9f2918f80c30df"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double QwtPlotItem::z </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Plot items are painted in increasing z-order.</p> <dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_qwt_plot_item.html#a57d90e4146133b59d589c71b3a643e82" title="Set the z value. ">setZ()</a>, <a class="el" href="class_qwt_plot_dict.html#a9cbb1c5c22de93594b7e2524af108f55" title="A QwtPlotItemList of all attached plot items. ">QwtPlotDict::itemList()</a> </dd></dl> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="class_qwt_plot_item.html">QwtPlotItem</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li> </ul> </div> </body> </html>