~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.1.0/doc/html/class_qwt_plot_dict.html

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2008-05-26 10:26:31 UTC
  • mfrom: (1.1.3 upstream) (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080526102631-bp95mfccnrb957nx
Tags: 5.1.1-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
 
<title>Qwt User&apos;s Guide: QwtPlotDict Class Reference</title>
4
 
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
 
<link href="tabs.css" rel="stylesheet" type="text/css">
6
 
</head><body>
7
 
<!-- Generated by Doxygen 1.5.0 -->
8
 
<div class="tabs">
9
 
  <ul>
10
 
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11
 
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
12
 
    <li><a href="files.html"><span>Files</span></a></li>
13
 
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
14
 
  </ul></div>
15
 
<div class="tabs">
16
 
  <ul>
17
 
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
18
 
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
19
 
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
20
 
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
21
 
  </ul></div>
22
 
<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>
23
 
<map name="_qwt_plot_dict__inherit__map">
24
 
<area href="class_qwt_plot.html" shape="rect" coords="17,83,87,107" alt="">
25
 
</map>
26
 
<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>
27
 
A dictionary for plot items. 
28
 
<p>
29
 
<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#8f36ce63ad81b939313b0347500d2d31">autoDelete()</a> is enabled, all attached items will be deleted in the destructor of the dictionary.<p>
30
 
<dl class="see" 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#717c27fba94fd761a2d4ec06e9dbfa21">QwtPlotItem::z()</a> </dd></dl>
31
 
 
32
 
<p>
33
 
 
34
 
<p>
35
 
Definition at line <a class="el" href="qwt__plot__dict_8h-source.html#l00042">42</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">
36
 
<tr><td></td></tr>
37
 
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
38
 
<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>
39
 
 
40
 
<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>
41
 
 
42
 
<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>
43
 
 
44
 
<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#8f36ce63ad81b939313b0347500d2d31">autoDelete</a> () const</td></tr>
45
 
 
46
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="qwt__plot__dict_8h.html#375ca32f3e8a24c8eeb076a637ecd1d8">QwtPlotItemList</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_dict.html#49d60b01e53a33423987aa80559449f9">itemList</a> () const</td></tr>
47
 
 
48
 
<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>
49
 
 
50
 
<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
51
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="055bada44394b2c38d0d907087a14fa3"></a><!-- doxytag: member="QwtPlotDict::QwtPlotItem" ref="055bada44394b2c38d0d907087a14fa3" args="" -->
52
 
class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_dict.html#055bada44394b2c38d0d907087a14fa3">QwtPlotItem</a></td></tr>
53
 
 
54
 
</table>
55
 
<hr><h2>Constructor &amp; Destructor Documentation</h2>
56
 
<a class="anchor" name="0ee364450834ac63f4cbd5baab82d15f"></a><!-- doxytag: member="QwtPlotDict::QwtPlotDict" ref="0ee364450834ac63f4cbd5baab82d15f" args="()" -->
57
 
<div class="memitem">
58
 
<div class="memproto">
59
 
      <table class="memname">
60
 
        <tr>
61
 
          <td class="memname">QwtPlotDict::QwtPlotDict           </td>
62
 
          <td>(</td>
63
 
          <td class="paramname">          </td>
64
 
          <td>&nbsp;)&nbsp;</td>
65
 
          <td width="100%"><code> [explicit]</code></td>
66
 
        </tr>
67
 
      </table>
68
 
</div>
69
 
<div class="memdoc">
70
 
 
71
 
<p>
72
 
Constructor<p>
73
 
Auto deletion is enabled. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_dict.html#3291431f0a9cca5b2affc5adf17bbdfb">setAutoDelete</a>, attachItem </dd></dl>
74
 
 
75
 
<p>
76
 
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>.
77
 
</div>
78
 
</div><p>
79
 
<a class="anchor" name="9199acfe3e8dcb095065bff3f90f518b"></a><!-- doxytag: member="QwtPlotDict::~QwtPlotDict" ref="9199acfe3e8dcb095065bff3f90f518b" args="()" -->
80
 
<div class="memitem">
81
 
<div class="memproto">
82
 
      <table class="memname">
83
 
        <tr>
84
 
          <td class="memname">QwtPlotDict::~QwtPlotDict           </td>
85
 
          <td>(</td>
86
 
          <td class="paramname">          </td>
87
 
          <td>&nbsp;)&nbsp;</td>
88
 
          <td width="100%"></td>
89
 
        </tr>
90
 
      </table>
91
 
</div>
92
 
<div class="memdoc">
93
 
 
94
 
<p>
95
 
Destructor<p>
96
 
If autoDelete is on, all attached items will be deleted <dl class="see" 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#8f36ce63ad81b939313b0347500d2d31">autoDelete</a>, attachItem </dd></dl>
97
 
 
98
 
<p>
99
 
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>.
100
 
<p>
101
 
References <a class="el" href="qwt__plot__dict_8cpp-source.html#l00161">detachItems()</a>.
102
 
</div>
103
 
</div><p>
104
 
<hr><h2>Member Function Documentation</h2>
105
 
<a class="anchor" name="3291431f0a9cca5b2affc5adf17bbdfb"></a><!-- doxytag: member="QwtPlotDict::setAutoDelete" ref="3291431f0a9cca5b2affc5adf17bbdfb" args="(bool)" -->
106
 
<div class="memitem">
107
 
<div class="memproto">
108
 
      <table class="memname">
109
 
        <tr>
110
 
          <td class="memname">void QwtPlotDict::setAutoDelete           </td>
111
 
          <td>(</td>
112
 
          <td class="paramtype">bool&nbsp;</td>
113
 
          <td class="paramname"> <em>autoDelete</em>          </td>
114
 
          <td>&nbsp;)&nbsp;</td>
115
 
          <td width="100%"></td>
116
 
        </tr>
117
 
      </table>
118
 
</div>
119
 
<div class="memdoc">
120
 
 
121
 
<p>
122
 
En/Disable Auto deletion<p>
123
 
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>
124
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_dict.html#8f36ce63ad81b939313b0347500d2d31">autoDelete</a>, attachItem </dd></dl>
125
 
 
126
 
<p>
127
 
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>.
128
 
</div>
129
 
</div><p>
130
 
<a class="anchor" name="8f36ce63ad81b939313b0347500d2d31"></a><!-- doxytag: member="QwtPlotDict::autoDelete" ref="8f36ce63ad81b939313b0347500d2d31" args="() const" -->
131
 
<div class="memitem">
132
 
<div class="memproto">
133
 
      <table class="memname">
134
 
        <tr>
135
 
          <td class="memname">bool QwtPlotDict::autoDelete           </td>
136
 
          <td>(</td>
137
 
          <td class="paramname">          </td>
138
 
          <td>&nbsp;)&nbsp;</td>
139
 
          <td width="100%"> const</td>
140
 
        </tr>
141
 
      </table>
142
 
</div>
143
 
<div class="memdoc">
144
 
 
145
 
<p>
146
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if auto deletion is enabled </dd></dl>
147
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_dict.html#3291431f0a9cca5b2affc5adf17bbdfb">setAutoDelete</a>, attachItem </dd></dl>
148
 
 
149
 
<p>
150
 
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>.
151
 
<p>
152
 
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00084">QwtPlot::~QwtPlot()</a>.
153
 
</div>
154
 
</div><p>
155
 
<a class="anchor" name="49d60b01e53a33423987aa80559449f9"></a><!-- doxytag: member="QwtPlotDict::itemList" ref="49d60b01e53a33423987aa80559449f9" args="() const" -->
156
 
<div class="memitem">
157
 
<div class="memproto">
158
 
      <table class="memname">
159
 
        <tr>
160
 
          <td class="memname">const <a class="el" href="qwt__plot__dict_8h.html#375ca32f3e8a24c8eeb076a637ecd1d8">QwtPlotItemList</a> &amp; QwtPlotDict::itemList           </td>
161
 
          <td>(</td>
162
 
          <td class="paramname">          </td>
163
 
          <td>&nbsp;)&nbsp;</td>
164
 
          <td width="100%"> const</td>
165
 
        </tr>
166
 
      </table>
167
 
</div>
168
 
<div class="memdoc">
169
 
 
170
 
<p>
171
 
A QwtPlotItemList of all attached plot items. 
172
 
<p>
173
 
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. <dl class="return" compact><dt><b>Returns:</b></dt><dd>List of all attached plot items. </dd></dl>
174
 
 
175
 
<p>
176
 
Definition at line <a class="el" href="qwt__plot__dict_8cpp-source.html#l00186">186</a> of file <a class="el" href="qwt__plot__dict_8cpp-source.html">qwt_plot_dict.cpp</a>.
177
 
<p>
178
 
Referenced by <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00157">QwtPlotPrintFilter::apply()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00572">QwtPlot::drawItems()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00822">QwtPlot::insertLegend()</a>, <a class="el" href="qwt__plot__printfilter_8cpp-source.html#l00366">QwtPlotPrintFilter::reset()</a>, and <a class="el" href="qwt__plot__axis_8cpp-source.html#l00579">QwtPlot::updateAxes()</a>.
179
 
</div>
180
 
</div><p>
181
 
<a class="anchor" name="cb2e402e05c693433ed7e84696fbdfc0"></a><!-- doxytag: member="QwtPlotDict::detachItems" ref="cb2e402e05c693433ed7e84696fbdfc0" args="(int rtti=QwtPlotItem::Rtti_PlotItem, bool autoDelete=true)" -->
182
 
<div class="memitem">
183
 
<div class="memproto">
184
 
      <table class="memname">
185
 
        <tr>
186
 
          <td class="memname">void QwtPlotDict::detachItems           </td>
187
 
          <td>(</td>
188
 
          <td class="paramtype">int&nbsp;</td>
189
 
          <td class="paramname"> <em>rtti</em> = <code>QwtPlotItem::Rtti_PlotItem</code>, </td>
190
 
        </tr>
191
 
        <tr>
192
 
          <td class="paramkey"></td>
193
 
          <td></td>
194
 
          <td class="paramtype">bool&nbsp;</td>
195
 
          <td class="paramname"> <em>autoDelete</em> = <code>true</code></td><td>&nbsp;</td>
196
 
        </tr>
197
 
        <tr>
198
 
          <td></td>
199
 
          <td>)</td>
200
 
          <td></td><td></td><td width="100%"></td>
201
 
        </tr>
202
 
      </table>
203
 
</div>
204
 
<div class="memdoc">
205
 
 
206
 
<p>
207
 
Detach items from the dictionary<p>
208
 
<dl compact><dt><b>Parameters:</b></dt><dd>
209
 
  <table border="0" cellspacing="2" cellpadding="0">
210
 
    <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>
211
 
    <tr><td valign="top"></td><td valign="top"><em>autoDelete</em>&nbsp;</td><td>If true, delete all detached items </td></tr>
212
 
  </table>
213
 
</dl>
214
 
 
215
 
<p>
216
 
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>.
217
 
<p>
218
 
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00789">QwtPlot::clear()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00084">QwtPlot::~QwtPlot()</a>, and <a class="el" href="qwt__plot__dict_8cpp-source.html#l00106">~QwtPlotDict()</a>.
219
 
</div>
220
 
</div><p>
221
 
<hr size="1"><address style="align: right;"><small>Generated on Thu May 1 15:45:03 2008 for Qwt User's Guide by&nbsp;
222
 
<a href="http://www.doxygen.org/index.html">
223
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
224
 
</body>
225
 
</html>