Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-updates > by-pkgid > 768f7d9f703884aa2562bf0a651086df > files > 3453

qtbase5-doc-5.9.4-1.1.mga6.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qgesture.cpp -->
  <title>QPinchGesture Class | Qt Widgets 5.9</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.9</td><td ><a href="qtwidgets-index.html">Qt Widgets</a></td><td ><a href="qtwidgets-module.html">C++ Classes</a></td><td >QPinchGesture</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">QPinchGesture Class</h1>
<!-- $$$QPinchGesture-brief -->
<p>The <a href="qpinchgesture.html">QPinchGesture</a> class describes a pinch gesture made by the user. <a href="#details">More...</a></p>
<!-- @@@QPinchGesture -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;QPinchGesture&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += widgets</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 4.6</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qgesture.html">QGesture</a></td></tr></table></div><ul>
<li><a href="qpinchgesture-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2 id="public-types">Public Types</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#ChangeFlag-enum">ChangeFlag</a></b> { ScaleFactorChanged, RotationAngleChanged, CenterPointChanged }</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> flags </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#ChangeFlag-enum">ChangeFlags</a></b></td></tr>
</table></div>
<a name="properties"></a>
<h2 id="properties">Properties</h2>
<div class="table"><table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><b><a href="qpinchgesture.html#centerPoint-prop">centerPoint</a></b> : QPointF</li>
<li class="fn"><b><a href="qpinchgesture.html#changeFlags-prop">changeFlags</a></b> : ChangeFlags</li>
<li class="fn"><b><a href="qpinchgesture.html#lastCenterPoint-prop">lastCenterPoint</a></b> : QPointF</li>
<li class="fn"><b><a href="qpinchgesture.html#lastRotationAngle-prop">lastRotationAngle</a></b> : qreal</li>
<li class="fn"><b><a href="qpinchgesture.html#lastScaleFactor-prop">lastScaleFactor</a></b> : qreal</li>
<li class="fn"><b><a href="qpinchgesture.html#rotationAngle-prop">rotationAngle</a></b> : qreal</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qpinchgesture.html#scaleFactor-prop">scaleFactor</a></b> : qreal</li>
<li class="fn"><b><a href="qpinchgesture.html#startCenterPoint-prop">startCenterPoint</a></b> : QPointF</li>
<li class="fn"><b><a href="qpinchgesture.html#totalChangeFlags-prop">totalChangeFlags</a></b> : ChangeFlags</li>
<li class="fn"><b><a href="qpinchgesture.html#totalRotationAngle-prop">totalRotationAngle</a></b> : qreal</li>
<li class="fn"><b><a href="qpinchgesture.html#totalScaleFactor-prop">totalScaleFactor</a></b> : qreal</li>
</ul>
</td></tr>
</table></div>
<ul>
<li class="fn">5 properties inherited from <a href="qgesture.html#properties">QGesture</a></li>
<li class="fn">1 property inherited from <a href="../qtcore/qobject.html#properties">QObject</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#dtor.QPinchGesture">~QPinchGesture</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPointF </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#centerPoint-prop">centerPoint</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> ChangeFlags </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#changeFlags-prop">changeFlags</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPointF </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#lastCenterPoint-prop">lastCenterPoint</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#lastRotationAngle-prop">lastRotationAngle</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#lastScaleFactor-prop">lastScaleFactor</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#rotationAngle-prop">rotationAngle</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#scaleFactor-prop">scaleFactor</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#centerPoint-prop">setCenterPoint</a></b>(const QPointF &amp;<i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#changeFlags-prop">setChangeFlags</a></b>(ChangeFlags <i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#lastCenterPoint-prop">setLastCenterPoint</a></b>(const QPointF &amp;<i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#lastRotationAngle-prop">setLastRotationAngle</a></b>(qreal <i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#lastScaleFactor-prop">setLastScaleFactor</a></b>(qreal <i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#rotationAngle-prop">setRotationAngle</a></b>(qreal <i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#scaleFactor-prop">setScaleFactor</a></b>(qreal <i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#startCenterPoint-prop">setStartCenterPoint</a></b>(const QPointF &amp;<i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#totalChangeFlags-prop">setTotalChangeFlags</a></b>(ChangeFlags <i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#totalRotationAngle-prop">setTotalRotationAngle</a></b>(qreal <i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#totalScaleFactor-prop">setTotalScaleFactor</a></b>(qreal <i>value</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QPointF </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#startCenterPoint-prop">startCenterPoint</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> ChangeFlags </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#totalChangeFlags-prop">totalChangeFlags</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#totalRotationAngle-prop">totalRotationAngle</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qpinchgesture.html#totalScaleFactor-prop">totalScaleFactor</a></b>() const</td></tr>
</table></div>
<ul>
<li class="fn">8 public functions inherited from <a href="qgesture.html#public-functions">QGesture</a></li>
<li class="fn">32 public functions inherited from <a href="../qtcore/qobject.html#public-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 public slot inherited from <a href="../qtcore/qobject.html#public-slots">QObject</a></li>
<li class="fn">2 signals inherited from <a href="../qtcore/qobject.html#signals">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="../qtcore/qobject.html#public-variables">QObject</a></li>
<li class="fn">10 static public members inherited from <a href="../qtcore/qobject.html#static-public-members">QObject</a></li>
<li class="fn">9 protected functions inherited from <a href="../qtcore/qobject.html#protected-functions">QObject</a></li>
<li class="fn">2 protected variables inherited from <a href="../qtcore/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$QPinchGesture-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qpinchgesture.html">QPinchGesture</a> class describes a pinch gesture made by the user.</p>
<p>A pinch gesture is a form of touch user input in which the user typically touches two points on the input device with a thumb and finger, before moving them closer together or further apart to change the scale factor, zoom, or level of detail of the user interface.</p>
<p>For an overview of gesture handling in Qt and information on using gestures in your applications, see the <a href="gestures-overview.html">Gestures in Widgets and Graphics View</a> document.</p>
<p class="centerAlign"><img src="images/pinchgesture.png" alt="" /></p><p>Instead of repeatedly applying the same pinching gesture, the user may continue to touch the input device in one place, and apply a second touch to a new point, continuing the gesture. When this occurs, gesture events will continue to be delivered to the target object, containing an instance of <a href="qpinchgesture.html">QPinchGesture</a> in the <a href="../qtcore/qt.html#GestureState-enum">Qt::GestureUpdated</a> state.</p>
</div>
<p><b>See also </b><a href="qpangesture.html">QPanGesture</a> and <a href="qswipegesture.html">QSwipeGesture</a>.</p>
<!-- @@@QPinchGesture -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$ChangeFlag$$$ScaleFactorChanged$$$RotationAngleChanged$$$CenterPointChanged -->
<h3 class="flags" id="ChangeFlag-enum"><a name="ChangeFlag-enum"></a>enum QPinchGesture::<span class="name">ChangeFlag</span><br/>flags QPinchGesture::<span class="name">ChangeFlags</span></h3>
<p>This enum describes the changes that can occur to the properties of the gesture object.</p>
<div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr>
<tr><td class="topAlign"><code>QPinchGesture::ScaleFactorChanged</code></td><td class="topAlign tblval"><code>0x1</code></td><td class="topAlign">The scale factor held by <a href="qpinchgesture.html#scaleFactor-prop">scaleFactor</a> changed.</td></tr>
<tr><td class="topAlign"><code>QPinchGesture::RotationAngleChanged</code></td><td class="topAlign tblval"><code>0x2</code></td><td class="topAlign">The rotation angle held by <a href="qpinchgesture.html#rotationAngle-prop">rotationAngle</a> changed.</td></tr>
<tr><td class="topAlign"><code>QPinchGesture::CenterPointChanged</code></td><td class="topAlign tblval"><code>0x4</code></td><td class="topAlign">The center point held by <a href="qpinchgesture.html#centerPoint-prop">centerPoint</a> changed.</td></tr>
</table></div>
<p>The ChangeFlags type is a typedef for <a href="../qtcore/qflags.html">QFlags</a>&lt;ChangeFlag&gt;. It stores an OR combination of ChangeFlag values.</p>
<p><b>See also </b><a href="qpinchgesture.html#changeFlags-prop">changeFlags</a> and <a href="qpinchgesture.html#totalChangeFlags-prop">totalChangeFlags</a>.</p>
<!-- @@@ChangeFlag -->
</div>
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$centerPoint-prop$$$centerPoint$$$setCenterPointconstQPointF& -->
<h3 class="fn" id="centerPoint-prop"><a name="centerPoint-prop"></a><span class="name">centerPoint</span> : <span class="type"><a href="../qtcore/qpointf.html">QPointF</a></span></h3>
<p>This property holds the current center point</p>
<p>The center point is the midpoint between the two input points in the gesture.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QPointF </td><td class="memItemRight bottomAlign"><span class="name"><b>centerPoint</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setCenterPoint</b></span>(const QPointF &amp;<i>value</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qpinchgesture.html#startCenterPoint-prop">startCenterPoint</a> and <a href="qpinchgesture.html#lastCenterPoint-prop">lastCenterPoint</a>.</p>
<!-- @@@centerPoint -->
<!-- $$$changeFlags-prop$$$changeFlags$$$setChangeFlagsChangeFlags -->
<h3 class="fn" id="changeFlags-prop"><a name="changeFlags-prop"></a><span class="name">changeFlags</span> : <span class="type"><a href="qpinchgesture.html#ChangeFlag-enum">ChangeFlags</a></span></h3>
<p>This property holds the property of the gesture that has changed in the current step</p>
<p>This property indicates which of the other properties has changed since the previous gesture event included information about this gesture. You can use this information to determine which aspect of your user interface needs to be updated.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> ChangeFlags </td><td class="memItemRight bottomAlign"><span class="name"><b>changeFlags</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setChangeFlags</b></span>(ChangeFlags <i>value</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qpinchgesture.html#totalChangeFlags-prop">totalChangeFlags</a>, <a href="qpinchgesture.html#scaleFactor-prop">scaleFactor</a>, <a href="qpinchgesture.html#rotationAngle-prop">rotationAngle</a>, and <a href="qpinchgesture.html#centerPoint-prop">centerPoint</a>.</p>
<!-- @@@changeFlags -->
<!-- $$$lastCenterPoint-prop$$$lastCenterPoint$$$setLastCenterPointconstQPointF& -->
<h3 class="fn" id="lastCenterPoint-prop"><a name="lastCenterPoint-prop"></a><span class="name">lastCenterPoint</span> : <span class="type"><a href="../qtcore/qpointf.html">QPointF</a></span></h3>
<p>This property holds the last position of the center point recorded for this gesture</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QPointF </td><td class="memItemRight bottomAlign"><span class="name"><b>lastCenterPoint</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLastCenterPoint</b></span>(const QPointF &amp;<i>value</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qpinchgesture.html#centerPoint-prop">centerPoint</a> and <a href="qpinchgesture.html#startCenterPoint-prop">startCenterPoint</a>.</p>
<!-- @@@lastCenterPoint -->
<!-- $$$lastRotationAngle-prop$$$lastRotationAngle$$$setLastRotationAngleqreal -->
<h3 class="fn" id="lastRotationAngle-prop"><a name="lastRotationAngle-prop"></a><span class="name">lastRotationAngle</span> : <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>This property holds the last reported angle covered by the gesture motion</p>
<p>The last rotation angle is the angle as reported in the <a href="qpinchgesture.html#rotationAngle-prop">rotationAngle</a> property when a previous gesture event was delivered for this gesture.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>lastRotationAngle</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLastRotationAngle</b></span>(qreal <i>value</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qpinchgesture.html#rotationAngle-prop">rotationAngle</a> and <a href="qpinchgesture.html#totalRotationAngle-prop">totalRotationAngle</a>.</p>
<!-- @@@lastRotationAngle -->
<!-- $$$lastScaleFactor-prop$$$lastScaleFactor$$$setLastScaleFactorqreal -->
<h3 class="fn" id="lastScaleFactor-prop"><a name="lastScaleFactor-prop"></a><span class="name">lastScaleFactor</span> : <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>This property holds the last scale factor recorded for this gesture</p>
<p>The last scale factor contains the scale factor reported in the <a href="qpinchgesture.html#scaleFactor-prop">scaleFactor</a> property when a previous gesture event included information about this gesture.</p>
<p>If no previous event was delivered with information about this gesture (i.e&#x2e;, this gesture object contains information about the first movement in the gesture) then this property contains zero.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>lastScaleFactor</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setLastScaleFactor</b></span>(qreal <i>value</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qpinchgesture.html#scaleFactor-prop">scaleFactor</a> and <a href="qpinchgesture.html#totalScaleFactor-prop">totalScaleFactor</a>.</p>
<!-- @@@lastScaleFactor -->
<!-- $$$rotationAngle-prop$$$rotationAngle$$$setRotationAngleqreal -->
<h3 class="fn" id="rotationAngle-prop"><a name="rotationAngle-prop"></a><span class="name">rotationAngle</span> : <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>This property holds the angle covered by the gesture motion</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>rotationAngle</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setRotationAngle</b></span>(qreal <i>value</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qpinchgesture.html#totalRotationAngle-prop">totalRotationAngle</a> and <a href="qpinchgesture.html#lastRotationAngle-prop">lastRotationAngle</a>.</p>
<!-- @@@rotationAngle -->
<!-- $$$scaleFactor-prop$$$scaleFactor$$$setScaleFactorqreal -->
<h3 class="fn" id="scaleFactor-prop"><a name="scaleFactor-prop"></a><span class="name">scaleFactor</span> : <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>This property holds the current scale factor</p>
<p>The scale factor measures the scale factor associated with the distance between two of the user's inputs on a touch device.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>scaleFactor</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setScaleFactor</b></span>(qreal <i>value</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qpinchgesture.html#totalScaleFactor-prop">totalScaleFactor</a> and <a href="qpinchgesture.html#lastScaleFactor-prop">lastScaleFactor</a>.</p>
<!-- @@@scaleFactor -->
<!-- $$$startCenterPoint-prop$$$startCenterPoint$$$setStartCenterPointconstQPointF& -->
<h3 class="fn" id="startCenterPoint-prop"><a name="startCenterPoint-prop"></a><span class="name">startCenterPoint</span> : <span class="type"><a href="../qtcore/qpointf.html">QPointF</a></span></h3>
<p>This property holds the starting position of the center point</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> QPointF </td><td class="memItemRight bottomAlign"><span class="name"><b>startCenterPoint</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setStartCenterPoint</b></span>(const QPointF &amp;<i>value</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qpinchgesture.html#centerPoint-prop">centerPoint</a> and <a href="qpinchgesture.html#lastCenterPoint-prop">lastCenterPoint</a>.</p>
<!-- @@@startCenterPoint -->
<!-- $$$totalChangeFlags-prop$$$totalChangeFlags$$$setTotalChangeFlagsChangeFlags -->
<h3 class="fn" id="totalChangeFlags-prop"><a name="totalChangeFlags-prop"></a><span class="name">totalChangeFlags</span> : <span class="type"><a href="qpinchgesture.html#ChangeFlag-enum">ChangeFlags</a></span></h3>
<p>This property holds the property of the gesture that has change</p>
<p>This property indicates which of the other properties has changed since the gesture has started. You can use this information to determine which aspect of your user interface needs to be updated.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> ChangeFlags </td><td class="memItemRight bottomAlign"><span class="name"><b>totalChangeFlags</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTotalChangeFlags</b></span>(ChangeFlags <i>value</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qpinchgesture.html#changeFlags-prop">changeFlags</a>, <a href="qpinchgesture.html#scaleFactor-prop">scaleFactor</a>, <a href="qpinchgesture.html#rotationAngle-prop">rotationAngle</a>, and <a href="qpinchgesture.html#centerPoint-prop">centerPoint</a>.</p>
<!-- @@@totalChangeFlags -->
<!-- $$$totalRotationAngle-prop$$$totalRotationAngle$$$setTotalRotationAngleqreal -->
<h3 class="fn" id="totalRotationAngle-prop"><a name="totalRotationAngle-prop"></a><span class="name">totalRotationAngle</span> : <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>This property holds the total angle covered by the gesture</p>
<p>This total angle measures the complete angle covered by the gesture. Usually, this is equal to the value held by the <a href="qpinchgesture.html#rotationAngle-prop">rotationAngle</a> property, except in the case where the user performs multiple rotations by removing and repositioning one of the touch points, as described above. In this case, the total angle will be the sum of the rotation angles for the multiple stages of the gesture.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>totalRotationAngle</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTotalRotationAngle</b></span>(qreal <i>value</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qpinchgesture.html#rotationAngle-prop">rotationAngle</a> and <a href="qpinchgesture.html#lastRotationAngle-prop">lastRotationAngle</a>.</p>
<!-- @@@totalRotationAngle -->
<!-- $$$totalScaleFactor-prop$$$totalScaleFactor$$$setTotalScaleFactorqreal -->
<h3 class="fn" id="totalScaleFactor-prop"><a name="totalScaleFactor-prop"></a><span class="name">totalScaleFactor</span> : <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>This property holds the total scale factor</p>
<p>The total scale factor measures the total change in scale factor from the original value to the current scale factor.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>totalScaleFactor</b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTotalScaleFactor</b></span>(qreal <i>value</i>)</td></tr>
</table></div>
<p><b>See also </b><a href="qpinchgesture.html#scaleFactor-prop">scaleFactor</a> and <a href="qpinchgesture.html#lastScaleFactor-prop">lastScaleFactor</a>.</p>
<!-- @@@totalScaleFactor -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$~QPinchGesture[overload1]$$$~QPinchGesture -->
<h3 class="fn" id="dtor.QPinchGesture"><a name="dtor.QPinchGesture"></a>QPinchGesture::<span class="name">~QPinchGesture</span>()</h3>
<p>Destructor.</p>
<!-- @@@~QPinchGesture -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2017 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>