QTapGesture Class
Die Klasse „QTapGesture“ beschreibt eine vom Benutzer ausgeführte Tippgeste. Mehr...
| Header: | #include <QTapGesture> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Widgets) target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
| qmake: | QT += widgets |
| Erbt von: | QGesture |
Eigenschaften
- position : QPointF
Öffentliche Funktionen
| virtual | ~QTapGesture() |
| QPointF | position() const |
| void | setPosition(const QPointF &pos) |
Ausführliche Beschreibung
Einen Überblick über die Gestenverarbeitung in Qt sowie Informationen zur Verwendung von Gesten in Ihren Anwendungen finden Sie im Dokument „Gesten in Widgets und der Grafikansicht “.
Siehe auch „ QPanGesture “ und „ QPinchGesture “.
Eigenschaftsdokumentation
position : QPointF
Diese Eigenschaft gibt die Position des Taps an
Zugriffsfunktionen:
| 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.