QTapGesture 类描述由用户做出的敲击手势。 更多...
| 头: |
#include <QTapGesture>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS Widgets)
target_link_libraries(mytarget PRIVATE Qt6::Widgets)
|
| qmake: |
QT += widgets
|
| 继承: | QGesture |
| virtual | ~QTapGesture () |
| QPointF | 位置 () const |
| void | setPosition (const QPointF & pos ) |
Qt 中手势处理的概述和在应用程序中使用手势的有关信息,见 Widget 和图形视图中的手势 文档。
另请参阅 QPanGesture and QPinchGesture .
此特性保持敲击的位置
访问函数:
| QPointF | 位置 () const |
| void | setPosition (const QPointF & pos ) |
[virtual noexcept]
QTapGesture::
~QTapGesture
()
析构函数。