QTapGesture Class

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

头文件: #include <QTapGesture>
qmake: QT += widgets
开始支持版本: Qt 4.6
基类: QGesture

属性

公有函数

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

其他继承的成员

  • 1 个公有槽函数继承自 QObject
  • 2 个信号继承自 QObject
  • 1 个公有变量继承自 QObject
  • 10 个静态公有成员继承自 QObject
  • 9 个受保护的函数继承自 QObject
  • 2 个受保护的变量继承自 QObject

详细描述

The QTapGesture class describes a tap gesture made by the user.

For an overview of gesture handling in Qt and information on using gestures in your applications, see the Gestures in Widgets and Graphics View document.

参见 QPanGesture and QPinchGesture.

属性

position : QPointF

This property holds the position of the tap

访问函数:

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

成员函数

QTapGesture::~QTapGesture()

Destructor.