<!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"/> <title>Qwt User's Guide: QwtPlotItem Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Qwt User's Guide <span id="projectnumber">6.0.1</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></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> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>QwtPlotItem Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="QwtPlotItem" --><!-- doxytag: inherits="QwtLegendItemManager" --> <p>Base class for items on the plot canvas. <a href="#_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="node5" href="class_qwt_plot_abstract_series_item.html" title="Base class for plot items representing a series of samples." alt="" coords="363,155,541,184"/><area shape="rect" id="node26" href="class_qwt_plot_grid.html" title="A class which draws a coordinate grid." alt="" coords="407,208,497,237"/><area shape="rect" id="node28" href="class_qwt_plot_marker.html" title="A class for drawing markers." alt="" coords="399,261,505,291"/><area shape="rect" id="node30" href="class_qwt_plot_raster_item.html" title="A class, which displays raster data." alt="" coords="387,315,517,344"/><area shape="rect" id="node34" href="class_qwt_plot_scale_item.html" title="A class which draws a scale inside the plot canvas." alt="" coords="389,368,515,397"/><area shape="rect" id="node36" href="class_qwt_plot_svg_item.html" title="A plot item, which displays data in Scalable Vector Graphics (SVG) format." alt="" coords="395,421,509,451"/><area shape="rect" id="node2" href="class_qwt_legend_item_manager.html" title="Abstract API to bind plot items to the legend." alt="" coords="5,279,168,308"/><area shape="rect" id="node7" href="class_qwt_plot_series_item.html" title="Class template for plot items representing a series of samples." alt="" coords="593,112,753,141"/><area shape="rect" id="node9" href="class_qwt_plot_series_item.html" title="QwtPlotSeriesItem\< QwtIntervalSample \>" alt="" coords="936,25,1197,55"/><area shape="rect" id="node15" href="class_qwt_plot_series_item.html" title="QwtPlotSeriesItem\< QPointF \>" alt="" coords="965,139,1168,168"/><area shape="rect" id="node19" href="class_qwt_plot_series_item.html" title="QwtPlotSeriesItem\< QwtPoint3D \>" alt="" coords="956,207,1177,236"/><area shape="rect" id="node11" href="class_qwt_plot_histogram.html" title="QwtPlotHistogram represents a series of samples, where an interval is associated with a value (  )..." alt="" coords="1259,5,1384,35"/><area shape="rect" id="node13" href="class_qwt_plot_interval_curve.html" title="QwtPlotIntervalCurve represents a series of samples, where each value is associated with an interval ..." alt="" coords="1252,59,1391,88"/><area shape="rect" id="node17" href="class_qwt_plot_curve.html" title="A plot item, that represents a series of points." alt="" coords="1272,139,1371,168"/><area shape="rect" id="node21" 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="1249,207,1393,236"/><area shape="rect" id="node32" href="class_qwt_plot_spectrogram.html" title="A plot item, which displays a spectrogram." alt="" coords="603,315,744,344"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="class_qwt_plot_item-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-types"></a> Public Types</h2></td></tr> <tr><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> { <br/>   <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176">Legend</a> = 0x01, <br/>   <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48">AutoScale</a> = 0x02 <br/> }</td></tr> <tr><td class="memItemLeft" align="right" valign="top">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><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> = 1 }</td></tr> <tr><td class="memItemLeft" align="right" valign="top">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><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/>   <b>Rtti_PlotItem</b> = 0, <br/>   <b>Rtti_PlotGrid</b>, <br/>   <b>Rtti_PlotScale</b>, <br/>   <b>Rtti_PlotMarker</b>, <br/>   <b>Rtti_PlotCurve</b>, <br/>   <b>Rtti_PlotSpectroCurve</b>, <br/>   <b>Rtti_PlotIntervalCurve</b>, <br/>   <b>Rtti_PlotHistogram</b>, <br/>   <b>Rtti_PlotSpectrogram</b>, <br/>   <b>Rtti_PlotSVG</b>, <br/>   <b>Rtti_PlotUserItem</b> = 1000 <br/> }</td></tr> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><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> *plot)</td></tr> <tr><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><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><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a0b0d6589d5db81ce72e6b33c4fbb21f9">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><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item_manager.html#a8dd765a2fd5b9a286fa398810a5c2ad8">drawLegendIdentifier</a> (QPainter *, const QRectF &) const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a1faea017baa2492416a13e6bc3c144aa">hide</a> ()</td></tr> <tr><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><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><td class="memItemLeft" align="right" valign="top">virtual QWidget * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a09824eda5e564a853e6586bc387a3b4b">legendItem</a> () const </td></tr> <tr><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><td class="memItemLeft" align="right" valign="top"><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><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> &title=<a class="el" href="class_qwt_text.html">QwtText</a>())</td></tr> <tr><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><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><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 xAxis, int yAxis)</td></tr> <tr><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><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><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 &title)</td></tr> <tr><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> &title)</td></tr> <tr><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><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><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><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 z)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a93a50fb9c86bc66617e28315e02281c3">show</a> ()</td></tr> <tr><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><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><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><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a193770cd20609a368c5130de59cb782e">updateLegend</a> (<a class="el" href="class_qwt_legend.html">QwtLegend</a> *) const </td></tr> <tr><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><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a7af360bf6d5a5b6257ce6b0dd99b7525">xAxis</a> () const </td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ac7714ffa278a10e0cf45972e487b63ff">yAxis</a> () const </td></tr> <tr><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><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a282a1d0424a06737f80e1fe83ccf7a0c">~QwtPlotItem</a> ()</td></tr> </table> <hr/><a name="_details"></a><h2>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> </ul> <ul> <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">QwtPlotItem::ItemAttribute</a> flags, an item is included into autoscaling or has an entry on the legnd.</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="see"><dt><b>See also:</b></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><hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="af356dc13c7838c7437334e199a356764"></a><!-- doxytag: member="QwtPlotItem::ItemAttributes" ref="af356dc13c7838c7437334e199a356764" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef QFlags<<a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a>> <a class="el" href="class_qwt_plot_item.html#af356dc13c7838c7437334e199a356764">QwtPlotItem::ItemAttributes</a></td> </tr> </table> </div> <div class="memdoc"> <p>Plot Item Attributes. </p> </div> </div> <a class="anchor" id="a40cf900701d3a68948b00316689616d1"></a><!-- doxytag: member="QwtPlotItem::RenderHints" ref="a40cf900701d3a68948b00316689616d1" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef QFlags<<a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a>> <a class="el" href="class_qwt_plot_item.html#a40cf900701d3a68948b00316689616d1">QwtPlotItem::RenderHints</a></td> </tr> </table> </div> <div class="memdoc"> <p>Render hints. </p> </div> </div> <hr/><h2>Member Enumeration Documentation</h2> <a class="anchor" id="ae0fabcdd35f4818ce5bbe019b0eed062"></a><!-- doxytag: member="QwtPlotItem::ItemAttribute" ref="ae0fabcdd35f4818ce5bbe019b0eed062" args="" --> <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> <dl class="see"><dt><b>See also:</b></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> </dd></dl> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" id="ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176"></a><!-- doxytag: member="Legend" ref="ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176" args="" -->Legend</em> </td><td> <p>The item is represented on the legend. </p> </td></tr> <tr><td valign="top"><em><a class="anchor" id="ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48"></a><!-- doxytag: member="AutoScale" ref="ae0fabcdd35f4818ce5bbe019b0eed062a9de83e2ad8a88796a36a11ef8b033a48" args="" -->AutoScale</em> </td><td> <p>The <a class="el" href="class_qwt_plot_item.html#aec3c408e14af30b82b52c1197310eb21">boundingRect()</a> of the item is included in the autoscaling calculation. </p> </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="abe0e8a39aceef9a600b73e02550a9704"></a><!-- doxytag: member="QwtPlotItem::RenderHint" ref="abe0e8a39aceef9a600b73e02550a9704" args="" --> <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> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" id="abe0e8a39aceef9a600b73e02550a9704ae0c9811915d496eaacbd749724647f13"></a><!-- doxytag: member="RenderAntialiased" ref="abe0e8a39aceef9a600b73e02550a9704ae0c9811915d496eaacbd749724647f13" args="" -->RenderAntialiased</em> </td><td> <p>Enable antialiasing. </p> </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3"></a><!-- doxytag: member="QwtPlotItem::RttiValues" ref="ab149ac85e233ce9cedf2f2f2af871bf3" args="" --> <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> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a5d892ac856fb9176515c5f2d806161dc"></a><!-- doxytag: member="QwtPlotItem::QwtPlotItem" ref="a5d892ac856fb9176515c5f2d806161dc" args="(const QwtText &title=QwtText())" --> <div class="memitem"> <div class="memproto"> <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><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Constructor </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">title</td><td>Title of the item </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a282a1d0424a06737f80e1fe83ccf7a0c"></a><!-- doxytag: member="QwtPlotItem::~QwtPlotItem" ref="a282a1d0424a06737f80e1fe83ccf7a0c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QwtPlotItem::~QwtPlotItem </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Destroy the <a class="el" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas.">QwtPlotItem</a>. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="aeb2f676533ccae3436bf578824e2165e"></a><!-- doxytag: member="QwtPlotItem::attach" ref="aeb2f676533ccae3436bf578824e2165e" args="(QwtPlot *plot)" --> <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><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">plot</td><td>Plot widget </td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></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><!-- doxytag: member="QwtPlotItem::boundingRect" ref="aec3c408e14af30b82b52c1197310eb21" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QRectF QwtPlotItem::boundingRect </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>An invalid bounding rect: QRectF(1.0, 1.0, -2.0, -2.0) </dd></dl> <p>Reimplemented in <a class="el" href="class_qwt_plot_histogram.html#a683686684263a384cd609c484330bb1f">QwtPlotHistogram</a>, <a class="el" href="class_qwt_plot_interval_curve.html#ae4b1140a52682976bb5946a772b7da7c">QwtPlotIntervalCurve</a>, <a class="el" href="class_qwt_plot_marker.html#a270ada9e0a68dcfd5cf0f7629af898a2">QwtPlotMarker</a>, <a class="el" href="class_qwt_plot_raster_item.html#ad96073173caf80301e108a6d8b0648e9">QwtPlotRasterItem</a>, <a class="el" href="class_qwt_plot_series_item.html#a183e7c88364eeea8e7c53b56604e0763">QwtPlotSeriesItem< T ></a>, <a class="el" href="class_qwt_plot_svg_item.html#af358905da83fb1c67631b7fba9539daa">QwtPlotSvgItem</a>, <a class="el" href="class_qwt_plot_series_item.html#a183e7c88364eeea8e7c53b56604e0763">QwtPlotSeriesItem< QwtIntervalSample ></a>, <a class="el" href="class_qwt_plot_series_item.html#a183e7c88364eeea8e7c53b56604e0763">QwtPlotSeriesItem< QPointF ></a>, and <a class="el" href="class_qwt_plot_series_item.html#a183e7c88364eeea8e7c53b56604e0763">QwtPlotSeriesItem< QwtPoint3D ></a>.</p> </div> </div> <a class="anchor" id="ab2bbee6dbe36a5f1d0ce853ac66716a6"></a><!-- doxytag: member="QwtPlotItem::detach" ref="ab2bbee6dbe36a5f1d0ce853ac66716a6" args="()" --> <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="see"><dt><b>See also:</b></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="a0b0d6589d5db81ce72e6b33c4fbb21f9"></a><!-- doxytag: member="QwtPlotItem::draw" ref="a0b0d6589d5db81ce72e6b33c4fbb21f9" args="(QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const =0" --> <div class="memitem"> <div class="memproto"> <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<code> [pure virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Draw the item. </p> <dl><dt><b>Parameters:</b></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_grid.html#a9534a18db4f70b798bbbee2e50e0458d">QwtPlotGrid</a>, <a class="el" href="class_qwt_plot_marker.html#abfd653364d9feeac09cd7ba77a650e3b">QwtPlotMarker</a>, <a class="el" href="class_qwt_plot_raster_item.html#a2bb321c1ddc67b96a54a266ba27e6fe0">QwtPlotRasterItem</a>, <a class="el" href="class_qwt_plot_scale_item.html#a2eef74cfd6007faf8b6e146277c82661">QwtPlotScaleItem</a>, <a class="el" href="class_qwt_plot_abstract_series_item.html#ae6592df5d033931bf6200cb68b6b34f0">QwtPlotAbstractSeriesItem</a>, <a class="el" href="class_qwt_plot_spectrogram.html#a92bafff167caeef9e1e4a6e652c0c5d4">QwtPlotSpectrogram</a>, and <a class="el" href="class_qwt_plot_svg_item.html#a83a95b772cc79f9a1590e0c4fe73d39c">QwtPlotSvgItem</a>.</p> </div> </div> <a class="anchor" id="a8dd765a2fd5b9a286fa398810a5c2ad8"></a><!-- doxytag: member="QwtPlotItem::drawLegendIdentifier" ref="a8dd765a2fd5b9a286fa398810a5c2ad8" args="(QPainter *, const QRectF &) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void QwtLegendItemManager::drawLegendIdentifier </td> <td>(</td> <td class="paramtype">QPainter * </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const QRectF & </td> <td class="paramname"> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const<code> [inline, virtual, inherited]</code></td> </tr> </table> </div> <div class="memdoc"> <p><a class="el" href="class_qwt_legend_item.html" title="A widget representing something on a QwtLegend().">QwtLegendItem</a> can display an icon-identifier followed by a text. The icon helps to identify a plot item on the plot canvas and depends on the type of information, that is displayed.</p> <p>The default implementation paints nothing. </p> <p>Reimplemented in <a class="el" href="class_qwt_plot_curve.html#a8e9518a3e9f64e1d024a7f4550335df0">QwtPlotCurve</a>, <a class="el" href="class_qwt_plot_histogram.html#a8bf6410cab08923d02e7167321b3c926">QwtPlotHistogram</a>, <a class="el" href="class_qwt_plot_interval_curve.html#a3cd73ea413b99647d8e3e9d8dc322431">QwtPlotIntervalCurve</a>, and <a class="el" href="class_qwt_plot_marker.html#ae99020d14c8ec4567ed94cdeb805fea1">QwtPlotMarker</a>.</p> </div> </div> <a class="anchor" id="a1faea017baa2492416a13e6bc3c144aa"></a><!-- doxytag: member="QwtPlotItem::hide" ref="a1faea017baa2492416a13e6bc3c144aa" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::hide </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Hide the item. </p> </div> </div> <a class="anchor" id="aeaf8eeb5f080017e181a5d7be798d789"></a><!-- doxytag: member="QwtPlotItem::isVisible" ref="aeaf8eeb5f080017e181a5d7be798d789" args="() const " --> <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="return"><dt><b>Returns:</b></dt><dd>true if visible </dd></dl> <dl class="see"><dt><b>See also:</b></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><!-- doxytag: member="QwtPlotItem::itemChanged" ref="ad956fdbce5b0721abccce6d09fe4d5ce" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::itemChanged </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></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="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_item.html#a193770cd20609a368c5130de59cb782e" title="Update the widget that represents the item on the legend.">updateLegend()</a> </dd></dl> </div> </div> <a class="anchor" id="a09824eda5e564a853e6586bc387a3b4b"></a><!-- doxytag: member="QwtPlotItem::legendItem" ref="a09824eda5e564a853e6586bc387a3b4b" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">QWidget * QwtPlotItem::legendItem </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Allocate the widget that represents the item on the legend. </p> <p>The default implementation returns a QwtLegendItem(), but an item could be represented by any type of widget, by overloading <a class="el" href="class_qwt_plot_item.html#a09824eda5e564a853e6586bc387a3b4b" title="Allocate the widget that represents the item on the legend.">legendItem()</a> and <a class="el" href="class_qwt_plot_item.html#a193770cd20609a368c5130de59cb782e" title="Update the widget that represents the item on the legend.">updateLegend()</a>.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>QwtLegendItem() </dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_item.html#a193770cd20609a368c5130de59cb782e" title="Update the widget that represents the item on the legend.">updateLegend()</a> QwtLegend() </dd></dl> <p>Implements <a class="el" href="class_qwt_legend_item_manager.html#ac019b92797940db3cec2246a080598e0">QwtLegendItemManager</a>.</p> </div> </div> <a class="anchor" id="afa05b98fd7ea65ca1ffcb04bb6b4326d"></a><!-- doxytag: member="QwtPlotItem::paintRect" ref="afa05b98fd7ea65ca1ffcb04bb6b4326d" args="(const QwtScaleMap &, const QwtScaleMap &) const " --> <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 rect of 2 maps. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">xMap</td><td>X map </td></tr> <tr><td class="paramname">yMap</td><td>X map</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Bounding paint rect of the scale maps, normalized </dd></dl> </div> </div> <a class="anchor" id="a4c99653a14a49ad94d466168d06e97b9"></a><!-- doxytag: member="QwtPlotItem::plot" ref="a4c99653a14a49ad94d466168d06e97b9" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="class_qwt_plot.html">QwtPlot</a> * QwtPlotItem::plot </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Return attached plot. </p> </div> </div> <a class="anchor" id="af153b5a40a60ac626f1c58e69fc4ecad"></a><!-- doxytag: member="QwtPlotItem::rtti" ref="af153b5a40a60ac626f1c58e69fc4ecad" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int QwtPlotItem::rtti </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [virtual]</code></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="return"><dt><b>Returns:</b></dt><dd>rtti value </dd></dl> <dl class="see"><dt><b>See also:</b></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_grid.html#aae0d0b5afbc670dd257302b13601ea99">QwtPlotGrid</a>, <a class="el" href="class_qwt_plot_histogram.html#a7a927d6ad8544cf5d46e629a03a5a8f1">QwtPlotHistogram</a>, <a class="el" href="class_qwt_plot_interval_curve.html#a59e7b26fc91dd3c7c2412b5fd8d4ca9f">QwtPlotIntervalCurve</a>, <a class="el" href="class_qwt_plot_marker.html#a4e48032adf8bdda1aacba4977280123f">QwtPlotMarker</a>, <a class="el" href="class_qwt_plot_scale_item.html#a72d7c46ade62f45f3dffa93931900d74">QwtPlotScaleItem</a>, <a class="el" href="class_qwt_plot_spectro_curve.html#a5e866a7b7c024d26329814745ca2379c">QwtPlotSpectroCurve</a>, <a class="el" href="class_qwt_plot_spectrogram.html#a01197466f530633759337bbb7b8f7504">QwtPlotSpectrogram</a>, and <a class="el" href="class_qwt_plot_svg_item.html#a4331deca8a2ecdd6a7ebe1be7de22969">QwtPlotSvgItem</a>.</p> </div> </div> <a class="anchor" id="a186036cbee194b87b9bc4afb693c27f4"></a><!-- doxytag: member="QwtPlotItem::scaleRect" ref="a186036cbee194b87b9bc4afb693c27f4" args="(const QwtScaleMap &, const QwtScaleMap &) const " --> <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 rect of 2 maps. </p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">xMap</td><td>X map </td></tr> <tr><td class="paramname">yMap</td><td>X map</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Bounding scale rect of the scale maps, normalized </dd></dl> </div> </div> <a class="anchor" id="a6f6c7b34fe86e8029914b3b780b55ea4"></a><!-- doxytag: member="QwtPlotItem::setAxes" ref="a6f6c7b34fe86e8029914b3b780b55ea4" args="(int xAxis, int yAxis)" --> <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 its Axes.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">xAxis</td><td>X Axis </td></tr> <tr><td class="paramname">yAxis</td><td>Y Axis</td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></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> </dd></dl> </div> </div> <a class="anchor" id="a5a335be8ff488809a2cf7f4b734ad1b6"></a><!-- doxytag: member="QwtPlotItem::setItemAttribute" ref="a5a335be8ff488809a2cf7f4b734ad1b6" args="(ItemAttribute, bool on=true)" --> <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><dt><b>Parameters:</b></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="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_item.html#aef70936d34ef661876692e6a06d4a464">testItemAttribute()</a>, <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a> </dd></dl> </div> </div> <a class="anchor" id="acd023c40f659c304ded324942865edc8"></a><!-- doxytag: member="QwtPlotItem::setRenderHint" ref="acd023c40f659c304ded324942865edc8" args="(RenderHint, bool on=true)" --> <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><dt><b>Parameters:</b></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="see"><dt><b>See also:</b></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="a1b74686181ab6dd5033917123c7db30f"></a><!-- doxytag: member="QwtPlotItem::setTitle" ref="a1b74686181ab6dd5033917123c7db30f" args="(const QString &title)" --> <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><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">title</td><td>Title </td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_item.html#a3859d011b670b5f89e45d1ccef9206f7">title()</a> </dd></dl> </div> </div> <a class="anchor" id="a2db3214b23b78274fa6f8c0321a76839"></a><!-- doxytag: member="QwtPlotItem::setTitle" ref="a2db3214b23b78274fa6f8c0321a76839" args="(const QwtText &title)" --> <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><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">title</td><td>Title </td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_item.html#a3859d011b670b5f89e45d1ccef9206f7">title()</a> </dd></dl> </div> </div> <a class="anchor" id="a5f0eeb2b72207fd8d33a95b0565657a1"></a><!-- doxytag: member="QwtPlotItem::setVisible" ref="a5f0eeb2b72207fd8d33a95b0565657a1" args="(bool)" --> <div class="memitem"> <div class="memproto"> <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><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Show/Hide the item</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">on</td><td>Show if true, otherwise hide </td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></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><!-- doxytag: member="QwtPlotItem::setXAxis" ref="a81d3dd7feaadda4b0dbb8c13642046cf" args="(int axis)" --> <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><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">axis</td><td>X Axis </td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></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> </dd></dl> </div> </div> <a class="anchor" id="aa92dad876d76ce136925d5ae8f01db9a"></a><!-- doxytag: member="QwtPlotItem::setYAxis" ref="aa92dad876d76ce136925d5ae8f01db9a" args="(int axis)" --> <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><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">axis</td><td>Y Axis </td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></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> </dd></dl> </div> </div> <a class="anchor" id="a57d90e4146133b59d589c71b3a643e82"></a><!-- doxytag: member="QwtPlotItem::setZ" ref="a57d90e4146133b59d589c71b3a643e82" args="(double z)" --> <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><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">z</td><td>Z-value </td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></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="a93a50fb9c86bc66617e28315e02281c3"></a><!-- doxytag: member="QwtPlotItem::show" ref="a93a50fb9c86bc66617e28315e02281c3" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::show </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Show the item. </p> </div> </div> <a class="anchor" id="aef70936d34ef661876692e6a06d4a464"></a><!-- doxytag: member="QwtPlotItem::testItemAttribute" ref="aef70936d34ef661876692e6a06d4a464" args="(ItemAttribute) const " --> <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><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">attribute</td><td>Attribute type </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>true/false </dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_item.html#a5a335be8ff488809a2cf7f4b734ad1b6">setItemAttribute()</a>, <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a> </dd></dl> </div> </div> <a class="anchor" id="ad4009381d6a26359125549e1cf874b69"></a><!-- doxytag: member="QwtPlotItem::testRenderHint" ref="ad4009381d6a26359125549e1cf874b69" args="(RenderHint) const " --> <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><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">hint</td><td>Render hint </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>true/false </dd></dl> <dl class="see"><dt><b>See also:</b></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><!-- doxytag: member="QwtPlotItem::title" ref="a3859d011b670b5f89e45d1ccef9206f7" args="() const " --> <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="return"><dt><b>Returns:</b></dt><dd>Title of the item </dd></dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_item.html#a1b74686181ab6dd5033917123c7db30f">setTitle()</a> </dd></dl> </div> </div> <a class="anchor" id="a193770cd20609a368c5130de59cb782e"></a><!-- doxytag: member="QwtPlotItem::updateLegend" ref="a193770cd20609a368c5130de59cb782e" args="(QwtLegend *) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void QwtPlotItem::updateLegend </td> <td>(</td> <td class="paramtype"><a class="el" href="class_qwt_legend.html">QwtLegend</a> * </td> <td class="paramname"><em>legend</em></td><td>)</td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Update the widget that represents the item on the legend. </p> <p><a class="el" href="class_qwt_plot_item.html#a193770cd20609a368c5130de59cb782e" title="Update the widget that represents the item on the legend.">updateLegend()</a> is called from <a class="el" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged()</a> to adopt the widget representing the item on the legend to its new configuration.</p> <p>The default implementation updates a QwtLegendItem(), but an item could be represented by any type of widget, by overloading <a class="el" href="class_qwt_plot_item.html#a09824eda5e564a853e6586bc387a3b4b" title="Allocate the widget that represents the item on the legend.">legendItem()</a> and <a class="el" href="class_qwt_plot_item.html#a193770cd20609a368c5130de59cb782e" title="Update the widget that represents the item on the legend.">updateLegend()</a>.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">legend</td><td>Legend</td></tr> </table> </dd> </dl> <dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_item.html#a09824eda5e564a853e6586bc387a3b4b" title="Allocate the widget that represents the item on the legend.">legendItem()</a>, <a class="el" href="class_qwt_plot_item.html#ad956fdbce5b0721abccce6d09fe4d5ce">itemChanged()</a>, QwtLegend() </dd></dl> <p>Implements <a class="el" href="class_qwt_legend_item_manager.html#ad3bd052ea242ef8595c7d6008b9cc6f4">QwtLegendItemManager</a>.</p> <p>Reimplemented in <a class="el" href="class_qwt_plot_curve.html#aedbca95048e4c7b42cd0bf486ec36b4d">QwtPlotCurve</a>, and <a class="el" href="class_qwt_plot_marker.html#a75ea063a742c23ab1952fc2bf96b5762">QwtPlotMarker</a>.</p> </div> </div> <a class="anchor" id="abf6a70847d3db952161ca4d4a952eea0"></a><!-- doxytag: member="QwtPlotItem::updateScaleDiv" ref="abf6a70847d3db952161ca4d4a952eea0" args="(const QwtScaleDiv &, const QwtScaleDiv &)" --> <div class="memitem"> <div class="memproto"> <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><code> [virtual]</code></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 QwtPlotGrid()) 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> <dl><dt><b>Parameters:</b></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="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#a1fb2dbc3697a66024d48c08b1d18f8a5" title="Rebuild the scales.">QwtPlot::updateAxes()</a> </dd></dl> <p>Reimplemented in <a class="el" href="class_qwt_plot_grid.html#ad15166f257160adc90b60b9e29d69edf">QwtPlotGrid</a>, <a class="el" href="class_qwt_plot_scale_item.html#a9c32bac1ff73c6527305698792a6edfe">QwtPlotScaleItem</a>, <a class="el" href="class_qwt_plot_series_item.html#a5c40b692a48718b71bed27a1802c50d0">QwtPlotSeriesItem< T ></a>, <a class="el" href="class_qwt_plot_series_item.html#a5c40b692a48718b71bed27a1802c50d0">QwtPlotSeriesItem< QwtIntervalSample ></a>, <a class="el" href="class_qwt_plot_series_item.html#a5c40b692a48718b71bed27a1802c50d0">QwtPlotSeriesItem< QPointF ></a>, and <a class="el" href="class_qwt_plot_series_item.html#a5c40b692a48718b71bed27a1802c50d0">QwtPlotSeriesItem< QwtPoint3D ></a>.</p> </div> </div> <a class="anchor" id="a7af360bf6d5a5b6257ce6b0dd99b7525"></a><!-- doxytag: member="QwtPlotItem::xAxis" ref="a7af360bf6d5a5b6257ce6b0dd99b7525" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int QwtPlotItem::xAxis </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Return xAxis. </p> </div> </div> <a class="anchor" id="ac7714ffa278a10e0cf45972e487b63ff"></a><!-- doxytag: member="QwtPlotItem::yAxis" ref="ac7714ffa278a10e0cf45972e487b63ff" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int QwtPlotItem::yAxis </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Return yAxis. </p> </div> </div> <a class="anchor" id="a4c58d814336643190b9f2918f80c30df"></a><!-- doxytag: member="QwtPlotItem::z" ref="a4c58d814336643190b9f2918f80c30df" args="() const " --> <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="return"><dt><b>Returns:</b></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> <hr class="footer"/><address class="footer"><small>Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>