QTapGesture Class

QTapGesture クラスは、ユーザーによるタップジェスチャを記述します。詳細...

ヘッダー #include <QTapGesture>
CMake: find_package(Qt6 REQUIRED COMPONENTS Widgets)
target_link_libraries(mytarget PRIVATE Qt6::Widgets)
qmake: QT += widgets
継承: QGesture

プロパティ

パブリック機能

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

詳しい説明

Qt におけるジェスチャ処理の概要と、アプリケーションでジェスチャを使用するための情報については、 「ウィジェットとグラフィックスビューにおけるジェスチャ」を参照してください。

QPanGesture およびQPinchGestureも参照してください

プロパティ ドキュメント

position : QPointF

タップの位置を保持する。

関数にアクセスします:

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

メンバ関数説明

[virtual noexcept] QTapGesture::~QTapGesture()

破壊者。

© 2025 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.