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'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">
7
<!-- Generated by Doxygen 1.5.0 -->
10
<li><a href="index.html"><span>Main 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 Pages</span></a></li>
17
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
18
<li><a href="annotated.html"><span>Class List</span></a></li>
19
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
20
<li><a href="functions.html"><span>Class Members</span></a></li>
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>
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">
30
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
31
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#76066290edb594a71ee09be564563b0f">PaintAttribute</a> { <br>
32
<b>PaintCached</b> = 1,
34
<b>PaintPacked</b> = 2,
36
<b>PaintFiltered</b> = 1,
38
<b>ClipPolygons</b> = 2,
40
<b>PaintUsingTextFont</b> = 1,
42
<b>PaintUsingTextColor</b> = 2,
44
<b>PaintBackground</b> = 4
48
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a> { <br>
49
<b>NoFocusIndicator</b>,
51
<b>CanvasFocusIndicator</b>,
53
<b>ItemFocusIndicator</b>
57
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
58
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </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>
60
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#320320bbb1b511c0c37fb2452a7f4404">~QwtPlotCanvas</a> ()</td></tr>
62
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_plot.html">QwtPlot</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#1b720b99dc1b686f58e789b13f339f63">plot</a> ()</td></tr>
64
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#3ef5af082aa3da3d0f9daad051f11f68">plot</a> () const</td></tr>
66
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </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>
68
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_plot_canvas.html#89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#2fc7d682fe7d84ecb197205a59ea2e20">focusIndicator</a> () const</td></tr>
70
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </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>
72
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </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>
74
<tr><td class="memItemLeft" nowrap align="right" valign="top">QPixmap * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#9181564270ad961288f6651dcd08ad15">paintCache</a> ()</td></tr>
76
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QPixmap * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a2a967ee0156553c1b7e0e9c91f2afac">paintCache</a> () const</td></tr>
78
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#d03018bfc24f361e4ba359643c5c23b6">invalidatePaintCache</a> ()</td></tr>
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 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#97e862e6c27fd0f88c5eccc5e4e64096">hideEvent</a> (QHideEvent *)</td></tr>
84
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a8f1516817c578efd407d8dd574170ec">paintEvent</a> (QPaintEvent *)</td></tr>
86
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#3c6e3cddf7fe4f48db64459b01a37301">drawContents</a> (QPainter *)</td></tr>
88
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#4dc526ac5186fe253a158a392bbb4f40">drawFocusIndicator</a> (QPainter *)</td></tr>
90
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#48cd4c52f0524f1a21fa53201159aa7c">drawCanvas</a> (QPainter *painter=NULL)</td></tr>
93
<hr><h2>Member Enumeration Documentation</h2>
94
<a class="anchor" name="76066290edb594a71ee09be564563b0f"></a><!-- doxytag: member="QwtPlotCanvas::PaintAttribute" ref="76066290edb594a71ee09be564563b0f" args="" -->
96
<div class="memproto">
97
<table class="memname">
99
<td class="memname">enum <a class="el" href="class_qwt_plot_canvas.html#76066290edb594a71ee09be564563b0f">QwtPlotCanvas::PaintAttribute</a> </td>
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>
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>
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>
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>.
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">
128
<td class="memname">enum <a class="el" href="class_qwt_plot_canvas.html#89b44e4c28038a674ce211fe9ac2d7be">QwtPlotCanvas::FocusIndicator</a> </td>
138
<li>NoFocusIndicator<br>
139
Don't paint a focus indicator</li></ul>
142
<li>CanvasFocusIndicator<br>
143
The focus is related to the complete canvas. Paint the focus indicator using paintFocus()</li></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>
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>
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>.
155
<hr><h2>Constructor & 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">
161
<td class="memname">QwtPlotCanvas::QwtPlotCanvas </td>
163
<td class="paramtype"><a class="el" href="class_qwt_plot.html">QwtPlot</a> * </td>
164
<td class="paramname"> </td>
165
<td> ) </td>
166
<td width="100%"><code> [explicit]</code></td>
173
Sets a cross cursor, enables QwtPlotCanvas::PaintCached.
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>.
179
References <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00110">setPaintAttribute()</a>.
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">
187
<td class="memname">QwtPlotCanvas::~QwtPlotCanvas </td>
189
<td class="paramname"> </td>
190
<td> ) </td>
191
<td width="100%"><code> [virtual]</code></td>
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>.
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">
211
<td class="memname"><a class="el" href="class_qwt_plot.html">QwtPlot</a> * QwtPlotCanvas::plot </td>
213
<td class="paramname"> </td>
214
<td> ) </td>
215
<td width="100%"></td>
222
Return parent plot widget.
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>.
228
Referenced by <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00250">drawContents()</a>.
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">
236
<td class="memname">const <a class="el" href="class_qwt_plot.html">QwtPlot</a> * QwtPlotCanvas::plot </td>
238
<td class="paramname"> </td>
239
<td> ) </td>
240
<td width="100%"> const</td>
247
Return parent plot widget.
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>.
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">
259
<td class="memname">void QwtPlotCanvas::setFocusIndicator </td>
261
<td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html#89b44e4c28038a674ce211fe9ac2d7be">FocusIndicator</a> </td>
262
<td class="paramname"> <em>focusIndicator</em> </td>
263
<td> ) </td>
264
<td width="100%"></td>
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>
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>.
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">
283
<td class="memname"><a class="el" href="class_qwt_plot_canvas.html#89b44e4c28038a674ce211fe9ac2d7be">QwtPlotCanvas::FocusIndicator</a> QwtPlotCanvas::focusIndicator </td>
285
<td class="paramname"> </td>
286
<td> ) </td>
287
<td width="100%"> const</td>
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>
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>.
300
Referenced by <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00250">drawContents()</a>.
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">
308
<td class="memname">void QwtPlotCanvas::setPaintAttribute </td>
310
<td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html#76066290edb594a71ee09be564563b0f">PaintAttribute</a> </td>
311
<td class="paramname"> <em>attribute</em>, </td>
314
<td class="paramkey"></td>
316
<td class="paramtype">bool </td>
317
<td class="paramname"> <em>on</em> = <code>true</code></td><td> </td>
322
<td></td><td></td><td width="100%"></td>
329
Changing the paint attributes.
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> </td><td>Paint attribute </td></tr>
334
<tr><td valign="top"></td><td valign="top"><em>on</em> </td><td>On/Off</td></tr>
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>
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>.
343
Referenced by <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00050">QwtPlotCanvas()</a>.
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">
351
<td class="memname">bool QwtPlotCanvas::testPaintAttribute </td>
353
<td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html#76066290edb594a71ee09be564563b0f">PaintAttribute</a> </td>
354
<td class="paramname"> <em>attribute</em> </td>
355
<td> ) </td>
356
<td width="100%"> const</td>
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> </td><td>Paint attribute </td></tr>
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>
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>.
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>.
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">
383
<td class="memname">QPixmap * QwtPlotCanvas::paintCache </td>
385
<td class="paramname"> </td>
386
<td> ) </td>
387
<td width="100%"></td>
394
Return the paint cache, might be null.
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>.
400
Referenced by <a class="el" href="qwt__plot__curve_8cpp-source.html#l00483">QwtPlotCurve::draw()</a>.
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">
408
<td class="memname">const QPixmap * QwtPlotCanvas::paintCache </td>
410
<td class="paramname"> </td>
411
<td> ) </td>
412
<td width="100%"> const</td>
419
Return the paint cache, might be null.
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>.
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">
431
<td class="memname">void QwtPlotCanvas::invalidatePaintCache </td>
433
<td class="paramname"> </td>
434
<td> ) </td>
435
<td width="100%"></td>
442
Invalidate the internal paint cache.
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>.
448
Referenced by <a class="el" href="qwt__plot_8cpp-source.html#l00363">QwtPlot::replot()</a>.
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">
456
<td class="memname">void QwtPlotCanvas::paintEvent </td>
458
<td class="paramtype">QPaintEvent * </td>
459
<td class="paramname"> </td>
460
<td> ) </td>
461
<td width="100%"><code> [protected, virtual]</code></td>
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>.
474
References <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00250">drawContents()</a>.
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">
482
<td class="memname">void QwtPlotCanvas::drawContents </td>
484
<td class="paramtype">QPainter * </td>
485
<td class="paramname"> </td>
486
<td> ) </td>
487
<td width="100%"><code> [protected, virtual]</code></td>
494
Redraw the canvas, and focus rect.
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>.
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>.
502
Referenced by <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00225">paintEvent()</a>.
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">
510
<td class="memname">void QwtPlotCanvas::drawFocusIndicator </td>
512
<td class="paramtype">QPainter * </td>
513
<td class="paramname"> </td>
514
<td> ) </td>
515
<td width="100%"><code> [protected, virtual]</code></td>
522
Draw the focus indication.
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>.
528
References <a class="el" href="qwt__painter_8cpp-source.html#l00580">QwtPainter::drawFocusRect()</a>.
530
Referenced by <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00250">drawContents()</a>.
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">
538
<td class="memname">void QwtPlotCanvas::drawCanvas </td>
540
<td class="paramtype">QPainter * </td>
541
<td class="paramname"> <em>painter</em> = <code>NULL</code> </td>
542
<td> ) </td>
543
<td width="100%"><code> [protected]</code></td>
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>
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>.
557
Referenced by <a class="el" href="qwt__plot__canvas_8cpp-source.html#l00250">drawContents()</a>.
560
<hr size="1"><address style="align: right;"><small>Generated on Thu May 1 15:45:00 2008 for Qwt User's Guide by
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>