1 | // Copyright (C) 2016 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #ifndef QTOUCH3DINPUTHANDLER_H |
5 | #define QTOUCH3DINPUTHANDLER_H |
6 | |
7 | #include <QtDataVisualization/q3dinputhandler.h> |
8 | |
9 | QT_BEGIN_NAMESPACE |
10 | |
11 | class QTouch3DInputHandlerPrivate; |
12 | |
13 | class Q_DATAVISUALIZATION_EXPORT QTouch3DInputHandler : public Q3DInputHandler |
14 | { |
15 | Q_OBJECT |
16 | |
17 | public: |
18 | explicit QTouch3DInputHandler(QObject *parent = nullptr); |
19 | virtual ~QTouch3DInputHandler(); |
20 | |
21 | // Input event listeners |
22 | void touchEvent(QTouchEvent *event) override; |
23 | |
24 | private: |
25 | Q_DISABLE_COPY(QTouch3DInputHandler) |
26 | |
27 | QScopedPointer<QTouch3DInputHandlerPrivate> d_ptr; |
28 | }; |
29 | |
30 | QT_END_NAMESPACE |
31 | |
32 | #endif |
33 |