QTouch3DInputHandler Class
기본 터치 디스플레이 기반 입력 핸들러. 더 보기...
Header: | #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는 터치 스크린 장치를 위한 기본 입력 핸들러입니다.
기본 터치 입력 핸들러에는 다음과 같은 기능이 있습니다:
Gesture | Action |
---|---|
터치-앤-무브 | 다음에 대해 설정된 한계 내에서 그래프 회전 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.
© 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.