6
6
td.postheader { font-family: sans-serif }
7
7
tr.address { font-family: sans-serif }
8
8
body { background: #ffffff; color: black; }
9
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">  </td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QSwipeGesture Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1><p>The QSwipeGesture class describes a swipe gesture made by the user. <a href="#details">More...</a></p>
10
<p>Inherits <a href="qgesture.html">QGesture</a>.</p><h3>Types</h3><ul><li><div class="fn" />enum <b><a href="qswipegesture.html#SwipeDirection-enum">SwipeDirection</a></b> { NoDirection, Left, Right, Up, Down }</li></ul><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qswipegesture.html#QSwipeGesture">__init__</a></b> (<i>self</i>, QObject <i>parent</i> = None)</li><li><div class="fn" />SwipeDirection <b><a href="qswipegesture.html#horizontalDirection">horizontalDirection</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qswipegesture.html#setSwipeAngle">setSwipeAngle</a></b> (<i>self</i>, float)</li><li><div class="fn" />float <b><a href="qswipegesture.html#swipeAngle">swipeAngle</a></b> (<i>self</i>)</li><li><div class="fn" />SwipeDirection <b><a href="qswipegesture.html#verticalDirection">verticalDirection</a></b> (<i>self</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QSwipeGesture class describes a swipe gesture made by the user.</p>
11
<p align="center"><img src="images/swipegesture.png" /></p><p>See also <a href="gestures-overview.html">Gestures Programming</a>, <a href="qpangesture.html">QPanGesture</a>, and <a href="qpinchgesture.html">QPinchGesture</a>.</p>
12
<hr /><h2>Type Documentation</h2><h3 class="fn"><a name="SwipeDirection-enum" />QSwipeGesture.SwipeDirection</h3><p>This enum describes the possible directions for the gesture's motion along the horizontal and vertical axes.</p>
13
<p><table border="1" cellpadding="2" cellspacing="1" class="valuelist" width="100%">
14
<tr><th width="25%">Constant</th><th width="15%">Value</th><th width="60%">Description</th></tr>
15
<tr><td valign="top"><tt>QSwipeGesture.NoDirection</tt></td><td align="center" valign="top"><tt>0</tt></td><td valign="top">The gesture had no motion associated with it on a particular axis.</td></tr>
16
<tr><td valign="top"><tt>QSwipeGesture.Left</tt></td><td align="center" valign="top"><tt>1</tt></td><td valign="top">The gesture involved a horizontal motion to the left.</td></tr>
17
<tr><td valign="top"><tt>QSwipeGesture.Right</tt></td><td align="center" valign="top"><tt>2</tt></td><td valign="top">The gesture involved a horizontal motion to the right.</td></tr>
18
<tr><td valign="top"><tt>QSwipeGesture.Up</tt></td><td align="center" valign="top"><tt>3</tt></td><td valign="top">The gesture involved an upward vertical motion.</td></tr>
19
<tr><td valign="top"><tt>QSwipeGesture.Down</tt></td><td align="center" valign="top"><tt>4</tt></td><td valign="top">The gesture involved a downward vertical motion.</td></tr>
21
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QSwipeGesture" />QSwipeGesture.__init__ (<i>self</i>, <a href="qobject.html">QObject</a> <i>parent</i> = None)</h3><p>The <i>parent</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><h3 class="fn"><a name="horizontalDirection" /><a href="qswipegesture.html#SwipeDirection-enum">SwipeDirection</a> QSwipeGesture.horizontalDirection (<i>self</i>)</h3><h3 class="fn"><a name="setSwipeAngle" />QSwipeGesture.setSwipeAngle (<i>self</i>, float)</h3><h3 class="fn"><a name="swipeAngle" />float QSwipeGesture.swipeAngle (<i>self</i>)</h3><h3 class="fn"><a name="verticalDirection" /><a href="qswipegesture.html#SwipeDirection-enum">SwipeDirection</a> QSwipeGesture.verticalDirection (<i>self</i>)</h3><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt 4.7.7 for X11</td><td align="center" width="50%">Copyright © <a href="http://www.riverbankcomputing.com">Riverbank Computing Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt 4.6.3</td></tr></table></div></address></body></html>
b'\\ No newline at end of file'
9
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">  </td><td class="postheader" valign="center"><a href="../pyqt4ref.html"><font color="#004faf">Home</font></a> · <a href="classes.html"><font color="#004faf">All Classes</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QSwipeGesture Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1><p>The QSwipeGesture class describes a swipe gesture made by the
10
user. <a href="#details">More...</a></p>
12
<p>Inherits <a href="qgesture.html">QGesture</a>.</p><h3>Types</h3><ul><li><div class="fn" />enum <b><a href="qswipegesture.html#SwipeDirection-enum">SwipeDirection</a></b> { NoDirection, Left, Right, Up, Down }</li></ul><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qswipegesture.html#QSwipeGesture">__init__</a></b> (<i>self</i>, QObject <i>parent</i> = None)</li><li><div class="fn" />SwipeDirection <b><a href="qswipegesture.html#horizontalDirection">horizontalDirection</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qswipegesture.html#setSwipeAngle">setSwipeAngle</a></b> (<i>self</i>, float)</li><li><div class="fn" />float <b><a href="qswipegesture.html#swipeAngle">swipeAngle</a></b> (<i>self</i>)</li><li><div class="fn" />SwipeDirection <b><a href="qswipegesture.html#verticalDirection">verticalDirection</a></b> (<i>self</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QSwipeGesture class describes a swipe gesture made by the
14
<p class="centerAlign"><img src="images/swipegesture.png" /></p>
15
<hr /><h2>Type Documentation</h2><h3 class="fn"><a name="SwipeDirection-enum" />QSwipeGesture.SwipeDirection</h3><p>This enum describes the possible directions for the gesture's
16
motion along the horizontal and vertical axes.</p>
17
<table class="valuelist">
22
<th class="tblConst">Constant</th>
23
<th class="tblval">Value</th>
24
<th class="tbldscr">Description</th>
27
<td class="topAlign"><tt>QSwipeGesture.NoDirection</tt></td>
28
<td class=" topAlign"><tt>0</tt></td>
29
<td class="topAlign">The gesture had no motion associated with it
30
on a particular axis.</td>
33
<td class="topAlign"><tt>QSwipeGesture.Left</tt></td>
34
<td class=" topAlign"><tt>1</tt></td>
35
<td class="topAlign">The gesture involved a horizontal motion to
39
<td class="topAlign"><tt>QSwipeGesture.Right</tt></td>
40
<td class=" topAlign"><tt>2</tt></td>
41
<td class="topAlign">The gesture involved a horizontal motion to
45
<td class="topAlign"><tt>QSwipeGesture.Up</tt></td>
46
<td class=" topAlign"><tt>3</tt></td>
47
<td class="topAlign">The gesture involved an upward vertical
51
<td class="topAlign"><tt>QSwipeGesture.Down</tt></td>
52
<td class=" topAlign"><tt>4</tt></td>
53
<td class="topAlign">The gesture involved a downward vertical
57
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QSwipeGesture" />QSwipeGesture.__init__ (<i>self</i>, <a href="qobject.html">QObject</a> <i>parent</i> = None)</h3><p>The <i>parent</i> argument, if not None, causes <i>self</i> to be owned by Qt instead of PyQt.</p><h3 class="fn"><a name="horizontalDirection" /><a href="qswipegesture.html#SwipeDirection-enum">SwipeDirection</a> QSwipeGesture.horizontalDirection (<i>self</i>)</h3><h3 class="fn"><a name="setSwipeAngle" />QSwipeGesture.setSwipeAngle (<i>self</i>, float)</h3><h3 class="fn"><a name="swipeAngle" />float QSwipeGesture.swipeAngle (<i>self</i>)</h3><h3 class="fn"><a name="verticalDirection" /><a href="qswipegesture.html#SwipeDirection-enum">SwipeDirection</a> QSwipeGesture.verticalDirection (<i>self</i>)</h3><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt 4.8.1 for X11</td><td align="center" width="50%">Copyright © <a href="http://www.riverbankcomputing.com">Riverbank Computing Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2010</td><td align="right" width="25%">Qt 4.7.0</td></tr></table></div></address></body></html>
b'\\ No newline at end of file'