QTouch3DInputHandler Class
Basic touch display based input handler. 更多...
头文件: | #include <QTouch3DInputHandler> |
开始支持版本: | QtDataVisualization 1.0 |
Instantiated By: | TouchInputHandler3D |
基类: | Q3DInputHandler |
公有函数
QTouch3DInputHandler(QObject *parent = Q_NULLPTR) | |
virtual | ~QTouch3DInputHandler() |
重新实现的公有函数
virtual void | touchEvent(QTouchEvent *event) |
- 12 个公有函数继承自 Q3DInputHandler
- 12 个公有函数继承自 QAbstract3DInputHandler
- 32 个公有函数继承自 QObject
其他继承的成员
- 4 个属性继承自 Q3DInputHandler
- 3 个属性继承自 QAbstract3DInputHandler
- 1 个属性继承自 QObject
- 1 个公有槽函数继承自 QObject
- 4 个信号继承自 Q3DInputHandler
- 3 个信号继承自 QAbstract3DInputHandler
- 2 个信号继承自 QObject
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 4 个受保护的函数继承自 QAbstract3DInputHandler
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
Basic touch display based input handler.
QTouch3DInputHandler is the basic input handler for touch screen devices.
Default touch input handler has the following functionalty:
Gesture | Action |
---|---|
Touch-And-Move | Rotate graph within limits set for Q3DCamera |
Tap | Select the item tapped or remove selection if none. May open the secondary view depending on the selection mode. |
Tap-And-Hold | Same as tap. |
Pinch | Zoom in/out within the allowable zoom range set for Q3DCamera. |
Tap on the primary view when the secondary view is visible | Closes the secondary view. Note: Secondary view is available only for Q3DBars and Q3DSurface graphs. |
Rotation, zoom, and selection can each be individually disabled using corresponding Q3DInputHandler properties.
成员函数
QTouch3DInputHandler::QTouch3DInputHandler(QObject *parent = Q_NULLPTR)
Constructs the basic touch display input handler. An optional parent parameter can be given and is then passed to QObject constructor.
[virtual]
QTouch3DInputHandler::~QTouch3DInputHandler()
Destroys the input handler.
[virtual]
void QTouch3DInputHandler::touchEvent(QTouchEvent *event)
Reimplemented from QAbstract3DInputHandler::touchEvent().
Override this to change handling of touch events. Touch event is given in the event.