User Input Examples

Qt provides the functionality for handling user input and drag-and-drop in widget-based applications.
The Draggable Icons example shows how to drag and drop image data between widgets in the same application, and between different applications. | |
Illustrates how to drag and drop text between widgets. | |
The example shows how to distinguish the various MIME formats available in a drag and drop operation. | |
Demonstrates the use of simple gestures in a widget. | |
This example shows how to use a Wacom tablet in Qt applications. | |
Shows how to create custom controls that accept touch input. |
© 2025 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.