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