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.