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 位置 () const
void setPosition (const QPointF & pos )

成员函数文档编制

[virtual] QTapGesture:: ~QTapGesture ()

析构函数。