QTapGesture 類

QTapGesture 類描述由用戶做齣的敲擊手勢。 更多...

頭: #include <QTapGesture>
qmake: QT += widgets
Since: Qt 4.6
繼承: QGesture

該類在 Qt 4.6 引入。

特性

公共函數

virtual ~QTapGesture ()
QPointF position () const
void setPosition (const QPointF & pos )

詳細描述

Qt 中手勢處理的概述和在應用程序中使用手勢的有關信息,見 Widget 和圖形視圖中的手勢 文檔。

另請參閱 QPanGesture and QPinchGesture .

特性文檔編製

position : QPointF

此特性保持敲擊的位置

訪問函數:

QPointF position () const
void setPosition (const QPointF & pos )

成員函數文檔編製

[虛擬] QTapGesture:: ~QTapGesture ()

析構函數。