~l3on/ubuntu/oneiric/qwt/fix-921430

« back to all changes in this revision

Viewing changes to qwt-5.0.2/doc/man/man3/QwtPlotZoomer.3

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2007-10-05 15:20:41 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20071005152041-qmybqh4fj9jejyo2
Tags: 5.0.2-2
* Handle nostrip build option. (Closes: #437877)
* Build libqwt5-doc package in binary-indep target. (Closes: #443110)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH "QwtPlotZoomer" 3 "11 Jun 2007" "Version 5.0.2" "Qwt User's Guide" \" -*- nroff -*-
 
2
.ad l
 
3
.nh
 
4
.SH NAME
 
5
QwtPlotZoomer \- 
 
6
.SH SYNOPSIS
 
7
.br
 
8
.PP
 
9
Inherits \fBQwtPlotPicker\fP.
 
10
.PP
 
11
.SH "Detailed Description"
 
12
.PP 
 
13
\fBQwtPlotZoomer\fP provides stacked zooming for a plot widget. 
 
14
 
 
15
\fBQwtPlotZoomer\fP offers rubberband selections on the plot canvas, translating the selected rectangles into plot coordinates and adjusting the axes to them. Zooming can repeated as often as possible, limited only by \fBmaxStackDepth()\fP or \fBminZoomSize()\fP. Each rectangle is pushed on a stack.
 
16
.PP
 
17
Zoom rectangles can be selected depending on \fBselectionFlags()\fP using the mouse or keyboard (\fBQwtEventPattern\fP, \fBQwtPickerMachine\fP). QwtEventPattern::MouseSelect3/QwtEventPatternKeyUndo, or QwtEventPattern::MouseSelect6/QwtEventPatternKeyRedo walk up and down the zoom stack. QwtEventPattern::MouseSelect2 or QwtEventPattern::KeyHome unzoom to the initial size.
 
18
.PP
 
19
\fBQwtPlotZoomer\fP is tailored for plots with one x and y axis, but it is allowed to attach a second \fBQwtPlotZoomer\fP for the other axes.
 
20
.PP
 
21
\fBNote:\fP
 
22
.RS 4
 
23
The realtime example includes an derived zoomer class that adds scrollbars to the plot canvas. 
 
24
.RE
 
25
.PP
 
26
 
 
27
.PP
 
28
Definition at line 49 of file qwt_plot_zoomer.h.
 
29
.SS "Public Slots"
 
30
 
 
31
.in +1c
 
32
.ti -1c
 
33
.RI "void \fBmoveBy\fP (double x, double y)"
 
34
.br
 
35
.ti -1c
 
36
.RI "virtual void \fBmove\fP (double x, double y)"
 
37
.br
 
38
.ti -1c
 
39
.RI "virtual void \fBzoom\fP (const QwtDoubleRect &)"
 
40
.br
 
41
.ti -1c
 
42
.RI "virtual void \fBzoom\fP (int up)"
 
43
.br
 
44
.in -1c
 
45
.SS "Signals"
 
46
 
 
47
.in +1c
 
48
.ti -1c
 
49
.RI "void \fBzoomed\fP (const QwtDoubleRect &rect)"
 
50
.br
 
51
.in -1c
 
52
.SS "Public Member Functions"
 
53
 
 
54
.in +1c
 
55
.ti -1c
 
56
.RI "\fBQwtPlotZoomer\fP (\fBQwtPlotCanvas\fP *, bool doReplot=true)"
 
57
.br
 
58
.ti -1c
 
59
.RI "\fBQwtPlotZoomer\fP (int xAxis, int yAxis, \fBQwtPlotCanvas\fP *, bool doReplot=true)"
 
60
.br
 
61
.ti -1c
 
62
.RI "\fBQwtPlotZoomer\fP (int xAxis, int yAxis, int selectionFlags, \fBDisplayMode\fP trackerMode, \fBQwtPlotCanvas\fP *, bool doReplot=true)"
 
63
.br
 
64
.ti -1c
 
65
.RI "virtual \fB~QwtPlotZoomer\fP ()"
 
66
.br
 
67
.ti -1c
 
68
.RI "virtual void \fBsetZoomBase\fP ()"
 
69
.br
 
70
.ti -1c
 
71
.RI "virtual void \fBsetZoomBase\fP (const QwtDoubleRect &)"
 
72
.br
 
73
.ti -1c
 
74
.RI "QwtDoubleRect \fBzoomBase\fP () const "
 
75
.br
 
76
.ti -1c
 
77
.RI "QwtDoubleRect \fBzoomRect\fP () const "
 
78
.br
 
79
.ti -1c
 
80
.RI "virtual void \fBsetAxis\fP (int xAxis, int yAxis)"
 
81
.br
 
82
.ti -1c
 
83
.RI "void \fBsetMaxStackDepth\fP (int)"
 
84
.br
 
85
.ti -1c
 
86
.RI "int \fBmaxStackDepth\fP () const "
 
87
.br
 
88
.ti -1c
 
89
.RI "const QStack< QwtDoubleRect > & \fBzoomStack\fP () const "
 
90
.br
 
91
.ti -1c
 
92
.RI "uint \fBzoomRectIndex\fP () const "
 
93
.br
 
94
.ti -1c
 
95
.RI "virtual void \fBsetSelectionFlags\fP (int)"
 
96
.br
 
97
.in -1c
 
98
.SS "Protected Member Functions"
 
99
 
 
100
.in +1c
 
101
.ti -1c
 
102
.RI "virtual void \fBrescale\fP ()"
 
103
.br
 
104
.ti -1c
 
105
.RI "virtual QwtDoubleSize \fBminZoomSize\fP () const "
 
106
.br
 
107
.ti -1c
 
108
.RI "virtual void \fBwidgetMouseReleaseEvent\fP (QMouseEvent *)"
 
109
.br
 
110
.ti -1c
 
111
.RI "virtual void \fBwidgetKeyPressEvent\fP (QKeyEvent *)"
 
112
.br
 
113
.ti -1c
 
114
.RI "virtual void \fBbegin\fP ()"
 
115
.br
 
116
.ti -1c
 
117
.RI "virtual bool \fBend\fP (bool ok=true)"
 
118
.br
 
119
.ti -1c
 
120
.RI "virtual bool \fBaccept\fP (QwtPolygon &) const "
 
121
.br
 
122
.in -1c
 
123
.SH "Constructor & Destructor Documentation"
 
124
.PP 
 
125
.SS "QwtPlotZoomer::QwtPlotZoomer (\fBQwtPlotCanvas\fP * canvas, bool doReplot = \fCtrue\fP)\fC [explicit]\fP"
 
126
.PP
 
127
Create a zoomer for a plot canvas. 
 
128
.PP
 
129
The zoomer is set to those x- and y-axis of the parent plot of the canvas that are enabled. If both or no x-axis are enabled, the picker is set to QwtPlot::xBottom. If both or no y-axis are enabled, it is set to QwtPlot::yLeft.
 
130
.PP
 
131
The \fBselectionFlags()\fP are set to QwtPicker::RectSelection & QwtPicker::ClickSelection, the tracker mode to QwtPicker::ActiveOnly.
 
132
.PP
 
133
\fBParameters:\fP
 
134
.RS 4
 
135
\fIcanvas\fP Plot canvas to observe, also the parent object 
 
136
.br
 
137
\fIdoReplot\fP Call replot for the attached plot before initializing the zoomer with its scales. This might be necessary, when the plot is in a state with pending scale changes.
 
138
.RE
 
139
.PP
 
140
\fBSee also:\fP
 
141
.RS 4
 
142
\fBQwtPlot::autoReplot()\fP, \fBQwtPlot::replot()\fP, QwtPlotPicker::setZoomBase() 
 
143
.RE
 
144
.PP
 
145
 
 
146
.PP
 
147
Definition at line 51 of file qwt_plot_zoomer.cpp.
 
148
.PP
 
149
References QwtPlotPicker::canvas().
 
150
.SS "QwtPlotZoomer::QwtPlotZoomer (int xAxis, int yAxis, \fBQwtPlotCanvas\fP * canvas, bool doReplot = \fCtrue\fP)\fC [explicit]\fP"
 
151
.PP
 
152
Create a zoomer for a plot canvas. 
 
153
.PP
 
154
The \fBselectionFlags()\fP are set to QwtPicker::RectSelection & QwtPicker::ClickSelection, the tracker mode to QwtPicker::ActiveOnly.
 
155
.PP
 
156
\fBParameters:\fP
 
157
.RS 4
 
158
\fIxAxis\fP X axis of the zoomer 
 
159
.br
 
160
\fIyAxis\fP Y axis of the zoomer 
 
161
.br
 
162
\fIcanvas\fP Plot canvas to observe, also the parent object 
 
163
.br
 
164
\fIdoReplot\fP Call replot for the attached plot before initializing the zoomer with its scales. This might be necessary, when the plot is in a state with pending scale changes.
 
165
.RE
 
166
.PP
 
167
\fBSee also:\fP
 
168
.RS 4
 
169
\fBQwtPlot::autoReplot()\fP, \fBQwtPlot::replot()\fP, QwtPlotPicker::setZoomBase() 
 
170
.RE
 
171
.PP
 
172
 
 
173
.PP
 
174
Definition at line 75 of file qwt_plot_zoomer.cpp.
 
175
.PP
 
176
References QwtPlotPicker::canvas().
 
177
.SS "QwtPlotZoomer::QwtPlotZoomer (int xAxis, int yAxis, int selectionFlags, \fBDisplayMode\fP trackerMode, \fBQwtPlotCanvas\fP * canvas, bool doReplot = \fCtrue\fP)\fC [explicit]\fP"
 
178
.PP
 
179
Create a zoomer for a plot canvas.
 
180
.PP
 
181
\fBParameters:\fP
 
182
.RS 4
 
183
\fIxAxis\fP X axis of the zoomer 
 
184
.br
 
185
\fIyAxis\fP Y axis of the zoomer 
 
186
.br
 
187
\fIselectionFlags\fP Or'd value of \fBQwtPicker::RectSelectionType\fP and \fBQwtPicker::SelectionMode\fP. QwtPicker::RectSelection will be auto added. 
 
188
.br
 
189
\fItrackerMode\fP Tracker mode 
 
190
.br
 
191
\fIcanvas\fP Plot canvas to observe, also the parent object 
 
192
.br
 
193
\fIdoReplot\fP Call replot for the attached plot before initializing the zoomer with its scales. This might be necessary, when the plot is in a state with pending scale changes.
 
194
.RE
 
195
.PP
 
196
\fBSee also:\fP
 
197
.RS 4
 
198
\fBQwtPicker\fP, \fBQwtPicker::setSelectionFlags()\fP, \fBQwtPicker::setRubberBand()\fP, \fBQwtPicker::setTrackerMode\fP
 
199
.PP
 
200
\fBQwtPlot::autoReplot()\fP, \fBQwtPlot::replot()\fP, \fBsetZoomBase()\fP 
 
201
.RE
 
202
.PP
 
203
 
 
204
.PP
 
205
Definition at line 103 of file qwt_plot_zoomer.cpp.
 
206
.PP
 
207
References QwtPlotPicker::canvas().
 
208
.SH "Member Function Documentation"
 
209
.PP 
 
210
.SS "bool QwtPlotZoomer::accept (QwtPolygon & pa) const\fC [protected, virtual]\fP"
 
211
.PP
 
212
Check and correct a selected rectangle. 
 
213
.PP
 
214
Reject rectangles with a hight or width < 2, otherwise expand the selected rectangle to a minimum size of 11x11 and accept it.
 
215
.PP
 
216
\fBReturns:\fP
 
217
.RS 4
 
218
true If rect is accepted, or has been changed to a accepted rectangle. 
 
219
.RE
 
220
.PP
 
221
 
 
222
.PP
 
223
Reimplemented from \fBQwtPicker\fP.
 
224
.PP
 
225
Definition at line 497 of file qwt_plot_zoomer.cpp.
 
226
.PP
 
227
References minZoomSize().
 
228
.SS "void QwtPlotZoomer::begin ()\fC [protected, virtual]\fP"
 
229
.PP
 
230
Rejects selections, when the stack depth is too deep, or the zoomed rectangle is \fBminZoomSize()\fP.
 
231
.PP
 
232
\fBSee also:\fP
 
233
.RS 4
 
234
\fBminZoomSize()\fP, \fBmaxStackDepth()\fP 
 
235
.RE
 
236
.PP
 
237
 
 
238
.PP
 
239
Reimplemented from \fBQwtPicker\fP.
 
240
.PP
 
241
Definition at line 545 of file qwt_plot_zoomer.cpp.
 
242
.PP
 
243
References minZoomSize().
 
244
.SS "bool QwtPlotZoomer::end (bool ok = \fCtrue\fP)\fC [protected, virtual]\fP"
 
245
.PP
 
246
Expand the selected rectangle to \fBminZoomSize()\fP and zoom in if accepted.
 
247
.PP
 
248
\fBSee also:\fP
 
249
.RS 4
 
250
\fBQwtPlotZoomer::accept()\fPa, \fBQwtPlotZoomer::minZoomSize()\fP 
 
251
.RE
 
252
.PP
 
253
 
 
254
.PP
 
255
Reimplemented from \fBQwtPlotPicker\fP.
 
256
.PP
 
257
Definition at line 575 of file qwt_plot_zoomer.cpp.
 
258
.PP
 
259
References QwtPlotPicker::end(), QwtPlotPicker::invTransform(), minZoomSize(), QwtPlotPicker::plot(), QwtPicker::selection(), zoom(), and zoomRect().
 
260
.SS "int QwtPlotZoomer::maxStackDepth () const"
 
261
.PP
 
262
\fBReturns:\fP
 
263
.RS 4
 
264
Maximal depth of the zoom stack. 
 
265
.RE
 
266
.PP
 
267
\fBSee also:\fP
 
268
.RS 4
 
269
\fBsetMaxStackDepth()\fP 
 
270
.RE
 
271
.PP
 
272
 
 
273
.PP
 
274
Definition at line 172 of file qwt_plot_zoomer.cpp.
 
275
.SS "QwtDoubleSize QwtPlotZoomer::minZoomSize () const\fC [protected, virtual]\fP"
 
276
.PP
 
277
Limit zooming by a minimum rectangle. 
 
278
.PP
 
279
\fBReturns:\fP
 
280
.RS 4
 
281
\fBzoomBase()\fP.width() / 10e4, \fBzoomBase()\fP.height() / 10e4 
 
282
.RE
 
283
.PP
 
284
 
 
285
.PP
 
286
Definition at line 531 of file qwt_plot_zoomer.cpp.
 
287
.PP
 
288
Referenced by accept(), begin(), and end().
 
289
.SS "void QwtPlotZoomer::move (double x, double y)\fC [virtual, slot]\fP"
 
290
.PP
 
291
Move the the current zoom rectangle.
 
292
.PP
 
293
\fBParameters:\fP
 
294
.RS 4
 
295
\fIx\fP X value 
 
296
.br
 
297
\fIy\fP Y value
 
298
.RE
 
299
.PP
 
300
\fBSee also:\fP
 
301
.RS 4
 
302
QwtDoubleRect::move 
 
303
.RE
 
304
.PP
 
305
\fBNote:\fP
 
306
.RS 4
 
307
The changed rectangle is limited by the zoom base 
 
308
.RE
 
309
.PP
 
310
 
 
311
.PP
 
312
Definition at line 467 of file qwt_plot_zoomer.cpp.
 
313
.PP
 
314
References rescale(), zoomBase(), and zoomRect().
 
315
.PP
 
316
Referenced by moveBy().
 
317
.SS "void QwtPlotZoomer::moveBy (double dx, double dy)\fC [slot]\fP"
 
318
.PP
 
319
Move the current zoom rectangle.
 
320
.PP
 
321
\fBParameters:\fP
 
322
.RS 4
 
323
\fIdx\fP X offset 
 
324
.br
 
325
\fIdy\fP Y offset
 
326
.RE
 
327
.PP
 
328
\fBNote:\fP
 
329
.RS 4
 
330
The changed rectangle is limited by the zoom base 
 
331
.RE
 
332
.PP
 
333
 
 
334
.PP
 
335
Definition at line 452 of file qwt_plot_zoomer.cpp.
 
336
.PP
 
337
References move().
 
338
.SS "void QwtPlotZoomer::rescale ()\fC [protected, virtual]\fP"
 
339
.PP
 
340
Adjust the observed plot to \fBzoomRect()\fP
 
341
.PP
 
342
\fBNote:\fP
 
343
.RS 4
 
344
Initiates \fBQwtPlot::replot\fP 
 
345
.RE
 
346
.PP
 
347
 
 
348
.PP
 
349
Definition at line 343 of file qwt_plot_zoomer.cpp.
 
350
.PP
 
351
References QwtPlot::autoReplot(), QwtPlot::axisScaleDiv(), QwtScaleDiv::hBound(), QwtScaleDiv::lBound(), QwtPlotPicker::plot(), QwtPlotPicker::scaleRect(), QwtPlot::setAutoReplot(), QwtPlot::setAxisScale(), QwtPlotPicker::xAxis(), and QwtPlotPicker::yAxis().
 
352
.PP
 
353
Referenced by move(), setZoomBase(), and zoom().
 
354
.SS "void QwtPlotZoomer::setAxis (int xAxis, int yAxis)\fC [virtual]\fP"
 
355
.PP
 
356
Reinitialize the axes, and set the zoom base to their scales.
 
357
.PP
 
358
\fBParameters:\fP
 
359
.RS 4
 
360
\fIxAxis\fP X axis 
 
361
.br
 
362
\fIyAxis\fP Y axis 
 
363
.RE
 
364
.PP
 
365
 
 
366
.PP
 
367
Reimplemented from \fBQwtPlotPicker\fP.
 
368
.PP
 
369
Definition at line 387 of file qwt_plot_zoomer.cpp.
 
370
.PP
 
371
References QwtPlotPicker::scaleRect(), QwtPlotPicker::setAxis(), setZoomBase(), QwtPlotPicker::xAxis(), and QwtPlotPicker::yAxis().
 
372
.SS "void QwtPlotZoomer::setMaxStackDepth (int depth)"
 
373
.PP
 
374
Limit the number of recursive zoom operations to depth. 
 
375
.PP
 
376
A value of -1 set the depth to unlimited, 0 disables zooming. If the current zoom rectangle is below depth, the plot is unzoomed.
 
377
.PP
 
378
\fBParameters:\fP
 
379
.RS 4
 
380
\fIdepth\fP Maximum for the stack depth 
 
381
.RE
 
382
.PP
 
383
\fBSee also:\fP
 
384
.RS 4
 
385
\fBmaxStackDepth()\fP 
 
386
.RE
 
387
.PP
 
388
\fBNote:\fP
 
389
.RS 4
 
390
depth doesn't include the zoom base, so \fBzoomStack()\fP.count() might be \fBmaxStackDepth()\fP + 1. 
 
391
.RE
 
392
.PP
 
393
 
 
394
.PP
 
395
Definition at line 145 of file qwt_plot_zoomer.cpp.
 
396
.PP
 
397
References zoom().
 
398
.SS "void QwtPlotZoomer::setSelectionFlags (int flags)\fC [virtual]\fP"
 
399
.PP
 
400
Set the selection flags
 
401
.PP
 
402
\fBParameters:\fP
 
403
.RS 4
 
404
\fIflags\fP Or'd value of \fBQwtPicker::RectSelectionType\fP and \fBQwtPicker::SelectionMode\fP. The default value is QwtPicker::RectSelection & QwtPicker::ClickSelection.
 
405
.RE
 
406
.PP
 
407
\fBSee also:\fP
 
408
.RS 4
 
409
\fBselectionFlags()\fP, \fBSelectionType\fP, \fBRectSelectionType\fP, \fBSelectionMode\fP 
 
410
.RE
 
411
.PP
 
412
\fBNote:\fP
 
413
.RS 4
 
414
QwtPicker::RectSelection will be auto added. 
 
415
.RE
 
416
.PP
 
417
 
 
418
.PP
 
419
Reimplemented from \fBQwtPicker\fP.
 
420
.PP
 
421
Definition at line 619 of file qwt_plot_zoomer.cpp.
 
422
.PP
 
423
References QwtPicker::setSelectionFlags().
 
424
.SS "void QwtPlotZoomer::setZoomBase (const QwtDoubleRect & base)\fC [virtual]\fP"
 
425
.PP
 
426
Set the initial size of the zoomer. 
 
427
.PP
 
428
base is united with the current \fBscaleRect()\fP and the zoom stack is reinitalized with it as zoom base. plot is zoomed to \fBscaleRect()\fP.
 
429
.PP
 
430
\fBParameters:\fP
 
431
.RS 4
 
432
\fIbase\fP Zoom base
 
433
.RE
 
434
.PP
 
435
\fBSee also:\fP
 
436
.RS 4
 
437
\fBzoomBase()\fP, \fBscaleRect()\fP 
 
438
.RE
 
439
.PP
 
440
 
 
441
.PP
 
442
Definition at line 231 of file qwt_plot_zoomer.cpp.
 
443
.PP
 
444
References QwtPlotPicker::plot(), rescale(), and QwtPlotPicker::scaleRect().
 
445
.SS "void QwtPlotZoomer::setZoomBase ()\fC [virtual]\fP"
 
446
.PP
 
447
Reinitialized the zoom stack with \fBscaleRect()\fP as base.
 
448
.PP
 
449
\fBSee also:\fP
 
450
.RS 4
 
451
\fBzoomBase()\fP, \fBscaleRect()\fP
 
452
.RE
 
453
.PP
 
454
\fBWarning:\fP
 
455
.RS 4
 
456
Calling \fBQwtPlot::setAxisScale()\fP while \fBQwtPlot::autoReplot()\fP is false leaves the axis in an 'intermediate' state. In this case, to prevent buggy behaviour, you must call \fBQwtPlot::replot()\fP before calling \fBQwtPlotZoomer::setZoomBase()\fP. This quirk will be removed in a future release.
 
457
.RE
 
458
.PP
 
459
\fBSee also:\fP
 
460
.RS 4
 
461
\fBQwtPlot::autoReplot()\fP, \fBQwtPlot::replot()\fP. 
 
462
.RE
 
463
.PP
 
464
 
 
465
.PP
 
466
Definition at line 208 of file qwt_plot_zoomer.cpp.
 
467
.PP
 
468
References QwtPlotPicker::plot(), rescale(), and QwtPlotPicker::scaleRect().
 
469
.PP
 
470
Referenced by setAxis().
 
471
.SS "void QwtPlotZoomer::widgetKeyPressEvent (QKeyEvent * ke)\fC [protected, virtual]\fP"
 
472
.PP
 
473
Qt::Key_Plus zooms out, Qt::Key_Minus zooms in one position on the zoom stack, Qt::Key_Escape zooms out to the zoom base.
 
474
.PP
 
475
Changes the current position on the stack, but doesn't pop any rectangle.
 
476
.PP
 
477
\fBNote:\fP
 
478
.RS 4
 
479
The keys codes can be changed, using \fBQwtEventPattern::setKeyPattern\fP: 3, 4, 5 
 
480
.RE
 
481
.PP
 
482
 
 
483
.PP
 
484
Reimplemented from \fBQwtPicker\fP.
 
485
.PP
 
486
Definition at line 429 of file qwt_plot_zoomer.cpp.
 
487
.PP
 
488
References QwtPicker::isActive(), QwtEventPattern::keyMatch(), QwtPicker::widgetKeyPressEvent(), and zoom().
 
489
.SS "void QwtPlotZoomer::widgetMouseReleaseEvent (QMouseEvent * me)\fC [protected, virtual]\fP"
 
490
.PP
 
491
Qt::MidButton zooms out one position on the zoom stack, Qt::RightButton to the zoom base.
 
492
.PP
 
493
Changes the current position on the stack, but doesn't pop any rectangle.
 
494
.PP
 
495
\fBNote:\fP
 
496
.RS 4
 
497
The mouse events can be changed, using \fBQwtEventPattern::setMousePattern\fP: 2, 1 
 
498
.RE
 
499
.PP
 
500
 
 
501
.PP
 
502
Reimplemented from \fBQwtPicker\fP.
 
503
.PP
 
504
Definition at line 406 of file qwt_plot_zoomer.cpp.
 
505
.PP
 
506
References QwtEventPattern::mouseMatch(), QwtPicker::widgetMouseReleaseEvent(), and zoom().
 
507
.SS "void QwtPlotZoomer::zoom (int offset)\fC [virtual, slot]\fP"
 
508
.PP
 
509
Zoom in or out. 
 
510
.PP
 
511
Activate a rectangle on the zoom stack with an offset relative to the current position. Negative values of offest will zoom out, positive zoom in. A value of 0 zooms out to the zoom base.
 
512
.PP
 
513
\fBParameters:\fP
 
514
.RS 4
 
515
\fIoffset\fP Offset relative to the current position of the zoom stack. 
 
516
.RE
 
517
.PP
 
518
\fBNote:\fP
 
519
.RS 4
 
520
The zoomed signal is emitted. 
 
521
.RE
 
522
.PP
 
523
\fBSee also:\fP
 
524
.RS 4
 
525
\fBzoomRectIndex()\fP 
 
526
.RE
 
527
.PP
 
528
 
 
529
.PP
 
530
Definition at line 319 of file qwt_plot_zoomer.cpp.
 
531
.PP
 
532
References rescale(), zoomed(), and zoomRect().
 
533
.SS "void QwtPlotZoomer::zoom (const QwtDoubleRect & rect)\fC [virtual, slot]\fP"
 
534
.PP
 
535
Zoom in. 
 
536
.PP
 
537
Clears all rectangles above the current position of the zoom stack and pushs the intersection of \fBzoomRect()\fP and the normalized rect on it.
 
538
.PP
 
539
\fBNote:\fP
 
540
.RS 4
 
541
If the maximal stack depth is reached, zoom is ignored. 
 
542
.PP
 
543
The zoomed signal is emitted. 
 
544
.RE
 
545
.PP
 
546
 
 
547
.PP
 
548
Definition at line 282 of file qwt_plot_zoomer.cpp.
 
549
.PP
 
550
References rescale(), zoomed(), and zoomRect().
 
551
.PP
 
552
Referenced by end(), setMaxStackDepth(), widgetKeyPressEvent(), and widgetMouseReleaseEvent().
 
553
.SS "QwtDoubleRect QwtPlotZoomer::zoomBase () const"
 
554
.PP
 
555
\fBReturns:\fP
 
556
.RS 4
 
557
Initial rectangle of the zoomer 
 
558
.RE
 
559
.PP
 
560
\fBSee also:\fP
 
561
.RS 4
 
562
\fBsetZoomBase()\fP, \fBzoomRect()\fP 
 
563
.RE
 
564
.PP
 
565
 
 
566
.PP
 
567
Definition at line 190 of file qwt_plot_zoomer.cpp.
 
568
.PP
 
569
Referenced by move().
 
570
.SS "void QwtPlotZoomer::zoomed (const QwtDoubleRect & rect)\fC [signal]\fP"
 
571
.PP
 
572
A signal emitting the \fBzoomRect()\fP, when the plot has been zoomed in or out.
 
573
.PP
 
574
\fBParameters:\fP
 
575
.RS 4
 
576
\fIrect\fP Current zoom rectangle. 
 
577
.RE
 
578
.PP
 
579
 
 
580
.PP
 
581
Referenced by zoom().
 
582
.SS "QwtDoubleRect QwtPlotZoomer::zoomRect () const"
 
583
.PP
 
584
Rectangle at the current position on the zoom stack.
 
585
.PP
 
586
\fBSee also:\fP
 
587
.RS 4
 
588
\fBQwtPlotZoomer::zoomRectIndex()\fP, \fBQwtPlotZoomer::scaleRect()\fP. 
 
589
.RE
 
590
.PP
 
591
 
 
592
.PP
 
593
Definition at line 258 of file qwt_plot_zoomer.cpp.
 
594
.PP
 
595
Referenced by end(), move(), and zoom().
 
596
.SS "uint QwtPlotZoomer::zoomRectIndex () const"
 
597
.PP
 
598
\fBReturns:\fP
 
599
.RS 4
 
600
Index of current position of zoom stack. 
 
601
.RE
 
602
.PP
 
603
 
 
604
.PP
 
605
Definition at line 266 of file qwt_plot_zoomer.cpp.
 
606
.SS "const QwtZoomStack & QwtPlotZoomer::zoomStack () const"
 
607
.PP
 
608
Return the zoom stack. \fBzoomStack()\fP[0] is the zoom base, \fBzoomStack()\fP[1] the first zoomed rectangle. 
 
609
.PP
 
610
Definition at line 181 of file qwt_plot_zoomer.cpp.
 
611
 
 
612
.SH "Author"
 
613
.PP 
 
614
Generated automatically by Doxygen for Qwt User's Guide from the source code.