526 lines
14 KiB
XML
526 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>diagramEditorTransDetailSettingDlg</class>
|
|
<widget class="QDialog" name="diagramEditorTransDetailSettingDlg">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>650</width>
|
|
<height>460</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>12</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Dialog</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<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="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QWidget {
|
|
background: #2c5282;
|
|
color: white;
|
|
border: none;
|
|
}
|
|
|
|
QWidget QLabel {
|
|
color: white;
|
|
font-size: 12px;
|
|
background: transparent;
|
|
}</string>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<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="QLabel" name="label">
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>-1</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="text">
|
|
<string>变压器详细设置</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Orientation::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>530</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_3" native="true">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<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>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>中性点成套装置</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<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 row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
<item>
|
|
<spacer name="horizontalSpacer_4">
|
|
<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_add">
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
background-color: #5a79a1; /* 中性灰蓝,不刺眼 */
|
|
color: white;
|
|
border: none; /* 无边框,扁平化 */
|
|
border-radius: 4px; /* 小圆角,扁平感 */
|
|
font-size: 13px; /* 适中字号 */
|
|
font-weight: 500; /* 中等字重 */
|
|
}
|
|
|
|
QPushButton:hover {
|
|
background-color: #4a5d7e; /* 稍深的灰蓝 */
|
|
}
|
|
|
|
QPushButton:pressed {
|
|
background-color: #3d4e6b; /* 更深的灰蓝 */
|
|
}
|
|
|
|
QPushButton:disabled {
|
|
background-color: #a0b3d1; /* 灰调的浅蓝 */
|
|
color: #d1dce9; /* 浅灰色文字 */
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>新增回路</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_previewEquips">
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
background-color: #5a79a1; /* 中性灰蓝,不刺眼 */
|
|
color: white;
|
|
border: none; /* 无边框,扁平化 */
|
|
border-radius: 4px; /* 小圆角,扁平感 */
|
|
font-size: 13px; /* 适中字号 */
|
|
font-weight: 500; /* 中等字重 */
|
|
}
|
|
|
|
QPushButton:hover {
|
|
background-color: #4a5d7e; /* 稍深的灰蓝 */
|
|
}
|
|
|
|
QPushButton:pressed {
|
|
background-color: #3d4e6b; /* 更深的灰蓝 */
|
|
}
|
|
|
|
QPushButton:disabled {
|
|
background-color: #a0b3d1; /* 灰调的浅蓝 */
|
|
color: #d1dce9; /* 浅灰色文字 */
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>预览成套装置</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_previewTrans">
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
background-color: #5a79a1; /* 中性灰蓝,不刺眼 */
|
|
color: white;
|
|
border: none; /* 无边框,扁平化 */
|
|
border-radius: 4px; /* 小圆角,扁平感 */
|
|
font-size: 13px; /* 适中字号 */
|
|
font-weight: 500; /* 中等字重 */
|
|
}
|
|
|
|
QPushButton:hover {
|
|
background-color: #4a5d7e; /* 稍深的灰蓝 */
|
|
}
|
|
|
|
QPushButton:pressed {
|
|
background-color: #3d4e6b; /* 更深的灰蓝 */
|
|
}
|
|
|
|
QPushButton:disabled {
|
|
background-color: #a0b3d1; /* 灰调的浅蓝 */
|
|
color: #d1dce9; /* 浅灰色文字 */
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>预览变压器</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="styleSheet">
|
|
<string notr="true">/* 标签页容器 */
|
|
QTabWidget::pane {
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 4px;
|
|
background-color: white;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
/* 标签栏 */
|
|
QTabWidget::tab-bar {
|
|
alignment: left;
|
|
padding: 1px 1px 0 1px;
|
|
}
|
|
|
|
/* 单个标签 */
|
|
QTabBar::tab {
|
|
background-color: #f8fafc;
|
|
color: #94a3b8;
|
|
border: 1px solid #e2e8f0;
|
|
border-bottom: none;
|
|
border-top-left-radius: 3px;
|
|
border-top-right-radius: 3px;
|
|
padding: 6px 16px;
|
|
margin-right: 2px;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* 标签悬停 */
|
|
QTabBar::tab:hover {
|
|
background-color: #f1f5f9;
|
|
color: #64748b;
|
|
border-color: #cbd5e1;
|
|
}
|
|
|
|
/* 标签选中 */
|
|
QTabBar::tab:selected {
|
|
background-color: white;
|
|
color: #1e293b;
|
|
border-color: #e2e8f0;
|
|
border-bottom-color: white;
|
|
font-weight: 500;
|
|
margin-bottom: -1px;
|
|
padding-top: 7px;
|
|
}</string>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="tab_hv">
|
|
<attribute name="title">
|
|
<string>高压侧中性点</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QTableView" name="tableView_hv"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_mv">
|
|
<attribute name="title">
|
|
<string>中压侧中性点</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QTableView" name="tableView_mv"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_lv">
|
|
<attribute name="title">
|
|
<string>低压侧中性点</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QTableView" name="tableView_lv"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="widget_2" native="true">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>25</height>
|
|
</size>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>变压器配置:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineEdit"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_save">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
background-color: #5a79a1; /* 中性灰蓝,不刺眼 */
|
|
color: white;
|
|
border: none; /* 无边框,扁平化 */
|
|
border-radius: 4px; /* 小圆角,扁平感 */
|
|
font-size: 13px; /* 适中字号 */
|
|
font-weight: 500; /* 中等字重 */
|
|
}
|
|
|
|
QPushButton:hover {
|
|
background-color: #4a5d7e; /* 稍深的灰蓝 */
|
|
}
|
|
|
|
QPushButton:pressed {
|
|
background-color: #3d4e6b; /* 更深的灰蓝 */
|
|
}
|
|
|
|
QPushButton:disabled {
|
|
background-color: #a0b3d1; /* 灰调的浅蓝 */
|
|
color: #d1dce9; /* 浅灰色文字 */
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>保存</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_load">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
background-color: #5a79a1; /* 中性灰蓝,不刺眼 */
|
|
color: white;
|
|
border: none; /* 无边框,扁平化 */
|
|
border-radius: 4px; /* 小圆角,扁平感 */
|
|
font-size: 13px; /* 适中字号 */
|
|
font-weight: 500; /* 中等字重 */
|
|
}
|
|
|
|
QPushButton:hover {
|
|
background-color: #4a5d7e; /* 稍深的灰蓝 */
|
|
}
|
|
|
|
QPushButton:pressed {
|
|
background-color: #3d4e6b; /* 更深的灰蓝 */
|
|
}
|
|
|
|
QPushButton:disabled {
|
|
background-color: #a0b3d1; /* 灰调的浅蓝 */
|
|
color: #d1dce9; /* 浅灰色文字 */
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>载入</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>91</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_ok">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
background-color: #5a79a1; /* 中性灰蓝,不刺眼 */
|
|
color: white;
|
|
border: none; /* 无边框,扁平化 */
|
|
border-radius: 4px; /* 小圆角,扁平感 */
|
|
font-size: 13px; /* 适中字号 */
|
|
font-weight: 500; /* 中等字重 */
|
|
}
|
|
|
|
QPushButton:hover {
|
|
background-color: #4a5d7e; /* 稍深的灰蓝 */
|
|
}
|
|
|
|
QPushButton:pressed {
|
|
background-color: #3d4e6b; /* 更深的灰蓝 */
|
|
}
|
|
|
|
QPushButton:disabled {
|
|
background-color: #a0b3d1; /* 灰调的浅蓝 */
|
|
color: #d1dce9; /* 浅灰色文字 */
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>确定</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="btn_cancel">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QPushButton {
|
|
background-color: #5a79a1; /* 中性灰蓝,不刺眼 */
|
|
color: white;
|
|
border: none; /* 无边框,扁平化 */
|
|
border-radius: 4px; /* 小圆角,扁平感 */
|
|
font-size: 13px; /* 适中字号 */
|
|
font-weight: 500; /* 中等字重 */
|
|
}
|
|
|
|
QPushButton:hover {
|
|
background-color: #4a5d7e; /* 稍深的灰蓝 */
|
|
}
|
|
|
|
QPushButton:pressed {
|
|
background-color: #3d4e6b; /* 更深的灰蓝 */
|
|
}
|
|
|
|
QPushButton:disabled {
|
|
background-color: #a0b3d1; /* 灰调的浅蓝 */
|
|
color: #d1dce9; /* 浅灰色文字 */
|
|
}
|
|
</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>取消</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|