QTapGesture Class

Die Klasse QTapGesture beschreibt eine vom Benutzer ausgeführte Tap-Geste. Mehr...

Kopfzeile: #include <QTapGesture>
CMake: find_package(Qt6 REQUIRED COMPONENTS Widgets)
target_link_libraries(mytarget PRIVATE Qt6::Widgets)
qmake: QT += widgets
Vererbungen: QGesture

Eigenschaften

Öffentliche Funktionen

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

Detaillierte Beschreibung

Einen Überblick über die Handhabung von Gesten in Qt und Informationen über die Verwendung von Gesten in Ihren Anwendungen finden Sie im Dokument Gesten in Widgets und Grafikansicht.

Siehe auch QPanGesture und QPinchGesture.

Dokumentation der Eigenschaft

position : QPointF

Diese Eigenschaft enthält die Position des Wasserhahns

Zugriffsfunktionen:

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

Mitgliederfunktion Dokumentation

[virtual noexcept] QTapGesture::~QTapGesture()

Zerstörer.

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