QTapGesture Class
La classe QTapGesture décrit un geste de tapotement effectué par l'utilisateur. Plus d'informations...
| En-tête : | #include <QTapGesture> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS Widgets)target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
| qmake : | QT += widgets |
| Héritages : | QGesture |
Propriétés
- position : QPointF
Fonctions publiques
| virtual | ~QTapGesture() |
| QPointF | position() const |
| void | setPosition(const QPointF &pos) |
Description détaillée
Pour une vue d'ensemble de la gestion des gestes dans Qt et des informations sur l'utilisation des gestes dans vos applications, voir le document Gestures in Widgets and Graphics View (Gestes dans les widgets et la vue graphique).
Voir également QPanGesture et QPinchGesture.
Documentation sur les propriétés
position : QPointF
Cette propriété contient la position du robinet
Fonctions d'accès :
| 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.