qwt__plot_8h_source.html
24.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<!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's Guide: qwt_plot.h Source File</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 <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 Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
</ul>
</div>
<div class="header">
<div class="headertitle">
<h1>qwt_plot.h</h1> </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************</span>
<a name="l00002"></a>00002 <span class="comment"> * Qwt Widget Library</span>
<a name="l00003"></a>00003 <span class="comment"> * Copyright (C) 1997 Josef Wilgen</span>
<a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2002 Uwe Rathmann</span>
<a name="l00005"></a>00005 <span class="comment"> *</span>
<a name="l00006"></a>00006 <span class="comment"> * This library is free software; you can redistribute it and/or</span>
<a name="l00007"></a>00007 <span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span>
<a name="l00008"></a>00008 <span class="comment"> *****************************************************************************/</span>
<a name="l00009"></a>00009
<a name="l00010"></a>00010 <span class="preprocessor">#ifndef QWT_PLOT_H</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#define QWT_PLOT_H</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span>
<a name="l00013"></a>00013 <span class="preprocessor">#include "qwt_global.h"</span>
<a name="l00014"></a>00014 <span class="preprocessor">#include "qwt_text.h"</span>
<a name="l00015"></a>00015 <span class="preprocessor">#include "qwt_plot_dict.h"</span>
<a name="l00016"></a>00016 <span class="preprocessor">#include "qwt_scale_map.h"</span>
<a name="l00017"></a>00017 <span class="preprocessor">#include "qwt_interval.h"</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include <qframe.h></span>
<a name="l00019"></a>00019
<a name="l00020"></a>00020 <span class="keyword">class </span><a class="code" href="class_qwt_plot_layout.html" title="Layout engine for QwtPlot.">QwtPlotLayout</a>;
<a name="l00021"></a>00021 <span class="keyword">class </span><a class="code" href="class_qwt_legend.html" title="The legend widget.">QwtLegend</a>;
<a name="l00022"></a>00022 <span class="keyword">class </span><a class="code" href="class_qwt_scale_widget.html" title="A Widget which contains a scale.">QwtScaleWidget</a>;
<a name="l00023"></a>00023 <span class="keyword">class </span><a class="code" href="class_qwt_scale_engine.html" title="Base class for scale engines.">QwtScaleEngine</a>;
<a name="l00024"></a>00024 <span class="keyword">class </span><a class="code" href="class_qwt_scale_div.html" title="A class representing a scale division.">QwtScaleDiv</a>;
<a name="l00025"></a>00025 <span class="keyword">class </span><a class="code" href="class_qwt_scale_draw.html" title="A class for drawing scales.">QwtScaleDraw</a>;
<a name="l00026"></a>00026 <span class="keyword">class </span><a class="code" href="class_qwt_text_label.html" title="A Widget which displays a QwtText.">QwtTextLabel</a>;
<a name="l00027"></a>00027 <span class="keyword">class </span><a class="code" href="class_qwt_plot_canvas.html" title="Canvas of a QwtPlot.">QwtPlotCanvas</a>;
<a name="l00028"></a>00028
<a name="l00070"></a><a class="code" href="class_qwt_plot.html">00070</a> <span class="keyword">class </span>QWT_EXPORT <a class="code" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>: <span class="keyword">public</span> QFrame, <span class="keyword">public</span> <a class="code" href="class_qwt_plot_dict.html" title="A dictionary for plot items.">QwtPlotDict</a>
<a name="l00071"></a>00071 {
<a name="l00072"></a>00072 Q_OBJECT
<a name="l00073"></a>00073 Q_PROPERTY( QString propertiesDocument
<a name="l00074"></a>00074 READ grabProperties WRITE applyProperties )
<a name="l00075"></a>00075
<a name="l00076"></a>00076 <span class="keyword">public</span>:
<a name="l00078"></a><a class="code" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271">00078</a> <span class="keyword">enum</span> <a class="code" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271" title="Axis index.">Axis</a>
<a name="l00079"></a>00079 {
<a name="l00081"></a><a class="code" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271a1bb1fbc11e31ebfa8bf72356f6837b17">00081</a> <a class="code" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271a1bb1fbc11e31ebfa8bf72356f6837b17" title="Y axis left of the canvas.">yLeft</a>,
<a name="l00082"></a>00082
<a name="l00084"></a><a class="code" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271a1de23b30c6b0c08aefe06d6265b65155">00084</a> <a class="code" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271a1de23b30c6b0c08aefe06d6265b65155" title="Y axis right of the canvas.">yRight</a>,
<a name="l00085"></a>00085
<a name="l00087"></a><a class="code" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271ad5566960e78f2473c1a1e853def4c4ac">00087</a> <a class="code" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271ad5566960e78f2473c1a1e853def4c4ac" title="X axis below the canvas.">xBottom</a>,
<a name="l00088"></a>00088
<a name="l00090"></a><a class="code" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271ae51eb7525eb3f9f806e659614018beb8">00090</a> <a class="code" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271ae51eb7525eb3f9f806e659614018beb8" title="X axis above the canvas.">xTop</a>,
<a name="l00091"></a>00091
<a name="l00093"></a><a class="code" href="class_qwt_plot.html#a81df699dcf9dde0752c0726b5f31e271aea62036dfd48ee0f9450718592614892">00093</a> axisCnt
<a name="l00094"></a>00094 };
<a name="l00095"></a>00095
<a name="l00103"></a><a class="code" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661b">00103</a> <span class="keyword">enum</span> <a class="code" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661b">LegendPosition</a>
<a name="l00104"></a>00104 {
<a name="l00106"></a><a class="code" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661ba38b51536a196582bd1f7658c0828eb18">00106</a> <a class="code" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661ba38b51536a196582bd1f7658c0828eb18" title="The legend will be left from the QwtPlot::yLeft axis.">LeftLegend</a>,
<a name="l00107"></a>00107
<a name="l00109"></a><a class="code" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661ba5273f8002504c24f9dae6ce09b08f03c">00109</a> <a class="code" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661ba5273f8002504c24f9dae6ce09b08f03c" title="The legend will be right from the QwtPlot::yRight axis.">RightLegend</a>,
<a name="l00110"></a>00110
<a name="l00112"></a><a class="code" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661ba8b863705308d89b388732f186be15fb5">00112</a> <a class="code" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661ba8b863705308d89b388732f186be15fb5" title="The legend will be below QwtPlot::xBottom axis.">BottomLegend</a>,
<a name="l00113"></a>00113
<a name="l00115"></a><a class="code" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661ba0ee6820a1e8b56737958b738ca23ae34">00115</a> <a class="code" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661ba0ee6820a1e8b56737958b738ca23ae34" title="The legend will be between QwtPlot::xTop axis and the title.">TopLegend</a>,
<a name="l00116"></a>00116
<a name="l00123"></a><a class="code" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661baaac31f6968672ea56773f6db2273af3b">00123</a> ExternalLegend
<a name="l00124"></a>00124 };
<a name="l00125"></a>00125
<a name="l00126"></a>00126 <span class="keyword">explicit</span> <a class="code" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>( QWidget * = NULL );
<a name="l00127"></a>00127 <span class="keyword">explicit</span> <a class="code" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>( <span class="keyword">const</span> <a class="code" href="class_qwt_text.html" title="A class representing a text.">QwtText</a> &title, QWidget *p = NULL );
<a name="l00128"></a>00128
<a name="l00129"></a>00129 <span class="keyword">virtual</span> ~<a class="code" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>();
<a name="l00130"></a>00130
<a name="l00131"></a>00131 <span class="keywordtype">void</span> applyProperties( <span class="keyword">const</span> QString & );
<a name="l00132"></a>00132 QString grabProperties() <span class="keyword">const</span>;
<a name="l00133"></a>00133
<a name="l00134"></a>00134 <span class="keywordtype">void</span> setAutoReplot( <span class="keywordtype">bool</span> tf = <span class="keyword">true</span> );
<a name="l00135"></a>00135 <span class="keywordtype">bool</span> autoReplot() <span class="keyword">const</span>;
<a name="l00136"></a>00136
<a name="l00137"></a>00137 <span class="comment">// Layout</span>
<a name="l00138"></a>00138
<a name="l00139"></a>00139 <a class="code" href="class_qwt_plot_layout.html" title="Layout engine for QwtPlot.">QwtPlotLayout</a> *plotLayout();
<a name="l00140"></a>00140 <span class="keyword">const</span> <a class="code" href="class_qwt_plot_layout.html" title="Layout engine for QwtPlot.">QwtPlotLayout</a> *plotLayout() <span class="keyword">const</span>;
<a name="l00141"></a>00141
<a name="l00142"></a>00142 <span class="comment">// Title</span>
<a name="l00143"></a>00143
<a name="l00144"></a>00144 <span class="keywordtype">void</span> setTitle( <span class="keyword">const</span> QString & );
<a name="l00145"></a>00145 <span class="keywordtype">void</span> setTitle( <span class="keyword">const</span> <a class="code" href="class_qwt_text.html" title="A class representing a text.">QwtText</a> &t );
<a name="l00146"></a>00146 <a class="code" href="class_qwt_text.html" title="A class representing a text.">QwtText</a> title() <span class="keyword">const</span>;
<a name="l00147"></a>00147
<a name="l00148"></a>00148 <a class="code" href="class_qwt_text_label.html" title="A Widget which displays a QwtText.">QwtTextLabel</a> *titleLabel();
<a name="l00149"></a>00149 <span class="keyword">const</span> <a class="code" href="class_qwt_text_label.html" title="A Widget which displays a QwtText.">QwtTextLabel</a> *titleLabel() <span class="keyword">const</span>;
<a name="l00150"></a>00150
<a name="l00151"></a>00151 <span class="comment">// Canvas</span>
<a name="l00152"></a>00152
<a name="l00153"></a>00153 <a class="code" href="class_qwt_plot_canvas.html" title="Canvas of a QwtPlot.">QwtPlotCanvas</a> *canvas();
<a name="l00154"></a>00154 <span class="keyword">const</span> <a class="code" href="class_qwt_plot_canvas.html" title="Canvas of a QwtPlot.">QwtPlotCanvas</a> *canvas() <span class="keyword">const</span>;
<a name="l00155"></a>00155
<a name="l00156"></a>00156 <span class="keywordtype">void</span> setCanvasBackground( <span class="keyword">const</span> QBrush & );
<a name="l00157"></a>00157 QBrush canvasBackground() <span class="keyword">const</span>;
<a name="l00158"></a>00158
<a name="l00159"></a>00159 <span class="keywordtype">void</span> setCanvasLineWidth( <span class="keywordtype">int</span> w );
<a name="l00160"></a>00160 <span class="keywordtype">int</span> canvasLineWidth() <span class="keyword">const</span>;
<a name="l00161"></a>00161
<a name="l00162"></a>00162 <span class="keyword">virtual</span> <a class="code" href="class_qwt_scale_map.html" title="A scale map.">QwtScaleMap</a> canvasMap( <span class="keywordtype">int</span> axisId ) <span class="keyword">const</span>;
<a name="l00163"></a>00163
<a name="l00164"></a>00164 <span class="keywordtype">double</span> invTransform( <span class="keywordtype">int</span> axisId, <span class="keywordtype">int</span> pos ) <span class="keyword">const</span>;
<a name="l00165"></a>00165 <span class="keywordtype">double</span> transform( <span class="keywordtype">int</span> axisId, <span class="keywordtype">double</span> value ) <span class="keyword">const</span>;
<a name="l00166"></a>00166
<a name="l00167"></a>00167 <span class="comment">// Axes</span>
<a name="l00168"></a>00168
<a name="l00169"></a>00169 <a class="code" href="class_qwt_scale_engine.html" title="Base class for scale engines.">QwtScaleEngine</a> *axisScaleEngine( <span class="keywordtype">int</span> axisId );
<a name="l00170"></a>00170 <span class="keyword">const</span> <a class="code" href="class_qwt_scale_engine.html" title="Base class for scale engines.">QwtScaleEngine</a> *axisScaleEngine( <span class="keywordtype">int</span> axisId ) <span class="keyword">const</span>;
<a name="l00171"></a>00171 <span class="keywordtype">void</span> setAxisScaleEngine( <span class="keywordtype">int</span> axisId, <a class="code" href="class_qwt_scale_engine.html" title="Base class for scale engines.">QwtScaleEngine</a> * );
<a name="l00172"></a>00172
<a name="l00173"></a>00173 <span class="keywordtype">void</span> setAxisAutoScale( <span class="keywordtype">int</span> axisId, <span class="keywordtype">bool</span> on = <span class="keyword">true</span> );
<a name="l00174"></a>00174 <span class="keywordtype">bool</span> axisAutoScale( <span class="keywordtype">int</span> axisId ) <span class="keyword">const</span>;
<a name="l00175"></a>00175
<a name="l00176"></a>00176 <span class="keywordtype">void</span> enableAxis( <span class="keywordtype">int</span> axisId, <span class="keywordtype">bool</span> tf = <span class="keyword">true</span> );
<a name="l00177"></a>00177 <span class="keywordtype">bool</span> axisEnabled( <span class="keywordtype">int</span> axisId ) <span class="keyword">const</span>;
<a name="l00178"></a>00178
<a name="l00179"></a>00179 <span class="keywordtype">void</span> setAxisFont( <span class="keywordtype">int</span> axisId, <span class="keyword">const</span> QFont &f );
<a name="l00180"></a>00180 QFont axisFont( <span class="keywordtype">int</span> axisId ) <span class="keyword">const</span>;
<a name="l00181"></a>00181
<a name="l00182"></a>00182 <span class="keywordtype">void</span> setAxisScale( <span class="keywordtype">int</span> axisId, <span class="keywordtype">double</span> min, <span class="keywordtype">double</span> max, <span class="keywordtype">double</span> step = 0 );
<a name="l00183"></a>00183 <span class="keywordtype">void</span> setAxisScaleDiv( <span class="keywordtype">int</span> axisId, <span class="keyword">const</span> <a class="code" href="class_qwt_scale_div.html" title="A class representing a scale division.">QwtScaleDiv</a> & );
<a name="l00184"></a>00184 <span class="keywordtype">void</span> setAxisScaleDraw( <span class="keywordtype">int</span> axisId, <a class="code" href="class_qwt_scale_draw.html" title="A class for drawing scales.">QwtScaleDraw</a> * );
<a name="l00185"></a>00185
<a name="l00186"></a>00186 <span class="keywordtype">double</span> axisStepSize( <span class="keywordtype">int</span> axisId ) <span class="keyword">const</span>;
<a name="l00187"></a>00187 <a class="code" href="class_qwt_interval.html" title="A class representing an interval.">QwtInterval</a> axisInterval( <span class="keywordtype">int</span> axisId ) <span class="keyword">const</span>;
<a name="l00188"></a>00188
<a name="l00189"></a>00189 <span class="keyword">const</span> <a class="code" href="class_qwt_scale_div.html" title="A class representing a scale division.">QwtScaleDiv</a> *axisScaleDiv( <span class="keywordtype">int</span> axisId ) <span class="keyword">const</span>;
<a name="l00190"></a>00190 <a class="code" href="class_qwt_scale_div.html" title="A class representing a scale division.">QwtScaleDiv</a> *axisScaleDiv( <span class="keywordtype">int</span> axisId );
<a name="l00191"></a>00191
<a name="l00192"></a>00192 <span class="keyword">const</span> <a class="code" href="class_qwt_scale_draw.html" title="A class for drawing scales.">QwtScaleDraw</a> *axisScaleDraw( <span class="keywordtype">int</span> axisId ) <span class="keyword">const</span>;
<a name="l00193"></a>00193 <a class="code" href="class_qwt_scale_draw.html" title="A class for drawing scales.">QwtScaleDraw</a> *axisScaleDraw( <span class="keywordtype">int</span> axisId );
<a name="l00194"></a>00194
<a name="l00195"></a>00195 <span class="keyword">const</span> <a class="code" href="class_qwt_scale_widget.html" title="A Widget which contains a scale.">QwtScaleWidget</a> *axisWidget( <span class="keywordtype">int</span> axisId ) <span class="keyword">const</span>;
<a name="l00196"></a>00196 <a class="code" href="class_qwt_scale_widget.html" title="A Widget which contains a scale.">QwtScaleWidget</a> *axisWidget( <span class="keywordtype">int</span> axisId );
<a name="l00197"></a>00197
<a name="l00198"></a>00198 <span class="keywordtype">void</span> setAxisLabelAlignment( <span class="keywordtype">int</span> axisId, Qt::Alignment );
<a name="l00199"></a>00199 <span class="keywordtype">void</span> setAxisLabelRotation( <span class="keywordtype">int</span> axisId, <span class="keywordtype">double</span> rotation );
<a name="l00200"></a>00200
<a name="l00201"></a>00201 <span class="keywordtype">void</span> setAxisTitle( <span class="keywordtype">int</span> axisId, <span class="keyword">const</span> QString & );
<a name="l00202"></a>00202 <span class="keywordtype">void</span> setAxisTitle( <span class="keywordtype">int</span> axisId, <span class="keyword">const</span> <a class="code" href="class_qwt_text.html" title="A class representing a text.">QwtText</a> & );
<a name="l00203"></a>00203 <a class="code" href="class_qwt_text.html" title="A class representing a text.">QwtText</a> axisTitle( <span class="keywordtype">int</span> axisId ) <span class="keyword">const</span>;
<a name="l00204"></a>00204
<a name="l00205"></a>00205 <span class="keywordtype">void</span> setAxisMaxMinor( <span class="keywordtype">int</span> axisId, <span class="keywordtype">int</span> maxMinor );
<a name="l00206"></a>00206 <span class="keywordtype">int</span> axisMaxMinor( <span class="keywordtype">int</span> axisId ) <span class="keyword">const</span>;
<a name="l00207"></a>00207
<a name="l00208"></a>00208 <span class="keywordtype">void</span> setAxisMaxMajor( <span class="keywordtype">int</span> axisId, <span class="keywordtype">int</span> maxMajor );
<a name="l00209"></a>00209 <span class="keywordtype">int</span> axisMaxMajor( <span class="keywordtype">int</span> axisId ) <span class="keyword">const</span>;
<a name="l00210"></a>00210
<a name="l00211"></a>00211 <span class="comment">// Legend</span>
<a name="l00212"></a>00212
<a name="l00213"></a>00213 <span class="keywordtype">void</span> insertLegend( <a class="code" href="class_qwt_legend.html" title="The legend widget.">QwtLegend</a> *, LegendPosition = <a class="code" href="class_qwt_plot.html#a31aacb65b5c049dde8c34a0d8482661ba5273f8002504c24f9dae6ce09b08f03c" title="The legend will be right from the QwtPlot::yRight axis.">QwtPlot::RightLegend</a>,
<a name="l00214"></a>00214 <span class="keywordtype">double</span> ratio = -1.0 );
<a name="l00215"></a>00215
<a name="l00216"></a>00216 <a class="code" href="class_qwt_legend.html" title="The legend widget.">QwtLegend</a> *legend();
<a name="l00217"></a>00217 <span class="keyword">const</span> <a class="code" href="class_qwt_legend.html" title="The legend widget.">QwtLegend</a> *legend() <span class="keyword">const</span>;
<a name="l00218"></a>00218
<a name="l00219"></a>00219 <span class="comment">// Misc</span>
<a name="l00220"></a>00220
<a name="l00221"></a>00221 <span class="keyword">virtual</span> QSize sizeHint() <span class="keyword">const</span>;
<a name="l00222"></a>00222 <span class="keyword">virtual</span> QSize minimumSizeHint() <span class="keyword">const</span>;
<a name="l00223"></a>00223
<a name="l00224"></a>00224 <span class="keyword">virtual</span> <span class="keywordtype">void</span> updateLayout();
<a name="l00225"></a>00225 <span class="keyword">virtual</span> <span class="keywordtype">void</span> drawCanvas( QPainter * );
<a name="l00226"></a>00226
<a name="l00227"></a>00227 <span class="keywordtype">void</span> updateAxes();
<a name="l00228"></a>00228
<a name="l00229"></a>00229 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> event( QEvent * );
<a name="l00230"></a>00230
<a name="l00231"></a>00231 <span class="keyword">virtual</span> <span class="keywordtype">void</span> drawItems( QPainter *, <span class="keyword">const</span> QRectF &,
<a name="l00232"></a>00232 <span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html" title="A scale map.">QwtScaleMap</a> maps[axisCnt] ) <span class="keyword">const</span>;
<a name="l00233"></a>00233
<a name="l00234"></a>00234 Q_SIGNALS:
<a name="l00245"></a>00245 <span class="keywordtype">void</span> legendClicked( <a class="code" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas.">QwtPlotItem</a> *plotItem );
<a name="l00246"></a>00246
<a name="l00259"></a>00259 <span class="keywordtype">void</span> legendChecked( <a class="code" href="class_qwt_plot_item.html" title="Base class for items on the plot canvas.">QwtPlotItem</a> *plotItem, <span class="keywordtype">bool</span> on );
<a name="l00260"></a>00260
<a name="l00261"></a>00261 <span class="keyword">public</span> Q_SLOTS:
<a name="l00262"></a>00262 <span class="keyword">virtual</span> <span class="keywordtype">void</span> replot();
<a name="l00263"></a>00263 <span class="keywordtype">void</span> autoRefresh();
<a name="l00264"></a>00264
<a name="l00265"></a>00265 <span class="keyword">protected</span> Q_SLOTS:
<a name="l00266"></a>00266 <span class="keyword">virtual</span> <span class="keywordtype">void</span> legendItemClicked();
<a name="l00267"></a>00267 <span class="keyword">virtual</span> <span class="keywordtype">void</span> legendItemChecked( <span class="keywordtype">bool</span> );
<a name="l00268"></a>00268
<a name="l00269"></a>00269 <span class="keyword">protected</span>:
<a name="l00270"></a>00270 <span class="keyword">static</span> <span class="keywordtype">bool</span> axisValid( <span class="keywordtype">int</span> axisId );
<a name="l00271"></a>00271
<a name="l00272"></a>00272 <span class="keyword">virtual</span> <span class="keywordtype">void</span> updateTabOrder();
<a name="l00273"></a>00273
<a name="l00274"></a>00274 <span class="keyword">virtual</span> <span class="keywordtype">void</span> resizeEvent( QResizeEvent *e );
<a name="l00275"></a>00275
<a name="l00276"></a>00276 <span class="keyword">private</span>:
<a name="l00277"></a>00277 <span class="keywordtype">void</span> initAxesData();
<a name="l00278"></a>00278 <span class="keywordtype">void</span> deleteAxesData();
<a name="l00279"></a>00279 <span class="keywordtype">void</span> updateScaleDiv();
<a name="l00280"></a>00280
<a name="l00281"></a>00281 <span class="keywordtype">void</span> initPlot( <span class="keyword">const</span> <a class="code" href="class_qwt_text.html" title="A class representing a text.">QwtText</a> &title );
<a name="l00282"></a>00282
<a name="l00283"></a>00283 <span class="keyword">class </span>AxisData;
<a name="l00284"></a>00284 AxisData *d_axisData[axisCnt];
<a name="l00285"></a>00285
<a name="l00286"></a>00286 <span class="keyword">class </span>PrivateData;
<a name="l00287"></a>00287 PrivateData *d_data;
<a name="l00288"></a>00288 };
<a name="l00289"></a>00289
<a name="l00290"></a>00290 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>