In questa pagina

QTapGesture Class

La classe QTapGesture descrive un gesto di tocco effettuato dall'utente. Per saperne di più...

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

Proprietà

Funzioni pubbliche

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

Descrizione dettagliata

Per una panoramica sulla gestione dei gesti in Qt e per informazioni sull'utilizzo dei gesti nelle vostre applicazioni, consultate il documento " Gesti nei widget e nella vista grafica ".

Vedi anche QPanGesture e QPinchGesture.

Documentazione delle proprietà

position : QPointF

Questa proprietà indica la posizione del rubinetto

Funzioni di accesso:

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

Documentazione sulle funzioni membro

[virtual noexcept] QTapGesture::~QTapGesture()

Distruttore.

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