QTapGesture Class
QTapGesture 클래스는 사용자가 수행하는 탭 제스처를 설명합니다. 더 보기...
헤더: | #include <QTapGesture> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Widgets) target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
qmake: | QT += widgets |
상속합니다: | QGesture |
속성
- position : QPointF
공공 기능
virtual | ~QTapGesture() |
QPointF | position() const |
void | setPosition(const QPointF &pos) |
자세한 설명
Qt의 제스처 처리에 대한 개요와 응용 프로그램에서 제스처를 사용하는 방법에 대한 정보는 위젯과 그래픽 보기의 제 스처 문서를 참조하십시오.
QPanGesture 와 QPinchGesture도 참조하십시오 .
속성 문서
position : QPointF
이 속성은 탭의 위치를 유지합니다.
액세스 함수입니다:
QPointF | position() const |
void | setPosition(const QPointF &pos) |
© 2025 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.