~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_canvas.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: QwtPlotCanvas 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>QwtPlotCanvas Class Reference</h1><!-- doxytag: class="QwtPlotCanvas" --><a href="class_qwt_plot_canvas-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
23
 
Canvas of a <a class="el" href="class_qwt_plot.html">QwtPlot</a>. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html">QwtPlot</a> </dd></dl>
24
 
 
25
 
<p>
26
 
 
27
 
<p>
28
 
Definition at line <a class="el" href="qwt__plot__canvas_8h-source.html#l00026">26</a> of file <a class="el" href="qwt__plot__canvas_8h-source.html">qwt_plot_canvas.h</a>.<table border="0" cellpadding="0" cellspacing="0">
29
 
<tr><td></td></tr>
30
 
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
31
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#76066290edb594a71ee09be564563b0f">PaintAttribute</a> { <br>
32
 
&nbsp;&nbsp;<b>PaintCached</b> =  1, 
33
 
<br>
34
 
&nbsp;&nbsp;<b>PaintPacked</b> =  2, 
35
 
<br>
36
 
&nbsp;&nbsp;<b>PaintFiltered</b> =  1, 
37
 
<br>
38
 
&nbsp;&nbsp;<b>ClipPolygons</b> =  2, 
39
 
<br>
40
 
&nbsp;&nbsp;<b>PaintUsingTextFont</b> =  1, 
41
 
<br>
42
 
&nbsp;&nbsp;<b>PaintUsingTextColor</b> =  2, 
43
 
<br>
44
 
&nbsp;&nbsp;<b>PaintBackground</b> =  4
45
 
<br>
46
 
 }</td></tr>
47
 
 
48
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a> { <br>
49
 
&nbsp;&nbsp;<b>NoFocusIndicator</b>, 
50
 
<br>
51
 
&nbsp;&nbsp;<b>CanvasFocusIndicator</b>, 
52
 
<br>
53
 
&nbsp;&nbsp;<b>ItemFocusIndicator</b>
54
 
<br>
55
 
 }</td></tr>
56
 
 
57
 
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
58
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#e708ed2bc2fe614a809b9b70c9e8959e">QwtPlotCanvas</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</a> *)</td></tr>
59
 
 
60
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#320320bbb1b511c0c37fb2452a7f4404">~QwtPlotCanvas</a> ()</td></tr>
61
 
 
62
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#1b720b99dc1b686f58e789b13f339f63">plot</a> ()</td></tr>
63
 
 
64
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#3ef5af082aa3da3d0f9daad051f11f68">plot</a> () const</td></tr>
65
 
 
66
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#e7330616dbb97128d01c5446ef0b006e">setFocusIndicator</a> (<a class="el" href="class_qwt_plot_canvas.html#89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a>)</td></tr>
67
 
 
68
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_plot_canvas.html#89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#2fc7d682fe7d84ecb197205a59ea2e20">focusIndicator</a> () const</td></tr>
69
 
 
70
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#7859beb87bcef4fd53f99e7c87104e27">setPaintAttribute</a> (<a class="el" href="class_qwt_plot_canvas.html#76066290edb594a71ee09be564563b0f">PaintAttribute</a>, bool on=true)</td></tr>
71
 
 
72
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#3dc8278bd9ce9b9d801706d61e139baf">testPaintAttribute</a> (<a class="el" href="class_qwt_plot_canvas.html#76066290edb594a71ee09be564563b0f">PaintAttribute</a>) const</td></tr>
73
 
 
74
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">QPixmap *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#9181564270ad961288f6651dcd08ad15">paintCache</a> ()</td></tr>
75
 
 
76
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QPixmap *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a2a967ee0156553c1b7e0e9c91f2afac">paintCache</a> () const</td></tr>
77
 
 
78
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#d03018bfc24f361e4ba359643c5c23b6">invalidatePaintCache</a> ()</td></tr>
79
 
 
80
 
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
81
 
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="97e862e6c27fd0f88c5eccc5e4e64096"></a><!-- doxytag: member="QwtPlotCanvas::hideEvent" ref="97e862e6c27fd0f88c5eccc5e4e64096" args="(QHideEvent *)" -->
82
 
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#97e862e6c27fd0f88c5eccc5e4e64096">hideEvent</a> (QHideEvent *)</td></tr>
83
 
 
84
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a8f1516817c578efd407d8dd574170ec">paintEvent</a> (QPaintEvent *)</td></tr>
85
 
 
86
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#3c6e3cddf7fe4f48db64459b01a37301">drawContents</a> (QPainter *)</td></tr>
87
 
 
88
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#4dc526ac5186fe253a158a392bbb4f40">drawFocusIndicator</a> (QPainter *)</td></tr>
89
 
 
90
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#48cd4c52f0524f1a21fa53201159aa7c">drawCanvas</a> (QPainter *painter=NULL)</td></tr>
91
 
 
92
 
</table>
93
 
<hr><h2>Member Enumeration Documentation</h2>
94
 
<a class="anchor" name="76066290edb594a71ee09be564563b0f"></a><!-- doxytag: member="QwtPlotCanvas::PaintAttribute" ref="76066290edb594a71ee09be564563b0f" args="" -->
95
 
<div class="memitem">
96
 
<div class="memproto">
97
 
      <table class="memname">
98
 
        <tr>
99
 
          <td class="memname">enum <a class="el" href="class_qwt_plot_canvas.html#76066290edb594a71ee09be564563b0f">QwtPlotCanvas::PaintAttribute</a>          </td>
100
 
        </tr>
101
 
      </table>
102
 
</div>
103
 
<div class="memdoc">
104
 
 
105
 
<p>
106
 
Paint attributes. 
107
 
<p>
108
 
<ul>
109
 
<li>PaintCached<br>
110
 
 Paint double buffered and reuse the content of the pixmap buffer for some spontaneous repaints that happen when a plot gets unhidden, deiconified or changes the focus. Disabling the cache will improve the performance for incremental paints (using <a class="el" href="class_qwt_plot_curve.html#a7d3ac4d64232a2f7b07557075816831">QwtPlotCurve::draw</a>).</li></ul>
111
 
<p>
112
 
<ul>
113
 
<li>PaintPacked<br>
114
 
 Suppress system background repaints and paint it together with the canvas contents. Painting packed might avoid flickering for expensive repaints, when there is a notable gap between painting the background and the plot contents.</li></ul>
115
 
<p>
116
 
The default setting enables PaintCached and PaintPacked<p>
117
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#7859beb87bcef4fd53f99e7c87104e27">setPaintAttribute()</a>, <a class="el" href="class_qwt_plot_canvas.html#3dc8278bd9ce9b9d801706d61e139baf">testPaintAttribute()</a>, <a class="el" href="class_qwt_plot_canvas.html#9181564270ad961288f6651dcd08ad15">paintCache()</a> </dd></dl>
118
 
 
119
 
<p>
120
 
Definition at line <a class="el" href="qwt__plot__canvas_8h-source.html#l00053">53</a> of file <a class="el" href="qwt__plot__canvas_8h-source.html">qwt_plot_canvas.h</a>.
121
 
</div>
122
 
</div><p>
123
 
<a class="anchor" name="89b44e4c28038a674ce211fe9ac2d7be"></a><!-- doxytag: member="QwtPlotCanvas::FocusIndicator" ref="89b44e4c28038a674ce211fe9ac2d7be" args="" -->
124
 
<div class="memitem">
125
 
<div class="memproto">
126
 
      <table class="memname">
127
 
        <tr>
128
 
          <td class="memname">enum <a class="el" href="class_qwt_plot_canvas.html#89b44e4c28038a674ce211fe9ac2d7be">QwtPlotCanvas::FocusIndicator</a>          </td>
129
 
        </tr>
130
 
      </table>
131
 
</div>
132
 
<div class="memdoc">
133
 
 
134
 
<p>
135
 
Focus indicator. 
136
 
<p>
137
 
<ul>
138
 
<li>NoFocusIndicator<br>
139
 
 Don't paint a focus indicator</li></ul>
140
 
<p>
141
 
<ul>
142
 
<li>CanvasFocusIndicator<br>
143
 
 The focus is related to the complete canvas. Paint the focus indicator using paintFocus()</li></ul>
144
 
<p>
145
 
<ul>
146
 
<li>ItemFocusIndicator<br>
147
 
 The focus is related to an item (curve, point, ...) on the canvas. It is up to the application to display a focus indication using f.e. highlighting.</li></ul>
148
 
<p>
149
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#e7330616dbb97128d01c5446ef0b006e">setFocusIndicator()</a>, <a class="el" href="class_qwt_plot_canvas.html#2fc7d682fe7d84ecb197205a59ea2e20">focusIndicator()</a>, paintFocus() </dd></dl>
150
 
 
151
 
<p>
152
 
Definition at line <a class="el" href="qwt__plot__canvas_8h-source.html#l00077">77</a> of file <a class="el" href="qwt__plot__canvas_8h-source.html">qwt_plot_canvas.h</a>.
153
 
</div>
154
 
</div><p>
155
 
<hr><h2>Constructor &amp; Destructor Documentation</h2>
156
 
<a class="anchor" name="e708ed2bc2fe614a809b9b70c9e8959e"></a><!-- doxytag: member="QwtPlotCanvas::QwtPlotCanvas" ref="e708ed2bc2fe614a809b9b70c9e8959e" args="(QwtPlot *)" -->
157
 
<div class="memitem">
158
 
<div class="memproto">
159
 
      <table class="memname">
160
 
        <tr>
161
 
          <td class="memname">QwtPlotCanvas::QwtPlotCanvas           </td>
162
 
          <td>(</td>
163
 
          <td class="paramtype"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&nbsp;</td>
164
 
          <td class="paramname">          </td>
165
 
          <td>&nbsp;)&nbsp;</td>
166
 
          <td width="100%"><code> [explicit]</code></td>
167
 
        </tr>
168
 
      </table>
169
 
</div>
170
 
<div class="memdoc">
171
 
 
172
 
<p>
173
 
Sets a cross cursor, enables QwtPlotCanvas::PaintCached. 
174
 
<p>
175
 
 
176
 
<p>
177
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00050">50</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
178
 
<p>
179
 
References <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00110">setPaintAttribute()</a>.
180
 
</div>
181
 
</div><p>
182
 
<a class="anchor" name="320320bbb1b511c0c37fb2452a7f4404"></a><!-- doxytag: member="QwtPlotCanvas::~QwtPlotCanvas" ref="320320bbb1b511c0c37fb2452a7f4404" args="()" -->
183
 
<div class="memitem">
184
 
<div class="memproto">
185
 
      <table class="memname">
186
 
        <tr>
187
 
          <td class="memname">QwtPlotCanvas::~QwtPlotCanvas           </td>
188
 
          <td>(</td>
189
 
          <td class="paramname">          </td>
190
 
          <td>&nbsp;)&nbsp;</td>
191
 
          <td width="100%"><code> [virtual]</code></td>
192
 
        </tr>
193
 
      </table>
194
 
</div>
195
 
<div class="memdoc">
196
 
 
197
 
<p>
198
 
Destructor. 
199
 
<p>
200
 
 
201
 
<p>
202
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00075">75</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
203
 
</div>
204
 
</div><p>
205
 
<hr><h2>Member Function Documentation</h2>
206
 
<a class="anchor" name="1b720b99dc1b686f58e789b13f339f63"></a><!-- doxytag: member="QwtPlotCanvas::plot" ref="1b720b99dc1b686f58e789b13f339f63" args="()" -->
207
 
<div class="memitem">
208
 
<div class="memproto">
209
 
      <table class="memname">
210
 
        <tr>
211
 
          <td class="memname"><a class="el" href="class_qwt_plot.html">QwtPlot</a> * QwtPlotCanvas::plot           </td>
212
 
          <td>(</td>
213
 
          <td class="paramname">          </td>
214
 
          <td>&nbsp;)&nbsp;</td>
215
 
          <td width="100%"></td>
216
 
        </tr>
217
 
      </table>
218
 
</div>
219
 
<div class="memdoc">
220
 
 
221
 
<p>
222
 
Return parent plot widget. 
223
 
<p>
224
 
 
225
 
<p>
226
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00081">81</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
227
 
<p>
228
 
Referenced by <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00250">drawContents()</a>.
229
 
</div>
230
 
</div><p>
231
 
<a class="anchor" name="3ef5af082aa3da3d0f9daad051f11f68"></a><!-- doxytag: member="QwtPlotCanvas::plot" ref="3ef5af082aa3da3d0f9daad051f11f68" args="() const" -->
232
 
<div class="memitem">
233
 
<div class="memproto">
234
 
      <table class="memname">
235
 
        <tr>
236
 
          <td class="memname">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> * QwtPlotCanvas::plot           </td>
237
 
          <td>(</td>
238
 
          <td class="paramname">          </td>
239
 
          <td>&nbsp;)&nbsp;</td>
240
 
          <td width="100%"> const</td>
241
 
        </tr>
242
 
      </table>
243
 
</div>
244
 
<div class="memdoc">
245
 
 
246
 
<p>
247
 
Return parent plot widget. 
248
 
<p>
249
 
 
250
 
<p>
251
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00091">91</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
252
 
</div>
253
 
</div><p>
254
 
<a class="anchor" name="e7330616dbb97128d01c5446ef0b006e"></a><!-- doxytag: member="QwtPlotCanvas::setFocusIndicator" ref="e7330616dbb97128d01c5446ef0b006e" args="(FocusIndicator)" -->
255
 
<div class="memitem">
256
 
<div class="memproto">
257
 
      <table class="memname">
258
 
        <tr>
259
 
          <td class="memname">void QwtPlotCanvas::setFocusIndicator           </td>
260
 
          <td>(</td>
261
 
          <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html#89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a>&nbsp;</td>
262
 
          <td class="paramname"> <em>focusIndicator</em>          </td>
263
 
          <td>&nbsp;)&nbsp;</td>
264
 
          <td width="100%"></td>
265
 
        </tr>
266
 
      </table>
267
 
</div>
268
 
<div class="memdoc">
269
 
 
270
 
<p>
271
 
Set the focus indicator<p>
272
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a>, <a class="el" href="class_qwt_plot_canvas.html#2fc7d682fe7d84ecb197205a59ea2e20">focusIndicator</a> </dd></dl>
273
 
 
274
 
<p>
275
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00196">196</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
276
 
</div>
277
 
</div><p>
278
 
<a class="anchor" name="2fc7d682fe7d84ecb197205a59ea2e20"></a><!-- doxytag: member="QwtPlotCanvas::focusIndicator" ref="2fc7d682fe7d84ecb197205a59ea2e20" args="() const" -->
279
 
<div class="memitem">
280
 
<div class="memproto">
281
 
      <table class="memname">
282
 
        <tr>
283
 
          <td class="memname"><a class="el" href="class_qwt_plot_canvas.html#89b44e4c28038a674ce211fe9ac2d7be">QwtPlotCanvas::FocusIndicator</a> QwtPlotCanvas::focusIndicator           </td>
284
 
          <td>(</td>
285
 
          <td class="paramname">          </td>
286
 
          <td>&nbsp;)&nbsp;</td>
287
 
          <td width="100%"> const</td>
288
 
        </tr>
289
 
      </table>
290
 
</div>
291
 
<div class="memdoc">
292
 
 
293
 
<p>
294
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Focus indicator</dd></dl>
295
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a>, <a class="el" href="class_qwt_plot_canvas.html#e7330616dbb97128d01c5446ef0b006e">setFocusIndicator</a> </dd></dl>
296
 
 
297
 
<p>
298
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00206">206</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
299
 
<p>
300
 
Referenced by <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00250">drawContents()</a>.
301
 
</div>
302
 
</div><p>
303
 
<a class="anchor" name="7859beb87bcef4fd53f99e7c87104e27"></a><!-- doxytag: member="QwtPlotCanvas::setPaintAttribute" ref="7859beb87bcef4fd53f99e7c87104e27" args="(PaintAttribute, bool on=true)" -->
304
 
<div class="memitem">
305
 
<div class="memproto">
306
 
      <table class="memname">
307
 
        <tr>
308
 
          <td class="memname">void QwtPlotCanvas::setPaintAttribute           </td>
309
 
          <td>(</td>
310
 
          <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html#76066290edb594a71ee09be564563b0f">PaintAttribute</a>&nbsp;</td>
311
 
          <td class="paramname"> <em>attribute</em>, </td>
312
 
        </tr>
313
 
        <tr>
314
 
          <td class="paramkey"></td>
315
 
          <td></td>
316
 
          <td class="paramtype">bool&nbsp;</td>
317
 
          <td class="paramname"> <em>on</em> = <code>true</code></td><td>&nbsp;</td>
318
 
        </tr>
319
 
        <tr>
320
 
          <td></td>
321
 
          <td>)</td>
322
 
          <td></td><td></td><td width="100%"></td>
323
 
        </tr>
324
 
      </table>
325
 
</div>
326
 
<div class="memdoc">
327
 
 
328
 
<p>
329
 
Changing the paint attributes. 
330
 
<p>
331
 
<dl compact><dt><b>Parameters:</b></dt><dd>
332
 
  <table border="0" cellspacing="2" cellpadding="0">
333
 
    <tr><td valign="top"></td><td valign="top"><em>attribute</em>&nbsp;</td><td>Paint attribute </td></tr>
334
 
    <tr><td valign="top"></td><td valign="top"><em>on</em>&nbsp;</td><td>On/Off</td></tr>
335
 
  </table>
336
 
</dl>
337
 
The default setting enables PaintCached and PaintPacked<p>
338
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#3dc8278bd9ce9b9d801706d61e139baf">testPaintAttribute()</a>, <a class="el" href="class_qwt_plot_canvas.html#48cd4c52f0524f1a21fa53201159aa7c">drawCanvas()</a>, <a class="el" href="class_qwt_plot_canvas.html#3c6e3cddf7fe4f48db64459b01a37301">drawContents()</a>, <a class="el" href="class_qwt_plot_canvas.html#9181564270ad961288f6651dcd08ad15">paintCache()</a> </dd></dl>
339
 
 
340
 
<p>
341
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00110">110</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
342
 
<p>
343
 
Referenced by <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00050">QwtPlotCanvas()</a>.
344
 
</div>
345
 
</div><p>
346
 
<a class="anchor" name="3dc8278bd9ce9b9d801706d61e139baf"></a><!-- doxytag: member="QwtPlotCanvas::testPaintAttribute" ref="3dc8278bd9ce9b9d801706d61e139baf" args="(PaintAttribute) const" -->
347
 
<div class="memitem">
348
 
<div class="memproto">
349
 
      <table class="memname">
350
 
        <tr>
351
 
          <td class="memname">bool QwtPlotCanvas::testPaintAttribute           </td>
352
 
          <td>(</td>
353
 
          <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html#76066290edb594a71ee09be564563b0f">PaintAttribute</a>&nbsp;</td>
354
 
          <td class="paramname"> <em>attribute</em>          </td>
355
 
          <td>&nbsp;)&nbsp;</td>
356
 
          <td width="100%"> const</td>
357
 
        </tr>
358
 
      </table>
359
 
</div>
360
 
<div class="memdoc">
361
 
 
362
 
<p>
363
 
Test wether a paint attribute is enabled<p>
364
 
<dl compact><dt><b>Parameters:</b></dt><dd>
365
 
  <table border="0" cellspacing="2" cellpadding="0">
366
 
    <tr><td valign="top"></td><td valign="top"><em>attribute</em>&nbsp;</td><td>Paint attribute </td></tr>
367
 
  </table>
368
 
</dl>
369
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if the attribute is enabled </dd></dl>
370
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_canvas.html#7859beb87bcef4fd53f99e7c87104e27">setPaintAttribute()</a> </dd></dl>
371
 
 
372
 
<p>
373
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00167">167</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
374
 
<p>
375
 
Referenced by <a class="el" href="qwt__plot__curve_8cpp-source.html#l00483">QwtPlotCurve::draw()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00363">QwtPlot::replot()</a>.
376
 
</div>
377
 
</div><p>
378
 
<a class="anchor" name="9181564270ad961288f6651dcd08ad15"></a><!-- doxytag: member="QwtPlotCanvas::paintCache" ref="9181564270ad961288f6651dcd08ad15" args="()" -->
379
 
<div class="memitem">
380
 
<div class="memproto">
381
 
      <table class="memname">
382
 
        <tr>
383
 
          <td class="memname">QPixmap * QwtPlotCanvas::paintCache           </td>
384
 
          <td>(</td>
385
 
          <td class="paramname">          </td>
386
 
          <td>&nbsp;)&nbsp;</td>
387
 
          <td width="100%"></td>
388
 
        </tr>
389
 
      </table>
390
 
</div>
391
 
<div class="memdoc">
392
 
 
393
 
<p>
394
 
Return the paint cache, might be null. 
395
 
<p>
396
 
 
397
 
<p>
398
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00173">173</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
399
 
<p>
400
 
Referenced by <a class="el" href="qwt__plot__curve_8cpp-source.html#l00483">QwtPlotCurve::draw()</a>.
401
 
</div>
402
 
</div><p>
403
 
<a class="anchor" name="a2a967ee0156553c1b7e0e9c91f2afac"></a><!-- doxytag: member="QwtPlotCanvas::paintCache" ref="a2a967ee0156553c1b7e0e9c91f2afac" args="() const" -->
404
 
<div class="memitem">
405
 
<div class="memproto">
406
 
      <table class="memname">
407
 
        <tr>
408
 
          <td class="memname">const QPixmap * QwtPlotCanvas::paintCache           </td>
409
 
          <td>(</td>
410
 
          <td class="paramname">          </td>
411
 
          <td>&nbsp;)&nbsp;</td>
412
 
          <td width="100%"> const</td>
413
 
        </tr>
414
 
      </table>
415
 
</div>
416
 
<div class="memdoc">
417
 
 
418
 
<p>
419
 
Return the paint cache, might be null. 
420
 
<p>
421
 
 
422
 
<p>
423
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00179">179</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
424
 
</div>
425
 
</div><p>
426
 
<a class="anchor" name="d03018bfc24f361e4ba359643c5c23b6"></a><!-- doxytag: member="QwtPlotCanvas::invalidatePaintCache" ref="d03018bfc24f361e4ba359643c5c23b6" args="()" -->
427
 
<div class="memitem">
428
 
<div class="memproto">
429
 
      <table class="memname">
430
 
        <tr>
431
 
          <td class="memname">void QwtPlotCanvas::invalidatePaintCache           </td>
432
 
          <td>(</td>
433
 
          <td class="paramname">          </td>
434
 
          <td>&nbsp;)&nbsp;</td>
435
 
          <td width="100%"></td>
436
 
        </tr>
437
 
      </table>
438
 
</div>
439
 
<div class="memdoc">
440
 
 
441
 
<p>
442
 
Invalidate the internal paint cache. 
443
 
<p>
444
 
 
445
 
<p>
446
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00185">185</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
447
 
<p>
448
 
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00363">QwtPlot::replot()</a>.
449
 
</div>
450
 
</div><p>
451
 
<a class="anchor" name="a8f1516817c578efd407d8dd574170ec"></a><!-- doxytag: member="QwtPlotCanvas::paintEvent" ref="a8f1516817c578efd407d8dd574170ec" args="(QPaintEvent *)" -->
452
 
<div class="memitem">
453
 
<div class="memproto">
454
 
      <table class="memname">
455
 
        <tr>
456
 
          <td class="memname">void QwtPlotCanvas::paintEvent           </td>
457
 
          <td>(</td>
458
 
          <td class="paramtype">QPaintEvent *&nbsp;</td>
459
 
          <td class="paramname">          </td>
460
 
          <td>&nbsp;)&nbsp;</td>
461
 
          <td width="100%"><code> [protected, virtual]</code></td>
462
 
        </tr>
463
 
      </table>
464
 
</div>
465
 
<div class="memdoc">
466
 
 
467
 
<p>
468
 
Paint event. 
469
 
<p>
470
 
 
471
 
<p>
472
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00225">225</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
473
 
<p>
474
 
References <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00250">drawContents()</a>.
475
 
</div>
476
 
</div><p>
477
 
<a class="anchor" name="3c6e3cddf7fe4f48db64459b01a37301"></a><!-- doxytag: member="QwtPlotCanvas::drawContents" ref="3c6e3cddf7fe4f48db64459b01a37301" args="(QPainter *)" -->
478
 
<div class="memitem">
479
 
<div class="memproto">
480
 
      <table class="memname">
481
 
        <tr>
482
 
          <td class="memname">void QwtPlotCanvas::drawContents           </td>
483
 
          <td>(</td>
484
 
          <td class="paramtype">QPainter *&nbsp;</td>
485
 
          <td class="paramname">          </td>
486
 
          <td>&nbsp;)&nbsp;</td>
487
 
          <td width="100%"><code> [protected, virtual]</code></td>
488
 
        </tr>
489
 
      </table>
490
 
</div>
491
 
<div class="memdoc">
492
 
 
493
 
<p>
494
 
Redraw the canvas, and focus rect. 
495
 
<p>
496
 
 
497
 
<p>
498
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00250">250</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
499
 
<p>
500
 
References <a class="el" href="qwt__plot_8cpp-source.html#l00190">QwtPlot::autoReplot()</a>, <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00281">drawCanvas()</a>, <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00350">drawFocusIndicator()</a>, <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00206">focusIndicator()</a>, <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00081">plot()</a>, and <a class="el" href="qwt__plot_8cpp-source.html#l00184">QwtPlot::setAutoReplot()</a>.
501
 
<p>
502
 
Referenced by <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00225">paintEvent()</a>.
503
 
</div>
504
 
</div><p>
505
 
<a class="anchor" name="4dc526ac5186fe253a158a392bbb4f40"></a><!-- doxytag: member="QwtPlotCanvas::drawFocusIndicator" ref="4dc526ac5186fe253a158a392bbb4f40" args="(QPainter *)" -->
506
 
<div class="memitem">
507
 
<div class="memproto">
508
 
      <table class="memname">
509
 
        <tr>
510
 
          <td class="memname">void QwtPlotCanvas::drawFocusIndicator           </td>
511
 
          <td>(</td>
512
 
          <td class="paramtype">QPainter *&nbsp;</td>
513
 
          <td class="paramname">          </td>
514
 
          <td>&nbsp;)&nbsp;</td>
515
 
          <td width="100%"><code> [protected, virtual]</code></td>
516
 
        </tr>
517
 
      </table>
518
 
</div>
519
 
<div class="memdoc">
520
 
 
521
 
<p>
522
 
Draw the focus indication. 
523
 
<p>
524
 
 
525
 
<p>
526
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00350">350</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
527
 
<p>
528
 
References <a class="el" href="qwt__painter_8cpp-source.html#l00580">QwtPainter::drawFocusRect()</a>.
529
 
<p>
530
 
Referenced by <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00250">drawContents()</a>.
531
 
</div>
532
 
</div><p>
533
 
<a class="anchor" name="48cd4c52f0524f1a21fa53201159aa7c"></a><!-- doxytag: member="QwtPlotCanvas::drawCanvas" ref="48cd4c52f0524f1a21fa53201159aa7c" args="(QPainter *painter=NULL)" -->
534
 
<div class="memitem">
535
 
<div class="memproto">
536
 
      <table class="memname">
537
 
        <tr>
538
 
          <td class="memname">void QwtPlotCanvas::drawCanvas           </td>
539
 
          <td>(</td>
540
 
          <td class="paramtype">QPainter *&nbsp;</td>
541
 
          <td class="paramname"> <em>painter</em> = <code>NULL</code>          </td>
542
 
          <td>&nbsp;)&nbsp;</td>
543
 
          <td width="100%"><code> [protected]</code></td>
544
 
        </tr>
545
 
      </table>
546
 
</div>
547
 
<div class="memdoc">
548
 
 
549
 
<p>
550
 
Draw the the canvas<p>
551
 
Paints all plot items to the contentsRect(), using <a class="el" href="class_qwt_plot.html#dd1b88d8312e2671652d23f8181f2433">QwtPlot::drawCanvas</a> and updates the paint cache.<p>
552
 
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#dd1b88d8312e2671652d23f8181f2433">QwtPlot::drawCanvas</a>, setPaintAttributes(), testPaintAttributes() </dd></dl>
553
 
 
554
 
<p>
555
 
Definition at line <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00281">281</a> of file <a class="el" href="qwt__plot__canvas_8cpp-source.html">qwt_plot_canvas.cpp</a>.
556
 
<p>
557
 
Referenced by <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00250">drawContents()</a>.
558
 
</div>
559
 
</div><p>
560
 
<hr size="1"><address style="align: right;"><small>Generated on Thu May 1 15:45:00 2008 for Qwt User's Guide by&nbsp;
561
 
<a href="http://www.doxygen.org/index.html">
562
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
563
 
</body>
564
 
</html>