触摸输入示例

Qt Widgets 具有对触摸输入的向后兼容支持。

专为触摸屏设计的应用程序通常采用“流畅”的用户界面设计,因为快速动画反馈能让触控体验更佳。您应考虑使用 Qt Quick 以利用 GPU 加速,而不是试图通过 Widgets 开发流畅的用户界面。

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.