ユーザー入力の例

タッチジェスチャーの処理

Qt は、ウィジェットベースのアプリケーションにおいて、ユーザー入力やドラッグ&ドロップを処理するための機能を提供しています。

Draggable Icons Example

「Draggable Icons」の例では、同じアプリケーション内のウィジェット間、および異なるアプリケーション間で画像データをドラッグ&ドロップする方法を示しています。

Draggable Text Example

ウィジェット間でテキストをドラッグ&ドロップする方法を示しています。

Drop Site Example

この例では、ドラッグ&ドロップ操作で利用可能なさまざまな MIME 形式を区別する方法を示しています。

Image Gestures Example

ウィジェットでの簡単なジェスチャーの使用方法を示しています。

Tablet Example

この例では、Qt アプリケーションで Wacom タブレットを使用する方法を示しています。

Touch Knobs Example

タッチ入力を受け付けるカスタムコントロールの作成方法を示しています。

© 2026 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.