QTouch3DInputHandler Class
기본 터치 디스플레이 기반 입력 핸들러. 더 보기...
| 헤더: | #include <QTouch3DInputHandler> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS DataVisualization) target_link_libraries(mytarget PRIVATE Qt6::DataVisualization) |
| qmake: | QT += datavisualization |
| 출시일: | QtDataVisualization 1.0 |
| QML에서: | TouchInputHandler3D |
| 상속: | Q3DInputHandler |
| 상태: | 사용 중단됨 |
이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.
공개 함수
| QTouch3DInputHandler(QObject *parent = nullptr) | |
| virtual | ~QTouch3DInputHandler() |
재구현된 공용 함수
| virtual void | touchEvent(QTouchEvent *event) override |
상세 설명
QTouch3DInputHandler는 터치스크린 장치용 기본 입력 핸들러입니다.
기본 터치 입력 핸들러는 다음과 같은 기능을 제공합니다:
| 제스처 | 동작 |
|---|---|
| 터치 후 이동 | 설정된 범위 내에서 그래프 회전 Q3DCamera |
| 탭 | 탭한 항목을 선택하거나, 선택된 항목이 없으면 선택을 해제합니다. selection mode 에 따라 보조 뷰가 열릴 수 있습니다. |
| 탭 후 길게 누르기 | 탭과 동일합니다. |
| 핀치 | Q3DCamera 에 설정된 허용 가능한 확대/축소 범위 내에서 확대/축소합니다. |
| 보조 뷰가 표시되어 있을 때 주 뷰를 탭합니다. | 보조 보기를 닫습니다. 참고: 보조 뷰는 Q3DBars 및 Q3DSurface 그래프에서만 사용할 수 있습니다. |
Q3DInputHandler 의 해당 속성을 사용하여 회전, 확대/축소 및 선택을 각각 개별적으로 비활성화할 수 있습니다.
멤버 함수 문서
[explicit] QTouch3DInputHandler::QTouch3DInputHandler(QObject *parent = nullptr)
기본 터치 디스플레이 입력 핸들러를 생성합니다. 선택 사항인 ` parent ` 매개변수를 지정할 수 있으며, 이 경우 해당 매개변수는 ` QObject ` 생성자에 전달됩니다.
[virtual noexcept] QTouch3DInputHandler::~QTouch3DInputHandler()
입력 핸들러를 제거합니다.
[override virtual] void QTouch3DInputHandler::touchEvent(QTouchEvent *event)
QAbstract3DInputHandler::touchEvent(QTouchEvent *event)를 재구현합니다.
터치 이벤트 처리를 변경하려면 이 메서드를 재정의하십시오. 터치 이벤트는 event 에 전달됩니다.
© 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.