Sophie

Sophie

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

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: QwtPlotDict 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-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<h1>QwtPlotDict Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="QwtPlotDict" -->
<p>A dictionary for plot items.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__plot__dict_8h_source.html">qwt_plot_dict.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtPlotDict:</div>
<div class="dyncontent">
<div class="center"><img src="class_qwt_plot_dict__inherit__graph.png" border="0" usemap="#_qwt_plot_dict_inherit__map" alt="Inheritance graph"/></div>
<map name="_qwt_plot_dict_inherit__map" id="_qwt_plot_dict_inherit__map">
<area shape="rect" id="node3" href="class_qwt_plot.html" title="A 2&#45;D plotting widget." alt="" coords="17,83,84,112"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_qwt_plot_dict-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></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_dict.html#a10dfae8b454fa4258b0372366013507a">autoDelete</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_dict.html#acb2e402e05c693433ed7e84696fbdfc0">detachItems</a> (int rtti=QwtPlotItem::Rtti_PlotItem, bool autoDelete=true)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const QwtPlotItemList &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_dict.html#a9cbb1c5c22de93594b7e2524af108f55">itemList</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QwtPlotItemList&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_dict.html#a0979adc53ad5ecf5e4a93aa9b5a4df38">itemList</a> (int rtti) 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_dict.html#a0ee364450834ac63f4cbd5baab82d15f">QwtPlotDict</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_dict.html#a3291431f0a9cca5b2affc5adf17bbdfb">setAutoDelete</a> (bool)</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_dict.html#a9199acfe3e8dcb095065bff3f90f518b">~QwtPlotDict</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a055bada44394b2c38d0d907087a14fa3"></a><!-- doxytag: member="QwtPlotDict::QwtPlotItem" ref="a055bada44394b2c38d0d907087a14fa3" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_dict.html#a055bada44394b2c38d0d907087a14fa3">QwtPlotItem</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A dictionary for plot items. </p>
<p><a class="el" href="class_qwt_plot_dict.html" title="A dictionary for plot items.">QwtPlotDict</a> organizes plot items in increasing z-order. If <a class="el" href="class_qwt_plot_dict.html#a10dfae8b454fa4258b0372366013507a">autoDelete()</a> is enabled, all attached items will be deleted in the destructor of the dictionary.</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.">QwtPlotItem::attach()</a>, <a class="el" href="class_qwt_plot_item.html#ab2bbee6dbe36a5f1d0ce853ac66716a6" title="This method detaches a QwtPlotItem from any QwtPlot it has been associated with.">QwtPlotItem::detach()</a>, <a class="el" href="class_qwt_plot_item.html#a4c58d814336643190b9f2918f80c30df">QwtPlotItem::z()</a> </dd></dl>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0ee364450834ac63f4cbd5baab82d15f"></a><!-- doxytag: member="QwtPlotDict::QwtPlotDict" ref="a0ee364450834ac63f4cbd5baab82d15f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotDict::QwtPlotDict </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor</p>
<p>Auto deletion is enabled. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_dict.html#a3291431f0a9cca5b2affc5adf17bbdfb">setAutoDelete()</a>, attachItem() </dd></dl>

</div>
</div>
<a class="anchor" id="a9199acfe3e8dcb095065bff3f90f518b"></a><!-- doxytag: member="QwtPlotDict::~QwtPlotDict" ref="a9199acfe3e8dcb095065bff3f90f518b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotDict::~QwtPlotDict </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor</p>
<p>If autoDelete is on, all attached items will be deleted </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_dict.html#a3291431f0a9cca5b2affc5adf17bbdfb">setAutoDelete()</a>, <a class="el" href="class_qwt_plot_dict.html#a10dfae8b454fa4258b0372366013507a">autoDelete()</a>, attachItem() </dd></dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a10dfae8b454fa4258b0372366013507a"></a><!-- doxytag: member="QwtPlotDict::autoDelete" ref="a10dfae8b454fa4258b0372366013507a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtPlotDict::autoDelete </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 auto deletion is enabled </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_dict.html#a3291431f0a9cca5b2affc5adf17bbdfb">setAutoDelete()</a>, attachItem() </dd></dl>

</div>
</div>
<a class="anchor" id="acb2e402e05c693433ed7e84696fbdfc0"></a><!-- doxytag: member="QwtPlotDict::detachItems" ref="acb2e402e05c693433ed7e84696fbdfc0" args="(int rtti=QwtPlotItem::Rtti_PlotItem, bool autoDelete=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotDict::detachItems </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rtti</em> = <code>QwtPlotItem::Rtti_PlotItem</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>autoDelete</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Detach items from the dictionary</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">rtti</td><td>In case of QwtPlotItem::Rtti_PlotItem detach all items otherwise only those items of the type rtti. </td></tr>
    <tr><td class="paramname">autoDelete</td><td>If true, delete all detached items </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0979adc53ad5ecf5e4a93aa9b5a4df38"></a><!-- doxytag: member="QwtPlotDict::itemList" ref="a0979adc53ad5ecf5e4a93aa9b5a4df38" args="(int rtti) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotItemList QwtPlotDict::itemList </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rtti</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>List of all attached plot items of a specific type. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_item.html#af153b5a40a60ac626f1c58e69fc4ecad">QwtPlotItem::rtti()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a9cbb1c5c22de93594b7e2524af108f55"></a><!-- doxytag: member="QwtPlotDict::itemList" ref="a9cbb1c5c22de93594b7e2524af108f55" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QwtPlotItemList &amp; QwtPlotDict::itemList </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A QwtPlotItemList of all attached plot items. </p>
<p>Use caution when iterating these lists, as removing/detaching an item will invalidate the iterator. Instead you can place pointers to objects to be removed in a removal list, and traverse that list later.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>List of all attached plot items. </dd></dl>

</div>
</div>
<a class="anchor" id="a3291431f0a9cca5b2affc5adf17bbdfb"></a><!-- doxytag: member="QwtPlotDict::setAutoDelete" ref="a3291431f0a9cca5b2affc5adf17bbdfb" args="(bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotDict::setAutoDelete </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>autoDelete</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>En/Disable Auto deletion</p>
<p>If Auto deletion is on all attached plot items will be deleted in the destructor of <a class="el" href="class_qwt_plot_dict.html" title="A dictionary for plot items.">QwtPlotDict</a>. The default value is on.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_dict.html#a10dfae8b454fa4258b0372366013507a">autoDelete()</a>, attachItem() </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>