User Input Examples

Application handling touch gestures

Qt provides the functionality for handling user input and drag-and-drop in widget-based applications.

可拖拽图标范例

可拖拽图标范例展示如何在同一应用程序中的 Widget 之间 (和在不同应用程序之间),拖放图像数据。

可拖拽文本范例

阐明如何在 Widget 之间拖放文本。

掉落站点范例

范例展示如何区分可用于拖放操作中的各种 MIME (多用途 Internet 邮件扩展) 格式。

图像手势范例

Demonstrates the use of simple gestures in a widget.

数位板范例

此范例展示如何在 Qt 应用程序中使用 Wacom 数位板。

触摸旋钮范例

Shows how to create custom controls that accept touch input.