2025-06-20 18:09:41 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<ui version="4.0">
|
|
|
|
|
<class>projectModelSetting</class>
|
|
|
|
|
<widget class="QDialog" name="projectModelSetting">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
2025-06-27 19:17:04 +08:00
|
|
|
<width>814</width>
|
|
|
|
|
<height>723</height>
|
2025-06-20 18:09:41 +08:00
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="windowTitle">
|
|
|
|
|
<string>Dialog</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
<number>4</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QWidget" name="widget" native="true">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
<height>22</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true">background-color: rgb(177, 177, 177);</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
|
<property name="font">
|
|
|
|
|
<font>
|
|
|
|
|
<pointsize>12</pointsize>
|
|
|
|
|
</font>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true">color: rgb(0, 0, 0);</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>工程模配置</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
|
|
|
<property name="currentIndex">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<widget class="QWidget" name="tab">
|
|
|
|
|
<attribute name="title">
|
|
|
|
|
<string>基础设置</string>
|
|
|
|
|
</attribute>
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>基本信息</string>
|
|
|
|
|
</property>
|
2025-07-23 17:27:35 +08:00
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout" stretch="0,1,0,0,1">
|
2025-06-20 18:09:41 +08:00
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>元件名称:</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLineEdit" name="le_name">
|
|
|
|
|
<property name="readOnly">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2025-07-23 17:27:35 +08:00
|
|
|
<item>
|
|
|
|
|
<spacer name="horizontalSpacer_3">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
<size>
|
|
|
|
|
<width>40</width>
|
|
|
|
|
<height>20</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</spacer>
|
|
|
|
|
</item>
|
2025-06-20 18:09:41 +08:00
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>基模类型:</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLineEdit" name="le_base">
|
|
|
|
|
<property name="readOnly">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>属性信息</string>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_5">
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true">font: 12pt "Microsoft YaHei UI";
|
|
|
|
|
color: rgb(8, 8, 8);</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>元模型属性</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="2">
|
|
|
|
|
<widget class="QLabel" name="label_6">
|
|
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true">font: 12pt "Microsoft YaHei UI";
|
|
|
|
|
color: rgb(8, 8, 8);</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>工程模型属性</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="0" rowspan="4">
|
|
|
|
|
<widget class="QTreeView" name="treeView_base">
|
|
|
|
|
<attribute name="headerVisible">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</attribute>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="1">
|
|
|
|
|
<spacer name="verticalSpacer">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
<size>
|
|
|
|
|
<width>20</width>
|
|
|
|
|
<height>158</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</spacer>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="2" rowspan="4">
|
|
|
|
|
<widget class="QTreeView" name="treeView_sub">
|
|
|
|
|
<attribute name="headerVisible">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</attribute>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="1">
|
|
|
|
|
<widget class="QPushButton" name="btn_apply">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>>></string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="1">
|
|
|
|
|
<widget class="QPushButton" name="btn_revoke">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string><<</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="4" column="1">
|
|
|
|
|
<spacer name="verticalSpacer_2">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
<size>
|
|
|
|
|
<width>20</width>
|
|
|
|
|
<height>158</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</spacer>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<widget class="QWidget" name="tab_2">
|
|
|
|
|
<attribute name="title">
|
|
|
|
|
<string>其他设置</string>
|
|
|
|
|
</attribute>
|
2025-06-27 19:17:04 +08:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_3" stretch="1,0,1">
|
2025-06-20 18:09:41 +08:00
|
|
|
<item>
|
|
|
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
|
|
|
<property name="title">
|
|
|
|
|
<string>工程图标设置</string>
|
|
|
|
|
</property>
|
2025-06-27 19:17:04 +08:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
2025-06-20 18:09:41 +08:00
|
|
|
<item>
|
|
|
|
|
<widget class="QListWidget" name="listWidget_icon">
|
2025-06-27 19:17:04 +08:00
|
|
|
<property name="dragDropMode">
|
|
|
|
|
<enum>QAbstractItemView::DragDropMode::DragDrop</enum>
|
|
|
|
|
</property>
|
2025-10-17 18:14:44 +08:00
|
|
|
<property name="selectionMode">
|
|
|
|
|
<enum>QAbstractItemView::SelectionMode::ExtendedSelection</enum>
|
|
|
|
|
</property>
|
2025-06-27 19:17:04 +08:00
|
|
|
<property name="iconSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>100</width>
|
|
|
|
|
<height>100</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
2025-06-20 18:09:41 +08:00
|
|
|
<property name="viewMode">
|
|
|
|
|
<enum>QListView::ViewMode::IconMode</enum>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2025-06-27 19:17:04 +08:00
|
|
|
<item>
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="label_infoIcon">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>80</width>
|
|
|
|
|
<height>0</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<spacer name="horizontalSpacer_2">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
<size>
|
|
|
|
|
<width>40</width>
|
|
|
|
|
<height>20</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</spacer>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPushButton" name="btn_select">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>选择</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</item>
|
2025-06-20 18:09:41 +08:00
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2025-06-27 19:17:04 +08:00
|
|
|
<item>
|
|
|
|
|
<widget class="QLabel" name="modelImagePreview">
|
|
|
|
|
<property name="minimumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>0</width>
|
|
|
|
|
<height>100</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
|
|
|
|
<width>100</width>
|
|
|
|
|
<height>100</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string/>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2025-06-20 18:09:41 +08:00
|
|
|
<item>
|
|
|
|
|
<spacer name="verticalSpacer_3">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Orientation::Vertical</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
<size>
|
|
|
|
|
<width>20</width>
|
|
|
|
|
<height>244</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</spacer>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
<number>4</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="leftMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
|
|
|
|
<number>6</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item>
|
|
|
|
|
<spacer name="horizontalSpacer">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="sizeHint" stdset="0">
|
|
|
|
|
<size>
|
|
|
|
|
<width>180</width>
|
|
|
|
|
<height>20</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
</spacer>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPushButton" name="btn_ok">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>确定</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QPushButton" name="btn_cancel">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>取消</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<resources/>
|
|
|
|
|
<connections/>
|
|
|
|
|
</ui>
|