<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>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # QGraphicsSceneMouseEvent Class Reference ## [[QtGui](index.htm) module] 該QGraphicsSceneMouseEvent類提供在圖形視圖框架的鼠標事件。[More...](#details) 繼承[QGraphicsSceneEvent](qgraphicssceneevent.html)。 ### Methods * `Qt.MouseButton button (self)` * `QPointF buttonDownPos (self, Qt.MouseButton?button)` * `QPointF buttonDownScenePos (self, Qt.MouseButton?button)` * `QPoint buttonDownScreenPos (self, Qt.MouseButton?button)` * `Qt.MouseButtons buttons (self)` * `QPointF lastPos (self)` * `QPointF lastScenePos (self)` * `QPoint lastScreenPos (self)` * `Qt.KeyboardModifiers modifiers (self)` * `QPointF pos (self)` * `QPointF scenePos (self)` * `QPoint screenPos (self)` * * * ## Detailed Description 該QGraphicsSceneMouseEvent類提供在圖形視圖框架的鼠標事件。 當[QGraphicsView](qgraphicsview.html)收到[QMouseEvent](qmouseevent.html),它轉換到一個QGraphicsSceneMouseEvent 。然后,此事件轉發到[QGraphicsScene](qgraphicsscene.html)與視圖相關聯。如果事件沒有被處理的情景時,視圖可以使用它,例如,對于[DragMode](qgraphicsview.html#DragMode-enum)。 除了包含該事件的項目,場景,和屏幕坐標(如[pos](qgraphicsscenemouseevent.html#pos)( )[scenePos](qgraphicsscenemouseevent.html#scenePos)()和[screenPos](qgraphicsscenemouseevent.html#screenPos)( ) ) ,鼠標事件還包含由視圖收到以前的鼠標事件的坐標。這些可以被檢索以[lastPos](qgraphicsscenemouseevent.html#lastPos)( )[lastScreenPos](qgraphicsscenemouseevent.html#lastScreenPos)()和[lastScenePos](qgraphicsscenemouseevent.html#lastScenePos)( ) 。 * * * ## Method Documentation ``` Qt.MouseButton QGraphicsSceneMouseEvent.button (self) ``` [ 返回鼠標按鈕(如果有的話)引發事件。 ](qt.html#MouseButton-enum) [**See also**](qt.html#MouseButton-enum) [buttons](qgraphicsscenemouseevent.html#buttons)()和[modifiers](qgraphicsscenemouseevent.html#modifiers)( ) 。 ``` QPointF QGraphicsSceneMouseEvent.buttonDownPos (self, Qt.MouseButton?button) ``` [ 返回項目的鼠標光標位置坐標指定的地方_button_被點擊了。 ](qpointf.html) [**See also**](qpointf.html) [buttonDownScenePos](qgraphicsscenemouseevent.html#buttonDownScenePos)( )[buttonDownScreenPos](qgraphicsscenemouseevent.html#buttonDownScreenPos)()和[pos](qgraphicsscenemouseevent.html#pos)( ) 。 ``` QPointF QGraphicsSceneMouseEvent.buttonDownScenePos (self, Qt.MouseButton?button) ``` [ 返回場景中的鼠標光標位置坐標指定的地方_button_被點擊了。 ](qpointf.html) [**See also**](qpointf.html) [buttonDownPos](qgraphicsscenemouseevent.html#buttonDownPos)( )[buttonDownScreenPos](qgraphicsscenemouseevent.html#buttonDownScreenPos)()和[scenePos](qgraphicsscenemouseevent.html#scenePos)( ) 。 ``` QPoint QGraphicsSceneMouseEvent.buttonDownScreenPos (self, Qt.MouseButton?button) ``` [ 返回屏幕的鼠標光標位置坐標指定的地方_button_被點擊了。 ](qpoint.html) [**See also**](qpoint.html) [screenPos](qgraphicsscenemouseevent.html#screenPos)( )[buttonDownPos](qgraphicsscenemouseevent.html#buttonDownPos)()和[buttonDownScenePos](qgraphicsscenemouseevent.html#buttonDownScenePos)( ) 。 ``` Qt.MouseButtons QGraphicsSceneMouseEvent.buttons (self) ``` [ 返回的是在事件被發送的時間按下鼠標按鈕的組合。 ](index.htm) [**See also**](index.htm) [button](qgraphicsscenemouseevent.html#button)()和[modifiers](qgraphicsscenemouseevent.html#modifiers)( ) 。 ``` QPointF QGraphicsSceneMouseEvent.lastPos (self) ``` [ 返回項的坐標最后記錄的鼠標光標位置。 ](qpointf.html) [**See also**](qpointf.html) [lastScenePos](qgraphicsscenemouseevent.html#lastScenePos)( )[lastScreenPos](qgraphicsscenemouseevent.html#lastScreenPos)()和[pos](qgraphicsscenemouseevent.html#pos)( ) 。 ``` QPointF QGraphicsSceneMouseEvent.lastScenePos (self) ``` [ 返回場景坐標中的最后一個記錄鼠標的光標位置。最后記錄的位置是由創建該事件的觀點獲得了以前的鼠標事件的位置。 ](qpointf.html) [**See also**](qpointf.html) [lastPos](qgraphicsscenemouseevent.html#lastPos)( )[lastScreenPos](qgraphicsscenemouseevent.html#lastScreenPos)()和[scenePos](qgraphicsscenemouseevent.html#scenePos)( ) 。 ``` QPoint QGraphicsSceneMouseEvent.lastScreenPos (self) ``` [ 返回屏幕坐標的最后一個記錄鼠標的光標位置。最后記錄的位置是由創建該事件的觀點獲得了以前的鼠標事件的位置。 ](qpoint.html) [**See also**](qpoint.html) [lastPos](qgraphicsscenemouseevent.html#lastPos)( )[lastScenePos](qgraphicsscenemouseevent.html#lastScenePos)()和[screenPos](qgraphicsscenemouseevent.html#screenPos)( ) 。 ``` Qt.KeyboardModifiers QGraphicsSceneMouseEvent.modifiers (self) ``` [ 返回當前使用的鍵盤功能鍵在事件的發送時間。 ](index.htm) [**See also**](index.htm) [buttons](qgraphicsscenemouseevent.html#buttons)()和[button](qgraphicsscenemouseevent.html#button)( ) 。 ``` QPointF QGraphicsSceneMouseEvent.pos (self) ``` [ 返回項目坐標中的鼠標光標位置。 ](qpointf.html) [**See also**](qpointf.html) [scenePos](qgraphicsscenemouseevent.html#scenePos)( )[screenPos](qgraphicsscenemouseevent.html#screenPos)()和[lastPos](qgraphicsscenemouseevent.html#lastPos)( ) 。 ``` QPointF QGraphicsSceneMouseEvent.scenePos (self) ``` [ 返回場景坐標中的鼠標光標位置。 ](qpointf.html) [**See also**](qpointf.html) [pos](qgraphicsscenemouseevent.html#pos)( )[screenPos](qgraphicsscenemouseevent.html#screenPos)()和[lastScenePos](qgraphicsscenemouseevent.html#lastScenePos)( ) 。 ``` QPoint QGraphicsSceneMouseEvent.screenPos (self) ``` [ 返回在屏幕坐標中的鼠標光標位置。 ](qpoint.html) [**See also**](qpoint.html) [pos](qgraphicsscenemouseevent.html#pos)( )[scenePos](qgraphicsscenemouseevent.html#scenePos)()和[lastScreenPos](qgraphicsscenemouseevent.html#lastScreenPos)( ) 。
                  <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>

                              哎呀哎呀视频在线观看