QTapGesture Class
QTapGesture クラスは、ユーザーが行うタップジェスチャーを表します。詳細...
| ヘッダー: | #include <QTapGesture> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Widgets) target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
| qmake: | QT += widgets |
| 継承元: | QGesture |
プロパティ
- position : QPointF
公開関数
| virtual | ~QTapGesture() |
| QPointF | position() const |
| void | setPosition(const QPointF &pos) |
詳細な説明
Qtにおけるジェスチャ処理の概要およびアプリケーションでのジェスチャの使用方法については、「Qt Widgetsおよびグラフィックスビューにおけるジェスチャ」ドキュメントを参照してください。
「 QPanGesture 」および「QPinchGesture 」も参照してください 。
プロパティのドキュメント
position : QPointF
このプロパティはタップの位置を表します
アクセス関数:
| QPointF | position() const |
| void | setPosition(const QPointF &pos) |
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.