创建组件图

创建包含组件图的 UML 风格模型。这些模型表示一组组件及其关系,并展示系统的实现。

将源代码组件(例如库、数据库、程序和架构层)添加到组件图中。

要向组件图中添加组件:

  1. 将源代码从Projects 拖动到编辑器中。
  2. 选择“Add Component ”。

模型编辑器中的组件图

模型编辑器中的组件图。

若要从图中的组件导航至源代码,请在编辑器中双击该组件,或在上下文菜单中选择“Show Definition ”。

另请参阅 操作指南:编辑 UML 风格模型》。

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.