<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # QPinchGesture Class Reference ## [[QtGui](index.htm) module] 該QPinchGesture類描述的捏合姿態由用戶進行。[More...](#details) 繼承[QGesture](qgesture.html)。 ### Types * `enum ChangeFlag { ScaleFactorChanged, RotationAngleChanged, CenterPointChanged }` * `class **[ChangeFlags](index.htm)**` ### Methods * `__init__ (self, QObject?parent?=?None)` * `QPointF centerPoint (self)` * `ChangeFlags changeFlags (self)` * `QPointF lastCenterPoint (self)` * `float lastRotationAngle (self)` * `float lastScaleFactor (self)` * `float rotationAngle (self)` * `float scaleFactor (self)` * `setCenterPoint (self, QPointF?value)` * `setChangeFlags (self, ChangeFlags?value)` * `setLastCenterPoint (self, QPointF?value)` * `setLastRotationAngle (self, float?value)` * `setLastScaleFactor (self, float?value)` * `setRotationAngle (self, float?value)` * `setScaleFactor (self, float?value)` * `setStartCenterPoint (self, QPointF?value)` * `setTotalChangeFlags (self, ChangeFlags?value)` * `setTotalRotationAngle (self, float?value)` * `setTotalScaleFactor (self, float?value)` * `QPointF startCenterPoint (self)` * `ChangeFlags totalChangeFlags (self)` * `float totalRotationAngle (self)` * `float totalScaleFactor (self)` * * * ## Detailed Description 該QPinchGesture類描述的捏合姿態由用戶進行。 甲捏合姿態是觸摸的用戶輸入的形式,其中用戶通常觸摸兩個點用拇指和手指的輸入裝置上,移動它們靠近在一起或進一步分開來改變縮放因子,縮放或細節的水平前用戶界面。 手勢使用手勢在你的應用程序在處理Qt和信息的概述,請參閱[Gestures Programming](index.htm)文檔。 ![](https://img.kancloud.cn/bc/09/bc09f2bc6de52ddb6dda1a6537e9660c_221x131.png) 而不是反復應用相同的捏手勢,用戶可以繼續觸摸輸入裝置在一處,并應用第二觸摸到一個新的點,持續手勢。當這種情況發生時,手勢事件將繼續被傳遞到目標對象,包含在QPinchGesture的一個實例[Qt.GestureUpdated](qt.html#GestureState-enum)狀態。 * * * ## Type Documentation ``` QPinchGesture.ChangeFlag ``` 這個枚舉說明可能發生的手勢對象的屬性的更改。 | Constant | Value | Description | | --- | --- | --- | | `QPinchGesture.ScaleFactorChanged` | `0x1` | 持有的比例因子[scaleFactor](qpinchgesture.html#scaleFactor-prop)改變。 | | `QPinchGesture.RotationAngleChanged` | `0x2` | 持有的旋轉角度[rotationAngle](qpinchgesture.html#rotationAngle-prop)改變。 | | `QPinchGesture.CenterPointChanged` | `0x4` | 持有的中心點[centerPoint](qpinchgesture.html#centerPoint-prop)改變。 | 該ChangeFlags類型是一個typedef為[QFlags](index.htm)\u003cChangeFlag\u003e 。它存儲ChangeFlag值的或組合。 **See also** [changeFlags](qpinchgesture.html#changeFlags-prop)和[totalChangeFlags](qpinchgesture.html#totalChangeFlags-prop)。 * * * ## Method Documentation ``` QPinchGesture.__init__ (self, QObject?parent?=?None) ``` 該_parent_的說法,如果不是沒有,原因_self_通過Qt的,而不是PyQt的擁有。 ``` QPointF QPinchGesture.centerPoint (self) ``` [](qpointf.html) ``` ChangeFlags QPinchGesture.changeFlags (self) ``` [](index.htm) ``` QPointF QPinchGesture.lastCenterPoint (self) ``` [ ``` float QPinchGesture.lastRotationAngle (self) ``` ``` float QPinchGesture.lastScaleFactor (self) ``` ``` float QPinchGesture.rotationAngle (self) ``` ``` float QPinchGesture.scaleFactor (self) ``` ``` QPinchGesture.setCenterPoint (self, QPointF?value) ``` ``` QPinchGesture.setChangeFlags (self, ChangeFlags?value) ``` ``` QPinchGesture.setLastCenterPoint (self, QPointF?value) ``` ``` QPinchGesture.setLastRotationAngle (self, float?value) ``` ``` QPinchGesture.setLastScaleFactor (self, float?value) ``` ``` QPinchGesture.setRotationAngle (self, float?value) ``` ``` QPinchGesture.setScaleFactor (self, float?value) ``` ``` QPinchGesture.setStartCenterPoint (self, QPointF?value) ``` ``` QPinchGesture.setTotalChangeFlags (self, ChangeFlags?value) ``` ``` QPinchGesture.setTotalRotationAngle (self, float?value) ``` ``` QPinchGesture.setTotalScaleFactor (self, float?value) ``` ](qpointf.html) ``` QPointF QPinchGesture.startCenterPoint (self) ``` [](qpointf.html) ``` ChangeFlags QPinchGesture.totalChangeFlags (self) ``` [ ``` float QPinchGesture.totalRotationAngle (self) ``` ``` float QPinchGesture.totalScaleFactor (self) ``` ](index.htm)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看