PowerModeler/ui/modelInfoEditDialog.ui

474 lines
13 KiB
Plaintext
Raw Normal View History

2025-03-14 16:06:20 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ModelInfoEditDialog</class>
<widget class="QDialog" name="ModelInfoEditDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>372</width>
<height>335</height>
</rect>
</property>
<property name="windowTitle">
<string>新建模型</string>
</property>
<property name="windowIcon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_addTable.png</normaloff>:/img/images/icon_addTable.png</iconset>
</property>
<property name="styleSheet">
<string notr="true"/>
2025-03-14 16:06:20 +08:00
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="topMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>5</number>
</property>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab_gerneral">
<attribute name="title">
<string>基本信息</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>10</number>
</property>
<property name="topMargin">
<number>10</number>
</property>
<property name="rightMargin">
<number>10</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<property name="horizontalSpacing">
<number>0</number>
</property>
<property name="verticalSpacing">
<number>15</number>
</property>
<item row="1" column="0">
<widget class="QLabel" name="label_modelType">
<property name="minimumSize">
<size>
<width>71</width>
2025-03-14 16:06:20 +08:00
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>71</width>
2025-03-14 16:06:20 +08:00
<height>21</height>
</size>
</property>
<property name="text">
<string>模型类别:</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_modelName">
<property name="minimumSize">
<size>
<width>71</width>
2025-03-14 16:06:20 +08:00
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>71</width>
2025-03-14 16:06:20 +08:00
<height>21</height>
</size>
</property>
<property name="text">
<string>模型名称:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="lineEdit_modelName">
<property name="minimumSize">
<size>
<width>0</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>21</height>
</size>
</property>
<property name="maxLength">
<number>30</number>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_modelComment">
<property name="minimumSize">
<size>
<width>71</width>
2025-03-14 16:06:20 +08:00
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>71</width>
2025-03-14 16:06:20 +08:00
<height>21</height>
</size>
</property>
<property name="text">
<string>备 注:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QPlainTextEdit" name="plainTextEdit_modelComment">
<property name="styleSheet">
<string notr="true"/>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QWidget" name="widget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<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="QLineEdit" name="lineEdit_modelType">
<property name="minimumSize">
<size>
<width>0</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>21</height>
</size>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_tip">
<property name="minimumSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">color: rgb(255, 0, 0);</string>
</property>
<property name="text">
<string>类别必须为英文</string>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
2025-05-26 16:50:46 +08:00
<item row="2" column="0">
<widget class="QLabel" name="label_modelType_2">
<property name="minimumSize">
<size>
<width>71</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>71</width>
<height>21</height>
</size>
</property>
<property name="text">
<string>模型图元:</string>
</property>
</widget>
</item>
2025-03-14 16:06:20 +08:00
</layout>
</widget>
<widget class="QWidget" name="tab_group">
<attribute name="title">
2025-05-26 16:50:46 +08:00
<string>属性分组</string>
2025-03-14 16:06:20 +08:00
</attribute>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="spacing">
<number>12</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<property name="spacing">
<number>3</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="leftMargin">
<number>1</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_source">
<property name="minimumSize">
<size>
<width>61</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>61</width>
<height>21</height>
</size>
</property>
<property name="text">
2025-04-18 18:44:26 +08:00
<string>所有组别</string>
2025-03-14 16:06:20 +08:00
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<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="btnAddGroup">
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
border:0px;
image: url(:/img/images/icon_add.png);
}
QPushButton:hover
{
image: url(:/img/images/icon_add_hover.png);
}
QPushButton:pressed
{
image: url(:/img/images/icon_add.png);
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QListWidget" name="sourceList"/>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<property name="spacing">
<number>3</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="leftMargin">
<number>1</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_selected">
<property name="minimumSize">
<size>
<width>61</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>61</width>
<height>21</height>
</size>
</property>
<property name="text">
2025-04-18 18:44:26 +08:00
<string>所选组别</string>
2025-03-14 16:06:20 +08:00
</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="btnRemoveSelected">
<property name="minimumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>21</width>
<height>21</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton
{
border:0px;
image: url(:/img/images/icon_remove2.png);
}
QPushButton:hover
{
image: url(:/img/images/icon_remove2_hover.png);
}
QPushButton:pressed
{
image: url(:/img/images/icon_remove2.png);
}</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QListWidget" name="selectedList"/>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label_error">
<property name="styleSheet">
<string notr="true">color: rgb(255, 0, 0);</string>
</property>
<property name="text">
<string/>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnSave">
<property name="minimumSize">
<size>
<width>86</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>86</width>
<height>31</height>
</size>
</property>
<property name="text">
<string>保存</string>
</property>
<property name="icon">
<iconset resource="../resource/PowerModeler.qrc">
<normaloff>:/img/images/icon_save.png</normaloff>:/img/images/icon_save.png</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="btnCancle">
<property name="minimumSize">
<size>
<width>86</width>
<height>31</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>86</width>
<height>31</height>
</size>
</property>
<property name="text">
<string>取消</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<resources>
<include location="../resource/PowerModeler.qrc"/>
</resources>
<connections/>
</ui>