QTapGesture Class
La classe QTapGesture décrit un geste de tapotement effectué par l'utilisateur. En savoir plus...
| En-tête : | #include <QTapGesture> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS Widgets) target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
| qmake : | QT += widgets |
| Hérite de : | QGesture |
Propriétés
- position : QPointF
Fonctions publiques
| virtual | ~QTapGesture() |
| QPointF | position() const |
| void | setPosition(const QPointF &pos) |
Description détaillée
Pour une présentation générale de la gestion des gestes dans Qt et des informations sur leur utilisation dans vos applications, consultez le document « Gestes dans les widgets et la vue graphique ».
Voir également QPanGesture et QPinchGesture.
Documentation sur les propriétés
position : QPointF
Cette propriété détermine 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.