En esta página

QTapGesture Class

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

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

Propiedades

Funciones públicas

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

Descripción detallada

Para obtener una visión general del manejo de gestos en Qt e información sobre cómo utilizarlos en tus aplicaciones, consulta el documento «Gestos en Qt Widgets y la vista gráfica ».

Véase también QPanGesture y QPinchGesture.

Documentación de propiedades

position : QPointF

Esta propiedad determina la posición del grifo

Funciones de Access:

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

Documentación de las funciones de 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.