本页内容

Qt Widgets Designer 手册

Qt Widgets Designer 是 Qt 提供的一款用于使用 Qt Designer 的 GUI 设计工具 Qt Widgets。若需使用 Qt Quick,请参阅 Qt Design Studio。

您可以采用“所见即所得”(WYSIWYG)的方式来组合和自定义窗口或对话框,并使用不同的样式和分辨率进行测试。 使用Qt Widgets Designer 创建的小部件和表单可通过Qt的信号与槽机制与编程代码无缝集成,从而使您能够轻松地为图形元素分配行为。在Qt Widgets Designer 中设置的所有属性均可在代码中动态更改。此外,诸如小部件提升和自定义插件等功能,允许您在Qt Widgets Designer 中使用自己的组件。

注意:您可以 选择使用 Qt Quick 和 Qt Design Studio 进行用户界面设计,而非使用控件。这是一种编写各类应用程序的更简便方式。它支持完全可自定义的外观、触控响应元素以及流畅的动画过渡效果,并充分利用硬件加速功能。

如果您是初次接触Qt Widgets Designer ,可以查阅《了解Qt Widgets Designer 》文档。如需了解如何使用Qt Widgets Designer 的快速教程,请参阅《Qt Widgets Designer 快速入门》。

展示Qt Widgets Designer编辑器在不同操作系统上三个屏幕截图的插图

目录

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