⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_qwt_plot_dict.html

📁 QWT5.01用于Qt开发的二维图形库程序
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Qwt User&apos;s Guide: QwtPlotDict Class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.6 --><div class="tabs">  <ul>    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li id="current"><a href="classes.html"><span>Classes</span></a></li>    <li><a href="files.html"><span>Files</span></a></li>    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>  </ul></div><div class="tabs">  <ul>    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>  </ul></div><h1>QwtPlotDict Class Reference</h1><!-- doxytag: class="QwtPlotDict" -->Inheritance diagram for QwtPlotDict:<p><center><img src="class_qwt_plot_dict__inherit__graph.png" border="0" usemap="#_qwt_plot_dict__inherit__map" alt="Inheritance graph"></center><map name="_qwt_plot_dict__inherit__map"><area href="class_qwt_plot.html" shape="rect" coords="17,83,87,107" alt=""></map><center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_plot_dict-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>A dictionary for plot items. <p><a class="el" href="class_qwt_plot_dict.html">QwtPlotDict</a> organizes plot items in increasing z-order. If <a class="el" href="class_qwt_plot_dict.html#10dfae8b454fa4258b0372366013507a">autoDelete()</a> is enabled, all attached items will be deleted in the destructor of the dictionary.<p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_item.html#eb2f676533ccae3436bf578824e2165e">QwtPlotItem::attach()</a>, <a class="el" href="class_qwt_plot_item.html#b2bbee6dbe36a5f1d0ce853ac66716a6">QwtPlotItem::detach()</a>, <a class="el" href="class_qwt_plot_item.html#4c58d814336643190b9f2918f80c30df">QwtPlotItem::z()</a> </dd></dl><p><p>Definition at line <a class="el" href="qwt__plot__dict_8h-source.html#l00037">37</a> of file <a class="el" href="qwt__plot__dict_8h-source.html">qwt_plot_dict.h</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_dict.html#0ee364450834ac63f4cbd5baab82d15f">QwtPlotDict</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_dict.html#9199acfe3e8dcb095065bff3f90f518b">~QwtPlotDict</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_dict.html#3291431f0a9cca5b2affc5adf17bbdfb">setAutoDelete</a> (bool)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_dict.html#10dfae8b454fa4258b0372366013507a">autoDelete</a> () const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">const QwtPlotItemList &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_dict.html#9cbb1c5c22de93594b7e2524af108f55">itemList</a> () const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_dict.html#cb2e402e05c693433ed7e84696fbdfc0">detachItems</a> (int rtti=QwtPlotItem::Rtti_PlotItem, bool autoDelete=true)</td></tr><tr><td colspan="2"><br><h2>Friends</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="055bada44394b2c38d0d907087a14fa3"></a><!-- doxytag: member="QwtPlotDict::QwtPlotItem" ref="055bada44394b2c38d0d907087a14fa3" args="" -->class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_dict.html#055bada44394b2c38d0d907087a14fa3">QwtPlotItem</a></td></tr></table><hr><h2>Constructor &amp; Destructor Documentation</h2><a class="anchor" name="0ee364450834ac63f4cbd5baab82d15f"></a><!-- doxytag: member="QwtPlotDict::QwtPlotDict" ref="0ee364450834ac63f4cbd5baab82d15f" args="()" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">QwtPlotDict::QwtPlotDict           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [explicit]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Constructor<p>Auto deletion is enabled. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_dict.html#3291431f0a9cca5b2affc5adf17bbdfb">setAutoDelete</a>, attachItem </dd></dl><p>Definition at line <a class="el" href="qwt__plot__dict_8cpp-source.html#l00094">94</a> of file <a class="el" href="qwt__plot__dict_8cpp-source.html">qwt_plot_dict.cpp</a>.    </td>  </tr></table><a class="anchor" name="9199acfe3e8dcb095065bff3f90f518b"></a><!-- doxytag: member="QwtPlotDict::~QwtPlotDict" ref="9199acfe3e8dcb095065bff3f90f518b" args="()" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">QwtPlotDict::~QwtPlotDict           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Destructor<p>If autoDelete is on, all attached items will be deleted <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_dict.html#3291431f0a9cca5b2affc5adf17bbdfb">setAutoDelete</a>, <a class="el" href="class_qwt_plot_dict.html#10dfae8b454fa4258b0372366013507a">autoDelete</a>, attachItem </dd></dl><p>Definition at line <a class="el" href="qwt__plot__dict_8cpp-source.html#l00106">106</a> of file <a class="el" href="qwt__plot__dict_8cpp-source.html">qwt_plot_dict.cpp</a>.<p>References <a class="el" href="qwt__plot__dict_8cpp-source.html#l00161">detachItems()</a>.    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="10dfae8b454fa4258b0372366013507a"></a><!-- doxytag: member="QwtPlotDict::autoDelete" ref="10dfae8b454fa4258b0372366013507a" args="() const " --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">bool QwtPlotDict::autoDelete           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><dl compact><dt><b>Returns:</b></dt><dd>true if auto deletion is enabled </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_dict.html#3291431f0a9cca5b2affc5adf17bbdfb">setAutoDelete</a>, attachItem </dd></dl><p>Definition at line <a class="el" href="qwt__plot__dict_8cpp-source.html#l00129">129</a> of file <a class="el" href="qwt__plot__dict_8cpp-source.html">qwt_plot_dict.cpp</a>.<p>Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00085">QwtPlot::~QwtPlot()</a>.    </td>  </tr></table><a class="anchor" name="cb2e402e05c693433ed7e84696fbdfc0"></a><!-- doxytag: member="QwtPlotDict::detachItems" ref="cb2e402e05c693433ed7e84696fbdfc0" args="(int rtti=QwtPlotItem::Rtti_PlotItem, bool autoDelete=true)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void QwtPlotDict::detachItems           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname" nowrap> <em>rtti</em> = <code>QwtPlotItem::Rtti_PlotItem</code>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>autoDelete</em> = <code>true</code></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Detach items from the dictionary<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>rtti</em>&nbsp;</td><td>In case of QwtPlotItem::Rtti_PlotItem detach all items otherwise only those items of the type rtti. </td></tr>    <tr><td valign="top"></td><td valign="top"><em>autoDelete</em>&nbsp;</td><td>If true, delete all detached items </td></tr>  </table></dl><p>Definition at line <a class="el" href="qwt__plot__dict_8cpp-source.html#l00161">161</a> of file <a class="el" href="qwt__plot__dict_8cpp-source.html">qwt_plot_dict.cpp</a>.<p>Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00798">QwtPlot::clear()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00085">QwtPlot::~QwtPlot()</a>, and <a class="el" href="qwt__plot__dict_8cpp-source.html#l00106">~QwtPlotDict()</a>.    </td>  </tr></table><a class="anchor" name="9cbb1c5c22de93594b7e2524af108f55"></a><!-- doxytag: member="QwtPlotDict::itemList" ref="9cbb1c5c22de93594b7e2524af108f55" args="() const " --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">const QwtPlotItemList &amp; QwtPlotDict::itemList           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><dl compact><dt><b>Returns:</b></dt><dd>List of all attached plot items </dd></dl><p>Definition at line <a class="el" href="qwt__plot__dict_8cpp-source.html#l00181">181</a> of file <a class="el" href="qwt__plot__dict_8cpp-source.html">qwt_plot_dict.cpp</a>.<p>Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00586">QwtPlot::drawItems()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00830">QwtPlot::insertLegend()</a>, and <a class="el" href="qwt__plot__axis_8cpp-source.html#l00547">QwtPlot::updateAxes()</a>.    </td>  </tr></table><a class="anchor" name="3291431f0a9cca5b2affc5adf17bbdfb"></a><!-- doxytag: member="QwtPlotDict::setAutoDelete" ref="3291431f0a9cca5b2affc5adf17bbdfb" args="(bool)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">void QwtPlotDict::setAutoDelete           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">bool&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>autoDelete</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>En/Disable Auto deletion<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">QwtPlotDict</a>. The default value is on.<p><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_dict.html#10dfae8b454fa4258b0372366013507a">autoDelete</a>, attachItem </dd></dl><p>Definition at line <a class="el" href="qwt__plot__dict_8cpp-source.html#l00120">120</a> of file <a class="el" href="qwt__plot__dict_8cpp-source.html">qwt_plot_dict.cpp</a>.    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Mon Feb 26 21:24:58 2007 for Qwt User's Guide by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -