1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>Qwt User's Guide: QwtPicker Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.0 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
12
<li><a href="files.html"><span>Files</span></a></li>
13
<li><a href="pages.html"><span>Related Pages</span></a></li>
17
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
18
<li><a href="annotated.html"><span>Class List</span></a></li>
19
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
20
<li><a href="functions.html"><span>Class Members</span></a></li>
22
<h1>QwtPicker Class Reference</h1><!-- doxytag: class="QwtPicker" --><!-- doxytag: inherits="QwtEventPattern" -->Inheritance diagram for QwtPicker:<p><center><img src="class_qwt_picker__inherit__graph.png" border="0" usemap="#_qwt_picker__inherit__map" alt="Inheritance graph"></center>
23
<map name="_qwt_picker__inherit__map">
24
<area href="class_qwt_plot_picker.html" shape="rect" coords="15,157,121,181" alt="">
25
<area href="class_qwt_event_pattern.html" shape="rect" coords="7,8,129,32" alt="">
26
<area href="class_qwt_plot_zoomer.html" shape="rect" coords="11,232,125,256" alt="">
28
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for QwtPicker:<p><center><img src="class_qwt_picker__coll__graph.png" border="0" usemap="#_qwt_picker__coll__map" alt="Collaboration graph"></center>
29
<map name="_qwt_picker__coll__map">
30
<area href="class_qwt_event_pattern.html" shape="rect" coords="7,8,129,32" alt="">
32
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_picker-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
33
<a class="el" href="class_qwt_picker.html">QwtPicker</a> provides selections on a widget.
35
<a class="el" href="class_qwt_picker.html">QwtPicker</a> filters all mouse and keyboard events of a widget and translates them into an array of selected points. Depending on the <a class="el" href="class_qwt_picker.html#446d9f87a6796d62949c62d77c51e3eb">QwtPicker::SelectionType</a> the selection might be a single point, a rectangle or a polygon. The selection process is supported by optional rubberbands (rubberband selection) and position trackers.<p>
36
<a class="el" href="class_qwt_picker.html">QwtPicker</a> is useful for widgets where the event handlers can't be overloaded, like for components of composite widgets. It offers alternative handlers for mouse and key events.<p>
37
<dl class="user" compact><dt><b>Example </b></dt><dd><div class="fragment"><pre class="fragment">#include <qwt_picker.h>
39
QwtPicker *picker = new QwtPicker(widget);
40
picker->setTrackerMode(QwtPicker::ActiveOnly);
41
connect(picker, SIGNAL(selected(const QwtPolygon &)), ...);
43
// emit the position of clicks on widget
44
picker->setSelectionFlags(QwtPicker::PointSelection | QwtPicker::ClickSelection);
48
// now select rectangles
49
picker->setSelectionFlags(QwtPicker::RectSelection | QwtPicker::DragSelection);
50
picker->setRubberBand(QwtPicker::RectRubberBand); </pre></div><br>
52
The selection process uses the commands <a class="el" href="class_qwt_picker.html#49cb19aea451e275c5d376235e5a1d83">begin()</a>, <a class="el" href="class_qwt_picker.html#5dd2e0ce6b2a6cc50e345ec13aef9255">append()</a>, <a class="el" href="class_qwt_picker.html#59d92670978f200edb61e429afa06542">move()</a> and <a class="el" href="class_qwt_picker.html#d258c518257cf2f52326905a36efb0c4">end()</a>. <a class="el" href="class_qwt_picker.html#5dd2e0ce6b2a6cc50e345ec13aef9255">append()</a> adds a new point to the selection, <a class="el" href="class_qwt_picker.html#59d92670978f200edb61e429afa06542">move()</a> changes the position of the latest point.<p>
53
The commands are initiated from a small state machine (<a class="el" href="class_qwt_picker_machine.html">QwtPickerMachine</a>) that translates mouse and key events. There are a couple of predefined state machines for point, rect and polygon selections. The <a class="el" href="class_qwt_picker.html#a42f0efb5aa8bcf4f2097a49fb96f886">selectionFlags()</a> control which one should be used. It is possible to use other machines by overloading <a class="el" href="class_qwt_picker.html#aad63b94d03f8ebb363ed51d7c2a0dd2">stateMachine()</a>.<p>
54
The picker is active (<a class="el" href="class_qwt_picker.html#9ee030f985edfa20d0f896534b9b611b">isActive()</a>), between <a class="el" href="class_qwt_picker.html#49cb19aea451e275c5d376235e5a1d83">begin()</a> and <a class="el" href="class_qwt_picker.html#d258c518257cf2f52326905a36efb0c4">end()</a>. In active state the rubberband is displayed, and the tracker is visible in case of trackerMode is ActiveOnly or AlwaysOn.<p>
55
The cursor can be moved using the arrow keys. All selections can be aborted using the abort key. (<a class="el" href="class_qwt_event_pattern.html#8fb57ceb9982d5583a1bf568e37d3007">QwtEventPattern::KeyPatternCode</a>)<p>
56
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>In case of QWidget::NoFocus the focus policy of the observed widget is set to QWidget::WheelFocus and mouse tracking will be manipulated for ClickSelection while the picker is active, or if <a class="el" href="class_qwt_picker.html#aa6987f2fbc65e6468891c779201461b">trackerMode()</a> is AlwayOn. </dd></dl>
61
Definition at line <a class="el" href="qwt__picker_8h-source.html#l00080">80</a> of file <a class="el" href="qwt__picker_8h-source.html">qwt_picker.h</a>.<table border="0" cellpadding="0" cellspacing="0">
63
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
64
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#446d9f87a6796d62949c62d77c51e3eb">SelectionType</a> { <br>
65
<b>NoSelection</b> = 0,
67
<b>PointSelection</b> = 1,
69
<b>RectSelection</b> = 2,
71
<b>PolygonSelection</b> = 4
75
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#7417aae2fb1ba27fa864ac153df18b6c">RectSelectionType</a> { <br>
76
<b>CornerToCorner</b> = 64,
78
<b>CenterToCorner</b> = 128,
80
<b>CenterToRadius</b> = 256
84
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#7fde641b6e2514f5271106a1cedd8718">SelectionMode</a> { <br>
85
<b>ClickSelection</b> = 1024,
87
<b>DragSelection</b> = 2048
91
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#b36c79d8ff20aba5b778d2823c1f7894">RubberBand</a> { <br>
92
<b>NoRubberBand</b> = 0,
94
<b>HLineRubberBand</b>,
96
<b>VLineRubberBand</b>,
98
<b>CrossRubberBand</b>,
100
<b>RectRubberBand</b>,
102
<b>EllipseRubberBand</b>,
104
<b>PolygonRubberBand</b>,
106
<b>UserRubberBand</b> = 100
110
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#01be4d404ffc3a7b238b0d0aaeb66b93">DisplayMode</a> { <br>
111
<b>AlwaysOff</b>,
113
<b>AlwaysOn</b>,
115
<b>ActiveOnly</b>,
117
<b>ImageMode</b> = 1,
119
<b>ContourMode</b> = 2
123
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#b3c894deed026f392496dd07809a6fd3">ResizeMode</a> { <br>
124
<b>Stretch</b>,
126
<b>KeepSize</b>
130
<tr><td colspan="2"><br><h2>Signals</h2></td></tr>
131
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#dc217b13621f291dd2ba081e2c28e4f4">selected</a> (const QwtPolygon &pa)</td></tr>
133
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#d52219271a7c8efab35ded14ac89827a">appended</a> (const QPoint &pos)</td></tr>
135
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#dddb4800c1dac0ba807e731f45d40742">moved</a> (const QPoint &pos)</td></tr>
137
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#dc25f36804c8a9fe24bb8640a73c4051">changed</a> (const QwtPolygon &pa)</td></tr>
139
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
140
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#f9a5f4b0e4b37e2f323e801aa9dd6fe1">QwtPicker</a> (QWidget *parent)</td></tr>
142
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#d02f607bedf6ef3630f931fc6712db2f">QwtPicker</a> (int selectionFlags, <a class="el" href="class_qwt_picker.html#b36c79d8ff20aba5b778d2823c1f7894">RubberBand</a> rubberBand, <a class="el" href="class_qwt_picker.html#01be4d404ffc3a7b238b0d0aaeb66b93">DisplayMode</a> trackerMode, QWidget *)</td></tr>
144
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#5d0906a0d3b12e0e44499f855cb9dab1">~QwtPicker</a> ()</td></tr>
146
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#e93fe995c8c581ac33a9f3445ea5e7b9">setSelectionFlags</a> (int)</td></tr>
148
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#a42f0efb5aa8bcf4f2097a49fb96f886">selectionFlags</a> () const</td></tr>
150
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#83096bad2662e02e4914a7b40241c351">setRubberBand</a> (<a class="el" href="class_qwt_picker.html#b36c79d8ff20aba5b778d2823c1f7894">RubberBand</a>)</td></tr>
152
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_picker.html#b36c79d8ff20aba5b778d2823c1f7894">RubberBand</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#12337424be42ca2173f548607b7de7da">rubberBand</a> () const</td></tr>
154
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#94fc60c7223cdc470ae63156f6446d6f">setTrackerMode</a> (<a class="el" href="class_qwt_picker.html#01be4d404ffc3a7b238b0d0aaeb66b93">DisplayMode</a>)</td></tr>
156
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_picker.html#01be4d404ffc3a7b238b0d0aaeb66b93">DisplayMode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#aa6987f2fbc65e6468891c779201461b">trackerMode</a> () const</td></tr>
158
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#f85c8a3c709bd106d2b34b718a746e03">setResizeMode</a> (<a class="el" href="class_qwt_picker.html#b3c894deed026f392496dd07809a6fd3">ResizeMode</a>)</td></tr>
160
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_picker.html#b3c894deed026f392496dd07809a6fd3">ResizeMode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#0bb802fa991b974e6516075669bedcbc">resizeMode</a> () const</td></tr>
162
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#13117b1929f1ca00a75002f7f4c612bc">setRubberBandPen</a> (const QPen &)</td></tr>
164
<tr><td class="memItemLeft" nowrap align="right" valign="top">QPen </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#3aa0eda393160c89712805ae9516f101">rubberBandPen</a> () const</td></tr>
166
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#f703bc51cda716e503cbd86731270e5b">setTrackerPen</a> (const QPen &)</td></tr>
168
<tr><td class="memItemLeft" nowrap align="right" valign="top">QPen </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#671525e8375a044213a68605911012b7">trackerPen</a> () const</td></tr>
170
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#9f54cce7d2e3f6e06351315bf655d5d9">setTrackerFont</a> (const QFont &)</td></tr>
172
<tr><td class="memItemLeft" nowrap align="right" valign="top">QFont </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#065ae5042d5b720ecc2fdf5d2e9702cc">trackerFont</a> () const</td></tr>
174
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#a5fc6ba4bcf5eecb883724ac63546fe8">isEnabled</a> () const</td></tr>
176
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#a590756369efae6ebf323302a0af5d36">setEnabled</a> (bool)</td></tr>
178
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#9ee030f985edfa20d0f896534b9b611b">isActive</a> () const</td></tr>
180
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#c149f9cb8fb068f31871e1fe450c376e">eventFilter</a> (QObject *, QEvent *)</td></tr>
182
<tr><td class="memItemLeft" nowrap align="right" valign="top">QWidget * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#da0c12257e006f0066d22c3eb83f667e">parentWidget</a> ()</td></tr>
184
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QWidget * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#10b5cb077ef2287d6ba4a097545d80c9">parentWidget</a> () const</td></tr>
186
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QRect </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#74c3d89dd9916496205a174bebd2a2ca">pickRect</a> () const</td></tr>
188
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QwtPolygon & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#ffd1873073e70397661bb23ad8f43457">selection</a> () const</td></tr>
190
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#0f24e52461d4e4194d47c8a8092f8c91">drawRubberBand</a> (QPainter *) const</td></tr>
192
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#62a53af9657eeafd348f3557adcfd61e">drawTracker</a> (QPainter *) const</td></tr>
194
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_qwt_text.html">QwtText</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#b8160fa4e1080ba62cce9692dda4e71c">trackerText</a> (const QPoint &pos) const</td></tr>
196
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="71fa740827bb3c92fce7e294f91971d3"></a><!-- doxytag: member="QwtPicker::trackerPosition" ref="71fa740827bb3c92fce7e294f91971d3" args="() const" -->
197
QPoint </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#71fa740827bb3c92fce7e294f91971d3">trackerPosition</a> () const</td></tr>
199
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3091a5812652b9fef50507ecf957160b"></a><!-- doxytag: member="QwtPicker::trackerRect" ref="3091a5812652b9fef50507ecf957160b" args="(const QFont &) const " -->
200
QRect </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#3091a5812652b9fef50507ecf957160b">trackerRect</a> (const QFont &) const </td></tr>
202
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
203
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#726e38a25659db96218888e4625dffba">accept</a> (QwtPolygon &selection) const</td></tr>
205
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#90f9f3485f054c36c1835931e9a387dd">transition</a> (const QEvent *)</td></tr>
207
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#49cb19aea451e275c5d376235e5a1d83">begin</a> ()</td></tr>
209
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#5dd2e0ce6b2a6cc50e345ec13aef9255">append</a> (const QPoint &)</td></tr>
211
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#59d92670978f200edb61e429afa06542">move</a> (const QPoint &)</td></tr>
213
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#d258c518257cf2f52326905a36efb0c4">end</a> (bool ok=true)</td></tr>
215
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#0e50f7be7182e81607bf1625dcdff6eb">reset</a> ()</td></tr>
217
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#4bfae8da37c3936ae73d4798cca4a3d9">widgetMousePressEvent</a> (QMouseEvent *)</td></tr>
219
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#c009633e005b6290e07b902f2a58e45e">widgetMouseReleaseEvent</a> (QMouseEvent *)</td></tr>
221
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#f1ffb07c24be57cd4a753b04412b3212">widgetMouseDoubleClickEvent</a> (QMouseEvent *)</td></tr>
223
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#88b203109a4d3b26c2e0bee110c56c9d">widgetMouseMoveEvent</a> (QMouseEvent *)</td></tr>
225
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#f92ffabe291a6254378dc932c5cce0a7">widgetWheelEvent</a> (QWheelEvent *)</td></tr>
227
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#f5bc441b2fc143363563922a3b3c70ae">widgetKeyPressEvent</a> (QKeyEvent *)</td></tr>
229
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#9f2c739a619be794b22a10ede9674a1e">widgetKeyReleaseEvent</a> (QKeyEvent *)</td></tr>
231
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#8a2a18f2b98c8524b1d3684df44c24aa">widgetLeaveEvent</a> (QEvent *)</td></tr>
233
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#24b0e4bcf6a9b7f41c81ea19305105a8">stretchSelection</a> (const QSize &oldSize, const QSize &newSize)</td></tr>
235
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_qwt_picker_machine.html">QwtPickerMachine</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#aad63b94d03f8ebb363ed51d7c2a0dd2">stateMachine</a> (int) const </td></tr>
237
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="03aa9bf28f991473d564a57d1bf3bdcc"></a><!-- doxytag: member="QwtPicker::updateDisplay" ref="03aa9bf28f991473d564a57d1bf3bdcc" args="()" -->
238
virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#03aa9bf28f991473d564a57d1bf3bdcc">updateDisplay</a> ()</td></tr>
240
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff19094a4c5d7feb2bcab01eedb52b9e"></a><!-- doxytag: member="QwtPicker::rubberBandWidget" ref="ff19094a4c5d7feb2bcab01eedb52b9e" args="() const" -->
241
const QWidget * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#ff19094a4c5d7feb2bcab01eedb52b9e">rubberBandWidget</a> () const</td></tr>
243
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3e3b31c25a35dec32be4712c8f563f4f"></a><!-- doxytag: member="QwtPicker::trackerWidget" ref="3e3b31c25a35dec32be4712c8f563f4f" args="() const" -->
244
const QWidget * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_picker.html#3e3b31c25a35dec32be4712c8f563f4f">trackerWidget</a> () const</td></tr>
247
<hr><h2>Member Enumeration Documentation</h2>
248
<a class="anchor" name="446d9f87a6796d62949c62d77c51e3eb"></a><!-- doxytag: member="QwtPicker::SelectionType" ref="446d9f87a6796d62949c62d77c51e3eb" args="" -->
249
<div class="memitem">
250
<div class="memproto">
251
<table class="memname">
253
<td class="memname">enum <a class="el" href="class_qwt_picker.html#446d9f87a6796d62949c62d77c51e3eb">QwtPicker::SelectionType</a> </td>
260
This enum type describes the type of a selection. It can be or'd with <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> and passed to <a class="el" href="class_qwt_picker.html#e93fe995c8c581ac33a9f3445ea5e7b9">QwtPicker::setSelectionFlags()</a><ul>
262
Selection is disabled. Note this is different to the disabled state, as you might have a tracker.</li><li>PointSelection<br>
263
Select a single point.</li><li>RectSelection<br>
264
Select a rectangle.</li><li>PolygonSelection<br>
265
Select a polygon.</li></ul>
267
The default value is NoSelection. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#e93fe995c8c581ac33a9f3445ea5e7b9">QwtPicker::setSelectionFlags()</a>, <a class="el" href="class_qwt_picker.html#a42f0efb5aa8bcf4f2097a49fb96f886">QwtPicker::selectionFlags()</a> </dd></dl>
270
Definition at line <a class="el" href="qwt__picker_8h-source.html#l00117">117</a> of file <a class="el" href="qwt__picker_8h-source.html">qwt_picker.h</a>.
273
<a class="anchor" name="7417aae2fb1ba27fa864ac153df18b6c"></a><!-- doxytag: member="QwtPicker::RectSelectionType" ref="7417aae2fb1ba27fa864ac153df18b6c" args="" -->
274
<div class="memitem">
275
<div class="memproto">
276
<table class="memname">
278
<td class="memname">enum <a class="el" href="class_qwt_picker.html#7417aae2fb1ba27fa864ac153df18b6c">QwtPicker::RectSelectionType</a> </td>
285
Selection subtype for RectSelection This enum type describes the type of rectangle selections. It can be or'd with <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> and passed to <a class="el" href="class_qwt_picker.html#e93fe995c8c581ac33a9f3445ea5e7b9">QwtPicker::setSelectionFlags()</a>.<ul>
286
<li>CornerToCorner<br>
287
The first and the second selected point are the corners of the rectangle.</li><li>CenterToCorner<br>
288
The first point is the center, the second a corner of the rectangle.</li><li>CenterToRadius<br>
289
The first point is the center of a quadrat, calculated by the maximum of the x- and y-distance. </li></ul>
292
The default value is CornerToCorner. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#e93fe995c8c581ac33a9f3445ea5e7b9">QwtPicker::setSelectionFlags()</a>, <a class="el" href="class_qwt_picker.html#a42f0efb5aa8bcf4f2097a49fb96f886">QwtPicker::selectionFlags()</a> </dd></dl>
295
Definition at line <a class="el" href="qwt__picker_8h-source.html#l00143">143</a> of file <a class="el" href="qwt__picker_8h-source.html">qwt_picker.h</a>.
298
<a class="anchor" name="7fde641b6e2514f5271106a1cedd8718"></a><!-- doxytag: member="QwtPicker::SelectionMode" ref="7fde641b6e2514f5271106a1cedd8718" args="" -->
299
<div class="memitem">
300
<div class="memproto">
301
<table class="memname">
303
<td class="memname">enum <a class="el" href="class_qwt_picker.html#7fde641b6e2514f5271106a1cedd8718">QwtPicker::SelectionMode</a> </td>
310
Values of this enum type or'd together with a SelectionType value identifies which state machine should be used for the selection.<p>
311
The default value is ClickSelection. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#aad63b94d03f8ebb363ed51d7c2a0dd2">stateMachine()</a> </dd></dl>
314
Definition at line <a class="el" href="qwt__picker_8h-source.html#l00157">157</a> of file <a class="el" href="qwt__picker_8h-source.html">qwt_picker.h</a>.
317
<a class="anchor" name="b36c79d8ff20aba5b778d2823c1f7894"></a><!-- doxytag: member="QwtPicker::RubberBand" ref="b36c79d8ff20aba5b778d2823c1f7894" args="" -->
318
<div class="memitem">
319
<div class="memproto">
320
<table class="memname">
322
<td class="memname">enum <a class="el" href="class_qwt_picker.html#b36c79d8ff20aba5b778d2823c1f7894">QwtPicker::RubberBand</a> </td>
331
No rubberband.</li><li>HLineRubberBand & PointSelection<br>
332
A horizontal line.</li><li>VLineRubberBand & PointSelection<br>
333
A vertical line.</li><li>CrossRubberBand & PointSelection<br>
334
A horizontal and a vertical line.</li><li>RectRubberBand & RectSelection<br>
335
A rectangle.</li><li>EllipseRubberBand & RectSelection<br>
336
An ellipse.</li><li>PolygonRubberBand &PolygonSelection<br>
337
A polygon.</li><li>UserRubberBand<br>
338
Values >= UserRubberBand can be used to define additional rubber bands.</li></ul>
340
The default value is NoRubberBand. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#83096bad2662e02e4914a7b40241c351">QwtPicker::setRubberBand()</a>, <a class="el" href="class_qwt_picker.html#12337424be42ca2173f548607b7de7da">QwtPicker::rubberBand()</a> </dd></dl>
343
Definition at line <a class="el" href="qwt__picker_8h-source.html#l00187">187</a> of file <a class="el" href="qwt__picker_8h-source.html">qwt_picker.h</a>.
346
<a class="anchor" name="01be4d404ffc3a7b238b0d0aaeb66b93"></a><!-- doxytag: member="QwtPicker::DisplayMode" ref="01be4d404ffc3a7b238b0d0aaeb66b93" args="" -->
347
<div class="memitem">
348
<div class="memproto">
349
<table class="memname">
351
<td class="memname">enum <a class="el" href="class_qwt_picker.html#01be4d404ffc3a7b238b0d0aaeb66b93">QwtPicker::DisplayMode</a> </td>
360
Display never.</li><li>AlwaysOn<br>
361
Display always.</li><li>ActiveOnly<br>
362
Display only when the selection is active.</li></ul>
364
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#94fc60c7223cdc470ae63156f6446d6f">QwtPicker::setTrackerMode()</a>, <a class="el" href="class_qwt_picker.html#aa6987f2fbc65e6468891c779201461b">QwtPicker::trackerMode()</a>, <a class="el" href="class_qwt_picker.html#9ee030f985edfa20d0f896534b9b611b">QwtPicker::isActive()</a> </dd></dl>
367
Definition at line <a class="el" href="qwt__picker_8h-source.html#l00217">217</a> of file <a class="el" href="qwt__picker_8h-source.html">qwt_picker.h</a>.
370
<a class="anchor" name="b3c894deed026f392496dd07809a6fd3"></a><!-- doxytag: member="QwtPicker::ResizeMode" ref="b3c894deed026f392496dd07809a6fd3" args="" -->
371
<div class="memitem">
372
<div class="memproto">
373
<table class="memname">
375
<td class="memname">enum <a class="el" href="class_qwt_picker.html#b3c894deed026f392496dd07809a6fd3">QwtPicker::ResizeMode</a> </td>
382
Controls what to do with the selected points of an active selection when the observed widget is resized.<ul>
384
All points are scaled according to the new size,</li><li>KeepSize<br>
385
All points remain unchanged.</li></ul>
387
The default value is Stretch. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#f85c8a3c709bd106d2b34b718a746e03">QwtPicker::setResizeMode()</a>, QwtPicker::resize() </dd></dl>
390
Definition at line <a class="el" href="qwt__picker_8h-source.html#l00236">236</a> of file <a class="el" href="qwt__picker_8h-source.html">qwt_picker.h</a>.
393
<hr><h2>Constructor & Destructor Documentation</h2>
394
<a class="anchor" name="f9a5f4b0e4b37e2f323e801aa9dd6fe1"></a><!-- doxytag: member="QwtPicker::QwtPicker" ref="f9a5f4b0e4b37e2f323e801aa9dd6fe1" args="(QWidget *parent)" -->
395
<div class="memitem">
396
<div class="memproto">
397
<table class="memname">
399
<td class="memname">QwtPicker::QwtPicker </td>
401
<td class="paramtype">QWidget * </td>
402
<td class="paramname"> <em>parent</em> </td>
403
<td> ) </td>
404
<td width="100%"><code> [explicit]</code></td>
412
Creates an picker that is enabled, but where selection flag is set to NoSelection, rubberband and tracker are disabled.<p>
413
<dl compact><dt><b>Parameters:</b></dt><dd>
414
<table border="0" cellspacing="2" cellpadding="0">
415
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Parent widget, that will be observed </td></tr>
420
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00249">249</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
423
<a class="anchor" name="d02f607bedf6ef3630f931fc6712db2f"></a><!-- doxytag: member="QwtPicker::QwtPicker" ref="d02f607bedf6ef3630f931fc6712db2f" args="(int selectionFlags, RubberBand rubberBand, DisplayMode trackerMode, QWidget *)" -->
424
<div class="memitem">
425
<div class="memproto">
426
<table class="memname">
428
<td class="memname">QwtPicker::QwtPicker </td>
430
<td class="paramtype">int </td>
431
<td class="paramname"> <em>selectionFlags</em>, </td>
434
<td class="paramkey"></td>
436
<td class="paramtype"><a class="el" href="class_qwt_picker.html#b36c79d8ff20aba5b778d2823c1f7894">RubberBand</a> </td>
437
<td class="paramname"> <em>rubberBand</em>, </td>
440
<td class="paramkey"></td>
442
<td class="paramtype"><a class="el" href="class_qwt_picker.html#01be4d404ffc3a7b238b0d0aaeb66b93">DisplayMode</a> </td>
443
<td class="paramname"> <em>trackerMode</em>, </td>
446
<td class="paramkey"></td>
448
<td class="paramtype">QWidget * </td>
449
<td class="paramname"> <em>parent</em></td><td> </td>
454
<td></td><td></td><td width="100%"><code> [explicit]</code></td>
462
<dl compact><dt><b>Parameters:</b></dt><dd>
463
<table border="0" cellspacing="2" cellpadding="0">
464
<tr><td valign="top"></td><td valign="top"><em>selectionFlags</em> </td><td>Or'd value of SelectionType, RectSelectionType and SelectionMode </td></tr>
465
<tr><td valign="top"></td><td valign="top"><em>rubberBand</em> </td><td>Rubberband style </td></tr>
466
<tr><td valign="top"></td><td valign="top"><em>trackerMode</em> </td><td>Tracker mode </td></tr>
467
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Parent widget, that will be observed </td></tr>
472
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00264">264</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
475
<a class="anchor" name="5d0906a0d3b12e0e44499f855cb9dab1"></a><!-- doxytag: member="QwtPicker::~QwtPicker" ref="5d0906a0d3b12e0e44499f855cb9dab1" args="()" -->
476
<div class="memitem">
477
<div class="memproto">
478
<table class="memname">
480
<td class="memname">QwtPicker::~QwtPicker </td>
482
<td class="paramname"> </td>
483
<td> ) </td>
484
<td width="100%"><code> [virtual]</code></td>
495
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00272">272</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
498
<hr><h2>Member Function Documentation</h2>
499
<a class="anchor" name="e93fe995c8c581ac33a9f3445ea5e7b9"></a><!-- doxytag: member="QwtPicker::setSelectionFlags" ref="e93fe995c8c581ac33a9f3445ea5e7b9" args="(int)" -->
500
<div class="memitem">
501
<div class="memproto">
502
<table class="memname">
504
<td class="memname">void QwtPicker::setSelectionFlags </td>
506
<td class="paramtype">int </td>
507
<td class="paramname"> <em>flags</em> </td>
508
<td> ) </td>
509
<td width="100%"><code> [virtual]</code></td>
516
Set the selection flags<p>
517
<dl compact><dt><b>Parameters:</b></dt><dd>
518
<table border="0" cellspacing="2" cellpadding="0">
519
<tr><td valign="top"></td><td valign="top"><em>flags</em> </td><td>Or'd value of SelectionType, RectSelectionType and SelectionMode. The default value is NoSelection.</td></tr>
522
<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>
525
Reimplemented in <a class="el" href="class_qwt_plot_zoomer.html#c9d52dbddc9e79e7ce8ebd545e855e89">QwtPlotZoomer</a>.
527
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00403">403</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
529
References <a class="el" href="qwt__picker_8cpp-source.html#l00351">stateMachine()</a>.
531
Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00661">QwtPlotZoomer::setSelectionFlags()</a>.
534
<a class="anchor" name="a42f0efb5aa8bcf4f2097a49fb96f886"></a><!-- doxytag: member="QwtPicker::selectionFlags" ref="a42f0efb5aa8bcf4f2097a49fb96f886" args="() const" -->
535
<div class="memitem">
536
<div class="memproto">
537
<table class="memname">
539
<td class="memname">int QwtPicker::selectionFlags </td>
541
<td class="paramname"> </td>
542
<td> ) </td>
543
<td width="100%"> const</td>
550
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Selection flags, an Or'd value of SelectionType, RectSelectionType and SelectionMode. </dd></dl>
551
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#e93fe995c8c581ac33a9f3445ea5e7b9">setSelectionFlags()</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>
554
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00414">414</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
556
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00654">drawRubberBand()</a>, and <a class="el" href="qwt__plot__picker_8cpp-source.html#l00273">QwtPlotPicker::end()</a>.
559
<a class="anchor" name="83096bad2662e02e4914a7b40241c351"></a><!-- doxytag: member="QwtPicker::setRubberBand" ref="83096bad2662e02e4914a7b40241c351" args="(RubberBand)" -->
560
<div class="memitem">
561
<div class="memproto">
562
<table class="memname">
564
<td class="memname">void QwtPicker::setRubberBand </td>
566
<td class="paramtype"><a class="el" href="class_qwt_picker.html#b36c79d8ff20aba5b778d2823c1f7894">RubberBand</a> </td>
567
<td class="paramname"> <em>rubberBand</em> </td>
568
<td> ) </td>
569
<td width="100%"><code> [virtual]</code></td>
576
Set the rubberband style<p>
577
<dl compact><dt><b>Parameters:</b></dt><dd>
578
<table border="0" cellspacing="2" cellpadding="0">
579
<tr><td valign="top"></td><td valign="top"><em>rubberBand</em> </td><td>Rubberband style The default value is NoRubberBand.</td></tr>
582
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#12337424be42ca2173f548607b7de7da">rubberBand()</a>, <a class="el" href="class_qwt_picker.html#b36c79d8ff20aba5b778d2823c1f7894">RubberBand</a>, <a class="el" href="class_qwt_picker.html#13117b1929f1ca00a75002f7f4c612bc">setRubberBandPen()</a> </dd></dl>
585
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00427">427</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
588
<a class="anchor" name="12337424be42ca2173f548607b7de7da"></a><!-- doxytag: member="QwtPicker::rubberBand" ref="12337424be42ca2173f548607b7de7da" args="() const" -->
589
<div class="memitem">
590
<div class="memproto">
591
<table class="memname">
593
<td class="memname"><a class="el" href="class_qwt_picker.html#b36c79d8ff20aba5b778d2823c1f7894">QwtPicker::RubberBand</a> QwtPicker::rubberBand </td>
595
<td class="paramname"> </td>
596
<td> ) </td>
597
<td width="100%"> const</td>
604
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Rubberband style </dd></dl>
605
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#83096bad2662e02e4914a7b40241c351">setRubberBand()</a>, <a class="el" href="class_qwt_picker.html#b36c79d8ff20aba5b778d2823c1f7894">RubberBand</a>, <a class="el" href="class_qwt_picker.html#3aa0eda393160c89712805ae9516f101">rubberBandPen()</a> </dd></dl>
608
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00436">436</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
610
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00654">drawRubberBand()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00781">trackerRect()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00217">QwtPlotPicker::trackerText()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00628">trackerText()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
613
<a class="anchor" name="94fc60c7223cdc470ae63156f6446d6f"></a><!-- doxytag: member="QwtPicker::setTrackerMode" ref="94fc60c7223cdc470ae63156f6446d6f" args="(DisplayMode)" -->
614
<div class="memitem">
615
<div class="memproto">
616
<table class="memname">
618
<td class="memname">void QwtPicker::setTrackerMode </td>
620
<td class="paramtype"><a class="el" href="class_qwt_picker.html#01be4d404ffc3a7b238b0d0aaeb66b93">DisplayMode</a> </td>
621
<td class="paramname"> <em>mode</em> </td>
622
<td> ) </td>
623
<td width="100%"><code> [virtual]</code></td>
630
Set the display mode of the tracker.
632
A tracker displays information about current position of the cursor as a string. The display mode controls if the tracker has to be displayed whenever the observed widget has focus and cursor (AlwaysOn), never (AlwaysOff), or only when the selection is active (ActiveOnly).<p>
633
<dl compact><dt><b>Parameters:</b></dt><dd>
634
<table border="0" cellspacing="2" cellpadding="0">
635
<tr><td valign="top"></td><td valign="top"><em>mode</em> </td><td>Tracker display mode</td></tr>
638
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>In case of AlwaysOn, mouseTracking will be enabled for the observed widget. </dd></dl>
639
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#aa6987f2fbc65e6468891c779201461b">trackerMode()</a>, <a class="el" href="class_qwt_picker.html#01be4d404ffc3a7b238b0d0aaeb66b93">DisplayMode</a> </dd></dl>
642
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00457">457</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
645
<a class="anchor" name="aa6987f2fbc65e6468891c779201461b"></a><!-- doxytag: member="QwtPicker::trackerMode" ref="aa6987f2fbc65e6468891c779201461b" args="() const" -->
646
<div class="memitem">
647
<div class="memproto">
648
<table class="memname">
650
<td class="memname"><a class="el" href="class_qwt_picker.html#01be4d404ffc3a7b238b0d0aaeb66b93">QwtPicker::DisplayMode</a> QwtPicker::trackerMode </td>
652
<td class="paramname"> </td>
653
<td> ) </td>
654
<td width="100%"> const</td>
661
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Tracker display mode </dd></dl>
662
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#94fc60c7223cdc470ae63156f6446d6f">setTrackerMode()</a>, <a class="el" href="class_qwt_picker.html#01be4d404ffc3a7b238b0d0aaeb66b93">DisplayMode</a> </dd></dl>
665
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00470">470</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
667
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l01136">begin()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01168">end()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00781">trackerRect()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
670
<a class="anchor" name="f85c8a3c709bd106d2b34b718a746e03"></a><!-- doxytag: member="QwtPicker::setResizeMode" ref="f85c8a3c709bd106d2b34b718a746e03" args="(ResizeMode)" -->
671
<div class="memitem">
672
<div class="memproto">
673
<table class="memname">
675
<td class="memname">void QwtPicker::setResizeMode </td>
677
<td class="paramtype"><a class="el" href="class_qwt_picker.html#b3c894deed026f392496dd07809a6fd3">ResizeMode</a> </td>
678
<td class="paramname"> <em>mode</em> </td>
679
<td> ) </td>
680
<td width="100%"><code> [virtual]</code></td>
689
The resize mode controls what to do with the selected points of an active selection when the observed widget is resized.<p>
690
Stretch means the points are scaled according to the new size, KeepSize means the points remain unchanged.<p>
691
The default mode is Stretch.<p>
692
<dl compact><dt><b>Parameters:</b></dt><dd>
693
<table border="0" cellspacing="2" cellpadding="0">
694
<tr><td valign="top"></td><td valign="top"><em>mode</em> </td><td>Resize mode </td></tr>
697
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#0bb802fa991b974e6516075669bedcbc">resizeMode()</a>, <a class="el" href="class_qwt_picker.html#b3c894deed026f392496dd07809a6fd3">ResizeMode</a> </dd></dl>
700
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00489">489</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
703
<a class="anchor" name="0bb802fa991b974e6516075669bedcbc"></a><!-- doxytag: member="QwtPicker::resizeMode" ref="0bb802fa991b974e6516075669bedcbc" args="() const" -->
704
<div class="memitem">
705
<div class="memproto">
706
<table class="memname">
708
<td class="memname"><a class="el" href="class_qwt_picker.html#b3c894deed026f392496dd07809a6fd3">QwtPicker::ResizeMode</a> QwtPicker::resizeMode </td>
710
<td class="paramname"> </td>
711
<td> ) </td>
712
<td width="100%"> const</td>
719
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Resize mode </dd></dl>
720
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#f85c8a3c709bd106d2b34b718a746e03">setResizeMode()</a>, <a class="el" href="class_qwt_picker.html#b3c894deed026f392496dd07809a6fd3">ResizeMode</a> </dd></dl>
723
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00499">499</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
726
<a class="anchor" name="13117b1929f1ca00a75002f7f4c612bc"></a><!-- doxytag: member="QwtPicker::setRubberBandPen" ref="13117b1929f1ca00a75002f7f4c612bc" args="(const QPen &)" -->
727
<div class="memitem">
728
<div class="memproto">
729
<table class="memname">
731
<td class="memname">void QwtPicker::setRubberBandPen </td>
733
<td class="paramtype">const QPen & </td>
734
<td class="paramname"> <em>pen</em> </td>
735
<td> ) </td>
736
<td width="100%"><code> [virtual]</code></td>
743
Set the pen for the rubberband<p>
744
<dl compact><dt><b>Parameters:</b></dt><dd>
745
<table border="0" cellspacing="2" cellpadding="0">
746
<tr><td valign="top"></td><td valign="top"><em>pen</em> </td><td>Rubberband pen </td></tr>
749
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#3aa0eda393160c89712805ae9516f101">rubberBandPen()</a>, <a class="el" href="class_qwt_picker.html#83096bad2662e02e4914a7b40241c351">setRubberBand()</a> </dd></dl>
752
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00597">597</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
754
References <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
757
<a class="anchor" name="3aa0eda393160c89712805ae9516f101"></a><!-- doxytag: member="QwtPicker::rubberBandPen" ref="3aa0eda393160c89712805ae9516f101" args="() const" -->
758
<div class="memitem">
759
<div class="memproto">
760
<table class="memname">
762
<td class="memname">QPen QwtPicker::rubberBandPen </td>
764
<td class="paramname"> </td>
765
<td> ) </td>
766
<td width="100%"> const</td>
773
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Rubberband pen </dd></dl>
774
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#13117b1929f1ca00a75002f7f4c612bc">setRubberBandPen()</a>, <a class="el" href="class_qwt_picker.html#12337424be42ca2173f548607b7de7da">rubberBand()</a> </dd></dl>
777
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00610">610</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
779
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00654">drawRubberBand()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
782
<a class="anchor" name="f703bc51cda716e503cbd86731270e5b"></a><!-- doxytag: member="QwtPicker::setTrackerPen" ref="f703bc51cda716e503cbd86731270e5b" args="(const QPen &)" -->
783
<div class="memitem">
784
<div class="memproto">
785
<table class="memname">
787
<td class="memname">void QwtPicker::setTrackerPen </td>
789
<td class="paramtype">const QPen & </td>
790
<td class="paramname"> <em>pen</em> </td>
791
<td> ) </td>
792
<td width="100%"><code> [virtual]</code></td>
799
Set the pen for the tracker<p>
800
<dl compact><dt><b>Parameters:</b></dt><dd>
801
<table border="0" cellspacing="2" cellpadding="0">
802
<tr><td valign="top"></td><td valign="top"><em>pen</em> </td><td>Tracker pen </td></tr>
805
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#671525e8375a044213a68605911012b7">trackerPen()</a>, <a class="el" href="class_qwt_picker.html#94fc60c7223cdc470ae63156f6446d6f">setTrackerMode()</a>, <a class="el" href="class_qwt_picker.html#9f54cce7d2e3f6e06351315bf655d5d9">setTrackerFont()</a> </dd></dl>
808
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00573">573</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
810
References <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
813
<a class="anchor" name="671525e8375a044213a68605911012b7"></a><!-- doxytag: member="QwtPicker::trackerPen" ref="671525e8375a044213a68605911012b7" args="() const" -->
814
<div class="memitem">
815
<div class="memproto">
816
<table class="memname">
818
<td class="memname">QPen QwtPicker::trackerPen </td>
820
<td class="paramname"> </td>
821
<td> ) </td>
822
<td width="100%"> const</td>
829
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Tracker pen </dd></dl>
830
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#f703bc51cda716e503cbd86731270e5b">setTrackerPen()</a>, <a class="el" href="class_qwt_picker.html#aa6987f2fbc65e6468891c779201461b">trackerMode()</a>, <a class="el" href="class_qwt_picker.html#065ae5042d5b720ecc2fdf5d2e9702cc">trackerFont()</a> </dd></dl>
833
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00586">586</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
835
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
838
<a class="anchor" name="9f54cce7d2e3f6e06351315bf655d5d9"></a><!-- doxytag: member="QwtPicker::setTrackerFont" ref="9f54cce7d2e3f6e06351315bf655d5d9" args="(const QFont &)" -->
839
<div class="memitem">
840
<div class="memproto">
841
<table class="memname">
843
<td class="memname">void QwtPicker::setTrackerFont </td>
845
<td class="paramtype">const QFont & </td>
846
<td class="paramname"> <em>font</em> </td>
847
<td> ) </td>
848
<td width="100%"><code> [virtual]</code></td>
855
Set the font for the tracker<p>
856
<dl compact><dt><b>Parameters:</b></dt><dd>
857
<table border="0" cellspacing="2" cellpadding="0">
858
<tr><td valign="top"></td><td valign="top"><em>font</em> </td><td>Tracker font </td></tr>
861
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#065ae5042d5b720ecc2fdf5d2e9702cc">trackerFont()</a>, <a class="el" href="class_qwt_picker.html#94fc60c7223cdc470ae63156f6446d6f">setTrackerMode()</a>, <a class="el" href="class_qwt_picker.html#f703bc51cda716e503cbd86731270e5b">setTrackerPen()</a> </dd></dl>
864
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00548">548</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
866
References <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
869
<a class="anchor" name="065ae5042d5b720ecc2fdf5d2e9702cc"></a><!-- doxytag: member="QwtPicker::trackerFont" ref="065ae5042d5b720ecc2fdf5d2e9702cc" args="() const" -->
870
<div class="memitem">
871
<div class="memproto">
872
<table class="memname">
874
<td class="memname">QFont QwtPicker::trackerFont </td>
876
<td class="paramname"> </td>
877
<td> ) </td>
878
<td width="100%"> const</td>
885
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Tracker font </dd></dl>
886
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#9f54cce7d2e3f6e06351315bf655d5d9">setTrackerFont()</a>, <a class="el" href="class_qwt_picker.html#aa6987f2fbc65e6468891c779201461b">trackerMode()</a>, <a class="el" href="class_qwt_picker.html#671525e8375a044213a68605911012b7">trackerPen()</a> </dd></dl>
889
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00562">562</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
892
<a class="anchor" name="a5fc6ba4bcf5eecb883724ac63546fe8"></a><!-- doxytag: member="QwtPicker::isEnabled" ref="a5fc6ba4bcf5eecb883724ac63546fe8" args="() const" -->
893
<div class="memitem">
894
<div class="memproto">
895
<table class="memname">
897
<td class="memname">bool QwtPicker::isEnabled </td>
899
<td class="paramname"> </td>
900
<td> ) </td>
901
<td width="100%"> const</td>
908
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true when enabled, false otherwise </dd></dl>
909
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#a590756369efae6ebf323302a0af5d36">setEnabled</a>, <a class="el" href="class_qwt_picker.html#c149f9cb8fb068f31871e1fe450c376e">eventFilter()</a> </dd></dl>
912
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00537">537</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
915
<a class="anchor" name="a590756369efae6ebf323302a0af5d36"></a><!-- doxytag: member="QwtPicker::setEnabled" ref="a590756369efae6ebf323302a0af5d36" args="(bool)" -->
916
<div class="memitem">
917
<div class="memproto">
918
<table class="memname">
920
<td class="memname">void QwtPicker::setEnabled </td>
922
<td class="paramtype">bool </td>
923
<td class="paramname"> <em>enabled</em> </td>
924
<td> ) </td>
925
<td width="100%"><code> [virtual]</code></td>
932
En/disable the picker.
934
When enabled is true an event filter is installed for the observed widget, otherwise the event filter is removed.<p>
935
<dl compact><dt><b>Parameters:</b></dt><dd>
936
<table border="0" cellspacing="2" cellpadding="0">
937
<tr><td valign="top"></td><td valign="top"><em>enabled</em> </td><td>true or false </td></tr>
940
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#a5fc6ba4bcf5eecb883724ac63546fe8">isEnabled()</a>, <a class="el" href="class_qwt_picker.html#c149f9cb8fb068f31871e1fe450c376e">eventFilter()</a> </dd></dl>
943
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00513">513</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
945
References <a class="el" href="qwt__picker_8cpp-source.html#l00375">parentWidget()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
948
<a class="anchor" name="9ee030f985edfa20d0f896534b9b611b"></a><!-- doxytag: member="QwtPicker::isActive" ref="9ee030f985edfa20d0f896534b9b611b" args="() const" -->
949
<div class="memitem">
950
<div class="memproto">
951
<table class="memname">
953
<td class="memname">bool QwtPicker::isActive </td>
955
<td class="paramname"> </td>
956
<td> ) </td>
957
<td width="100%"> const</td>
964
A picker is active between <a class="el" href="class_qwt_picker.html#49cb19aea451e275c5d376235e5a1d83">begin()</a> and <a class="el" href="class_qwt_picker.html#d258c518257cf2f52326905a36efb0c4">end()</a>. <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if the selection is active. </dd></dl>
967
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l01265">1265</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
969
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00654">drawRubberBand()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01198">reset()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00781">trackerRect()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>, <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00471">QwtPlotZoomer::widgetKeyPressEvent()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00946">widgetLeaveEvent()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l00926">widgetMouseMoveEvent()</a>.
972
<a class="anchor" name="c149f9cb8fb068f31871e1fe450c376e"></a><!-- doxytag: member="QwtPicker::eventFilter" ref="c149f9cb8fb068f31871e1fe450c376e" args="(QObject *, QEvent *)" -->
973
<div class="memitem">
974
<div class="memproto">
975
<table class="memname">
977
<td class="memname">bool QwtPicker::eventFilter </td>
979
<td class="paramtype">QObject * </td>
980
<td class="paramname"> <em>o</em>, </td>
983
<td class="paramkey"></td>
985
<td class="paramtype">QEvent * </td>
986
<td class="paramname"> <em>e</em></td><td> </td>
991
<td></td><td></td><td width="100%"><code> [virtual]</code></td>
1000
When <a class="el" href="class_qwt_picker.html#a5fc6ba4bcf5eecb883724ac63546fe8">isEnabled()</a> == true all events of the observed widget are filtered. Mouse and keyboard events are translated into widgetMouse- and widgetKey- and widgetWheel-events. Paint and Resize events are handled to keep rubberband and tracker up to date.<p>
1001
<dl class="see" compact><dt><b>See also:</b></dt><dd>event(), <a class="el" href="class_qwt_picker.html#4bfae8da37c3936ae73d4798cca4a3d9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_picker.html#c009633e005b6290e07b902f2a58e45e">widgetMouseReleaseEvent()</a>, <a class="el" href="class_qwt_picker.html#f1ffb07c24be57cd4a753b04412b3212">widgetMouseDoubleClickEvent()</a>, <a class="el" href="class_qwt_picker.html#88b203109a4d3b26c2e0bee110c56c9d">widgetMouseMoveEvent()</a>, <a class="el" href="class_qwt_picker.html#f92ffabe291a6254378dc932c5cce0a7">widgetWheelEvent()</a>, <a class="el" href="class_qwt_picker.html#f5bc441b2fc143363563922a3b3c70ae">widgetKeyPressEvent()</a>, <a class="el" href="class_qwt_picker.html#9f2c739a619be794b22a10ede9674a1e">widgetKeyReleaseEvent()</a> </dd></dl>
1004
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00852">852</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1006
References <a class="el" href="qwt__picker_8cpp-source.html#l00375">parentWidget()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01285">stretchSelection()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01017">widgetKeyPressEvent()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01067">widgetKeyReleaseEvent()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00946">widgetLeaveEvent()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00977">widgetMouseDoubleClickEvent()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00926">widgetMouseMoveEvent()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00912">widgetMousePressEvent()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00963">widgetMouseReleaseEvent()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l00992">widgetWheelEvent()</a>.
1009
<a class="anchor" name="da0c12257e006f0066d22c3eb83f667e"></a><!-- doxytag: member="QwtPicker::parentWidget" ref="da0c12257e006f0066d22c3eb83f667e" args="()" -->
1010
<div class="memitem">
1011
<div class="memproto">
1012
<table class="memname">
1014
<td class="memname">QWidget * QwtPicker::parentWidget </td>
1016
<td class="paramname"> </td>
1017
<td> ) </td>
1018
<td width="100%"></td>
1022
<div class="memdoc">
1025
Return the parent widget, where the selection happens.
1029
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00375">375</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1031
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l01136">begin()</a>, <a class="el" href="qwt__plot__picker_8cpp-source.html#l00103">QwtPlotPicker::canvas()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00852">eventFilter()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01344">pickRect()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00513">setEnabled()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01079">transition()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01017">widgetKeyPressEvent()</a>.
1034
<a class="anchor" name="10b5cb077ef2287d6ba4a097545d80c9"></a><!-- doxytag: member="QwtPicker::parentWidget" ref="10b5cb077ef2287d6ba4a097545d80c9" args="() const" -->
1035
<div class="memitem">
1036
<div class="memproto">
1037
<table class="memname">
1039
<td class="memname">const QWidget * QwtPicker::parentWidget </td>
1041
<td class="paramname"> </td>
1042
<td> ) </td>
1043
<td width="100%"> const</td>
1047
<div class="memdoc">
1050
Return the parent widget, where the selection happens.
1054
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00385">385</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1057
<a class="anchor" name="74c3d89dd9916496205a174bebd2a2ca"></a><!-- doxytag: member="QwtPicker::pickRect" ref="74c3d89dd9916496205a174bebd2a2ca" args="() const" -->
1058
<div class="memitem">
1059
<div class="memproto">
1060
<table class="memname">
1062
<td class="memname">QRect QwtPicker::pickRect </td>
1064
<td class="paramname"> </td>
1065
<td> ) </td>
1066
<td width="100%"> const<code> [virtual]</code></td>
1070
<div class="memdoc">
1073
Find the area of the observed widget, where selection might happen.<p>
1074
<dl class="return" compact><dt><b>Returns:</b></dt><dd>QFrame::contentsRect() if it is a QFrame, QWidget::rect() otherwise. </dd></dl>
1077
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l01344">1344</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1079
References <a class="el" href="qwt__picker_8cpp-source.html#l00375">parentWidget()</a>.
1081
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00654">drawRubberBand()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00781">trackerRect()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01017">widgetKeyPressEvent()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00926">widgetMouseMoveEvent()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l00992">widgetWheelEvent()</a>.
1084
<a class="anchor" name="ffd1873073e70397661bb23ad8f43457"></a><!-- doxytag: member="QwtPicker::selection" ref="ffd1873073e70397661bb23ad8f43457" args="() const" -->
1085
<div class="memitem">
1086
<div class="memproto">
1087
<table class="memname">
1089
<td class="memname">const QwtPolygon & QwtPicker::selection </td>
1091
<td class="paramname"> </td>
1092
<td> ) </td>
1093
<td width="100%"> const</td>
1097
<div class="memdoc">
1100
Return Selected points.
1104
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l01271">1271</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1106
Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00617">QwtPlotZoomer::end()</a>, and <a class="el" href="qwt__plot__picker_8cpp-source.html#l00273">QwtPlotPicker::end()</a>.
1109
<a class="anchor" name="0f24e52461d4e4194d47c8a8092f8c91"></a><!-- doxytag: member="QwtPicker::drawRubberBand" ref="0f24e52461d4e4194d47c8a8092f8c91" args="(QPainter *) const" -->
1110
<div class="memitem">
1111
<div class="memproto">
1112
<table class="memname">
1114
<td class="memname">void QwtPicker::drawRubberBand </td>
1116
<td class="paramtype">QPainter * </td>
1117
<td class="paramname"> <em>painter</em> </td>
1118
<td> ) </td>
1119
<td width="100%"> const<code> [virtual]</code></td>
1123
<div class="memdoc">
1126
Draw a rubberband , depending on <a class="el" href="class_qwt_picker.html#12337424be42ca2173f548607b7de7da">rubberBand()</a> and <a class="el" href="class_qwt_picker.html#a42f0efb5aa8bcf4f2097a49fb96f886">selectionFlags()</a><p>
1127
<dl compact><dt><b>Parameters:</b></dt><dd>
1128
<table border="0" cellspacing="2" cellpadding="0">
1129
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter, initialized with clip rect</td></tr>
1132
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#12337424be42ca2173f548607b7de7da">rubberBand()</a>, <a class="el" href="class_qwt_picker.html#b36c79d8ff20aba5b778d2823c1f7894">RubberBand</a>, <a class="el" href="class_qwt_picker.html#a42f0efb5aa8bcf4f2097a49fb96f886">selectionFlags()</a> </dd></dl>
1135
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00654">654</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1137
References <a class="el" href="qwt__painter_8cpp-source.html#l00281">QwtPainter::drawEllipse()</a>, <a class="el" href="qwt__painter_8cpp-source.html#l00424">QwtPainter::drawLine()</a>, <a class="el" href="qwt__painter_8cpp-source.html#l00176">QwtPainter::drawRect()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01265">isActive()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01344">pickRect()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00436">rubberBand()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00610">rubberBandPen()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l00414">selectionFlags()</a>.
1140
<a class="anchor" name="62a53af9657eeafd348f3557adcfd61e"></a><!-- doxytag: member="QwtPicker::drawTracker" ref="62a53af9657eeafd348f3557adcfd61e" args="(QPainter *) const" -->
1141
<div class="memitem">
1142
<div class="memproto">
1143
<table class="memname">
1145
<td class="memname">void QwtPicker::drawTracker </td>
1147
<td class="paramtype">QPainter * </td>
1148
<td class="paramname"> <em>painter</em> </td>
1149
<td> ) </td>
1150
<td width="100%"> const<code> [virtual]</code></td>
1154
<div class="memdoc">
1158
<dl compact><dt><b>Parameters:</b></dt><dd>
1159
<table border="0" cellspacing="2" cellpadding="0">
1160
<tr><td valign="top"></td><td valign="top"><em>painter</em> </td><td>Painter </td></tr>
1163
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#3091a5812652b9fef50507ecf957160b">trackerRect()</a>, <a class="el" href="class_qwt_picker.html#b8160fa4e1080ba62cce9692dda4e71c">trackerText()</a> </dd></dl>
1166
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00749">749</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1168
References <a class="el" href="qwt__text_8cpp-source.html#l00564">QwtText::draw()</a>, <a class="el" href="qwt__text_8h-source.html#l00152">QwtText::isEmpty()</a>, <a class="el" href="qwt__text_8cpp-source.html#l00289">QwtText::setFont()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00781">trackerRect()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00628">trackerText()</a>, and <a class="el" href="qwt__text_8cpp-source.html#l00308">QwtText::usedFont()</a>.
1171
<a class="anchor" name="b8160fa4e1080ba62cce9692dda4e71c"></a><!-- doxytag: member="QwtPicker::trackerText" ref="b8160fa4e1080ba62cce9692dda4e71c" args="(const QPoint &pos) const" -->
1172
<div class="memitem">
1173
<div class="memproto">
1174
<table class="memname">
1176
<td class="memname"><a class="el" href="class_qwt_text.html">QwtText</a> QwtPicker::trackerText </td>
1178
<td class="paramtype">const QPoint & </td>
1179
<td class="paramname"> <em>pos</em> </td>
1180
<td> ) </td>
1181
<td width="100%"> const<code> [virtual]</code></td>
1185
<div class="memdoc">
1188
Return the label for a position.
1190
In case of HLineRubberBand the label is the value of the y position, in case of VLineRubberBand the value of the x position. Otherwise the label contains x and y position separated by a ',' .<p>
1191
The format for the string conversion is "%d".<p>
1192
<dl compact><dt><b>Parameters:</b></dt><dd>
1193
<table border="0" cellspacing="2" cellpadding="0">
1194
<tr><td valign="top"></td><td valign="top"><em>pos</em> </td><td>Position </td></tr>
1197
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Converted position as string </dd></dl>
1200
Reimplemented in <a class="el" href="class_qwt_plot_picker.html#1b1134e758f4827add976929fd557563">QwtPlotPicker</a>.
1202
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00628">628</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1204
References <a class="el" href="qwt__picker_8cpp-source.html#l00436">rubberBand()</a>.
1206
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00749">drawTracker()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l00781">trackerRect()</a>.
1209
<a class="anchor" name="dc217b13621f291dd2ba081e2c28e4f4"></a><!-- doxytag: member="QwtPicker::selected" ref="dc217b13621f291dd2ba081e2c28e4f4" args="(const QwtPolygon &pa)" -->
1210
<div class="memitem">
1211
<div class="memproto">
1212
<table class="memname">
1214
<td class="memname">void QwtPicker::selected </td>
1216
<td class="paramtype">const QwtPolygon & </td>
1217
<td class="paramname"> <em>pa</em> </td>
1218
<td> ) </td>
1219
<td width="100%"><code> [signal]</code></td>
1223
<div class="memdoc">
1226
A signal emitting the selected points, at the end of a selection.<p>
1227
<dl compact><dt><b>Parameters:</b></dt><dd>
1228
<table border="0" cellspacing="2" cellpadding="0">
1229
<tr><td valign="top"></td><td valign="top"><em>pa</em> </td><td>Selected points </td></tr>
1234
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l01168">end()</a>.
1237
<a class="anchor" name="d52219271a7c8efab35ded14ac89827a"></a><!-- doxytag: member="QwtPicker::appended" ref="d52219271a7c8efab35ded14ac89827a" args="(const QPoint &pos)" -->
1238
<div class="memitem">
1239
<div class="memproto">
1240
<table class="memname">
1242
<td class="memname">void QwtPicker::appended </td>
1244
<td class="paramtype">const QPoint & </td>
1245
<td class="paramname"> <em>pos</em> </td>
1246
<td> ) </td>
1247
<td width="100%"><code> [signal]</code></td>
1251
<div class="memdoc">
1254
A signal emitted when a point has been appended to the selection<p>
1255
<dl compact><dt><b>Parameters:</b></dt><dd>
1256
<table border="0" cellspacing="2" cellpadding="0">
1257
<tr><td valign="top"></td><td valign="top"><em>pos</em> </td><td>Position of the appended point. </td></tr>
1260
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#5dd2e0ce6b2a6cc50e345ec13aef9255">append()</a>. <a class="el" href="class_qwt_picker.html#dddb4800c1dac0ba807e731f45d40742">moved()</a> </dd></dl>
1263
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l01215">append()</a>.
1266
<a class="anchor" name="dddb4800c1dac0ba807e731f45d40742"></a><!-- doxytag: member="QwtPicker::moved" ref="dddb4800c1dac0ba807e731f45d40742" args="(const QPoint &pos)" -->
1267
<div class="memitem">
1268
<div class="memproto">
1269
<table class="memname">
1271
<td class="memname">void QwtPicker::moved </td>
1273
<td class="paramtype">const QPoint & </td>
1274
<td class="paramname"> <em>pos</em> </td>
1275
<td> ) </td>
1276
<td width="100%"><code> [signal]</code></td>
1280
<div class="memdoc">
1283
A signal emitted whenever the last appended point of the selection has been moved.<p>
1284
<dl compact><dt><b>Parameters:</b></dt><dd>
1285
<table border="0" cellspacing="2" cellpadding="0">
1286
<tr><td valign="top"></td><td valign="top"><em>pos</em> </td><td>Position of the moved last point of the selection. </td></tr>
1289
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#59d92670978f200edb61e429afa06542">move()</a>, <a class="el" href="class_qwt_picker.html#d52219271a7c8efab35ded14ac89827a">appended()</a> </dd></dl>
1292
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l01237">move()</a>.
1295
<a class="anchor" name="dc25f36804c8a9fe24bb8640a73c4051"></a><!-- doxytag: member="QwtPicker::changed" ref="dc25f36804c8a9fe24bb8640a73c4051" args="(const QwtPolygon &pa)" -->
1296
<div class="memitem">
1297
<div class="memproto">
1298
<table class="memname">
1300
<td class="memname">void QwtPicker::changed </td>
1302
<td class="paramtype">const QwtPolygon & </td>
1303
<td class="paramname"> <em>pa</em> </td>
1304
<td> ) </td>
1305
<td width="100%"><code> [signal]</code></td>
1309
<div class="memdoc">
1312
A signal emitted when the active selection has been changed. This might happen when the observed widget is resized.<p>
1313
<dl compact><dt><b>Parameters:</b></dt><dd>
1314
<table border="0" cellspacing="2" cellpadding="0">
1315
<tr><td valign="top"></td><td valign="top"><em>pa</em> </td><td>Changed selection </td></tr>
1318
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#24b0e4bcf6a9b7f41c81ea19305105a8">stretchSelection()</a> </dd></dl>
1321
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l01285">stretchSelection()</a>.
1324
<a class="anchor" name="726e38a25659db96218888e4625dffba"></a><!-- doxytag: member="QwtPicker::accept" ref="726e38a25659db96218888e4625dffba" args="(QwtPolygon &selection) const" -->
1325
<div class="memitem">
1326
<div class="memproto">
1327
<table class="memname">
1329
<td class="memname">bool QwtPicker::accept </td>
1331
<td class="paramtype">QwtPolygon & </td>
1332
<td class="paramname"> <em>selection</em> </td>
1333
<td> ) </td>
1334
<td width="100%"> const<code> [protected, virtual]</code></td>
1338
<div class="memdoc">
1341
Validate and fixup the selection.
1343
Accepts all selections unmodified<p>
1344
<dl compact><dt><b>Parameters:</b></dt><dd>
1345
<table border="0" cellspacing="2" cellpadding="0">
1346
<tr><td valign="top"></td><td valign="top"><em>selection</em> </td><td>Selection to validate and fixup </td></tr>
1349
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true, when accepted, false otherwise </dd></dl>
1352
Reimplemented in <a class="el" href="class_qwt_plot_zoomer.html#86898c6696ee0706a3ac6b61018a112e">QwtPlotZoomer</a>.
1354
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l01256">1256</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1356
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l01168">end()</a>.
1359
<a class="anchor" name="90f9f3485f054c36c1835931e9a387dd"></a><!-- doxytag: member="QwtPicker::transition" ref="90f9f3485f054c36c1835931e9a387dd" args="(const QEvent *)" -->
1360
<div class="memitem">
1361
<div class="memproto">
1362
<table class="memname">
1364
<td class="memname">void QwtPicker::transition </td>
1366
<td class="paramtype">const QEvent * </td>
1367
<td class="paramname"> <em>e</em> </td>
1368
<td> ) </td>
1369
<td width="100%"><code> [protected, virtual]</code></td>
1373
<div class="memdoc">
1376
Passes an event to the state machine and executes the resulting commands. Append and Move commands use the current position of the cursor (QCursor::pos()).<p>
1377
<dl compact><dt><b>Parameters:</b></dt><dd>
1378
<table border="0" cellspacing="2" cellpadding="0">
1379
<tr><td valign="top"></td><td valign="top"><em>e</em> </td><td>Event </td></tr>
1384
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l01079">1079</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1386
References <a class="el" href="qwt__picker_8cpp-source.html#l01215">append()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01136">begin()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01168">end()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01237">move()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l00375">parentWidget()</a>.
1388
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l01017">widgetKeyPressEvent()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01067">widgetKeyReleaseEvent()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00977">widgetMouseDoubleClickEvent()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00926">widgetMouseMoveEvent()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00912">widgetMousePressEvent()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00963">widgetMouseReleaseEvent()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l00992">widgetWheelEvent()</a>.
1391
<a class="anchor" name="49cb19aea451e275c5d376235e5a1d83"></a><!-- doxytag: member="QwtPicker::begin" ref="49cb19aea451e275c5d376235e5a1d83" args="()" -->
1392
<div class="memitem">
1393
<div class="memproto">
1394
<table class="memname">
1396
<td class="memname">void QwtPicker::begin </td>
1398
<td class="paramname"> </td>
1399
<td> ) </td>
1400
<td width="100%"><code> [protected, virtual]</code></td>
1404
<div class="memdoc">
1407
Open a selection setting the state to active<p>
1408
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#9ee030f985edfa20d0f896534b9b611b">isActive</a>, <a class="el" href="class_qwt_picker.html#d258c518257cf2f52326905a36efb0c4">end()</a>, <a class="el" href="class_qwt_picker.html#5dd2e0ce6b2a6cc50e345ec13aef9255">append()</a>, <a class="el" href="class_qwt_picker.html#59d92670978f200edb61e429afa06542">move()</a> </dd></dl>
1411
Reimplemented in <a class="el" href="class_qwt_plot_zoomer.html#a54bb05797c0468c0f8de4217dce24dd">QwtPlotZoomer</a>.
1413
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l01136">1136</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1415
References <a class="el" href="qwt__picker_8cpp-source.html#l00375">parentWidget()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00470">trackerMode()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
1417
Referenced by <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00587">QwtPlotZoomer::begin()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01079">transition()</a>.
1420
<a class="anchor" name="5dd2e0ce6b2a6cc50e345ec13aef9255"></a><!-- doxytag: member="QwtPicker::append" ref="5dd2e0ce6b2a6cc50e345ec13aef9255" args="(const QPoint &)" -->
1421
<div class="memitem">
1422
<div class="memproto">
1423
<table class="memname">
1425
<td class="memname">void QwtPicker::append </td>
1427
<td class="paramtype">const QPoint & </td>
1428
<td class="paramname"> <em>pos</em> </td>
1429
<td> ) </td>
1430
<td width="100%"><code> [protected, virtual]</code></td>
1434
<div class="memdoc">
1437
Append a point to the selection and update rubberband and tracker. The <a class="el" href="class_qwt_picker.html#d52219271a7c8efab35ded14ac89827a">appended()</a> signal is emitted.<p>
1438
<dl compact><dt><b>Parameters:</b></dt><dd>
1439
<table border="0" cellspacing="2" cellpadding="0">
1440
<tr><td valign="top"></td><td valign="top"><em>pos</em> </td><td>Additional point</td></tr>
1443
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#9ee030f985edfa20d0f896534b9b611b">isActive</a>, <a class="el" href="class_qwt_picker.html#49cb19aea451e275c5d376235e5a1d83">begin()</a>, <a class="el" href="class_qwt_picker.html#d258c518257cf2f52326905a36efb0c4">end()</a>, <a class="el" href="class_qwt_picker.html#59d92670978f200edb61e429afa06542">move()</a>, <a class="el" href="class_qwt_picker.html#d52219271a7c8efab35ded14ac89827a">appended()</a> </dd></dl>
1446
Reimplemented in <a class="el" href="class_qwt_plot_picker.html#86a68e8ea235b9514084b729c75803ea">QwtPlotPicker</a>.
1448
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l01215">1215</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1450
References <a class="el" href="class_qwt_picker.html#d52219271a7c8efab35ded14ac89827a">appended()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
1452
Referenced by <a class="el" href="qwt__plot__picker_8cpp-source.html#l00244">QwtPlotPicker::append()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01079">transition()</a>.
1455
<a class="anchor" name="59d92670978f200edb61e429afa06542"></a><!-- doxytag: member="QwtPicker::move" ref="59d92670978f200edb61e429afa06542" args="(const QPoint &)" -->
1456
<div class="memitem">
1457
<div class="memproto">
1458
<table class="memname">
1460
<td class="memname">void QwtPicker::move </td>
1462
<td class="paramtype">const QPoint & </td>
1463
<td class="paramname"> <em>pos</em> </td>
1464
<td> ) </td>
1465
<td width="100%"><code> [protected, virtual]</code></td>
1469
<div class="memdoc">
1472
Move the last point of the selection The <a class="el" href="class_qwt_picker.html#dddb4800c1dac0ba807e731f45d40742">moved()</a> signal is emitted.<p>
1473
<dl compact><dt><b>Parameters:</b></dt><dd>
1474
<table border="0" cellspacing="2" cellpadding="0">
1475
<tr><td valign="top"></td><td valign="top"><em>pos</em> </td><td>New position </td></tr>
1478
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#9ee030f985edfa20d0f896534b9b611b">isActive</a>, <a class="el" href="class_qwt_picker.html#49cb19aea451e275c5d376235e5a1d83">begin()</a>, <a class="el" href="class_qwt_picker.html#d258c518257cf2f52326905a36efb0c4">end()</a>, <a class="el" href="class_qwt_picker.html#5dd2e0ce6b2a6cc50e345ec13aef9255">append()</a> </dd></dl>
1481
Reimplemented in <a class="el" href="class_qwt_plot_picker.html#7a979d23cd4d398e309409e76635bcf4">QwtPlotPicker</a>.
1483
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l01237">1237</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1485
References <a class="el" href="class_qwt_picker.html#dddb4800c1dac0ba807e731f45d40742">moved()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
1487
Referenced by <a class="el" href="qwt__plot__picker_8cpp-source.html#l00259">QwtPlotPicker::move()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01079">transition()</a>.
1490
<a class="anchor" name="d258c518257cf2f52326905a36efb0c4"></a><!-- doxytag: member="QwtPicker::end" ref="d258c518257cf2f52326905a36efb0c4" args="(bool ok=true)" -->
1491
<div class="memitem">
1492
<div class="memproto">
1493
<table class="memname">
1495
<td class="memname">bool QwtPicker::end </td>
1497
<td class="paramtype">bool </td>
1498
<td class="paramname"> <em>ok</em> = <code>true</code> </td>
1499
<td> ) </td>
1500
<td width="100%"><code> [protected, virtual]</code></td>
1504
<div class="memdoc">
1507
Close a selection setting the state to inactive.
1509
The selection is validated and maybe fixed by <a class="el" href="class_qwt_picker.html#726e38a25659db96218888e4625dffba">QwtPicker::accept()</a>.<p>
1510
<dl compact><dt><b>Parameters:</b></dt><dd>
1511
<table border="0" cellspacing="2" cellpadding="0">
1512
<tr><td valign="top"></td><td valign="top"><em>ok</em> </td><td>If true, complete the selection and emit a selected signal otherwise discard the selection. </td></tr>
1515
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if the selection is accepted, false otherwise </dd></dl>
1516
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#9ee030f985edfa20d0f896534b9b611b">isActive</a>, <a class="el" href="class_qwt_picker.html#49cb19aea451e275c5d376235e5a1d83">begin()</a>, <a class="el" href="class_qwt_picker.html#5dd2e0ce6b2a6cc50e345ec13aef9255">append()</a>, <a class="el" href="class_qwt_picker.html#59d92670978f200edb61e429afa06542">move()</a>, <a class="el" href="class_qwt_picker.html#dc217b13621f291dd2ba081e2c28e4f4">selected()</a>, <a class="el" href="class_qwt_picker.html#726e38a25659db96218888e4625dffba">accept()</a> </dd></dl>
1519
Reimplemented in <a class="el" href="class_qwt_plot_picker.html#9fceb663542b6f9b0a358e9419406423">QwtPlotPicker</a>, and <a class="el" href="class_qwt_plot_zoomer.html#c7d10eb27858ccfebebecab5d69ecbb3">QwtPlotZoomer</a>.
1521
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l01168">1168</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1523
References <a class="el" href="qwt__picker_8cpp-source.html#l01256">accept()</a>, <a class="el" href="class_qwt_picker.html#dc217b13621f291dd2ba081e2c28e4f4">selected()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00470">trackerMode()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
1525
Referenced by <a class="el" href="qwt__plot__picker_8cpp-source.html#l00273">QwtPlotPicker::end()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01198">reset()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01079">transition()</a>.
1528
<a class="anchor" name="0e50f7be7182e81607bf1625dcdff6eb"></a><!-- doxytag: member="QwtPicker::reset" ref="0e50f7be7182e81607bf1625dcdff6eb" args="()" -->
1529
<div class="memitem">
1530
<div class="memproto">
1531
<table class="memname">
1533
<td class="memname">void QwtPicker::reset </td>
1535
<td class="paramname"> </td>
1536
<td> ) </td>
1537
<td width="100%"><code> [protected, virtual]</code></td>
1541
<div class="memdoc">
1544
Reset the state machine and terminate (end(false)) the selection
1546
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l01198">1198</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1548
References <a class="el" href="qwt__picker_8cpp-source.html#l01168">end()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01265">isActive()</a>.
1550
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l01017">widgetKeyPressEvent()</a>.
1553
<a class="anchor" name="4bfae8da37c3936ae73d4798cca4a3d9"></a><!-- doxytag: member="QwtPicker::widgetMousePressEvent" ref="4bfae8da37c3936ae73d4798cca4a3d9" args="(QMouseEvent *)" -->
1554
<div class="memitem">
1555
<div class="memproto">
1556
<table class="memname">
1558
<td class="memname">void QwtPicker::widgetMousePressEvent </td>
1560
<td class="paramtype">QMouseEvent * </td>
1561
<td class="paramname"> <em>e</em> </td>
1562
<td> ) </td>
1563
<td width="100%"><code> [protected, virtual]</code></td>
1567
<div class="memdoc">
1570
Handle a mouse press event for the observed widget.<p>
1571
Begin and/or end a selection depending on the selection flags.<p>
1572
<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#a42f0efb5aa8bcf4f2097a49fb96f886">selectionFlags()</a> <p>
1573
<a class="el" href="class_qwt_picker.html#c149f9cb8fb068f31871e1fe450c376e">eventFilter()</a>, <a class="el" href="class_qwt_picker.html#c009633e005b6290e07b902f2a58e45e">widgetMouseReleaseEvent()</a>, <a class="el" href="class_qwt_picker.html#f1ffb07c24be57cd4a753b04412b3212">widgetMouseDoubleClickEvent()</a>, <a class="el" href="class_qwt_picker.html#88b203109a4d3b26c2e0bee110c56c9d">widgetMouseMoveEvent()</a>, <a class="el" href="class_qwt_picker.html#f92ffabe291a6254378dc932c5cce0a7">widgetWheelEvent()</a>, <a class="el" href="class_qwt_picker.html#f5bc441b2fc143363563922a3b3c70ae">widgetKeyPressEvent()</a>, <a class="el" href="class_qwt_picker.html#9f2c739a619be794b22a10ede9674a1e">widgetKeyReleaseEvent()</a> </dd></dl>
1576
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00912">912</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1578
References <a class="el" href="qwt__picker_8cpp-source.html#l01079">transition()</a>.
1580
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00852">eventFilter()</a>.
1583
<a class="anchor" name="c009633e005b6290e07b902f2a58e45e"></a><!-- doxytag: member="QwtPicker::widgetMouseReleaseEvent" ref="c009633e005b6290e07b902f2a58e45e" args="(QMouseEvent *)" -->
1584
<div class="memitem">
1585
<div class="memproto">
1586
<table class="memname">
1588
<td class="memname">void QwtPicker::widgetMouseReleaseEvent </td>
1590
<td class="paramtype">QMouseEvent * </td>
1591
<td class="paramname"> <em>e</em> </td>
1592
<td> ) </td>
1593
<td width="100%"><code> [protected, virtual]</code></td>
1597
<div class="memdoc">
1600
Handle a mouse relase event for the observed widget.<p>
1601
End a selection depending on the selection flags.<p>
1602
<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#a42f0efb5aa8bcf4f2097a49fb96f886">selectionFlags()</a> <p>
1603
<a class="el" href="class_qwt_picker.html#c149f9cb8fb068f31871e1fe450c376e">eventFilter()</a>, <a class="el" href="class_qwt_picker.html#4bfae8da37c3936ae73d4798cca4a3d9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_picker.html#f1ffb07c24be57cd4a753b04412b3212">widgetMouseDoubleClickEvent()</a>, <a class="el" href="class_qwt_picker.html#88b203109a4d3b26c2e0bee110c56c9d">widgetMouseMoveEvent()</a>, <a class="el" href="class_qwt_picker.html#f92ffabe291a6254378dc932c5cce0a7">widgetWheelEvent()</a>, <a class="el" href="class_qwt_picker.html#f5bc441b2fc143363563922a3b3c70ae">widgetKeyPressEvent()</a>, <a class="el" href="class_qwt_picker.html#9f2c739a619be794b22a10ede9674a1e">widgetKeyReleaseEvent()</a> </dd></dl>
1606
Reimplemented in <a class="el" href="class_qwt_plot_zoomer.html#abded662ecb3555b3a29cf3daacf79de">QwtPlotZoomer</a>.
1608
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00963">963</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1610
References <a class="el" href="qwt__picker_8cpp-source.html#l01079">transition()</a>.
1612
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00852">eventFilter()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00448">QwtPlotZoomer::widgetMouseReleaseEvent()</a>.
1615
<a class="anchor" name="f1ffb07c24be57cd4a753b04412b3212"></a><!-- doxytag: member="QwtPicker::widgetMouseDoubleClickEvent" ref="f1ffb07c24be57cd4a753b04412b3212" args="(QMouseEvent *)" -->
1616
<div class="memitem">
1617
<div class="memproto">
1618
<table class="memname">
1620
<td class="memname">void QwtPicker::widgetMouseDoubleClickEvent </td>
1622
<td class="paramtype">QMouseEvent * </td>
1623
<td class="paramname"> <em>me</em> </td>
1624
<td> ) </td>
1625
<td width="100%"><code> [protected, virtual]</code></td>
1629
<div class="memdoc">
1632
Handle mouse double click event for the observed widget.<p>
1633
Empty implementation, does nothing.<p>
1634
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#c149f9cb8fb068f31871e1fe450c376e">eventFilter()</a>, <a class="el" href="class_qwt_picker.html#4bfae8da37c3936ae73d4798cca4a3d9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_picker.html#c009633e005b6290e07b902f2a58e45e">widgetMouseReleaseEvent()</a>, <a class="el" href="class_qwt_picker.html#88b203109a4d3b26c2e0bee110c56c9d">widgetMouseMoveEvent()</a>, <a class="el" href="class_qwt_picker.html#f92ffabe291a6254378dc932c5cce0a7">widgetWheelEvent()</a>, <a class="el" href="class_qwt_picker.html#f5bc441b2fc143363563922a3b3c70ae">widgetKeyPressEvent()</a>, <a class="el" href="class_qwt_picker.html#9f2c739a619be794b22a10ede9674a1e">widgetKeyReleaseEvent()</a> </dd></dl>
1637
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00977">977</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1639
References <a class="el" href="qwt__picker_8cpp-source.html#l01079">transition()</a>.
1641
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00852">eventFilter()</a>.
1644
<a class="anchor" name="88b203109a4d3b26c2e0bee110c56c9d"></a><!-- doxytag: member="QwtPicker::widgetMouseMoveEvent" ref="88b203109a4d3b26c2e0bee110c56c9d" args="(QMouseEvent *)" -->
1645
<div class="memitem">
1646
<div class="memproto">
1647
<table class="memname">
1649
<td class="memname">void QwtPicker::widgetMouseMoveEvent </td>
1651
<td class="paramtype">QMouseEvent * </td>
1652
<td class="paramname"> <em>e</em> </td>
1653
<td> ) </td>
1654
<td width="100%"><code> [protected, virtual]</code></td>
1658
<div class="memdoc">
1661
Handle a mouse move event for the observed widget.<p>
1662
Move the last point of the selection in case of <a class="el" href="class_qwt_picker.html#9ee030f985edfa20d0f896534b9b611b">isActive()</a> == true<p>
1663
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#c149f9cb8fb068f31871e1fe450c376e">eventFilter()</a>, <a class="el" href="class_qwt_picker.html#4bfae8da37c3936ae73d4798cca4a3d9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_picker.html#c009633e005b6290e07b902f2a58e45e">widgetMouseReleaseEvent()</a>, <a class="el" href="class_qwt_picker.html#f1ffb07c24be57cd4a753b04412b3212">widgetMouseDoubleClickEvent()</a>, <a class="el" href="class_qwt_picker.html#f92ffabe291a6254378dc932c5cce0a7">widgetWheelEvent()</a>, <a class="el" href="class_qwt_picker.html#f5bc441b2fc143363563922a3b3c70ae">widgetKeyPressEvent()</a>, <a class="el" href="class_qwt_picker.html#9f2c739a619be794b22a10ede9674a1e">widgetKeyReleaseEvent()</a> </dd></dl>
1666
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00926">926</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1668
References <a class="el" href="qwt__picker_8cpp-source.html#l01265">isActive()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01344">pickRect()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01079">transition()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
1670
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00852">eventFilter()</a>.
1673
<a class="anchor" name="f92ffabe291a6254378dc932c5cce0a7"></a><!-- doxytag: member="QwtPicker::widgetWheelEvent" ref="f92ffabe291a6254378dc932c5cce0a7" args="(QWheelEvent *)" -->
1674
<div class="memitem">
1675
<div class="memproto">
1676
<table class="memname">
1678
<td class="memname">void QwtPicker::widgetWheelEvent </td>
1680
<td class="paramtype">QWheelEvent * </td>
1681
<td class="paramname"> <em>e</em> </td>
1682
<td> ) </td>
1683
<td width="100%"><code> [protected, virtual]</code></td>
1687
<div class="memdoc">
1690
Handle a wheel event for the observed widget.<p>
1691
Move the last point of the selection in case of <a class="el" href="class_qwt_picker.html#9ee030f985edfa20d0f896534b9b611b">isActive()</a> == true<p>
1692
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#c149f9cb8fb068f31871e1fe450c376e">eventFilter()</a>, <a class="el" href="class_qwt_picker.html#4bfae8da37c3936ae73d4798cca4a3d9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_picker.html#c009633e005b6290e07b902f2a58e45e">widgetMouseReleaseEvent()</a>, <a class="el" href="class_qwt_picker.html#f1ffb07c24be57cd4a753b04412b3212">widgetMouseDoubleClickEvent()</a>, <a class="el" href="class_qwt_picker.html#88b203109a4d3b26c2e0bee110c56c9d">widgetMouseMoveEvent()</a>, <a class="el" href="class_qwt_picker.html#f5bc441b2fc143363563922a3b3c70ae">widgetKeyPressEvent()</a>, <a class="el" href="class_qwt_picker.html#9f2c739a619be794b22a10ede9674a1e">widgetKeyReleaseEvent()</a> </dd></dl>
1695
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00992">992</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1697
References <a class="el" href="qwt__picker_8cpp-source.html#l01344">pickRect()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01079">transition()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
1699
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00852">eventFilter()</a>.
1702
<a class="anchor" name="f5bc441b2fc143363563922a3b3c70ae"></a><!-- doxytag: member="QwtPicker::widgetKeyPressEvent" ref="f5bc441b2fc143363563922a3b3c70ae" args="(QKeyEvent *)" -->
1703
<div class="memitem">
1704
<div class="memproto">
1705
<table class="memname">
1707
<td class="memname">void QwtPicker::widgetKeyPressEvent </td>
1709
<td class="paramtype">QKeyEvent * </td>
1710
<td class="paramname"> <em>ke</em> </td>
1711
<td> ) </td>
1712
<td width="100%"><code> [protected, virtual]</code></td>
1716
<div class="memdoc">
1719
Handle a key press event for the observed widget.<p>
1720
Selections can be completely done by the keyboard. The arrow keys move the cursor, the abort key aborts a selection. All other keys are handled by the current state machine.<p>
1721
<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#a42f0efb5aa8bcf4f2097a49fb96f886">selectionFlags()</a> <p>
1722
<a class="el" href="class_qwt_picker.html#c149f9cb8fb068f31871e1fe450c376e">eventFilter()</a>, <a class="el" href="class_qwt_picker.html#4bfae8da37c3936ae73d4798cca4a3d9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_picker.html#c009633e005b6290e07b902f2a58e45e">widgetMouseReleaseEvent()</a>, <a class="el" href="class_qwt_picker.html#f1ffb07c24be57cd4a753b04412b3212">widgetMouseDoubleClickEvent()</a>, <a class="el" href="class_qwt_picker.html#88b203109a4d3b26c2e0bee110c56c9d">widgetMouseMoveEvent()</a>, <a class="el" href="class_qwt_picker.html#f92ffabe291a6254378dc932c5cce0a7">widgetWheelEvent()</a>, <a class="el" href="class_qwt_picker.html#9f2c739a619be794b22a10ede9674a1e">widgetKeyReleaseEvent()</a>, <a class="el" href="class_qwt_picker.html#aad63b94d03f8ebb363ed51d7c2a0dd2">stateMachine()</a>, <a class="el" href="class_qwt_event_pattern.html#8fb57ceb9982d5583a1bf568e37d3007">QwtEventPattern::KeyPatternCode</a> </dd></dl>
1725
Reimplemented in <a class="el" href="class_qwt_plot_zoomer.html#a44e42dcf37547a6b93d04a593f140c6">QwtPlotZoomer</a>.
1727
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l01017">1017</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1729
References <a class="el" href="qwt__event__pattern_8cpp-source.html#l00248">QwtEventPattern::keyMatch()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l00375">parentWidget()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01344">pickRect()</a>, <a class="el" href="qwt__picker_8cpp-source.html#l01198">reset()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01079">transition()</a>.
1731
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00852">eventFilter()</a>, and <a class="el" href="qwt__plot__zoomer_8cpp-source.html#l00471">QwtPlotZoomer::widgetKeyPressEvent()</a>.
1734
<a class="anchor" name="9f2c739a619be794b22a10ede9674a1e"></a><!-- doxytag: member="QwtPicker::widgetKeyReleaseEvent" ref="9f2c739a619be794b22a10ede9674a1e" args="(QKeyEvent *)" -->
1735
<div class="memitem">
1736
<div class="memproto">
1737
<table class="memname">
1739
<td class="memname">void QwtPicker::widgetKeyReleaseEvent </td>
1741
<td class="paramtype">QKeyEvent * </td>
1742
<td class="paramname"> <em>ke</em> </td>
1743
<td> ) </td>
1744
<td width="100%"><code> [protected, virtual]</code></td>
1748
<div class="memdoc">
1751
Handle a key release event for the observed widget.<p>
1752
Passes the event to the state machine.<p>
1753
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#c149f9cb8fb068f31871e1fe450c376e">eventFilter()</a>, <a class="el" href="class_qwt_picker.html#4bfae8da37c3936ae73d4798cca4a3d9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_picker.html#c009633e005b6290e07b902f2a58e45e">widgetMouseReleaseEvent()</a>, <a class="el" href="class_qwt_picker.html#f1ffb07c24be57cd4a753b04412b3212">widgetMouseDoubleClickEvent()</a>, <a class="el" href="class_qwt_picker.html#88b203109a4d3b26c2e0bee110c56c9d">widgetMouseMoveEvent()</a>, <a class="el" href="class_qwt_picker.html#f92ffabe291a6254378dc932c5cce0a7">widgetWheelEvent()</a>, <a class="el" href="class_qwt_picker.html#f5bc441b2fc143363563922a3b3c70ae">widgetKeyPressEvent()</a>, <a class="el" href="class_qwt_picker.html#aad63b94d03f8ebb363ed51d7c2a0dd2">stateMachine()</a> </dd></dl>
1756
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l01067">1067</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1758
References <a class="el" href="qwt__picker_8cpp-source.html#l01079">transition()</a>.
1760
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00852">eventFilter()</a>.
1763
<a class="anchor" name="8a2a18f2b98c8524b1d3684df44c24aa"></a><!-- doxytag: member="QwtPicker::widgetLeaveEvent" ref="8a2a18f2b98c8524b1d3684df44c24aa" args="(QEvent *)" -->
1764
<div class="memitem">
1765
<div class="memproto">
1766
<table class="memname">
1768
<td class="memname">void QwtPicker::widgetLeaveEvent </td>
1770
<td class="paramtype">QEvent * </td>
1771
<td class="paramname"> </td>
1772
<td> ) </td>
1773
<td width="100%"><code> [protected, virtual]</code></td>
1777
<div class="memdoc">
1780
Handle a leave event for the observed widget.<p>
1781
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#c149f9cb8fb068f31871e1fe450c376e">eventFilter()</a>, <a class="el" href="class_qwt_picker.html#4bfae8da37c3936ae73d4798cca4a3d9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_picker.html#c009633e005b6290e07b902f2a58e45e">widgetMouseReleaseEvent()</a>, <a class="el" href="class_qwt_picker.html#f1ffb07c24be57cd4a753b04412b3212">widgetMouseDoubleClickEvent()</a>, <a class="el" href="class_qwt_picker.html#f92ffabe291a6254378dc932c5cce0a7">widgetWheelEvent()</a>, <a class="el" href="class_qwt_picker.html#f5bc441b2fc143363563922a3b3c70ae">widgetKeyPressEvent()</a>, <a class="el" href="class_qwt_picker.html#9f2c739a619be794b22a10ede9674a1e">widgetKeyReleaseEvent()</a> </dd></dl>
1784
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00946">946</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1786
References <a class="el" href="qwt__picker_8cpp-source.html#l01265">isActive()</a>, and <a class="el" href="qwt__picker_8cpp-source.html#l01360">updateDisplay()</a>.
1788
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00852">eventFilter()</a>.
1791
<a class="anchor" name="24b0e4bcf6a9b7f41c81ea19305105a8"></a><!-- doxytag: member="QwtPicker::stretchSelection" ref="24b0e4bcf6a9b7f41c81ea19305105a8" args="(const QSize &oldSize, const QSize &newSize)" -->
1792
<div class="memitem">
1793
<div class="memproto">
1794
<table class="memname">
1796
<td class="memname">void QwtPicker::stretchSelection </td>
1798
<td class="paramtype">const QSize & </td>
1799
<td class="paramname"> <em>oldSize</em>, </td>
1802
<td class="paramkey"></td>
1804
<td class="paramtype">const QSize & </td>
1805
<td class="paramname"> <em>newSize</em></td><td> </td>
1810
<td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
1814
<div class="memdoc">
1817
Scale the selection by the ratios of oldSize and newSize The <a class="el" href="class_qwt_picker.html#dc25f36804c8a9fe24bb8640a73c4051">changed()</a> signal is emitted.<p>
1818
<dl compact><dt><b>Parameters:</b></dt><dd>
1819
<table border="0" cellspacing="2" cellpadding="0">
1820
<tr><td valign="top"></td><td valign="top"><em>oldSize</em> </td><td>Previous size </td></tr>
1821
<tr><td valign="top"></td><td valign="top"><em>newSize</em> </td><td>Current size</td></tr>
1824
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#b3c894deed026f392496dd07809a6fd3">ResizeMode</a>, <a class="el" href="class_qwt_picker.html#f85c8a3c709bd106d2b34b718a746e03">setResizeMode()</a>, <a class="el" href="class_qwt_picker.html#0bb802fa991b974e6516075669bedcbc">resizeMode()</a> </dd></dl>
1827
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l01285">1285</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1829
References <a class="el" href="class_qwt_picker.html#dc25f36804c8a9fe24bb8640a73c4051">changed()</a>.
1831
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00852">eventFilter()</a>.
1834
<a class="anchor" name="aad63b94d03f8ebb363ed51d7c2a0dd2"></a><!-- doxytag: member="QwtPicker::stateMachine" ref="aad63b94d03f8ebb363ed51d7c2a0dd2" args="(int) const " -->
1835
<div class="memitem">
1836
<div class="memproto">
1837
<table class="memname">
1839
<td class="memname"><a class="el" href="class_qwt_picker_machine.html">QwtPickerMachine</a> * QwtPicker::stateMachine </td>
1841
<td class="paramtype">int </td>
1842
<td class="paramname"> <em>flags</em> </td>
1843
<td> ) </td>
1844
<td width="100%"> const<code> [protected, virtual]</code></td>
1848
<div class="memdoc">
1851
Create a state machine depending on the selection flags.<p>
1853
<li>PointSelection | ClickSelection<br>
1854
QwtPickerClickPointMachine()</li><li>PointSelection | DragSelection<br>
1855
QwtPickerDragPointMachine()</li><li>RectSelection | ClickSelection<br>
1856
QwtPickerClickRectMachine()</li><li>RectSelection | DragSelection<br>
1857
QwtPickerDragRectMachine()</li><li>PolygonSelection<br>
1858
QwtPickerPolygonMachine()</li></ul>
1860
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_picker.html#e93fe995c8c581ac33a9f3445ea5e7b9">setSelectionFlags()</a> </dd></dl>
1863
Definition at line <a class="el" href="qwt__picker_8cpp-source.html#l00351">351</a> of file <a class="el" href="qwt__picker_8cpp-source.html">qwt_picker.cpp</a>.
1865
Referenced by <a class="el" href="qwt__picker_8cpp-source.html#l00403">setSelectionFlags()</a>.
1868
<hr size="1"><address style="align: right;"><small>Generated on Sun Mar 22 16:54:45 2009 for Qwt User's Guide by
1869
<a href="http://www.doxygen.org/index.html">
1870
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>