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: QwtPanner 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>QwtPanner Class Reference</h1><!-- doxytag: class="QwtPanner" -->Inheritance diagram for QwtPanner:<p><center><img src="class_qwt_panner__inherit__graph.png" border="0" usemap="#_qwt_panner__inherit__map" alt="Inheritance graph"></center>
23
<map name="_qwt_panner__inherit__map">
24
<area href="class_qwt_plot_panner.html" shape="rect" coords="7,83,119,107" alt="">
26
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_qwt_panner-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
27
<a class="el" href="class_qwt_panner.html">QwtPanner</a> provides panning of a widget.
29
<a class="el" href="class_qwt_panner.html">QwtPanner</a> grabs the contents of a widget, that can be dragged in all directions. The offset between the start and the end position is emitted by the panned signal.<p>
30
<a class="el" href="class_qwt_panner.html">QwtPanner</a> grabs the content of the widget into a pixmap and moves the pixmap around, without initiating any repaint events for the widget. Areas, that are not part of content are not painted while panning in in process. This makes panning fast enough for widgets, where repaints are too slow for mouse movements.<p>
31
For widgets, where repaints are very fast it might be better to implement panning manually by mapping mouse events into paint events.
35
Definition at line <a class="el" href="qwt__panner_8h-source.html#l00035">35</a> of file <a class="el" href="qwt__panner_8h-source.html">qwt_panner.h</a>.<table border="0" cellpadding="0" cellspacing="0">
37
<tr><td colspan="2"><br><h2>Signals</h2></td></tr>
38
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#e9ce78e6f9ae73317af29b2dc5df7372">panned</a> (int dx, int dy)</td></tr>
40
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a45ae2f4d6d20a83783898dd86d0b595">moved</a> (int dx, int dy)</td></tr>
42
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
43
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#f5482be26d69a64c3880653265240736">QwtPanner</a> (QWidget *parent)</td></tr>
45
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#19c9b9a08da05649f6d2ef5bf6fb391c">~QwtPanner</a> ()</td></tr>
47
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#43e06c262c945fc7faeb729539bbde58">setEnabled</a> (bool)</td></tr>
49
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#19439f534fc9fa254693948eb4f4bb5f">isEnabled</a> () const</td></tr>
51
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a2b37fa4cb48abf82ae0308b3e5992c5">setMouseButton</a> (int button, int buttonState=Qt::NoButton)</td></tr>
53
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a73f227e3337b0ff66da78ca42968d85">getMouseButton</a> (int &button, int &buttonState) const </td></tr>
55
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#4545ea538c2a6946b1027f95cfb51c9f">setAbortKey</a> (int key, int state=Qt::NoButton)</td></tr>
57
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#c91ce9e6162515c710875e639f242119">getAbortKey</a> (int &key, int &state) const </td></tr>
59
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#c8b0625fe155fff0132df85727f54a3e">setCursor</a> (const QCursor &)</td></tr>
61
<tr><td class="memItemLeft" nowrap align="right" valign="top">const QCursor </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#1ebb1cc406fa3d30df0e7dd7a541667d">cursor</a> () const</td></tr>
63
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#aa71a8b6f7f46ae8f5a8084094d7bd9a">setOrientations</a> (Qt::Orientations)</td></tr>
65
<tr><td class="memItemLeft" nowrap align="right" valign="top">Qt::Orientations </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#0df413d3d5a6bc4f002e87f3b269214e">orientations</a> () const</td></tr>
67
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#a69c32aae501021f01cb7c833172986c">isOrientationEnabled</a> (Qt::Orientation) const</td></tr>
69
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#06b8eea86d4dcbe361c4af41a263f2cb">eventFilter</a> (QObject *, QEvent *)</td></tr>
71
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
72
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#e002958978dcc751f9edda24e5858dd9">widgetMousePressEvent</a> (QMouseEvent *)</td></tr>
74
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#b2da1e24b1456b223eaa826d8e0a3a81">widgetMouseReleaseEvent</a> (QMouseEvent *)</td></tr>
76
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#6545bc6e25018253c59fc27a48eb948f">widgetMouseMoveEvent</a> (QMouseEvent *)</td></tr>
78
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#7ed4e89f6c52b841e20ad497af4b4ebc">widgetKeyPressEvent</a> (QKeyEvent *)</td></tr>
80
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#8bd447df4a30299bbc8e6b6d3e2e2f9f">widgetKeyReleaseEvent</a> (QKeyEvent *)</td></tr>
82
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_panner.html#cd76ea518bd9267a45115d2c6ce19353">paintEvent</a> (QPaintEvent *)</td></tr>
85
<hr><h2>Constructor & Destructor Documentation</h2>
86
<a class="anchor" name="f5482be26d69a64c3880653265240736"></a><!-- doxytag: member="QwtPanner::QwtPanner" ref="f5482be26d69a64c3880653265240736" args="(QWidget *parent)" -->
88
<div class="memproto">
89
<table class="memname">
91
<td class="memname">QwtPanner::QwtPanner </td>
93
<td class="paramtype">QWidget * </td>
94
<td class="paramname"> <em>parent</em> </td>
95
<td> ) </td>
96
<td width="100%"></td>
103
Creates an panner that is enabled for the left mouse button.<p>
104
<dl compact><dt><b>Parameters:</b></dt><dd>
105
<table border="0" cellspacing="2" cellpadding="0">
106
<tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>Parent widget to be panned </td></tr>
111
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00121">121</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
113
References <a class="el" href="qwt__panner_8cpp-source.html#l00220">setEnabled()</a>.
116
<a class="anchor" name="19c9b9a08da05649f6d2ef5bf6fb391c"></a><!-- doxytag: member="QwtPanner::~QwtPanner" ref="19c9b9a08da05649f6d2ef5bf6fb391c" args="()" -->
117
<div class="memitem">
118
<div class="memproto">
119
<table class="memname">
121
<td class="memname">QwtPanner::~QwtPanner </td>
123
<td class="paramname"> </td>
124
<td> ) </td>
125
<td width="100%"><code> [virtual]</code></td>
136
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00140">140</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
139
<hr><h2>Member Function Documentation</h2>
140
<a class="anchor" name="43e06c262c945fc7faeb729539bbde58"></a><!-- doxytag: member="QwtPanner::setEnabled" ref="43e06c262c945fc7faeb729539bbde58" args="(bool)" -->
141
<div class="memitem">
142
<div class="memproto">
143
<table class="memname">
145
<td class="memname">void QwtPanner::setEnabled </td>
147
<td class="paramtype">bool </td>
148
<td class="paramname"> <em>on</em> </td>
149
<td> ) </td>
150
<td width="100%"></td>
157
En/disable the panner.
159
When enabled is true an event filter is installed for the observed widget, otherwise the event filter is removed.<p>
160
<dl compact><dt><b>Parameters:</b></dt><dd>
161
<table border="0" cellspacing="2" cellpadding="0">
162
<tr><td valign="top"></td><td valign="top"><em>on</em> </td><td>true or false </td></tr>
165
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#19439f534fc9fa254693948eb4f4bb5f">isEnabled()</a>, <a class="el" href="class_qwt_panner.html#06b8eea86d4dcbe361c4af41a263f2cb">eventFilter()</a> </dd></dl>
168
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00220">220</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
170
Referenced by <a class="el" href="qwt__panner_8cpp-source.html#l00121">QwtPanner()</a>, and <a class="el" href="qwt__panner_8cpp-source.html#l00392">widgetMousePressEvent()</a>.
173
<a class="anchor" name="19439f534fc9fa254693948eb4f4bb5f"></a><!-- doxytag: member="QwtPanner::isEnabled" ref="19439f534fc9fa254693948eb4f4bb5f" args="() const" -->
174
<div class="memitem">
175
<div class="memproto">
176
<table class="memname">
178
<td class="memname">bool QwtPanner::isEnabled </td>
180
<td class="paramname"> </td>
181
<td> ) </td>
182
<td width="100%"> const</td>
189
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true when enabled, false otherwise </dd></dl>
190
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#43e06c262c945fc7faeb729539bbde58">setEnabled</a>, <a class="el" href="class_qwt_panner.html#06b8eea86d4dcbe361c4af41a263f2cb">eventFilter()</a> </dd></dl>
193
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00287">287</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
196
<a class="anchor" name="a2b37fa4cb48abf82ae0308b3e5992c5"></a><!-- doxytag: member="QwtPanner::setMouseButton" ref="a2b37fa4cb48abf82ae0308b3e5992c5" args="(int button, int buttonState=Qt::NoButton)" -->
197
<div class="memitem">
198
<div class="memproto">
199
<table class="memname">
201
<td class="memname">void QwtPanner::setMouseButton </td>
203
<td class="paramtype">int </td>
204
<td class="paramname"> <em>button</em>, </td>
207
<td class="paramkey"></td>
209
<td class="paramtype">int </td>
210
<td class="paramname"> <em>buttonState</em> = <code>Qt::NoButton</code></td><td> </td>
215
<td></td><td></td><td width="100%"></td>
222
Change the mouse button The defaults are Qt::LeftButton and Qt::NoButton
224
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00149">149</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
227
<a class="anchor" name="a73f227e3337b0ff66da78ca42968d85"></a><!-- doxytag: member="QwtPanner::getMouseButton" ref="a73f227e3337b0ff66da78ca42968d85" args="(int &button, int &buttonState) const " -->
228
<div class="memitem">
229
<div class="memproto">
230
<table class="memname">
232
<td class="memname">void QwtPanner::getMouseButton </td>
234
<td class="paramtype">int & </td>
235
<td class="paramname"> <em>button</em>, </td>
238
<td class="paramkey"></td>
240
<td class="paramtype">int & </td>
241
<td class="paramname"> <em>buttonState</em></td><td> </td>
246
<td></td><td></td><td width="100%"> const</td>
253
Get the mouse button.
257
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00156">156</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
260
<a class="anchor" name="4545ea538c2a6946b1027f95cfb51c9f"></a><!-- doxytag: member="QwtPanner::setAbortKey" ref="4545ea538c2a6946b1027f95cfb51c9f" args="(int key, int state=Qt::NoButton)" -->
261
<div class="memitem">
262
<div class="memproto">
263
<table class="memname">
265
<td class="memname">void QwtPanner::setAbortKey </td>
267
<td class="paramtype">int </td>
268
<td class="paramname"> <em>key</em>, </td>
271
<td class="paramkey"></td>
273
<td class="paramtype">int </td>
274
<td class="paramname"> <em>state</em> = <code>Qt::NoButton</code></td><td> </td>
279
<td></td><td></td><td width="100%"></td>
286
Change the abort key The defaults are Qt::Key_Escape and Qt::NoButton
288
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00166">166</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
291
<a class="anchor" name="c91ce9e6162515c710875e639f242119"></a><!-- doxytag: member="QwtPanner::getAbortKey" ref="c91ce9e6162515c710875e639f242119" args="(int &key, int &state) const " -->
292
<div class="memitem">
293
<div class="memproto">
294
<table class="memname">
296
<td class="memname">void QwtPanner::getAbortKey </td>
298
<td class="paramtype">int & </td>
299
<td class="paramname"> <em>key</em>, </td>
302
<td class="paramkey"></td>
304
<td class="paramtype">int & </td>
305
<td class="paramname"> <em>state</em></td><td> </td>
310
<td></td><td></td><td width="100%"> const</td>
321
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00173">173</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
324
<a class="anchor" name="c8b0625fe155fff0132df85727f54a3e"></a><!-- doxytag: member="QwtPanner::setCursor" ref="c8b0625fe155fff0132df85727f54a3e" args="(const QCursor &)" -->
325
<div class="memitem">
326
<div class="memproto">
327
<table class="memname">
329
<td class="memname">void QwtPanner::setCursor </td>
331
<td class="paramtype">const QCursor & </td>
332
<td class="paramname"> <em>cursor</em> </td>
333
<td> ) </td>
334
<td width="100%"></td>
341
Change the cursor, that is active while panning The default is the cursor of the parent widget.<p>
342
<dl compact><dt><b>Parameters:</b></dt><dd>
343
<table border="0" cellspacing="2" cellpadding="0">
344
<tr><td valign="top"></td><td valign="top"><em>cursor</em> </td><td>New cursor</td></tr>
347
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#c8b0625fe155fff0132df85727f54a3e">setCursor()</a> </dd></dl>
350
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00188">188</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
353
<a class="anchor" name="1ebb1cc406fa3d30df0e7dd7a541667d"></a><!-- doxytag: member="QwtPanner::cursor" ref="1ebb1cc406fa3d30df0e7dd7a541667d" args="() const" -->
354
<div class="memitem">
355
<div class="memproto">
356
<table class="memname">
358
<td class="memname">const QCursor QwtPanner::cursor </td>
360
<td class="paramname"> </td>
361
<td> ) </td>
362
<td width="100%"> const</td>
369
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Cursor that is active while panning </dd></dl>
370
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#c8b0625fe155fff0132df85727f54a3e">setCursor()</a> </dd></dl>
373
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00199">199</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
376
<a class="anchor" name="aa71a8b6f7f46ae8f5a8084094d7bd9a"></a><!-- doxytag: member="QwtPanner::setOrientations" ref="aa71a8b6f7f46ae8f5a8084094d7bd9a" args="(Qt::Orientations)" -->
377
<div class="memitem">
378
<div class="memproto">
379
<table class="memname">
381
<td class="memname">void QwtPanner::setOrientations </td>
383
<td class="paramtype">Qt::Orientations </td>
384
<td class="paramname"> <em>o</em> </td>
385
<td> ) </td>
386
<td width="100%"></td>
393
Set the orientations, where panning is enabled The default value is in both directions: Qt::Horizontal | Qt::Vertical<p>
396
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00249">249</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
399
<a class="anchor" name="0df413d3d5a6bc4f002e87f3b269214e"></a><!-- doxytag: member="QwtPanner::orientations" ref="0df413d3d5a6bc4f002e87f3b269214e" args="() const" -->
400
<div class="memitem">
401
<div class="memproto">
402
<table class="memname">
404
<td class="memname">Qt::Orientations QwtPanner::orientations </td>
406
<td class="paramname"> </td>
407
<td> ) </td>
408
<td width="100%"> const</td>
415
Return the orientation, where paning is enabled.
419
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00255">255</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
422
<a class="anchor" name="a69c32aae501021f01cb7c833172986c"></a><!-- doxytag: member="QwtPanner::isOrientationEnabled" ref="a69c32aae501021f01cb7c833172986c" args="(Qt::Orientation) const" -->
423
<div class="memitem">
424
<div class="memproto">
425
<table class="memname">
427
<td class="memname">bool QwtPanner::isOrientationEnabled </td>
429
<td class="paramtype">Qt::Orientation </td>
430
<td class="paramname"> <em>o</em> </td>
431
<td> ) </td>
432
<td width="100%"> const</td>
439
Return true if a orientatio is enabled <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#0df413d3d5a6bc4f002e87f3b269214e">orientations()</a>, <a class="el" href="class_qwt_panner.html#aa71a8b6f7f46ae8f5a8084094d7bd9a">setOrientations()</a> </dd></dl>
442
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00272">272</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
444
Referenced by <a class="el" href="qwt__panner_8cpp-source.html#l00446">widgetMouseMoveEvent()</a>, and <a class="el" href="qwt__panner_8cpp-source.html#l00474">widgetMouseReleaseEvent()</a>.
447
<a class="anchor" name="06b8eea86d4dcbe361c4af41a263f2cb"></a><!-- doxytag: member="QwtPanner::eventFilter" ref="06b8eea86d4dcbe361c4af41a263f2cb" args="(QObject *, QEvent *)" -->
448
<div class="memitem">
449
<div class="memproto">
450
<table class="memname">
452
<td class="memname">bool QwtPanner::eventFilter </td>
454
<td class="paramtype">QObject * </td>
455
<td class="paramname"> <em>o</em>, </td>
458
<td class="paramkey"></td>
460
<td class="paramtype">QEvent * </td>
461
<td class="paramname"> <em>e</em></td><td> </td>
466
<td></td><td></td><td width="100%"><code> [virtual]</code></td>
475
When <a class="el" href="class_qwt_panner.html#19439f534fc9fa254693948eb4f4bb5f">isEnabled()</a> the mouse events of the observed widget are filtered.<p>
476
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#e002958978dcc751f9edda24e5858dd9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_panner.html#b2da1e24b1456b223eaa826d8e0a3a81">widgetMouseReleaseEvent()</a>, <a class="el" href="class_qwt_panner.html#6545bc6e25018253c59fc27a48eb948f">widgetMouseMoveEvent()</a> </dd></dl>
479
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00341">341</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
481
References <a class="el" href="qwt__panner_8cpp-source.html#l00506">widgetKeyPressEvent()</a>, <a class="el" href="qwt__panner_8cpp-source.html#l00535">widgetKeyReleaseEvent()</a>, <a class="el" href="qwt__panner_8cpp-source.html#l00446">widgetMouseMoveEvent()</a>, <a class="el" href="qwt__panner_8cpp-source.html#l00392">widgetMousePressEvent()</a>, and <a class="el" href="qwt__panner_8cpp-source.html#l00474">widgetMouseReleaseEvent()</a>.
484
<a class="anchor" name="e9ce78e6f9ae73317af29b2dc5df7372"></a><!-- doxytag: member="QwtPanner::panned" ref="e9ce78e6f9ae73317af29b2dc5df7372" args="(int dx, int dy)" -->
485
<div class="memitem">
486
<div class="memproto">
487
<table class="memname">
489
<td class="memname">void QwtPanner::panned </td>
491
<td class="paramtype">int </td>
492
<td class="paramname"> <em>dx</em>, </td>
495
<td class="paramkey"></td>
497
<td class="paramtype">int </td>
498
<td class="paramname"> <em>dy</em></td><td> </td>
503
<td></td><td></td><td width="100%"><code> [signal]</code></td>
510
Signal emitted, when panning is done<p>
511
<dl compact><dt><b>Parameters:</b></dt><dd>
512
<table border="0" cellspacing="2" cellpadding="0">
513
<tr><td valign="top"></td><td valign="top"><em>dx</em> </td><td>Offset in horizontal direction </td></tr>
514
<tr><td valign="top"></td><td valign="top"><em>dy</em> </td><td>Offset in vertical direction </td></tr>
519
Referenced by <a class="el" href="qwt__plot__panner_8cpp-source.html#l00038">QwtPlotPanner::QwtPlotPanner()</a>, and <a class="el" href="qwt__panner_8cpp-source.html#l00474">widgetMouseReleaseEvent()</a>.
522
<a class="anchor" name="a45ae2f4d6d20a83783898dd86d0b595"></a><!-- doxytag: member="QwtPanner::moved" ref="a45ae2f4d6d20a83783898dd86d0b595" args="(int dx, int dy)" -->
523
<div class="memitem">
524
<div class="memproto">
525
<table class="memname">
527
<td class="memname">void QwtPanner::moved </td>
529
<td class="paramtype">int </td>
530
<td class="paramname"> <em>dx</em>, </td>
533
<td class="paramkey"></td>
535
<td class="paramtype">int </td>
536
<td class="paramname"> <em>dy</em></td><td> </td>
541
<td></td><td></td><td width="100%"><code> [signal]</code></td>
548
Signal emitted, while the widget moved, but panning is not finished.<p>
549
<dl compact><dt><b>Parameters:</b></dt><dd>
550
<table border="0" cellspacing="2" cellpadding="0">
551
<tr><td valign="top"></td><td valign="top"><em>dx</em> </td><td>Offset in horizontal direction </td></tr>
552
<tr><td valign="top"></td><td valign="top"><em>dy</em> </td><td>Offset in vertical direction </td></tr>
557
Referenced by <a class="el" href="qwt__panner_8cpp-source.html#l00446">widgetMouseMoveEvent()</a>.
560
<a class="anchor" name="e002958978dcc751f9edda24e5858dd9"></a><!-- doxytag: member="QwtPanner::widgetMousePressEvent" ref="e002958978dcc751f9edda24e5858dd9" args="(QMouseEvent *)" -->
561
<div class="memitem">
562
<div class="memproto">
563
<table class="memname">
565
<td class="memname">void QwtPanner::widgetMousePressEvent </td>
567
<td class="paramtype">QMouseEvent * </td>
568
<td class="paramname"> <em>me</em> </td>
569
<td> ) </td>
570
<td width="100%"><code> [protected, virtual]</code></td>
577
Handle a mouse press event for the observed widget.<p>
578
<dl compact><dt><b>Parameters:</b></dt><dd>
579
<table border="0" cellspacing="2" cellpadding="0">
580
<tr><td valign="top"></td><td valign="top"><em>me</em> </td><td>Mouse event </td></tr>
583
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#06b8eea86d4dcbe361c4af41a263f2cb">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#b2da1e24b1456b223eaa826d8e0a3a81">widgetMouseReleaseEvent()</a>, <a class="el" href="class_qwt_panner.html#6545bc6e25018253c59fc27a48eb948f">widgetMouseMoveEvent()</a>, </dd></dl>
586
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00392">392</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
588
References <a class="el" href="qwt__panner_8cpp-source.html#l00220">setEnabled()</a>.
590
Referenced by <a class="el" href="qwt__panner_8cpp-source.html#l00341">eventFilter()</a>.
593
<a class="anchor" name="b2da1e24b1456b223eaa826d8e0a3a81"></a><!-- doxytag: member="QwtPanner::widgetMouseReleaseEvent" ref="b2da1e24b1456b223eaa826d8e0a3a81" args="(QMouseEvent *)" -->
594
<div class="memitem">
595
<div class="memproto">
596
<table class="memname">
598
<td class="memname">void QwtPanner::widgetMouseReleaseEvent </td>
600
<td class="paramtype">QMouseEvent * </td>
601
<td class="paramname"> <em>me</em> </td>
602
<td> ) </td>
603
<td width="100%"><code> [protected, virtual]</code></td>
610
Handle a mouse release event for the observed widget.<p>
611
<dl compact><dt><b>Parameters:</b></dt><dd>
612
<table border="0" cellspacing="2" cellpadding="0">
613
<tr><td valign="top"></td><td valign="top"><em>me</em> </td><td>Mouse event </td></tr>
616
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#06b8eea86d4dcbe361c4af41a263f2cb">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#e002958978dcc751f9edda24e5858dd9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_panner.html#6545bc6e25018253c59fc27a48eb948f">widgetMouseMoveEvent()</a>, </dd></dl>
619
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00474">474</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
621
References <a class="el" href="qwt__panner_8cpp-source.html#l00272">isOrientationEnabled()</a>, and <a class="el" href="class_qwt_panner.html#e9ce78e6f9ae73317af29b2dc5df7372">panned()</a>.
623
Referenced by <a class="el" href="qwt__panner_8cpp-source.html#l00341">eventFilter()</a>.
626
<a class="anchor" name="6545bc6e25018253c59fc27a48eb948f"></a><!-- doxytag: member="QwtPanner::widgetMouseMoveEvent" ref="6545bc6e25018253c59fc27a48eb948f" args="(QMouseEvent *)" -->
627
<div class="memitem">
628
<div class="memproto">
629
<table class="memname">
631
<td class="memname">void QwtPanner::widgetMouseMoveEvent </td>
633
<td class="paramtype">QMouseEvent * </td>
634
<td class="paramname"> <em>me</em> </td>
635
<td> ) </td>
636
<td width="100%"><code> [protected, virtual]</code></td>
643
Handle a mouse move event for the observed widget.<p>
644
<dl compact><dt><b>Parameters:</b></dt><dd>
645
<table border="0" cellspacing="2" cellpadding="0">
646
<tr><td valign="top"></td><td valign="top"><em>me</em> </td><td>Mouse event </td></tr>
649
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#06b8eea86d4dcbe361c4af41a263f2cb">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#e002958978dcc751f9edda24e5858dd9">widgetMousePressEvent()</a>, <a class="el" href="class_qwt_panner.html#b2da1e24b1456b223eaa826d8e0a3a81">widgetMouseReleaseEvent()</a> </dd></dl>
652
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00446">446</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
654
References <a class="el" href="qwt__panner_8cpp-source.html#l00272">isOrientationEnabled()</a>, and <a class="el" href="class_qwt_panner.html#a45ae2f4d6d20a83783898dd86d0b595">moved()</a>.
656
Referenced by <a class="el" href="qwt__panner_8cpp-source.html#l00341">eventFilter()</a>.
659
<a class="anchor" name="7ed4e89f6c52b841e20ad497af4b4ebc"></a><!-- doxytag: member="QwtPanner::widgetKeyPressEvent" ref="7ed4e89f6c52b841e20ad497af4b4ebc" args="(QKeyEvent *)" -->
660
<div class="memitem">
661
<div class="memproto">
662
<table class="memname">
664
<td class="memname">void QwtPanner::widgetKeyPressEvent </td>
666
<td class="paramtype">QKeyEvent * </td>
667
<td class="paramname"> <em>ke</em> </td>
668
<td> ) </td>
669
<td width="100%"><code> [protected, virtual]</code></td>
676
Handle a key press event for the observed widget.<p>
677
<dl compact><dt><b>Parameters:</b></dt><dd>
678
<table border="0" cellspacing="2" cellpadding="0">
679
<tr><td valign="top"></td><td valign="top"><em>ke</em> </td><td>Key event </td></tr>
682
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#06b8eea86d4dcbe361c4af41a263f2cb">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#8bd447df4a30299bbc8e6b6d3e2e2f9f">widgetKeyReleaseEvent()</a> </dd></dl>
685
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00506">506</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
687
Referenced by <a class="el" href="qwt__panner_8cpp-source.html#l00341">eventFilter()</a>.
690
<a class="anchor" name="8bd447df4a30299bbc8e6b6d3e2e2f9f"></a><!-- doxytag: member="QwtPanner::widgetKeyReleaseEvent" ref="8bd447df4a30299bbc8e6b6d3e2e2f9f" args="(QKeyEvent *)" -->
691
<div class="memitem">
692
<div class="memproto">
693
<table class="memname">
695
<td class="memname">void QwtPanner::widgetKeyReleaseEvent </td>
697
<td class="paramtype">QKeyEvent * </td>
698
<td class="paramname"> </td>
699
<td> ) </td>
700
<td width="100%"><code> [protected, virtual]</code></td>
707
Handle a key release event for the observed widget.<p>
708
<dl compact><dt><b>Parameters:</b></dt><dd>
709
<table border="0" cellspacing="2" cellpadding="0">
710
<tr><td valign="top"></td><td valign="top"><em>ke</em> </td><td>Key event </td></tr>
713
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="class_qwt_panner.html#06b8eea86d4dcbe361c4af41a263f2cb">eventFilter()</a>, <a class="el" href="class_qwt_panner.html#8bd447df4a30299bbc8e6b6d3e2e2f9f">widgetKeyReleaseEvent()</a> </dd></dl>
716
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00535">535</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
718
Referenced by <a class="el" href="qwt__panner_8cpp-source.html#l00341">eventFilter()</a>.
721
<a class="anchor" name="cd76ea518bd9267a45115d2c6ce19353"></a><!-- doxytag: member="QwtPanner::paintEvent" ref="cd76ea518bd9267a45115d2c6ce19353" args="(QPaintEvent *)" -->
722
<div class="memitem">
723
<div class="memproto">
724
<table class="memname">
726
<td class="memname">void QwtPanner::paintEvent </td>
728
<td class="paramtype">QPaintEvent * </td>
729
<td class="paramname"> <em>pe</em> </td>
730
<td> ) </td>
731
<td width="100%"><code> [protected, virtual]</code></td>
740
Repaint the grabbed pixmap on its current position and fill the empty spaces by the background of the parent widget.<p>
741
<dl compact><dt><b>Parameters:</b></dt><dd>
742
<table border="0" cellspacing="2" cellpadding="0">
743
<tr><td valign="top"></td><td valign="top"><em>pe</em> </td><td>Paint event </td></tr>
748
Definition at line <a class="el" href="qwt__panner_8cpp-source.html#l00300">300</a> of file <a class="el" href="qwt__panner_8cpp-source.html">qwt_panner.cpp</a>.
751
<hr size="1"><address style="align: right;"><small>Generated on Sun Mar 22 16:54:43 2009 for Qwt User's Guide by
752
<a href="http://www.doxygen.org/index.html">
753
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>