设计Qt Quick 用户界面
Qt Creator 在Design 模式的可视化编辑器中打开 QML 文件(.qml)和用户界面文件(.ui.qml)。

下表描述了默认情况下可见的视图。
| 编号 | 视图 | 用途 | 阅读更多 |
|---|---|---|---|
![]() | Navigator | 以树形格式查看当前 QML 文件。 | 浏览组件文件 |
![]() | Projects | 查看打开的项目中包含的文件列表。 | 项目 |
![]() | 2D | 设计二维用户界面 | 设计二维用户界面 |
![]() | Code | 查看和修改可视化编辑器生成的代码。您还可以在Edit 模式下编辑代码。 | 编辑代码,如何:编辑代码 |
![]() | Properties | 修改所选组件的属性。 | 更改属性 |
![]() | Components | 在应用程序中选择预设组件和自己的组件。 | 使用用户界面组件,如何使用用户界面组件 |
![]() | Assets | 选择要在应用程序中使用的图片和字体等资产。 | 添加资产 |
有关 Qt Qml, Qt Quick和QML 类型的更多信息,请参阅在线和Help 模式中提供的 QtQml 参考文档。
打开设计视图
Copyright © The Qt Company Ltd. and other contributors. 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.






