# ComponentEditorGnufUI **Repository Path**: glodon/componenteditorgnufui ## Basic Information - **Project Name**: ComponentEditorGnufUI - **Description**: ComponentEditorGnufUI是广联达数维构件设计软件的应用UI框架模块, 其中包含欢迎界面, 主窗口及其部件, 以及参数对话框等几个主要对话框。 - **Primary Language**: C++ - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 15 - **Forks**: 2 - **Created**: 2024-03-05 - **Last Updated**: 2025-07-31 ## Categories & Tags **Categories**: engineering **Tags**: None ## README # ComponentEditorGnufUI ### 项目介绍 - ComponentEditorGnufUI是构件设计软件的应用UI框架模块, 其中包含欢迎界面, 主窗口及其部件, 以及参数对话框等几个主要对话框等。 - 项目本身使用Qt作为UI框架, 实现了构件设计软件主要UI。作为开源项目,可以直接提供给开发者参考和使用,同时, 开发者也可以进一步丰富功能和UI部件。 - UI示意图 ![Alt text](docs/diagrams-1.png) ![Alt text](docs/diagrams-2.png) ![Alt text](docs/diagrams-3.png) ![Alt text](docs/diagrams-4.png) ### 项目架构 ##### 文件夹结构示意如下所示: ```text COMPONENTEDITOR_SDK 目录结构: COMPONENTEDITOR_SDK |----------include |----------lib |-----------|--------release |-----------|--------debug |----------bin 开源项目目录结构: ComponentEditorGnufUI |----------source //源代码 |----------resource //资源 |----------docs //文档 |----------LICENSE |----------CMakeLists.txt |----------README.md ``` ### 编译与运行 #### 编译环境 - CMake 3.11 + - Visual Studio 2015 - Qt 5.6.3 - COMPONENTEDITOR_SDK #### 安装基础依赖组件 - 安装Qt5.6.3,设置环境变量**QtDIR_x64** 例如: `QtDIR_x64=C:\Qt\Qt5.6.3\5.6.3\msvc2015_x64` - 或者在cmake里指定路径 - 下载COMPONENTEDITOR_SDK.zip:https://static.goujianwu.com/201_project/package/paramodel/COMPONENTEDITOR_SDK.zip - 解压COMPONENTEDITOR_SDK, 设置环境变量**COMPONENTEDITOR_SDK_DIR** 例如:`COMPONENTEDITOR_SDK_DIR=D:\\COMPONENTEDITOR_SDK` #### 编译步骤 - 使用CMake.exe生成项目文件,构建项目 ```text 切换到cmake输出目录 cd /d D:\ComponentEditorGnufUI\bin 指定源代码目录,打开生成的解决方案 ComponentEditorGnufUI.sln cmake ..\ComponentEditorGnufUI -G "Visual Studio 14 2015 Win64" 打开生成的解决方案ComponentEditorGnufUI.sln,若使用高版本的VS,则注意在打开时均选择无升级。 ``` - 构建生成ComponentEditorGnufUI.dll ### License MIT