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

« back to all changes in this revision

Viewing changes to qwt-5.1.1/doc/html/class_qwt_plot_zoomer.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: QwtPlotZoomer 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>QwtPlotZoomer Class Reference</h1><!-- doxytag: class="QwtPlotZoomer" --><!-- doxytag: inherits="QwtPlotPicker" -->Inheritance diagram for QwtPlotZoomer:<p><center><img src="class_qwt_plot_zoomer__inherit__graph.png" border="0" usemap="#_qwt_plot_zoomer__inherit__map" alt="Inheritance graph"></center>
 
23
<map name="_qwt_plot_zoomer__inherit__map">
 
24
<area href="class_qwt_plot_picker.html" shape="rect" coords="15,157,121,181" alt="">
 
25
<area href="class_qwt_picker.html" shape="rect" coords="27,83,109,107" alt="">
 
26
<area href="class_qwt_event_pattern.html" shape="rect" coords="7,8,129,32" alt="">
 
27
</map>
 
28
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtPlotZoomer:<p><center><img src="class_qwt_plot_zoomer__coll__graph.png" border="0" usemap="#_qwt_plot_zoomer__coll__map" alt="Collaboration graph"></center>
 
29
<map name="_qwt_plot_zoomer__coll__map">
 
30
<area href="class_qwt_plot_picker.html" shape="rect" coords="15,157,121,181" alt="">
 
31
<area href="class_qwt_picker.html" shape="rect" coords="27,83,109,107" alt="">
 
32
<area href="class_qwt_event_pattern.html" shape="rect" coords="7,8,129,32" alt="">
 
33
</map>
 
34
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_plot_zoomer-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
 
35
<a class="el" href="class_qwt_plot_zoomer.html">QwtPlotZoomer</a> provides stacked zooming for a plot widget. 
 
36
<p>
 
37
<a class="el" href="class_qwt_plot_zoomer.html">QwtPlotZoomer</a> 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 <a class="el" href="class_qwt_plot_zoomer.html#b541148fa7d57b8102d3d70ab9daccc4">maxStackDepth()</a> or <a class="el" href="class_qwt_plot_zoomer.html#27bb8d7911ef686f2a66bbc88df7e8d1">minZoomSize()</a>. Each rectangle is pushed on a stack.<p>
 
38
Zoom rectangles can be selected depending on <a class="el" href="class_qwt_picker.html#a42f0efb5aa8bcf4f2097a49fb96f886">selectionFlags()</a> using the mouse or keyboard (<a class="el" href="class_qwt_event_pattern.html">QwtEventPattern</a>, <a class="el" href="class_qwt_picker_machine.html">QwtPickerMachine</a>). QwtEventPattern::MouseSelect3/QwtEventPatternKeyUndo, or QwtEventPattern::MouseSelect6/QwtEventPatternKeyRedo walk up and down the zoom stack. QwtEventPattern::MouseSelect2 or QwtEventPattern::KeyHome unzoom to the initial size.<p>
 
39
<a class="el" href="class_qwt_plot_zoomer.html">QwtPlotZoomer</a> is tailored for plots with one x and y axis, but it is allowed to attach a second <a class="el" href="class_qwt_plot_zoomer.html">QwtPlotZoomer</a> for the other axes.<p>
 
40
<dl class="note" compact><dt><b>Note:</b></dt><dd>The realtime example includes an derived zoomer class that adds scrollbars to the plot canvas. </dd></dl>
 
41
 
 
42
<p>
 
43
 
 
44
<p>
 
45
Definition at line <a class="el" href="qwt__plot__zoomer_8h-source.html#l00049">49</a> of file <a class="el" href="qwt__plot__zoomer_8h-source.html">qwt_plot_zoomer.h</a>.<table border="0" cellpadding="0" cellspacing="0">
 
46
<tr><td></td></tr>
 
47
<tr><td colspan="2"><br><h2>Public Slots</h2></td></tr>
 
48
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#c66b3eac03db212812198637f4e233ca">moveBy</a> (double x, double y)</td></tr>
 
49
 
 
50
<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_zoomer.html#6bfbb67129b1220df65685858c9d882c">move</a> (double x, double y)</td></tr>
 
51
 
 
52
<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_zoomer.html#eeed51dfa01136f00961e679dcbb9d9d">zoom</a> (const <a class="el" href="qwt__double__rect_8h.html#0c0dc4d33592fac4ad94734d8e9c4152">QwtDoubleRect</a> &amp;)</td></tr>
 
53
 
 
54
<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_zoomer.html#0cee73f15c5791553cb52c4e7b3e881e">zoom</a> (int up)</td></tr>
 
55
 
 
56
<tr><td colspan="2"><br><h2>Signals</h2></td></tr>
 
57
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#e4e9b90ccfb97f4eae54c667f79644ff">zoomed</a> (const <a class="el" href="qwt__double__rect_8h.html#0c0dc4d33592fac4ad94734d8e9c4152">QwtDoubleRect</a> &amp;rect)</td></tr>
 
58
 
 
59
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
 
60
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#07f5135e421d2aab3f06542ff1320ece">QwtPlotZoomer</a> (<a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> *, bool doReplot=true)</td></tr>
 
61
 
 
62
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#b64adf928b11ec8f441098a551e437b4">QwtPlotZoomer</a> (int xAxis, int yAxis, <a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> *, bool doReplot=true)</td></tr>
 
63
 
 
64
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#c94a73ec32fcfee08edf14d1a3021cd5">QwtPlotZoomer</a> (int xAxis, int yAxis, int selectionFlags, <a class="el" href="class_qwt_picker.html#01be4d404ffc3a7b238b0d0aaeb66b93">DisplayMode</a> trackerMode, <a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> *, bool doReplot=true)</td></tr>
 
65
 
 
66
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3af28fe93e0098ce8d09222a7976f254"></a><!-- doxytag: member="QwtPlotZoomer::~QwtPlotZoomer" ref="3af28fe93e0098ce8d09222a7976f254" args="()" -->
 
67
virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#3af28fe93e0098ce8d09222a7976f254">~QwtPlotZoomer</a> ()</td></tr>
 
68
 
 
69
<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_zoomer.html#7ee4f2a0606df6e85258c52f0b5c7bc2">setZoomBase</a> (bool doReplot=true)</td></tr>
 
70
 
 
71
<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_zoomer.html#80e1f91cf51b88aa11f2d976f01b4a3f">setZoomBase</a> (const <a class="el" href="qwt__double__rect_8h.html#0c0dc4d33592fac4ad94734d8e9c4152">QwtDoubleRect</a> &amp;)</td></tr>
 
72
 
 
73
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="qwt__double__rect_8h.html#0c0dc4d33592fac4ad94734d8e9c4152">QwtDoubleRect</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#dee8a101b06a37ec778038c789518e28">zoomBase</a> () const</td></tr>
 
74
 
 
75
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="qwt__double__rect_8h.html#0c0dc4d33592fac4ad94734d8e9c4152">QwtDoubleRect</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#261d13f67af6e02ba48a64b36f7b5aef">zoomRect</a> () const</td></tr>
 
76
 
 
77
<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_zoomer.html#6cb755e06b83e50e8353dd706f7fb6f0">setAxis</a> (int xAxis, int yAxis)</td></tr>
 
78
 
 
79
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#3965591944793790407ba91d6de3a882">setMaxStackDepth</a> (int)</td></tr>
 
80
 
 
81
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#b541148fa7d57b8102d3d70ab9daccc4">maxStackDepth</a> () const</td></tr>
 
82
 
 
83
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QStack&lt; <a class="el" href="qwt__double__rect_8h.html#0c0dc4d33592fac4ad94734d8e9c4152">QwtDoubleRect</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#0befad8b95d8cb651e993e85d51acb06">zoomStack</a> () const</td></tr>
 
84
 
 
85
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9364232f7725a2ec3c65784a0100e19f"></a><!-- doxytag: member="QwtPlotZoomer::setZoomStack" ref="9364232f7725a2ec3c65784a0100e19f" args="(const QStack&lt; QwtDoubleRect &gt; &amp;, int zoomRectIndex=-1)" -->
 
86
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setZoomStack</b> (const QStack&lt; <a class="el" href="qwt__double__rect_8h.html#0c0dc4d33592fac4ad94734d8e9c4152">QwtDoubleRect</a> &gt; &amp;, int zoomRectIndex=-1)</td></tr>
 
87
 
 
88
<tr><td class="memItemLeft" nowrap align="right" valign="top">uint&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#b2a8af282a7052976e9c18b2d0c59db9">zoomRectIndex</a> () const</td></tr>
 
89
 
 
90
<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_zoomer.html#c9d52dbddc9e79e7ce8ebd545e855e89">setSelectionFlags</a> (int)</td></tr>
 
91
 
 
92
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
 
93
<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_zoomer.html#0d0f90bbd5fe99d5231b3cee00fffabe">rescale</a> ()</td></tr>
 
94
 
 
95
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="qwt__double__rect_8h.html#b86c0b8b4728646331f12743013c5b43">QwtDoubleSize</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#27bb8d7911ef686f2a66bbc88df7e8d1">minZoomSize</a> () const</td></tr>
 
96
 
 
97
<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_zoomer.html#abded662ecb3555b3a29cf3daacf79de">widgetMouseReleaseEvent</a> (QMouseEvent *)</td></tr>
 
98
 
 
99
<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_zoomer.html#a44e42dcf37547a6b93d04a593f140c6">widgetKeyPressEvent</a> (QKeyEvent *)</td></tr>
 
100
 
 
101
<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_zoomer.html#a54bb05797c0468c0f8de4217dce24dd">begin</a> ()</td></tr>
 
102
 
 
103
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#c7d10eb27858ccfebebecab5d69ecbb3">end</a> (bool ok=true)</td></tr>
 
104
 
 
105
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_zoomer.html#86898c6696ee0706a3ac6b61018a112e">accept</a> (QwtPolygon &amp;) const </td></tr>
 
106
 
 
107
</table>
 
108
<hr><h2>Constructor &amp; Destructor Documentation</h2>
 
109
<a class="anchor" name="07f5135e421d2aab3f06542ff1320ece"></a><!-- doxytag: member="QwtPlotZoomer::QwtPlotZoomer" ref="07f5135e421d2aab3f06542ff1320ece" args="(QwtPlotCanvas *, bool doReplot=true)" -->
 
110
<div class="memitem">
 
111
<div class="memproto">
 
112
      <table class="memname">
 
113
        <tr>
 
114
          <td class="memname">QwtPlotZoomer::QwtPlotZoomer           </td>
 
115
          <td>(</td>
 
116
          <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> *&nbsp;</td>
 
117
          <td class="paramname"> <em>canvas</em>, </td>
 
118
        </tr>
 
119
        <tr>
 
120
          <td class="paramkey"></td>
 
121
          <td></td>
 
122
          <td class="paramtype">bool&nbsp;</td>
 
123
          <td class="paramname"> <em>doReplot</em> = <code>true</code></td><td>&nbsp;</td>
 
124
        </tr>
 
125
        <tr>
 
126
          <td></td>
 
127
          <td>)</td>
 
128
          <td></td><td></td><td width="100%"><code> [explicit]</code></td>
 
129
        </tr>
 
130
      </table>
 
131
</div>
 
132
<div class="memdoc">
 
133
 
 
134
<p>
 
135
Create a zoomer for a plot canvas. 
 
136
<p>
 
137
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.<p>
 
138
The <a class="el" href="class_qwt_picker.html#a42f0efb5aa8bcf4f2097a49fb96f886">selectionFlags()</a> are set to QwtPicker::RectSelection &amp; QwtPicker::ClickSelection, the tracker mode to QwtPicker::ActiveOnly.<p>
 
139
<dl compact><dt><b>Parameters:</b></dt><dd>
 
140
  <table border="0" cellspacing="2" cellpadding="0">
 
141
    <tr><td valign="top"></td><td valign="top"><em>canvas</em>&nbsp;</td><td>Plot canvas to observe, also the parent object </td></tr>
 
142
    <tr><td valign="top"></td><td valign="top"><em>doReplot</em>&nbsp;</td><td>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.</td></tr>
 
143
  </table>
 
144
</dl>
 
145
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#3a639850b65bc4dbf22b3f3170d61804">QwtPlot::autoReplot()</a>, <a class="el" href="class_qwt_plot.html#7b094e29b8e92b00e36517d0d7633c4b">QwtPlot::replot()</a>, <a class="el" href="class_qwt_plot_zoomer.html#7ee4f2a0606df6e85258c52f0b5c7bc2">setZoomBase()</a> </dd></dl>
 
146
 
 
147
<p>
 
148
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00051">51</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
149
<p>
 
150
References <a class="el" href="qwt__plot__picker_8cpp-source.html#l00103">QwtPlotPicker::canvas()</a>.
 
151
</div>
 
152
</div><p>
 
153
<a class="anchor" name="b64adf928b11ec8f441098a551e437b4"></a><!-- doxytag: member="QwtPlotZoomer::QwtPlotZoomer" ref="b64adf928b11ec8f441098a551e437b4" args="(int xAxis, int yAxis, QwtPlotCanvas *, bool doReplot=true)" -->
 
154
<div class="memitem">
 
155
<div class="memproto">
 
156
      <table class="memname">
 
157
        <tr>
 
158
          <td class="memname">QwtPlotZoomer::QwtPlotZoomer           </td>
 
159
          <td>(</td>
 
160
          <td class="paramtype">int&nbsp;</td>
 
161
          <td class="paramname"> <em>xAxis</em>, </td>
 
162
        </tr>
 
163
        <tr>
 
164
          <td class="paramkey"></td>
 
165
          <td></td>
 
166
          <td class="paramtype">int&nbsp;</td>
 
167
          <td class="paramname"> <em>yAxis</em>, </td>
 
168
        </tr>
 
169
        <tr>
 
170
          <td class="paramkey"></td>
 
171
          <td></td>
 
172
          <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> *&nbsp;</td>
 
173
          <td class="paramname"> <em>canvas</em>, </td>
 
174
        </tr>
 
175
        <tr>
 
176
          <td class="paramkey"></td>
 
177
          <td></td>
 
178
          <td class="paramtype">bool&nbsp;</td>
 
179
          <td class="paramname"> <em>doReplot</em> = <code>true</code></td><td>&nbsp;</td>
 
180
        </tr>
 
181
        <tr>
 
182
          <td></td>
 
183
          <td>)</td>
 
184
          <td></td><td></td><td width="100%"><code> [explicit]</code></td>
 
185
        </tr>
 
186
      </table>
 
187
</div>
 
188
<div class="memdoc">
 
189
 
 
190
<p>
 
191
Create a zoomer for a plot canvas. 
 
192
<p>
 
193
The <a class="el" href="class_qwt_picker.html#a42f0efb5aa8bcf4f2097a49fb96f886">selectionFlags()</a> are set to QwtPicker::RectSelection &amp; QwtPicker::ClickSelection, the tracker mode to QwtPicker::ActiveOnly.<p>
 
194
<dl compact><dt><b>Parameters:</b></dt><dd>
 
195
  <table border="0" cellspacing="2" cellpadding="0">
 
196
    <tr><td valign="top"></td><td valign="top"><em>xAxis</em>&nbsp;</td><td>X axis of the zoomer </td></tr>
 
197
    <tr><td valign="top"></td><td valign="top"><em>yAxis</em>&nbsp;</td><td>Y axis of the zoomer </td></tr>
 
198
    <tr><td valign="top"></td><td valign="top"><em>canvas</em>&nbsp;</td><td>Plot canvas to observe, also the parent object </td></tr>
 
199
    <tr><td valign="top"></td><td valign="top"><em>doReplot</em>&nbsp;</td><td>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.</td></tr>
 
200
  </table>
 
201
</dl>
 
202
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot.html#3a639850b65bc4dbf22b3f3170d61804">QwtPlot::autoReplot()</a>, <a class="el" href="class_qwt_plot.html#7b094e29b8e92b00e36517d0d7633c4b">QwtPlot::replot()</a>, <a class="el" href="class_qwt_plot_zoomer.html#7ee4f2a0606df6e85258c52f0b5c7bc2">setZoomBase()</a> </dd></dl>
 
203
 
 
204
<p>
 
205
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00075">75</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
206
<p>
 
207
References <a class="el" href="qwt__plot__picker_8cpp-source.html#l00103">QwtPlotPicker::canvas()</a>.
 
208
</div>
 
209
</div><p>
 
210
<a class="anchor" name="c94a73ec32fcfee08edf14d1a3021cd5"></a><!-- doxytag: member="QwtPlotZoomer::QwtPlotZoomer" ref="c94a73ec32fcfee08edf14d1a3021cd5" args="(int xAxis, int yAxis, int selectionFlags, DisplayMode trackerMode, QwtPlotCanvas *, bool doReplot=true)" -->
 
211
<div class="memitem">
 
212
<div class="memproto">
 
213
      <table class="memname">
 
214
        <tr>
 
215
          <td class="memname">QwtPlotZoomer::QwtPlotZoomer           </td>
 
216
          <td>(</td>
 
217
          <td class="paramtype">int&nbsp;</td>
 
218
          <td class="paramname"> <em>xAxis</em>, </td>
 
219
        </tr>
 
220
        <tr>
 
221
          <td class="paramkey"></td>
 
222
          <td></td>
 
223
          <td class="paramtype">int&nbsp;</td>
 
224
          <td class="paramname"> <em>yAxis</em>, </td>
 
225
        </tr>
 
226
        <tr>
 
227
          <td class="paramkey"></td>
 
228
          <td></td>
 
229
          <td class="paramtype">int&nbsp;</td>
 
230
          <td class="paramname"> <em>selectionFlags</em>, </td>
 
231
        </tr>
 
232
        <tr>
 
233
          <td class="paramkey"></td>
 
234
          <td></td>
 
235
          <td class="paramtype"><a class="el" href="class_qwt_picker.html#01be4d404ffc3a7b238b0d0aaeb66b93">DisplayMode</a>&nbsp;</td>
 
236
          <td class="paramname"> <em>trackerMode</em>, </td>
 
237
        </tr>
 
238
        <tr>
 
239
          <td class="paramkey"></td>
 
240
          <td></td>
 
241
          <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a> *&nbsp;</td>
 
242
          <td class="paramname"> <em>canvas</em>, </td>
 
243
        </tr>
 
244
        <tr>
 
245
          <td class="paramkey"></td>
 
246
          <td></td>
 
247
          <td class="paramtype">bool&nbsp;</td>
 
248
          <td class="paramname"> <em>doReplot</em> = <code>true</code></td><td>&nbsp;</td>
 
249
        </tr>
 
250
        <tr>
 
251
          <td></td>
 
252
          <td>)</td>
 
253
          <td></td><td></td><td width="100%"><code> [explicit]</code></td>
 
254
        </tr>
 
255
      </table>
 
256
</div>
 
257
<div class="memdoc">
 
258
 
 
259
<p>
 
260
Create a zoomer for a plot canvas.<p>
 
261
<dl compact><dt><b>Parameters:</b></dt><dd>
 
262
  <table border="0" cellspacing="2" cellpadding="0">
 
263
    <tr><td valign="top"></td><td valign="top"><em>xAxis</em>&nbsp;</td><td>X axis of the zoomer </td></tr>
 
264
    <tr><td valign="top"></td><td valign="top"><em>yAxis</em>&nbsp;</td><td>Y axis of the zoomer </td></tr>
 
265
    <tr><td valign="top"></td><td valign="top"><em>selectionFlags</em>&nbsp;</td><td>Or'd value of <a class="el" href="class_qwt_picker.html#7417aae2fb1ba27fa864ac153df18b6c">QwtPicker::RectSelectionType</a> and <a class="el" href="class_qwt_picker.html#7fde641b6e2514f5271106a1cedd8718">QwtPicker::SelectionMode</a>. QwtPicker::RectSelection will be auto added. </td></tr>
 
266
    <tr><td valign="top"></td><td valign="top"><em>trackerMode</em>&nbsp;</td><td>Tracker mode </td></tr>
 
267
    <tr><td valign="top"></td><td valign="top"><em>canvas</em>&nbsp;</td><td>Plot canvas to observe, also the parent object </td></tr>
 
268
    <tr><td valign="top"></td><td valign="top"><em>doReplot</em>&nbsp;</td><td>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.</td></tr>
 
269
  </table>
 
270
</dl>
 
271
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html">QwtPicker</a>, <a class="el" href="class_qwt_picker.html#e93fe995c8c581ac33a9f3445ea5e7b9">QwtPicker::setSelectionFlags()</a>, <a class="el" href="class_qwt_picker.html#83096bad2662e02e4914a7b40241c351">QwtPicker::setRubberBand()</a>, <a class="el" href="class_qwt_picker.html#94fc60c7223cdc470ae63156f6446d6f">QwtPicker::setTrackerMode</a><p>
 
272
<a class="el" href="class_qwt_plot.html#3a639850b65bc4dbf22b3f3170d61804">QwtPlot::autoReplot()</a>, <a class="el" href="class_qwt_plot.html#7b094e29b8e92b00e36517d0d7633c4b">QwtPlot::replot()</a>, <a class="el" href="class_qwt_plot_zoomer.html#7ee4f2a0606df6e85258c52f0b5c7bc2">setZoomBase()</a> </dd></dl>
 
273
 
 
274
<p>
 
275
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00103">103</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
276
<p>
 
277
References <a class="el" href="qwt__plot__picker_8cpp-source.html#l00103">QwtPlotPicker::canvas()</a>.
 
278
</div>
 
279
</div><p>
 
280
<hr><h2>Member Function Documentation</h2>
 
281
<a class="anchor" name="7ee4f2a0606df6e85258c52f0b5c7bc2"></a><!-- doxytag: member="QwtPlotZoomer::setZoomBase" ref="7ee4f2a0606df6e85258c52f0b5c7bc2" args="(bool doReplot=true)" -->
 
282
<div class="memitem">
 
283
<div class="memproto">
 
284
      <table class="memname">
 
285
        <tr>
 
286
          <td class="memname">void QwtPlotZoomer::setZoomBase           </td>
 
287
          <td>(</td>
 
288
          <td class="paramtype">bool&nbsp;</td>
 
289
          <td class="paramname"> <em>doReplot</em> = <code>true</code>          </td>
 
290
          <td>&nbsp;)&nbsp;</td>
 
291
          <td width="100%"><code> [virtual]</code></td>
 
292
        </tr>
 
293
      </table>
 
294
</div>
 
295
<div class="memdoc">
 
296
 
 
297
<p>
 
298
Reinitialized the zoom stack with <a class="el" href="class_qwt_plot_picker.html#96e73f28d02d49cb80ff2d3b607fccc5">scaleRect()</a> as base.<p>
 
299
<dl compact><dt><b>Parameters:</b></dt><dd>
 
300
  <table border="0" cellspacing="2" cellpadding="0">
 
301
    <tr><td valign="top"></td><td valign="top"><em>doReplot</em>&nbsp;</td><td>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.</td></tr>
 
302
  </table>
 
303
</dl>
 
304
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html#dee8a101b06a37ec778038c789518e28">zoomBase()</a>, <a class="el" href="class_qwt_plot_picker.html#96e73f28d02d49cb80ff2d3b607fccc5">scaleRect()</a> <a class="el" href="class_qwt_plot.html#3a639850b65bc4dbf22b3f3170d61804">QwtPlot::autoReplot()</a>, <a class="el" href="class_qwt_plot.html#7b094e29b8e92b00e36517d0d7633c4b">QwtPlot::replot()</a>. </dd></dl>
 
305
 
 
306
<p>
 
307
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00206">206</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
308
<p>
 
309
References <a class="el" href="qwt__plot__picker_8cpp-source.html#l00119">QwtPlotPicker::plot()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00363">QwtPlot::replot()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00379">rescale()</a>, and <a class="el" href="qwt__plot__picker_8cpp-source.html#l00143">QwtPlotPicker::scaleRect()</a>.
 
310
<p>
 
311
Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00423">setAxis()</a>.
 
312
</div>
 
313
</div><p>
 
314
<a class="anchor" name="80e1f91cf51b88aa11f2d976f01b4a3f"></a><!-- doxytag: member="QwtPlotZoomer::setZoomBase" ref="80e1f91cf51b88aa11f2d976f01b4a3f" args="(const QwtDoubleRect &amp;)" -->
 
315
<div class="memitem">
 
316
<div class="memproto">
 
317
      <table class="memname">
 
318
        <tr>
 
319
          <td class="memname">void QwtPlotZoomer::setZoomBase           </td>
 
320
          <td>(</td>
 
321
          <td class="paramtype">const <a class="el" href="qwt__double__rect_8h.html#0c0dc4d33592fac4ad94734d8e9c4152">QwtDoubleRect</a> &amp;&nbsp;</td>
 
322
          <td class="paramname"> <em>base</em>          </td>
 
323
          <td>&nbsp;)&nbsp;</td>
 
324
          <td width="100%"><code> [virtual]</code></td>
 
325
        </tr>
 
326
      </table>
 
327
</div>
 
328
<div class="memdoc">
 
329
 
 
330
<p>
 
331
Set the initial size of the zoomer. 
 
332
<p>
 
333
base is united with the current <a class="el" href="class_qwt_plot_picker.html#96e73f28d02d49cb80ff2d3b607fccc5">scaleRect()</a> and the zoom stack is reinitalized with it as zoom base. plot is zoomed to <a class="el" href="class_qwt_plot_picker.html#96e73f28d02d49cb80ff2d3b607fccc5">scaleRect()</a>.<p>
 
334
<dl compact><dt><b>Parameters:</b></dt><dd>
 
335
  <table border="0" cellspacing="2" cellpadding="0">
 
336
    <tr><td valign="top"></td><td valign="top"><em>base</em>&nbsp;</td><td>Zoom base</td></tr>
 
337
  </table>
 
338
</dl>
 
339
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html#dee8a101b06a37ec778038c789518e28">zoomBase()</a>, <a class="el" href="class_qwt_plot_picker.html#96e73f28d02d49cb80ff2d3b607fccc5">scaleRect()</a> </dd></dl>
 
340
 
 
341
<p>
 
342
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00232">232</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
343
<p>
 
344
References <a class="el" href="qwt__plot__picker_8cpp-source.html#l00119">QwtPlotPicker::plot()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00379">rescale()</a>, and <a class="el" href="qwt__plot__picker_8cpp-source.html#l00143">QwtPlotPicker::scaleRect()</a>.
 
345
</div>
 
346
</div><p>
 
347
<a class="anchor" name="dee8a101b06a37ec778038c789518e28"></a><!-- doxytag: member="QwtPlotZoomer::zoomBase" ref="dee8a101b06a37ec778038c789518e28" args="() const" -->
 
348
<div class="memitem">
 
349
<div class="memproto">
 
350
      <table class="memname">
 
351
        <tr>
 
352
          <td class="memname"><a class="el" href="qwt__double__rect_8h.html#0c0dc4d33592fac4ad94734d8e9c4152">QwtDoubleRect</a> QwtPlotZoomer::zoomBase           </td>
 
353
          <td>(</td>
 
354
          <td class="paramname">          </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
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Initial rectangle of the zoomer </dd></dl>
 
364
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html#7ee4f2a0606df6e85258c52f0b5c7bc2">setZoomBase()</a>, <a class="el" href="class_qwt_plot_zoomer.html#261d13f67af6e02ba48a64b36f7b5aef">zoomRect()</a> </dd></dl>
 
365
 
 
366
<p>
 
367
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00192">192</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
368
<p>
 
369
Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00503">move()</a>.
 
370
</div>
 
371
</div><p>
 
372
<a class="anchor" name="261d13f67af6e02ba48a64b36f7b5aef"></a><!-- doxytag: member="QwtPlotZoomer::zoomRect" ref="261d13f67af6e02ba48a64b36f7b5aef" args="() const" -->
 
373
<div class="memitem">
 
374
<div class="memproto">
 
375
      <table class="memname">
 
376
        <tr>
 
377
          <td class="memname"><a class="el" href="qwt__double__rect_8h.html#0c0dc4d33592fac4ad94734d8e9c4152">QwtDoubleRect</a> QwtPlotZoomer::zoomRect           </td>
 
378
          <td>(</td>
 
379
          <td class="paramname">          </td>
 
380
          <td>&nbsp;)&nbsp;</td>
 
381
          <td width="100%"> const</td>
 
382
        </tr>
 
383
      </table>
 
384
</div>
 
385
<div class="memdoc">
 
386
 
 
387
<p>
 
388
Rectangle at the current position on the zoom stack.<p>
 
389
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html#b2a8af282a7052976e9c18b2d0c59db9">zoomRectIndex()</a>, <a class="el" href="class_qwt_plot_picker.html#96e73f28d02d49cb80ff2d3b607fccc5">scaleRect()</a>. </dd></dl>
 
390
 
 
391
<p>
 
392
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00259">259</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
393
<p>
 
394
Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00611">end()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00503">move()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00283">zoom()</a>.
 
395
</div>
 
396
</div><p>
 
397
<a class="anchor" name="6cb755e06b83e50e8353dd706f7fb6f0"></a><!-- doxytag: member="QwtPlotZoomer::setAxis" ref="6cb755e06b83e50e8353dd706f7fb6f0" args="(int xAxis, int yAxis)" -->
 
398
<div class="memitem">
 
399
<div class="memproto">
 
400
      <table class="memname">
 
401
        <tr>
 
402
          <td class="memname">void QwtPlotZoomer::setAxis           </td>
 
403
          <td>(</td>
 
404
          <td class="paramtype">int&nbsp;</td>
 
405
          <td class="paramname"> <em>xAxis</em>, </td>
 
406
        </tr>
 
407
        <tr>
 
408
          <td class="paramkey"></td>
 
409
          <td></td>
 
410
          <td class="paramtype">int&nbsp;</td>
 
411
          <td class="paramname"> <em>yAxis</em></td><td>&nbsp;</td>
 
412
        </tr>
 
413
        <tr>
 
414
          <td></td>
 
415
          <td>)</td>
 
416
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
 
417
        </tr>
 
418
      </table>
 
419
</div>
 
420
<div class="memdoc">
 
421
 
 
422
<p>
 
423
Reinitialize the axes, and set the zoom base to their scales.<p>
 
424
<dl compact><dt><b>Parameters:</b></dt><dd>
 
425
  <table border="0" cellspacing="2" cellpadding="0">
 
426
    <tr><td valign="top"></td><td valign="top"><em>xAxis</em>&nbsp;</td><td>X axis </td></tr>
 
427
    <tr><td valign="top"></td><td valign="top"><em>yAxis</em>&nbsp;</td><td>Y axis </td></tr>
 
428
  </table>
 
429
</dl>
 
430
 
 
431
<p>
 
432
Reimplemented from <a class="el" href="class_qwt_plot_picker.html#a901c86543585c7056133a5cb6652e3d">QwtPlotPicker</a>.
 
433
<p>
 
434
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00423">423</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
435
<p>
 
436
References <a class="el" href="qwt__plot__picker_8cpp-source.html#l00143">QwtPlotPicker::scaleRect()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00169">QwtPlotPicker::setAxis()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00206">setZoomBase()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00183">QwtPlotPicker::xAxis()</a>, and <a class="el" href="qwt__plot__picker_8cpp-source.html#l00189">QwtPlotPicker::yAxis()</a>.
 
437
</div>
 
438
</div><p>
 
439
<a class="anchor" name="3965591944793790407ba91d6de3a882"></a><!-- doxytag: member="QwtPlotZoomer::setMaxStackDepth" ref="3965591944793790407ba91d6de3a882" args="(int)" -->
 
440
<div class="memitem">
 
441
<div class="memproto">
 
442
      <table class="memname">
 
443
        <tr>
 
444
          <td class="memname">void QwtPlotZoomer::setMaxStackDepth           </td>
 
445
          <td>(</td>
 
446
          <td class="paramtype">int&nbsp;</td>
 
447
          <td class="paramname"> <em>depth</em>          </td>
 
448
          <td>&nbsp;)&nbsp;</td>
 
449
          <td width="100%"></td>
 
450
        </tr>
 
451
      </table>
 
452
</div>
 
453
<div class="memdoc">
 
454
 
 
455
<p>
 
456
Limit the number of recursive zoom operations to depth. 
 
457
<p>
 
458
A value of -1 set the depth to unlimited, 0 disables zooming. If the current zoom rectangle is below depth, the plot is unzoomed.<p>
 
459
<dl compact><dt><b>Parameters:</b></dt><dd>
 
460
  <table border="0" cellspacing="2" cellpadding="0">
 
461
    <tr><td valign="top"></td><td valign="top"><em>depth</em>&nbsp;</td><td>Maximum for the stack depth </td></tr>
 
462
  </table>
 
463
</dl>
 
464
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html#b541148fa7d57b8102d3d70ab9daccc4">maxStackDepth()</a> </dd></dl>
 
465
<dl class="note" compact><dt><b>Note:</b></dt><dd>depth doesn't include the zoom base, so <a class="el" href="class_qwt_plot_zoomer.html#0befad8b95d8cb651e993e85d51acb06">zoomStack()</a>.count() might be <a class="el" href="class_qwt_plot_zoomer.html#b541148fa7d57b8102d3d70ab9daccc4">maxStackDepth()</a> + 1. </dd></dl>
 
466
 
 
467
<p>
 
468
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00145">145</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
469
<p>
 
470
References <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00283">zoom()</a>.
 
471
</div>
 
472
</div><p>
 
473
<a class="anchor" name="b541148fa7d57b8102d3d70ab9daccc4"></a><!-- doxytag: member="QwtPlotZoomer::maxStackDepth" ref="b541148fa7d57b8102d3d70ab9daccc4" args="() const" -->
 
474
<div class="memitem">
 
475
<div class="memproto">
 
476
      <table class="memname">
 
477
        <tr>
 
478
          <td class="memname">int QwtPlotZoomer::maxStackDepth           </td>
 
479
          <td>(</td>
 
480
          <td class="paramname">          </td>
 
481
          <td>&nbsp;)&nbsp;</td>
 
482
          <td width="100%"> const</td>
 
483
        </tr>
 
484
      </table>
 
485
</div>
 
486
<div class="memdoc">
 
487
 
 
488
<p>
 
489
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Maximal depth of the zoom stack. </dd></dl>
 
490
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html#3965591944793790407ba91d6de3a882">setMaxStackDepth()</a> </dd></dl>
 
491
 
 
492
<p>
 
493
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00172">172</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
494
</div>
 
495
</div><p>
 
496
<a class="anchor" name="0befad8b95d8cb651e993e85d51acb06"></a><!-- doxytag: member="QwtPlotZoomer::zoomStack" ref="0befad8b95d8cb651e993e85d51acb06" args="() const" -->
 
497
<div class="memitem">
 
498
<div class="memproto">
 
499
      <table class="memname">
 
500
        <tr>
 
501
          <td class="memname">const QwtZoomStack &amp; QwtPlotZoomer::zoomStack           </td>
 
502
          <td>(</td>
 
503
          <td class="paramname">          </td>
 
504
          <td>&nbsp;)&nbsp;</td>
 
505
          <td width="100%"> const</td>
 
506
        </tr>
 
507
      </table>
 
508
</div>
 
509
<div class="memdoc">
 
510
 
 
511
<p>
 
512
Return the zoom stack. <a class="el" href="class_qwt_plot_zoomer.html#0befad8b95d8cb651e993e85d51acb06">zoomStack()</a>[0] is the zoom base, <a class="el" href="class_qwt_plot_zoomer.html#0befad8b95d8cb651e993e85d51acb06">zoomStack()</a>[1] the first zoomed rectangle.<p>
 
513
<dl class="see" compact><dt><b>See also:</b></dt><dd>setZoomStack(), <a class="el" href="class_qwt_plot_zoomer.html#b2a8af282a7052976e9c18b2d0c59db9">zoomRectIndex()</a> </dd></dl>
 
514
 
 
515
<p>
 
516
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00183">183</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
517
</div>
 
518
</div><p>
 
519
<a class="anchor" name="b2a8af282a7052976e9c18b2d0c59db9"></a><!-- doxytag: member="QwtPlotZoomer::zoomRectIndex" ref="b2a8af282a7052976e9c18b2d0c59db9" args="() const" -->
 
520
<div class="memitem">
 
521
<div class="memproto">
 
522
      <table class="memname">
 
523
        <tr>
 
524
          <td class="memname">uint QwtPlotZoomer::zoomRectIndex           </td>
 
525
          <td>(</td>
 
526
          <td class="paramname">          </td>
 
527
          <td>&nbsp;)&nbsp;</td>
 
528
          <td width="100%"> const</td>
 
529
        </tr>
 
530
      </table>
 
531
</div>
 
532
<div class="memdoc">
 
533
 
 
534
<p>
 
535
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Index of current position of zoom stack. </dd></dl>
 
536
 
 
537
<p>
 
538
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00267">267</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
539
</div>
 
540
</div><p>
 
541
<a class="anchor" name="c9d52dbddc9e79e7ce8ebd545e855e89"></a><!-- doxytag: member="QwtPlotZoomer::setSelectionFlags" ref="c9d52dbddc9e79e7ce8ebd545e855e89" args="(int)" -->
 
542
<div class="memitem">
 
543
<div class="memproto">
 
544
      <table class="memname">
 
545
        <tr>
 
546
          <td class="memname">void QwtPlotZoomer::setSelectionFlags           </td>
 
547
          <td>(</td>
 
548
          <td class="paramtype">int&nbsp;</td>
 
549
          <td class="paramname"> <em>flags</em>          </td>
 
550
          <td>&nbsp;)&nbsp;</td>
 
551
          <td width="100%"><code> [virtual]</code></td>
 
552
        </tr>
 
553
      </table>
 
554
</div>
 
555
<div class="memdoc">
 
556
 
 
557
<p>
 
558
Set the selection flags<p>
 
559
<dl compact><dt><b>Parameters:</b></dt><dd>
 
560
  <table border="0" cellspacing="2" cellpadding="0">
 
561
    <tr><td valign="top"></td><td valign="top"><em>flags</em>&nbsp;</td><td>Or'd value of <a class="el" href="class_qwt_picker.html#7417aae2fb1ba27fa864ac153df18b6c">QwtPicker::RectSelectionType</a> and <a class="el" href="class_qwt_picker.html#7fde641b6e2514f5271106a1cedd8718">QwtPicker::SelectionMode</a>. The default value is QwtPicker::RectSelection &amp; QwtPicker::ClickSelection.</td></tr>
 
562
  </table>
 
563
</dl>
 
564
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#a42f0efb5aa8bcf4f2097a49fb96f886">selectionFlags()</a>, <a class="el" href="class_qwt_picker.html#446d9f87a6796d62949c62d77c51e3eb">SelectionType</a>, <a class="el" href="class_qwt_picker.html#7417aae2fb1ba27fa864ac153df18b6c">RectSelectionType</a>, <a class="el" href="class_qwt_picker.html#7fde641b6e2514f5271106a1cedd8718">SelectionMode</a> </dd></dl>
 
565
<dl class="note" compact><dt><b>Note:</b></dt><dd>QwtPicker::RectSelection will be auto added. </dd></dl>
 
566
 
 
567
<p>
 
568
Reimplemented from <a class="el" href="class_qwt_picker.html#e93fe995c8c581ac33a9f3445ea5e7b9">QwtPicker</a>.
 
569
<p>
 
570
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00655">655</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
571
<p>
 
572
References <a class="el" href="qwt__picker_8cpp-source.html#l00401">QwtPicker::setSelectionFlags()</a>.
 
573
</div>
 
574
</div><p>
 
575
<a class="anchor" name="c66b3eac03db212812198637f4e233ca"></a><!-- doxytag: member="QwtPlotZoomer::moveBy" ref="c66b3eac03db212812198637f4e233ca" args="(double x, double y)" -->
 
576
<div class="memitem">
 
577
<div class="memproto">
 
578
      <table class="memname">
 
579
        <tr>
 
580
          <td class="memname">void QwtPlotZoomer::moveBy           </td>
 
581
          <td>(</td>
 
582
          <td class="paramtype">double&nbsp;</td>
 
583
          <td class="paramname"> <em>dx</em>, </td>
 
584
        </tr>
 
585
        <tr>
 
586
          <td class="paramkey"></td>
 
587
          <td></td>
 
588
          <td class="paramtype">double&nbsp;</td>
 
589
          <td class="paramname"> <em>dy</em></td><td>&nbsp;</td>
 
590
        </tr>
 
591
        <tr>
 
592
          <td></td>
 
593
          <td>)</td>
 
594
          <td></td><td></td><td width="100%"><code> [slot]</code></td>
 
595
        </tr>
 
596
      </table>
 
597
</div>
 
598
<div class="memdoc">
 
599
 
 
600
<p>
 
601
Move the current zoom rectangle.<p>
 
602
<dl compact><dt><b>Parameters:</b></dt><dd>
 
603
  <table border="0" cellspacing="2" cellpadding="0">
 
604
    <tr><td valign="top"></td><td valign="top"><em>dx</em>&nbsp;</td><td>X offset </td></tr>
 
605
    <tr><td valign="top"></td><td valign="top"><em>dy</em>&nbsp;</td><td>Y offset</td></tr>
 
606
  </table>
 
607
</dl>
 
608
<dl class="note" compact><dt><b>Note:</b></dt><dd>The changed rectangle is limited by the zoom base </dd></dl>
 
609
 
 
610
<p>
 
611
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00488">488</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
612
<p>
 
613
References <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00503">move()</a>.
 
614
</div>
 
615
</div><p>
 
616
<a class="anchor" name="6bfbb67129b1220df65685858c9d882c"></a><!-- doxytag: member="QwtPlotZoomer::move" ref="6bfbb67129b1220df65685858c9d882c" args="(double x, double y)" -->
 
617
<div class="memitem">
 
618
<div class="memproto">
 
619
      <table class="memname">
 
620
        <tr>
 
621
          <td class="memname">void QwtPlotZoomer::move           </td>
 
622
          <td>(</td>
 
623
          <td class="paramtype">double&nbsp;</td>
 
624
          <td class="paramname"> <em>x</em>, </td>
 
625
        </tr>
 
626
        <tr>
 
627
          <td class="paramkey"></td>
 
628
          <td></td>
 
629
          <td class="paramtype">double&nbsp;</td>
 
630
          <td class="paramname"> <em>y</em></td><td>&nbsp;</td>
 
631
        </tr>
 
632
        <tr>
 
633
          <td></td>
 
634
          <td>)</td>
 
635
          <td></td><td></td><td width="100%"><code> [virtual, slot]</code></td>
 
636
        </tr>
 
637
      </table>
 
638
</div>
 
639
<div class="memdoc">
 
640
 
 
641
<p>
 
642
Move the the current zoom rectangle.<p>
 
643
<dl compact><dt><b>Parameters:</b></dt><dd>
 
644
  <table border="0" cellspacing="2" cellpadding="0">
 
645
    <tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>X value </td></tr>
 
646
    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>Y value</td></tr>
 
647
  </table>
 
648
</dl>
 
649
<dl class="see" compact><dt><b>See also:</b></dt><dd>QwtDoubleRect::move </dd></dl>
 
650
<dl class="note" compact><dt><b>Note:</b></dt><dd>The changed rectangle is limited by the zoom base </dd></dl>
 
651
 
 
652
<p>
 
653
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00503">503</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
654
<p>
 
655
References <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00379">rescale()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00192">zoomBase()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00259">zoomRect()</a>.
 
656
<p>
 
657
Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00488">moveBy()</a>.
 
658
</div>
 
659
</div><p>
 
660
<a class="anchor" name="eeed51dfa01136f00961e679dcbb9d9d"></a><!-- doxytag: member="QwtPlotZoomer::zoom" ref="eeed51dfa01136f00961e679dcbb9d9d" args="(const QwtDoubleRect &amp;)" -->
 
661
<div class="memitem">
 
662
<div class="memproto">
 
663
      <table class="memname">
 
664
        <tr>
 
665
          <td class="memname">void QwtPlotZoomer::zoom           </td>
 
666
          <td>(</td>
 
667
          <td class="paramtype">const <a class="el" href="qwt__double__rect_8h.html#0c0dc4d33592fac4ad94734d8e9c4152">QwtDoubleRect</a> &amp;&nbsp;</td>
 
668
          <td class="paramname"> <em>rect</em>          </td>
 
669
          <td>&nbsp;)&nbsp;</td>
 
670
          <td width="100%"><code> [virtual, slot]</code></td>
 
671
        </tr>
 
672
      </table>
 
673
</div>
 
674
<div class="memdoc">
 
675
 
 
676
<p>
 
677
Zoom in. 
 
678
<p>
 
679
Clears all rectangles above the current position of the zoom stack and pushs the intersection of <a class="el" href="class_qwt_plot_zoomer.html#261d13f67af6e02ba48a64b36f7b5aef">zoomRect()</a> and the normalized rect on it.<p>
 
680
<dl class="note" compact><dt><b>Note:</b></dt><dd>If the maximal stack depth is reached, zoom is ignored. <p>
 
681
The zoomed signal is emitted. </dd></dl>
 
682
 
 
683
<p>
 
684
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00283">283</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
685
<p>
 
686
References <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00379">rescale()</a>, <a class="el" href="class_qwt_plot_zoomer.html#e4e9b90ccfb97f4eae54c667f79644ff">zoomed()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00259">zoomRect()</a>.
 
687
<p>
 
688
Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00611">end()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00145">setMaxStackDepth()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00465">widgetKeyPressEvent()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00442">widgetMouseReleaseEvent()</a>.
 
689
</div>
 
690
</div><p>
 
691
<a class="anchor" name="0cee73f15c5791553cb52c4e7b3e881e"></a><!-- doxytag: member="QwtPlotZoomer::zoom" ref="0cee73f15c5791553cb52c4e7b3e881e" args="(int up)" -->
 
692
<div class="memitem">
 
693
<div class="memproto">
 
694
      <table class="memname">
 
695
        <tr>
 
696
          <td class="memname">void QwtPlotZoomer::zoom           </td>
 
697
          <td>(</td>
 
698
          <td class="paramtype">int&nbsp;</td>
 
699
          <td class="paramname"> <em>offset</em>          </td>
 
700
          <td>&nbsp;)&nbsp;</td>
 
701
          <td width="100%"><code> [virtual, slot]</code></td>
 
702
        </tr>
 
703
      </table>
 
704
</div>
 
705
<div class="memdoc">
 
706
 
 
707
<p>
 
708
Zoom in or out. 
 
709
<p>
 
710
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.<p>
 
711
<dl compact><dt><b>Parameters:</b></dt><dd>
 
712
  <table border="0" cellspacing="2" cellpadding="0">
 
713
    <tr><td valign="top"></td><td valign="top"><em>offset</em>&nbsp;</td><td>Offset relative to the current position of the zoom stack. </td></tr>
 
714
  </table>
 
715
</dl>
 
716
<dl class="note" compact><dt><b>Note:</b></dt><dd>The zoomed signal is emitted. </dd></dl>
 
717
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html#b2a8af282a7052976e9c18b2d0c59db9">zoomRectIndex()</a> </dd></dl>
 
718
 
 
719
<p>
 
720
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00320">320</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
721
<p>
 
722
References <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00379">rescale()</a>, <a class="el" href="class_qwt_plot_zoomer.html#e4e9b90ccfb97f4eae54c667f79644ff">zoomed()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00259">zoomRect()</a>.
 
723
</div>
 
724
</div><p>
 
725
<a class="anchor" name="e4e9b90ccfb97f4eae54c667f79644ff"></a><!-- doxytag: member="QwtPlotZoomer::zoomed" ref="e4e9b90ccfb97f4eae54c667f79644ff" args="(const QwtDoubleRect &amp;rect)" -->
 
726
<div class="memitem">
 
727
<div class="memproto">
 
728
      <table class="memname">
 
729
        <tr>
 
730
          <td class="memname">void QwtPlotZoomer::zoomed           </td>
 
731
          <td>(</td>
 
732
          <td class="paramtype">const <a class="el" href="qwt__double__rect_8h.html#0c0dc4d33592fac4ad94734d8e9c4152">QwtDoubleRect</a> &amp;&nbsp;</td>
 
733
          <td class="paramname"> <em>rect</em>          </td>
 
734
          <td>&nbsp;)&nbsp;</td>
 
735
          <td width="100%"><code> [signal]</code></td>
 
736
        </tr>
 
737
      </table>
 
738
</div>
 
739
<div class="memdoc">
 
740
 
 
741
<p>
 
742
A signal emitting the <a class="el" href="class_qwt_plot_zoomer.html#261d13f67af6e02ba48a64b36f7b5aef">zoomRect()</a>, when the plot has been zoomed in or out.<p>
 
743
<dl compact><dt><b>Parameters:</b></dt><dd>
 
744
  <table border="0" cellspacing="2" cellpadding="0">
 
745
    <tr><td valign="top"></td><td valign="top"><em>rect</em>&nbsp;</td><td>Current zoom rectangle. </td></tr>
 
746
  </table>
 
747
</dl>
 
748
 
 
749
<p>
 
750
Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00283">zoom()</a>.
 
751
</div>
 
752
</div><p>
 
753
<a class="anchor" name="0d0f90bbd5fe99d5231b3cee00fffabe"></a><!-- doxytag: member="QwtPlotZoomer::rescale" ref="0d0f90bbd5fe99d5231b3cee00fffabe" args="()" -->
 
754
<div class="memitem">
 
755
<div class="memproto">
 
756
      <table class="memname">
 
757
        <tr>
 
758
          <td class="memname">void QwtPlotZoomer::rescale           </td>
 
759
          <td>(</td>
 
760
          <td class="paramname">          </td>
 
761
          <td>&nbsp;)&nbsp;</td>
 
762
          <td width="100%"><code> [protected, virtual]</code></td>
 
763
        </tr>
 
764
      </table>
 
765
</div>
 
766
<div class="memdoc">
 
767
 
 
768
<p>
 
769
Adjust the observed plot to <a class="el" href="class_qwt_plot_zoomer.html#261d13f67af6e02ba48a64b36f7b5aef">zoomRect()</a><p>
 
770
<dl class="note" compact><dt><b>Note:</b></dt><dd>Initiates <a class="el" href="class_qwt_plot.html#7b094e29b8e92b00e36517d0d7633c4b">QwtPlot::replot</a> </dd></dl>
 
771
 
 
772
<p>
 
773
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00379">379</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
774
<p>
 
775
References <a class="el" href="qwt__plot_8cpp-source.html#l00190">QwtPlot::autoReplot()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00235">QwtPlot::axisScaleDiv()</a>, <a class="el" href="qwt__scale__div_8h-source.html#l00111">QwtScaleDiv::hBound()</a>, <a class="el" href="qwt__scale__div_8h-source.html#l00102">QwtScaleDiv::lBound()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00119">QwtPlotPicker::plot()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00363">QwtPlot::replot()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00143">QwtPlotPicker::scaleRect()</a>, <a class="el" href="qwt__plot_8cpp-source.html#l00184">QwtPlot::setAutoReplot()</a>, <a class="el" href="qwt__plot__axis_8cpp-source.html#l00414">QwtPlot::setAxisScale()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00183">QwtPlotPicker::xAxis()</a>, and <a class="el" href="qwt__plot__picker_8cpp-source.html#l00189">QwtPlotPicker::yAxis()</a>.
 
776
<p>
 
777
Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00503">move()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00206">setZoomBase()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00283">zoom()</a>.
 
778
</div>
 
779
</div><p>
 
780
<a class="anchor" name="27bb8d7911ef686f2a66bbc88df7e8d1"></a><!-- doxytag: member="QwtPlotZoomer::minZoomSize" ref="27bb8d7911ef686f2a66bbc88df7e8d1" args="() const" -->
 
781
<div class="memitem">
 
782
<div class="memproto">
 
783
      <table class="memname">
 
784
        <tr>
 
785
          <td class="memname"><a class="el" href="qwt__double__rect_8h.html#b86c0b8b4728646331f12743013c5b43">QwtDoubleSize</a> QwtPlotZoomer::minZoomSize           </td>
 
786
          <td>(</td>
 
787
          <td class="paramname">          </td>
 
788
          <td>&nbsp;)&nbsp;</td>
 
789
          <td width="100%"> const<code> [protected, virtual]</code></td>
 
790
        </tr>
 
791
      </table>
 
792
</div>
 
793
<div class="memdoc">
 
794
 
 
795
<p>
 
796
Limit zooming by a minimum rectangle. 
 
797
<p>
 
798
<dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html#dee8a101b06a37ec778038c789518e28">zoomBase()</a>.width() / 10e4, <a class="el" href="class_qwt_plot_zoomer.html#dee8a101b06a37ec778038c789518e28">zoomBase()</a>.height() / 10e4 </dd></dl>
 
799
 
 
800
<p>
 
801
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00567">567</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
802
<p>
 
803
Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00533">accept()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00581">begin()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00611">end()</a>.
 
804
</div>
 
805
</div><p>
 
806
<a class="anchor" name="abded662ecb3555b3a29cf3daacf79de"></a><!-- doxytag: member="QwtPlotZoomer::widgetMouseReleaseEvent" ref="abded662ecb3555b3a29cf3daacf79de" args="(QMouseEvent *)" -->
 
807
<div class="memitem">
 
808
<div class="memproto">
 
809
      <table class="memname">
 
810
        <tr>
 
811
          <td class="memname">void QwtPlotZoomer::widgetMouseReleaseEvent           </td>
 
812
          <td>(</td>
 
813
          <td class="paramtype">QMouseEvent *&nbsp;</td>
 
814
          <td class="paramname"> <em>me</em>          </td>
 
815
          <td>&nbsp;)&nbsp;</td>
 
816
          <td width="100%"><code> [protected, virtual]</code></td>
 
817
        </tr>
 
818
      </table>
 
819
</div>
 
820
<div class="memdoc">
 
821
 
 
822
<p>
 
823
Qt::MidButton zooms out one position on the zoom stack, Qt::RightButton to the zoom base.<p>
 
824
Changes the current position on the stack, but doesn't pop any rectangle.<p>
 
825
<dl class="note" compact><dt><b>Note:</b></dt><dd>The mouse events can be changed, using <a class="el" href="class_qwt_event_pattern.html#c63fb935c777421794d669aa63faec68">QwtEventPattern::setMousePattern</a>: 2, 1 </dd></dl>
 
826
 
 
827
<p>
 
828
Reimplemented from <a class="el" href="class_qwt_picker.html#c009633e005b6290e07b902f2a58e45e">QwtPicker</a>.
 
829
<p>
 
830
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00442">442</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
831
<p>
 
832
References <a class="el" href="qwt__event__pattern_8cpp-source.html#l00193">QwtEventPattern::mouseMatch()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00961">QwtPicker::widgetMouseReleaseEvent()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00283">zoom()</a>.
 
833
</div>
 
834
</div><p>
 
835
<a class="anchor" name="a44e42dcf37547a6b93d04a593f140c6"></a><!-- doxytag: member="QwtPlotZoomer::widgetKeyPressEvent" ref="a44e42dcf37547a6b93d04a593f140c6" args="(QKeyEvent *)" -->
 
836
<div class="memitem">
 
837
<div class="memproto">
 
838
      <table class="memname">
 
839
        <tr>
 
840
          <td class="memname">void QwtPlotZoomer::widgetKeyPressEvent           </td>
 
841
          <td>(</td>
 
842
          <td class="paramtype">QKeyEvent *&nbsp;</td>
 
843
          <td class="paramname"> <em>ke</em>          </td>
 
844
          <td>&nbsp;)&nbsp;</td>
 
845
          <td width="100%"><code> [protected, virtual]</code></td>
 
846
        </tr>
 
847
      </table>
 
848
</div>
 
849
<div class="memdoc">
 
850
 
 
851
<p>
 
852
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.<p>
 
853
Changes the current position on the stack, but doesn't pop any rectangle.<p>
 
854
<dl class="note" compact><dt><b>Note:</b></dt><dd>The keys codes can be changed, using <a class="el" href="class_qwt_event_pattern.html#2c3b52e4f470086fb6b883ff1f48b711">QwtEventPattern::setKeyPattern</a>: 3, 4, 5 </dd></dl>
 
855
 
 
856
<p>
 
857
Reimplemented from <a class="el" href="class_qwt_picker.html#f5bc441b2fc143363563922a3b3c70ae">QwtPicker</a>.
 
858
<p>
 
859
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00465">465</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
860
<p>
 
861
References <a class="el" href="qwt__picker_8cpp-source.html#l01263">QwtPicker::isActive()</a>, <a class="el" href="qwt__event__pattern_8cpp-source.html#l00248">QwtEventPattern::keyMatch()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01015">QwtPicker::widgetKeyPressEvent()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00283">zoom()</a>.
 
862
</div>
 
863
</div><p>
 
864
<a class="anchor" name="a54bb05797c0468c0f8de4217dce24dd"></a><!-- doxytag: member="QwtPlotZoomer::begin" ref="a54bb05797c0468c0f8de4217dce24dd" args="()" -->
 
865
<div class="memitem">
 
866
<div class="memproto">
 
867
      <table class="memname">
 
868
        <tr>
 
869
          <td class="memname">void QwtPlotZoomer::begin           </td>
 
870
          <td>(</td>
 
871
          <td class="paramname">          </td>
 
872
          <td>&nbsp;)&nbsp;</td>
 
873
          <td width="100%"><code> [protected, virtual]</code></td>
 
874
        </tr>
 
875
      </table>
 
876
</div>
 
877
<div class="memdoc">
 
878
 
 
879
<p>
 
880
Rejects selections, when the stack depth is too deep, or the zoomed rectangle is <a class="el" href="class_qwt_plot_zoomer.html#27bb8d7911ef686f2a66bbc88df7e8d1">minZoomSize()</a>.<p>
 
881
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html#27bb8d7911ef686f2a66bbc88df7e8d1">minZoomSize()</a>, <a class="el" href="class_qwt_plot_zoomer.html#b541148fa7d57b8102d3d70ab9daccc4">maxStackDepth()</a> </dd></dl>
 
882
 
 
883
<p>
 
884
Reimplemented from <a class="el" href="class_qwt_picker.html#49cb19aea451e275c5d376235e5a1d83">QwtPicker</a>.
 
885
<p>
 
886
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00581">581</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
887
<p>
 
888
References <a class="el" href="qwt__picker_8cpp-source.html#l01134">QwtPicker::begin()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00567">minZoomSize()</a>.
 
889
</div>
 
890
</div><p>
 
891
<a class="anchor" name="c7d10eb27858ccfebebecab5d69ecbb3"></a><!-- doxytag: member="QwtPlotZoomer::end" ref="c7d10eb27858ccfebebecab5d69ecbb3" args="(bool ok=true)" -->
 
892
<div class="memitem">
 
893
<div class="memproto">
 
894
      <table class="memname">
 
895
        <tr>
 
896
          <td class="memname">bool QwtPlotZoomer::end           </td>
 
897
          <td>(</td>
 
898
          <td class="paramtype">bool&nbsp;</td>
 
899
          <td class="paramname"> <em>ok</em> = <code>true</code>          </td>
 
900
          <td>&nbsp;)&nbsp;</td>
 
901
          <td width="100%"><code> [protected, virtual]</code></td>
 
902
        </tr>
 
903
      </table>
 
904
</div>
 
905
<div class="memdoc">
 
906
 
 
907
<p>
 
908
Expand the selected rectangle to <a class="el" href="class_qwt_plot_zoomer.html#27bb8d7911ef686f2a66bbc88df7e8d1">minZoomSize()</a> and zoom in if accepted.<p>
 
909
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_plot_zoomer.html#86898c6696ee0706a3ac6b61018a112e">QwtPlotZoomer::accept()</a>a, <a class="el" href="class_qwt_plot_zoomer.html#27bb8d7911ef686f2a66bbc88df7e8d1">QwtPlotZoomer::minZoomSize()</a> </dd></dl>
 
910
 
 
911
<p>
 
912
Reimplemented from <a class="el" href="class_qwt_plot_picker.html#9fceb663542b6f9b0a358e9419406423">QwtPlotPicker</a>.
 
913
<p>
 
914
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00611">611</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
915
<p>
 
916
References <a class="el" href="qwt__plot__picker_8cpp-source.html#l00273">QwtPlotPicker::end()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00332">QwtPlotPicker::invTransform()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00567">minZoomSize()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00119">QwtPlotPicker::plot()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01269">QwtPicker::selection()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00283">zoom()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00259">zoomRect()</a>.
 
917
</div>
 
918
</div><p>
 
919
<a class="anchor" name="86898c6696ee0706a3ac6b61018a112e"></a><!-- doxytag: member="QwtPlotZoomer::accept" ref="86898c6696ee0706a3ac6b61018a112e" args="(QwtPolygon &amp;) const " -->
 
920
<div class="memitem">
 
921
<div class="memproto">
 
922
      <table class="memname">
 
923
        <tr>
 
924
          <td class="memname">bool QwtPlotZoomer::accept           </td>
 
925
          <td>(</td>
 
926
          <td class="paramtype">QwtPolygon &amp;&nbsp;</td>
 
927
          <td class="paramname"> <em>pa</em>          </td>
 
928
          <td>&nbsp;)&nbsp;</td>
 
929
          <td width="100%"> const<code> [protected, virtual]</code></td>
 
930
        </tr>
 
931
      </table>
 
932
</div>
 
933
<div class="memdoc">
 
934
 
 
935
<p>
 
936
Check and correct a selected rectangle. 
 
937
<p>
 
938
Reject rectangles with a hight or width &lt; 2, otherwise expand the selected rectangle to a minimum size of 11x11 and accept it.<p>
 
939
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true If rect is accepted, or has been changed to a accepted rectangle. </dd></dl>
 
940
 
 
941
<p>
 
942
Reimplemented from <a class="el" href="class_qwt_picker.html#726e38a25659db96218888e4625dffba">QwtPicker</a>.
 
943
<p>
 
944
Definition at line <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00533">533</a> of file <a class="el" href="qwt__plot__zoomer_8cpp-source.html">qwt_plot_zoomer.cpp</a>.
 
945
<p>
 
946
References <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00567">minZoomSize()</a>.
 
947
</div>
 
948
</div><p>
 
949
<hr size="1"><address style="align: right;"><small>Generated on Sat May 24 18:48:57 2008 for Qwt User's Guide by&nbsp;
 
950
<a href="http://www.doxygen.org/index.html">
 
951
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
 
952
</body>
 
953
</html>