QTapGesture 類

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

頭: #include <QTapGesture>
Since: Qt 4.6
繼承: QGesture

特性

公共函數

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

額外繼承成員

詳細描述

The QTapGesture 類描述由用戶做齣的敲擊手勢。

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

另請參閱 QPanGesture and QPinchGesture .

特性文檔編製

position : QPointF

This property holds the position of the tap.

訪問函數:

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