modify screen

This commit is contained in:
zhangsheng 2025-08-11 16:55:44 +08:00
parent 4f299f2fdd
commit 4848649dea
2 changed files with 2444 additions and 2423 deletions

View File

@ -107,7 +107,7 @@
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">

View File

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>862</width>
<height>601</height>
<width>975</width>
<height>662</height>
</rect>
</property>
<property name="windowTitle">
@ -31,11 +31,26 @@
</property>
<item>
<widget class="QWidget" name="widget_body" native="true">
<layout class="QVBoxLayout" name="verticalLayout_9">
<item>
<widget class="QWidget" name="widget_top" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>50</height>
</size>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>11</x>
<y>10</y>
<x>10</x>
<y>20</y>
<width>113</width>
<height>17</height>
</rect>
@ -57,277 +72,32 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget_2">
<property name="geometry">
<rect>
<x>10</x>
<y>530</y>
<width>844</width>
<height>37</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="pushButton_confirm">
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>确定</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_set_default">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>设置为默认值</string>
</property>
</widget>
</item>
<widget class="QWidget" name="widget_mid" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_10">
<item>
<widget class="QPushButton" name="pushButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>保存到模版</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_load_template">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>加载预定义模板</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_cancel">
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>取消</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_print">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>打印</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_help">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>帮助</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget_3">
<property name="geometry">
<rect>
<x>430</x>
<y>203</y>
<width>52</width>
<height>75</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QPushButton" name="pushButton_copy_all_right">
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>===&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_22">
<property name="text">
<string>===</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_copy_all_left">
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>&lt;===</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>40</x>
<y>40</y>
<width>361</width>
<height>471</height>
</rect>
<property name="minimumSize">
<size>
<width>400</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>通道 1 和 2</string>
</property>
<widget class="QGroupBox" name="groupBox_5">
<property name="geometry">
<rect>
<x>10</x>
<y>380</y>
<width>120</width>
<height>80</height>
</rect>
</property>
<property name="title">
<string>通道1</string>
</property>
<widget class="QCheckBox" name="checkBox_enable_1">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_11">
<item>
<widget class="QCheckBox" name="checkBox_standby_1">
<property name="text">
<string>启用</string>
</property>
<property name="checked">
<bool>true</bool>
<string>主备</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_config_1">
<property name="geometry">
<rect>
<x>30</x>
<y>40</y>
<width>51</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>配置</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_6">
<property name="geometry">
<rect>
<x>220</x>
<y>380</y>
<width>120</width>
<height>81</height>
</rect>
</property>
<property name="title">
<string>通道2</string>
</property>
<widget class="QCheckBox" name="checkBox_enable_2">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>启用</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="pushButton_config_2">
<property name="geometry">
<rect>
<x>30</x>
<y>40</y>
<width>51</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>配置</string>
</property>
</widget>
</widget>
</item>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>341</width>
<height>321</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
@ -1290,28 +1060,59 @@
</widget>
</widget>
</widget>
<widget class="QCheckBox" name="checkBox_standby_1">
</item>
<item>
<widget class="QWidget" name="widget_2" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>100</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>100</height>
</size>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_14">
<item>
<widget class="QGroupBox" name="groupBox_5">
<property name="title">
<string>通道1</string>
</property>
<widget class="QCheckBox" name="checkBox_enable_1">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<y>20</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>主备</string>
<string>启用</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QWidget" name="layoutWidget_4">
<widget class="QPushButton" name="pushButton_config_1">
<property name="geometry">
<rect>
<x>150</x>
<y>390</y>
<width>52</width>
<height>75</height>
<x>30</x>
<y>40</y>
<width>51</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>配置</string>
</property>
</widget>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QPushButton" name="pushButton_copy_right_1">
@ -1350,118 +1151,134 @@
</widget>
</item>
</layout>
</widget>
<zorder>layoutWidget_4</zorder>
<zorder>groupBox_5</zorder>
<zorder>groupBox_6</zorder>
<zorder>tabWidget</zorder>
<zorder>checkBox_standby_1</zorder>
</widget>
<widget class="QGroupBox" name="groupBox_2">
</item>
<item>
<widget class="QGroupBox" name="groupBox_6">
<property name="title">
<string>通道2</string>
</property>
<widget class="QCheckBox" name="checkBox_enable_2">
<property name="geometry">
<rect>
<x>500</x>
<y>40</y>
<width>331</width>
<height>471</height>
<x>10</x>
<y>20</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>启用</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="pushButton_config_2">
<property name="geometry">
<rect>
<x>30</x>
<y>40</y>
<width>51</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>配置</string>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget" native="true">
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>80</width>
<height>16777215</height>
</size>
</property>
<widget class="QWidget" name="layoutWidget_3">
<property name="geometry">
<rect>
<x>10</x>
<y>210</y>
<width>52</width>
<height>75</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QPushButton" name="pushButton_copy_all_right">
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>===&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_22">
<property name="text">
<string>===</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_copy_all_left">
<property name="maximumSize">
<size>
<width>50</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>&lt;===</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="minimumSize">
<size>
<width>400</width>
<height>0</height>
</size>
</property>
<property name="title">
<string>通道 3 和 4</string>
</property>
<widget class="QGroupBox" name="groupBox_9">
<property name="geometry">
<rect>
<x>10</x>
<y>380</y>
<width>120</width>
<height>80</height>
</rect>
</property>
<property name="title">
<string>通道3</string>
</property>
<widget class="QCheckBox" name="checkBox_enable_3">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_10">
<item>
<widget class="QCheckBox" name="checkBox_standby_2">
<property name="text">
<string>启用</string>
</property>
<property name="checked">
<bool>true</bool>
<string>主备</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_config_3">
<property name="geometry">
<rect>
<x>30</x>
<y>40</y>
<width>51</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>配置</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_10">
<property name="geometry">
<rect>
<x>200</x>
<y>380</y>
<width>120</width>
<height>80</height>
</rect>
</property>
<property name="title">
<string>通道4</string>
</property>
<widget class="QCheckBox" name="checkBox_enable_4">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>启用</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="pushButton_config_4">
<property name="geometry">
<rect>
<x>30</x>
<y>40</y>
<width>51</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>配置</string>
</property>
</widget>
</widget>
</item>
<item>
<widget class="QTabWidget" name="tabWidget_2">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>331</width>
<height>321</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
@ -2424,28 +2241,59 @@
</widget>
</widget>
</widget>
<widget class="QCheckBox" name="checkBox_standby_2">
</item>
<item>
<widget class="QWidget" name="widget_3" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>100</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>100</height>
</size>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_19">
<item>
<widget class="QGroupBox" name="groupBox_9">
<property name="title">
<string>通道3</string>
</property>
<widget class="QCheckBox" name="checkBox_enable_3">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<y>20</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>主备</string>
<string>启用</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QWidget" name="layoutWidget_5">
<widget class="QPushButton" name="pushButton_config_3">
<property name="geometry">
<rect>
<x>140</x>
<y>392</y>
<width>52</width>
<height>75</height>
<x>30</x>
<y>40</y>
<width>51</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>配置</string>
</property>
</widget>
</widget>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QPushButton" name="pushButton_copy_right_2">
@ -2484,8 +2332,181 @@
</widget>
</item>
</layout>
</item>
<item>
<widget class="QGroupBox" name="groupBox_10">
<property name="title">
<string>通道4</string>
</property>
<widget class="QCheckBox" name="checkBox_enable_4">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>启用</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="pushButton_config_4">
<property name="geometry">
<rect>
<x>30</x>
<y>40</y>
<width>51</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>配置</string>
</property>
</widget>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget_bottom" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>80</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>80</height>
</size>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_13">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QPushButton" name="pushButton_confirm">
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>确定</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_set_default">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>设置为默认值</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>保存到模版</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_load_template">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>加载预定义模板</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_cancel">
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>取消</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_print">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>打印</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_help">
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>35</height>
</size>
</property>
<property name="text">
<string>帮助</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</item>
</layout>