Sophie

Sophie

distrib > Mandriva > cooker > i586 > by-pkgid > 76bdad05b5dca2a491582dbec0713d55 > files > 553

libqwt-devel-6.0.1-2.i586.rpm

<!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&#39;s Guide: QwtPlotScaleItem 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&#160;<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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>QwtPlotScaleItem Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="QwtPlotScaleItem" --><!-- doxytag: inherits="QwtPlotItem" -->
<p>A class which draws a scale inside the plot canvas.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__plot__scaleitem_8h_source.html">qwt_plot_scaleitem.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtPlotScaleItem:</div>
<div class="dyncontent">
<div class="center"><img src="class_qwt_plot_scale_item__inherit__graph.png" border="0" usemap="#_qwt_plot_scale_item_inherit__map" alt="Inheritance graph"/></div>
<map name="_qwt_plot_scale_item_inherit__map" id="_qwt_plot_scale_item_inherit__map">
<area shape="rect" id="node2" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas." alt="" coords="40,83,133,112"/><area shape="rect" id="node4" href="class_qwt_legend_item_manager.html" title="Abstract API to bind plot items to the legend." alt="" coords="5,5,168,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_qwt_plot_scale_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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a> { <br/>
&#160;&#160;<a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062a4e377b54bd879c60a95162b6a9e9e176">Legend</a> =  0x01, 
<br/>
&#160;&#160;<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&lt; <a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a> &gt;&#160;</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 &#160;</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&lt; <a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a> &gt;&#160;</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 &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#ab149ac85e233ce9cedf2f2f2af871bf3">RttiValues</a> { <br/>
&#160;&#160;<b>Rtti_PlotItem</b> =  0, 
<br/>
&#160;&#160;<b>Rtti_PlotGrid</b>, 
<br/>
&#160;&#160;<b>Rtti_PlotScale</b>, 
<br/>
&#160;&#160;<b>Rtti_PlotMarker</b>, 
<br/>
&#160;&#160;<b>Rtti_PlotCurve</b>, 
<br/>
&#160;&#160;<b>Rtti_PlotSpectroCurve</b>, 
<br/>
&#160;&#160;<b>Rtti_PlotIntervalCurve</b>, 
<br/>
&#160;&#160;<b>Rtti_PlotHistogram</b>, 
<br/>
&#160;&#160;<b>Rtti_PlotSpectrogram</b>, 
<br/>
&#160;&#160;<b>Rtti_PlotSVG</b>, 
<br/>
&#160;&#160;<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&#160;</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">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a3200035a9dd88e07f154ef4289a952c2">borderDistance</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QRectF&#160;</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&#160;</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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a2eef74cfd6007faf8b6e146277c82661">draw</a> (QPainter *p, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;xMap, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;yMap, const QRectF &amp;rect) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_legend_item_manager.html#a8dd765a2fd5b9a286fa398810a5c2ad8">drawLegendIdentifier</a> (QPainter *, const QRectF &amp;) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QFont&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#ada859305224f3eec06e23dc7c3ce8f9c">font</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a05c89366c36fb0417e76b1a93d1ef93c">isScaleDivFromAxis</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</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&#160;</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 *&#160;</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&#160;</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> &amp;, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QPalette&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a6e48f16a93b7e7dcb98c6bfda3b11c2e">palette</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</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">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a7228e5fc436e1cfb403c38974b781185">position</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a9d093fc9de7d423435f455c110d4605d">QwtPlotScaleItem</a> (<a class="el" href="class_qwt_scale_draw.html#acd7ceeeac592ef08530788580b461c66">QwtScaleDraw::Alignment</a>=QwtScaleDraw::BottomScale, const double pos=0.0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a72d7c46ade62f45f3dffa93931900d74">rtti</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a06695f68519b2cc8660441d12d84ab13">scaleDiv</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#abdcced6eb4179319aeeeba370ec54a0f">scaleDraw</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#ab75d17fe11c146b49ffa47940f512850">scaleDraw</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QRectF&#160;</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> &amp;, const <a class="el" href="class_qwt_scale_map.html">QwtScaleMap</a> &amp;) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#af11343d14c4ee38e0527cedd52b3da85">setAlignment</a> (<a class="el" href="class_qwt_scale_draw.html#acd7ceeeac592ef08530788580b461c66">QwtScaleDraw::Alignment</a>)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a34bb235d0715d9c13669fe90669fc545">setBorderDistance</a> (int numPixels)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a8f2bc7a401bb3e1cf796ff024032e31d">setFont</a> (const QFont &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#aff7adf18c2a6f679227c0fdaa54f39f7">setPalette</a> (const QPalette &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a94536af312bb9d6de5bc7547c59e4faf">setPosition</a> (double pos)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a99032adf91892f73d06a4810cd78d26b">setScaleDiv</a> (const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a0b4660ad3d3fcf1f1de711b075b073c6">setScaleDivFromAxis</a> (bool on)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a0224f2720f3df4fc781d10560a4a1590">setScaleDraw</a> (<a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_item.html#a1b74686181ab6dd5033917123c7db30f">setTitle</a> (const QString &amp;title)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;title)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</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&#160;</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&#160;</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&#160;</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&#160;</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&#160;</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&#160;</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> &amp;&#160;</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&#160;</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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a9c32bac1ff73c6527305698792a6edfe">updateScaleDiv</a> (const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;, const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</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&#160;</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&#160;</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&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_scale_item.html#a8f246e1e73704c1c40ae1294269b65fa">~QwtPlotScaleItem</a> ()</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A class which draws a scale inside the plot canvas. </p>
<p><a class="el" href="class_qwt_plot_scale_item.html" title="A class which draws a scale inside the plot canvas.">QwtPlotScaleItem</a> can be used to draw an axis inside the plot canvas. It might by synchronized to one of the axis of the plot, but can also display its own ticks and labels.</p>
<p>It is allowed to synchronize the scale item with a disabled axis. In plots with vertical and horizontal scale items, it might be necessary to remove ticks at the intersections, by overloading <a class="el" href="class_qwt_plot_scale_item.html#a9c32bac1ff73c6527305698792a6edfe" title="Update the item to changes of the axes scale division.">updateScaleDiv()</a>.</p>
<p>The scale might be at a specific position (f.e 0.0) or it might be aligned to a canvas border.</p>
<dl class="user"><dt><b>Example</b></dt><dd>The following example shows how to replace the left axis, by a scale item at the x position 0.0. <div class="fragment"><pre class="fragment">
QwtPlotScaleItem *scaleItem =
    new QwtPlotScaleItem(QwtScaleDraw::RightScale, 0.0);
scaleItem-&gt;setFont(plot-&gt;axisWidget(QwtPlot::yLeft)-&gt;font());
scaleItem-&gt;attach(plot);

plot-&gt;enableAxis(QwtPlot::yLeft, false);
</pre></div> </dd></dl>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="af356dc13c7838c7437334e199a356764"></a><!-- doxytag: member="QwtPlotScaleItem::ItemAttributes" ref="af356dc13c7838c7437334e199a356764" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef QFlags&lt;<a class="el" href="class_qwt_plot_item.html#ae0fabcdd35f4818ce5bbe019b0eed062">ItemAttribute</a>&gt; <a class="el" href="class_qwt_plot_item.html#af356dc13c7838c7437334e199a356764">QwtPlotItem::ItemAttributes</a><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Plot Item Attributes. </p>

</div>
</div>
<a class="anchor" id="a40cf900701d3a68948b00316689616d1"></a><!-- doxytag: member="QwtPlotScaleItem::RenderHints" ref="a40cf900701d3a68948b00316689616d1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef QFlags&lt;<a class="el" href="class_qwt_plot_item.html#abe0e8a39aceef9a600b73e02550a9704">RenderHint</a>&gt; <a class="el" href="class_qwt_plot_item.html#a40cf900701d3a68948b00316689616d1">QwtPlotItem::RenderHints</a><code> [inherited]</code></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="QwtPlotScaleItem::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><code> [inherited]</code></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>&nbsp;</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>&nbsp;</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="QwtPlotScaleItem::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><code> [inherited]</code></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>&nbsp;</td><td>
<p>Enable antialiasing. </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<a class="anchor" id="ab149ac85e233ce9cedf2f2f2af871bf3"></a><!-- doxytag: member="QwtPlotScaleItem::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><code> [inherited]</code></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 &amp; Destructor Documentation</h2>
<a class="anchor" id="a9d093fc9de7d423435f455c110d4605d"></a><!-- doxytag: member="QwtPlotScaleItem::QwtPlotScaleItem" ref="a9d093fc9de7d423435f455c110d4605d" args="(QwtScaleDraw::Alignment=QwtScaleDraw::BottomScale, const double pos=0.0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotScaleItem::QwtPlotScaleItem </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_scale_draw.html#acd7ceeeac592ef08530788580b461c66">QwtScaleDraw::Alignment</a>&#160;</td>
          <td class="paramname"><em>alignment</em> = <code>QwtScaleDraw::BottomScale</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const double&#160;</td>
          <td class="paramname"><em>pos</em> = <code>0.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor for scale item at the position pos. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">alignment</td><td>In case of <a class="el" href="class_qwt_scale_draw.html#acd7ceeeac592ef08530788580b461c66a0e16389e135da75f06117d1ee3ef765f" title="The scale is below.">QwtScaleDraw::BottomScale</a> or <a class="el" href="class_qwt_scale_draw.html#acd7ceeeac592ef08530788580b461c66a2386da707d8f736701b8ab98f778648c" title="The scale is above.">QwtScaleDraw::TopScale</a> the scale item is corresponding to the <a class="el" href="class_qwt_plot_item.html#a7af360bf6d5a5b6257ce6b0dd99b7525" title="Return xAxis.">xAxis()</a>, otherwise it corresponds to the <a class="el" href="class_qwt_plot_item.html#ac7714ffa278a10e0cf45972e487b63ff" title="Return yAxis.">yAxis()</a>.</td></tr>
    <tr><td class="paramname">pos</td><td>x or y position, depending on the corresponding axis.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_scale_item.html#a94536af312bb9d6de5bc7547c59e4faf">setPosition()</a>, <a class="el" href="class_qwt_plot_scale_item.html#af11343d14c4ee38e0527cedd52b3da85">setAlignment()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8f246e1e73704c1c40ae1294269b65fa"></a><!-- doxytag: member="QwtPlotScaleItem::~QwtPlotScaleItem" ref="a8f246e1e73704c1c40ae1294269b65fa" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotScaleItem::~QwtPlotScaleItem </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destructor. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aeb2f676533ccae3436bf578824e2165e"></a><!-- doxytag: member="QwtPlotScaleItem::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> *&#160;</td>
          <td class="paramname"><em>plot</em></td><td>)</td>
          <td><code> [inherited]</code></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="a3200035a9dd88e07f154ef4289a952c2"></a><!-- doxytag: member="QwtPlotScaleItem::borderDistance" ref="a3200035a9dd88e07f154ef4289a952c2" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtPlotScaleItem::borderDistance </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>Distance from a canvas border </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_scale_item.html#a34bb235d0715d9c13669fe90669fc545" title="Align the scale to the canvas.">setBorderDistance()</a>, <a class="el" href="class_qwt_plot_scale_item.html#a94536af312bb9d6de5bc7547c59e4faf">setPosition()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aec3c408e14af30b82b52c1197310eb21"></a><!-- doxytag: member="QwtPlotScaleItem::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, inherited]</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&lt; T &gt;</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&lt; QwtIntervalSample &gt;</a>, <a class="el" href="class_qwt_plot_series_item.html#a183e7c88364eeea8e7c53b56604e0763">QwtPlotSeriesItem&lt; QPointF &gt;</a>, and <a class="el" href="class_qwt_plot_series_item.html#a183e7c88364eeea8e7c53b56604e0763">QwtPlotSeriesItem&lt; QwtPoint3D &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ab2bbee6dbe36a5f1d0ce853ac66716a6"></a><!-- doxytag: member="QwtPlotScaleItem::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><code> [inherited]</code></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="a2eef74cfd6007faf8b6e146277c82661"></a><!-- doxytag: member="QwtPlotScaleItem::draw" ref="a2eef74cfd6007faf8b6e146277c82661" args="(QPainter *p, const QwtScaleMap &amp;xMap, const QwtScaleMap &amp;yMap, const QRectF &amp;rect) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotScaleItem::draw </td>
          <td>(</td>
          <td class="paramtype">QPainter *&#160;</td>
          <td class="paramname"><em>p</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> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>yMap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRectF &amp;&#160;</td>
          <td class="paramname"><em>rect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw the scale. </p>

<p>Implements <a class="el" href="class_qwt_plot_item.html#a0b0d6589d5db81ce72e6b33c4fbb21f9">QwtPlotItem</a>.</p>

</div>
</div>
<a class="anchor" id="a8dd765a2fd5b9a286fa398810a5c2ad8"></a><!-- doxytag: member="QwtPlotScaleItem::drawLegendIdentifier" ref="a8dd765a2fd5b9a286fa398810a5c2ad8" args="(QPainter *, const QRectF &amp;) 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 *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QRectF &amp;&#160;</td>
          <td class="paramname">&#160;</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="ada859305224f3eec06e23dc7c3ce8f9c"></a><!-- doxytag: member="QwtPlotScaleItem::font" ref="ada859305224f3eec06e23dc7c3ce8f9c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QFont QwtPlotScaleItem::font </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>tick label font </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_scale_item.html#a8f2bc7a401bb3e1cf796ff024032e31d">setFont()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1faea017baa2492416a13e6bc3c144aa"></a><!-- doxytag: member="QwtPlotScaleItem::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><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Hide the item. </p>

</div>
</div>
<a class="anchor" id="a05c89366c36fb0417e76b1a93d1ef93c"></a><!-- doxytag: member="QwtPlotScaleItem::isScaleDivFromAxis" ref="a05c89366c36fb0417e76b1a93d1ef93c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtPlotScaleItem::isScaleDivFromAxis </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 the synchronization of the scale division with the corresponding axis is enabled. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_scale_item.html#a99032adf91892f73d06a4810cd78d26b" title="Assign a scale division.">setScaleDiv()</a>, <a class="el" href="class_qwt_plot_scale_item.html#a0b4660ad3d3fcf1f1de711b075b073c6">setScaleDivFromAxis()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aeaf8eeb5f080017e181a5d7be798d789"></a><!-- doxytag: member="QwtPlotScaleItem::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<code> [inherited]</code></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="QwtPlotScaleItem::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, inherited]</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="QwtPlotScaleItem::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, inherited]</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="QwtPlotScaleItem::paintRect" ref="afa05b98fd7ea65ca1ffcb04bb6b4326d" args="(const QwtScaleMap &amp;, const QwtScaleMap &amp;) 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> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>yMap</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inherited]</code></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="a6e48f16a93b7e7dcb98c6bfda3b11c2e"></a><!-- doxytag: member="QwtPlotScaleItem::palette" ref="a6e48f16a93b7e7dcb98c6bfda3b11c2e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPalette QwtPlotScaleItem::palette </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>palette </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_scale_item.html#aff7adf18c2a6f679227c0fdaa54f39f7">setPalette()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a4c99653a14a49ad94d466168d06e97b9"></a><!-- doxytag: member="QwtPlotScaleItem::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<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return attached plot. </p>

</div>
</div>
<a class="anchor" id="a7228e5fc436e1cfb403c38974b781185"></a><!-- doxytag: member="QwtPlotScaleItem::position" ref="a7228e5fc436e1cfb403c38974b781185" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double QwtPlotScaleItem::position </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>Position of the scale </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_scale_item.html#a94536af312bb9d6de5bc7547c59e4faf">setPosition()</a>, <a class="el" href="class_qwt_plot_scale_item.html#af11343d14c4ee38e0527cedd52b3da85">setAlignment()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a72d7c46ade62f45f3dffa93931900d74"></a><!-- doxytag: member="QwtPlotScaleItem::rtti" ref="a72d7c46ade62f45f3dffa93931900d74" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int QwtPlotScaleItem::rtti </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>QwtPlotItem::Rtti_PlotScale </dd></dl>

<p>Reimplemented from <a class="el" href="class_qwt_plot_item.html#af153b5a40a60ac626f1c58e69fc4ecad">QwtPlotItem</a>.</p>

</div>
</div>
<a class="anchor" id="a06695f68519b2cc8660441d12d84ab13"></a><!-- doxytag: member="QwtPlotScaleItem::scaleDiv" ref="a06695f68519b2cc8660441d12d84ab13" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp; QwtPlotScaleItem::scaleDiv </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>Scale division </dd></dl>

</div>
</div>
<a class="anchor" id="abdcced6eb4179319aeeeba370ec54a0f"></a><!-- doxytag: member="QwtPlotScaleItem::scaleDraw" ref="abdcced6eb4179319aeeeba370ec54a0f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> * QwtPlotScaleItem::scaleDraw </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>Scale draw </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_scale_item.html#a0224f2720f3df4fc781d10560a4a1590" title="Set a scale draw.">setScaleDraw()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ab75d17fe11c146b49ffa47940f512850"></a><!-- doxytag: member="QwtPlotScaleItem::scaleDraw" ref="ab75d17fe11c146b49ffa47940f512850" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> * QwtPlotScaleItem::scaleDraw </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>Scale draw </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_scale_item.html#a0224f2720f3df4fc781d10560a4a1590" title="Set a scale draw.">setScaleDraw()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a186036cbee194b87b9bc4afb693c27f4"></a><!-- doxytag: member="QwtPlotScaleItem::scaleRect" ref="a186036cbee194b87b9bc4afb693c27f4" args="(const QwtScaleMap &amp;, const QwtScaleMap &amp;) 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> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>yMap</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [inherited]</code></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="af11343d14c4ee38e0527cedd52b3da85"></a><!-- doxytag: member="QwtPlotScaleItem::setAlignment" ref="af11343d14c4ee38e0527cedd52b3da85" args="(QwtScaleDraw::Alignment)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotScaleItem::setAlignment </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_scale_draw.html#acd7ceeeac592ef08530788580b461c66">QwtScaleDraw::Alignment</a>&#160;</td>
          <td class="paramname"><em>alignment</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change the alignment of the scale</p>
<p>The alignment sets the orientation of the scale and the position of the ticks:</p>
<ul>
<li><a class="el" href="class_qwt_scale_draw.html#acd7ceeeac592ef08530788580b461c66a0e16389e135da75f06117d1ee3ef765f" title="The scale is below.">QwtScaleDraw::BottomScale</a>: horizontal, ticks below</li>
<li><a class="el" href="class_qwt_scale_draw.html#acd7ceeeac592ef08530788580b461c66a2386da707d8f736701b8ab98f778648c" title="The scale is above.">QwtScaleDraw::TopScale</a>: horizontal, ticks above</li>
<li><a class="el" href="class_qwt_scale_draw.html#acd7ceeeac592ef08530788580b461c66af2a8239964381f18dbd08d4a93a7fa23" title="The scale is left.">QwtScaleDraw::LeftScale</a>: vertical, ticks left</li>
<li><a class="el" href="class_qwt_scale_draw.html#acd7ceeeac592ef08530788580b461c66a84d42042d94ae7726395ceb578225e1e" title="The scale is right.">QwtScaleDraw::RightScale</a>: vertical, ticks right</li>
</ul>
<p>For horizontal scales the position corresponds to <a class="el" href="class_qwt_plot_item.html#ac7714ffa278a10e0cf45972e487b63ff" title="Return yAxis.">QwtPlotItem::yAxis()</a>, otherwise to <a class="el" href="class_qwt_plot_item.html#a7af360bf6d5a5b6257ce6b0dd99b7525" title="Return xAxis.">QwtPlotItem::xAxis()</a>.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_scale_item.html#ab75d17fe11c146b49ffa47940f512850">scaleDraw()</a>, <a class="el" href="class_qwt_scale_draw.html#ad0425d29e919f60021322b178661b6e5">QwtScaleDraw::alignment()</a>, <a class="el" href="class_qwt_plot_scale_item.html#a94536af312bb9d6de5bc7547c59e4faf">setPosition()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a6f6c7b34fe86e8029914b3b780b55ea4"></a><!-- doxytag: member="QwtPlotScaleItem::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&#160;</td>
          <td class="paramname"><em>xAxis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>yAxis</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inherited]</code></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="a34bb235d0715d9c13669fe90669fc545"></a><!-- doxytag: member="QwtPlotScaleItem::setBorderDistance" ref="a34bb235d0715d9c13669fe90669fc545" args="(int numPixels)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotScaleItem::setBorderDistance </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>distance</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Align the scale to the canvas. </p>
<p>If distance is &gt;= 0 the scale will be aligned to a border of the contents rect of the canvas. If alignment() is <a class="el" href="class_qwt_scale_draw.html#acd7ceeeac592ef08530788580b461c66af2a8239964381f18dbd08d4a93a7fa23" title="The scale is left.">QwtScaleDraw::LeftScale</a>, the scale will be aligned to the right border, if it is <a class="el" href="class_qwt_scale_draw.html#acd7ceeeac592ef08530788580b461c66a2386da707d8f736701b8ab98f778648c" title="The scale is above.">QwtScaleDraw::TopScale</a> it will be aligned to the bottom (and vice versa),</p>
<p>If distance is &lt; 0 the scale will be at the <a class="el" href="class_qwt_plot_scale_item.html#a7228e5fc436e1cfb403c38974b781185">position()</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">distance</td><td>Number of pixels between the canvas border and the backbone of the scale.</td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_scale_item.html#a94536af312bb9d6de5bc7547c59e4faf">setPosition()</a>, <a class="el" href="class_qwt_plot_scale_item.html#a3200035a9dd88e07f154ef4289a952c2">borderDistance()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8f2bc7a401bb3e1cf796ff024032e31d"></a><!-- doxytag: member="QwtPlotScaleItem::setFont" ref="a8f2bc7a401bb3e1cf796ff024032e31d" args="(const QFont &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotScaleItem::setFont </td>
          <td>(</td>
          <td class="paramtype">const QFont &amp;&#160;</td>
          <td class="paramname"><em>font</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change the tick label font </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_scale_item.html#ada859305224f3eec06e23dc7c3ce8f9c">font()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a5a335be8ff488809a2cf7f4b734ad1b6"></a><!-- doxytag: member="QwtPlotScaleItem::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>&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>on</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inherited]</code></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="aff7adf18c2a6f679227c0fdaa54f39f7"></a><!-- doxytag: member="QwtPlotScaleItem::setPalette" ref="aff7adf18c2a6f679227c0fdaa54f39f7" args="(const QPalette &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotScaleItem::setPalette </td>
          <td>(</td>
          <td class="paramtype">const QPalette &amp;&#160;</td>
          <td class="paramname"><em>palette</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the palette </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_abstract_scale_draw.html#aca3c3a7499112f52616d0ee8518fa5a6" title="Draw the scale.">QwtAbstractScaleDraw::draw()</a>, <a class="el" href="class_qwt_plot_scale_item.html#a6e48f16a93b7e7dcb98c6bfda3b11c2e">palette()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a94536af312bb9d6de5bc7547c59e4faf"></a><!-- doxytag: member="QwtPlotScaleItem::setPosition" ref="a94536af312bb9d6de5bc7547c59e4faf" args="(double pos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotScaleItem::setPosition </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Change the position of the scale</p>
<p>The position is interpreted as y value for horizontal axes and as x value for vertical axes.</p>
<p>The border distance is set to -1.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">pos</td><td>New position </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_scale_item.html#a7228e5fc436e1cfb403c38974b781185">position()</a>, <a class="el" href="class_qwt_plot_scale_item.html#af11343d14c4ee38e0527cedd52b3da85">setAlignment()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="acd023c40f659c304ded324942865edc8"></a><!-- doxytag: member="QwtPlotScaleItem::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>&#160;</td>
          <td class="paramname"><em>hint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>on</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inherited]</code></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="a99032adf91892f73d06a4810cd78d26b"></a><!-- doxytag: member="QwtPlotScaleItem::setScaleDiv" ref="a99032adf91892f73d06a4810cd78d26b" args="(const QwtScaleDiv &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotScaleItem::setScaleDiv </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;&#160;</td>
          <td class="paramname"><em>scaleDiv</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Assign a scale division. </p>
<p>When assigning a scaleDiv the scale division won't be synchronized with the corresponding axis anymore.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">scaleDiv</td><td>Scale division </td></tr>
  </table>
  </dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_scale_item.html#a06695f68519b2cc8660441d12d84ab13">scaleDiv()</a>, <a class="el" href="class_qwt_plot_scale_item.html#a0b4660ad3d3fcf1f1de711b075b073c6">setScaleDivFromAxis()</a>, <a class="el" href="class_qwt_plot_scale_item.html#a05c89366c36fb0417e76b1a93d1ef93c">isScaleDivFromAxis()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0b4660ad3d3fcf1f1de711b075b073c6"></a><!-- doxytag: member="QwtPlotScaleItem::setScaleDivFromAxis" ref="a0b4660ad3d3fcf1f1de711b075b073c6" args="(bool on)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotScaleItem::setScaleDivFromAxis </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Enable/Disable the synchronization of the scale division with the corresponding axis.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <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_scale_item.html#a05c89366c36fb0417e76b1a93d1ef93c">isScaleDivFromAxis()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0224f2720f3df4fc781d10560a4a1590"></a><!-- doxytag: member="QwtPlotScaleItem::setScaleDraw" ref="a0224f2720f3df4fc781d10560a4a1590" args="(QwtScaleDraw *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotScaleItem::setScaleDraw </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_scale_draw.html">QwtScaleDraw</a> *&#160;</td>
          <td class="paramname"><em>scaleDraw</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set a scale draw. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">scaleDraw</td><td>object responsible for drawing scales.</td></tr>
  </table>
  </dd>
</dl>
<p>The main use case for replacing the default <a class="el" href="class_qwt_scale_draw.html" title="A class for drawing scales.">QwtScaleDraw</a> is to overload <a class="el" href="class_qwt_abstract_scale_draw.html#a4ff88bc827dd6c6ca9298de13483b61f" title="Convert a value into its representing label.">QwtAbstractScaleDraw::label</a>, to replace or swallow tick labels.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_scale_item.html#ab75d17fe11c146b49ffa47940f512850">scaleDraw()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1b74686181ab6dd5033917123c7db30f"></a><!-- doxytag: member="QwtPlotScaleItem::setTitle" ref="a1b74686181ab6dd5033917123c7db30f" args="(const QString &amp;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 &amp;&#160;</td>
          <td class="paramname"><em>title</em></td><td>)</td>
          <td><code> [inherited]</code></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="QwtPlotScaleItem::setTitle" ref="a2db3214b23b78274fa6f8c0321a76839" args="(const QwtText &amp;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> &amp;&#160;</td>
          <td class="paramname"><em>title</em></td><td>)</td>
          <td><code> [inherited]</code></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="QwtPlotScaleItem::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&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td><code> [virtual, inherited]</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="QwtPlotScaleItem::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&#160;</td>
          <td class="paramname"><em>axis</em></td><td>)</td>
          <td><code> [inherited]</code></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="QwtPlotScaleItem::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&#160;</td>
          <td class="paramname"><em>axis</em></td><td>)</td>
          <td><code> [inherited]</code></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="QwtPlotScaleItem::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&#160;</td>
          <td class="paramname"><em>z</em></td><td>)</td>
          <td><code> [inherited]</code></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="QwtPlotScaleItem::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><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Show the item. </p>

</div>
</div>
<a class="anchor" id="aef70936d34ef661876692e6a06d4a464"></a><!-- doxytag: member="QwtPlotScaleItem::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>&#160;</td>
          <td class="paramname"><em>attribute</em></td><td>)</td>
          <td> const<code> [inherited]</code></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="QwtPlotScaleItem::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>&#160;</td>
          <td class="paramname"><em>hint</em></td><td>)</td>
          <td> const<code> [inherited]</code></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="QwtPlotScaleItem::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> &amp; QwtPlotItem::title </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inherited]</code></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="QwtPlotScaleItem::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> *&#160;</td>
          <td class="paramname"><em>legend</em></td><td>)</td>
          <td> const<code> [virtual, inherited]</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="a9c32bac1ff73c6527305698792a6edfe"></a><!-- doxytag: member="QwtPlotScaleItem::updateScaleDiv" ref="a9c32bac1ff73c6527305698792a6edfe" args="(const QwtScaleDiv &amp;, const QwtScaleDiv &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotScaleItem::updateScaleDiv </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_scale_div.html">QwtScaleDiv</a> &amp;&#160;</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> &amp;&#160;</td>
          <td class="paramname"><em>yScaleDiv</em>&#160;</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>In case of <a class="el" href="class_qwt_plot_scale_item.html#a05c89366c36fb0417e76b1a93d1ef93c">isScaleDivFromAxis()</a>, the scale draw is synchronized to the correspond axis.</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 from <a class="el" href="class_qwt_plot_item.html#abf6a70847d3db952161ca4d4a952eea0">QwtPlotItem</a>.</p>

</div>
</div>
<a class="anchor" id="a7af360bf6d5a5b6257ce6b0dd99b7525"></a><!-- doxytag: member="QwtPlotScaleItem::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<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return xAxis. </p>

</div>
</div>
<a class="anchor" id="ac7714ffa278a10e0cf45972e487b63ff"></a><!-- doxytag: member="QwtPlotScaleItem::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<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return yAxis. </p>

</div>
</div>
<a class="anchor" id="a4c58d814336643190b9f2918f80c30df"></a><!-- doxytag: member="QwtPlotScaleItem::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<code> [inherited]</code></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&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>