En esta página

QTapGesture Class

La clase QTapGesture describe un gesto de toque realizado por el usuario. Más...

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

Propiedades

Funciones públicas

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

Descripción Detallada

Para una visión general del manejo de gestos en Qt e información sobre el uso de gestos en sus aplicaciones, consulte el documento Gestures in Widgets and Graphics View.

Véase también QPanGesture y QPinchGesture.

Documentación de Propiedades

position : QPointF

Esta propiedad contiene la posición del grifo

Funciones de acceso:

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

Documentación de la función miembro

[virtual noexcept] QTapGesture::~QTapGesture()

Destructor.

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