QTapGesture 类

QTapGesture class describes a tap gesture made by the user. 更多...

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

特性

公共函数

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

额外继承成员

详细描述

QTapGesture class describes a tap gesture made by the user.

对于 Qt 中手势处理的概述和在应用程序中使用手势的信息,见 在 Widget 和图形视图中的手势 文档。

另请参阅 QPanGesture and QPinchGesture .

特性文档编制

position : QPointF

此特性保持敲击的位置

访问函数:

QPointF 位置 () const
void setPosition (const QPointF & pos )

成员函数文档编制

QTapGesture:: ~QTapGesture ()

析构函数。