QTapGesture Class
A classe QTapGesture descreve um gesto de toque realizado pelo usuário. Mais...
| Cabeçalho: | #include <QTapGesture> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Widgets) target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
| qmake: | QT += widgets |
| Herdado de: | QGesture |
Propriedades
- position : QPointF
Funções públicas
| virtual | ~QTapGesture() |
| QPointF | position() const |
| void | setPosition(const QPointF &pos) |
Descrição detalhada
Para uma visão geral do tratamento de gestos no Qt e informações sobre como usar gestos em seus aplicativos, consulte o documento “Gestos em Qt Widgets e Visualização Gráfica ”.
Veja também QPanGesture e QPinchGesture.
Documentação de propriedades
position : QPointF
Esta propriedade define a posição da torneira
Funções de acesso:
| 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.