2023/1/3 update-窗口3

还有很多要改的,得加油
This commit is contained in:
bgArray 2023-01-03 21:55:08 +08:00
parent 1103a06897
commit 28d59f8be9
2 changed files with 544 additions and 445 deletions

View File

@ -200,306 +200,279 @@
<x>10</x> <x>10</x>
<y>160</y> <y>160</y>
<width>781</width> <width>781</width>
<height>171</height> <height>191</height>
</rect> </rect>
</property> </property>
<widget class="QWidget" name="horizontalLayoutWidget"> <widget class="QWidget" name="verticalLayoutWidget_5">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>621</width> <width>781</width>
<height>24</height> <height>191</height>
</rect> </rect>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QVBoxLayout" name="verticalLayout_5">
<item> <item>
<widget class="QLabel" name="label_14"> <layout class="QHBoxLayout" name="horizontalLayout">
<property name="text"> <item>
<string>默认保存路径:</string> <widget class="QLabel" name="label_14">
</property> <property name="text">
</widget> <string>默认保存路径:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox"/>
</item>
<item>
<widget class="QToolButton" name="toolButton">
<property name="text">
<string>...</string>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item>
<widget class="QComboBox" name="comboBox"/> <layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="label_15">
<property name="text">
<string>速度倍率</string>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="horizontalSlider">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="label_17">
<property name="text">
<string>音量倍率</string>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="horizontalSlider_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_9">
<item>
<widget class="QLabel" name="label_21">
<property name="text">
<string>最大指令生成高度</string>
</property>
</widget>
</item>
<item>
<widget class="QSpinBox" name="spinBox"/>
</item>
</layout>
</item>
</layout>
</item> </item>
<item> <item>
<widget class="QToolButton" name="toolButton"> <layout class="QHBoxLayout" name="horizontalLayout_16">
<property name="text"> <item>
<string>...</string> <layout class="QHBoxLayout" name="horizontalLayout_13">
</property> <item>
</widget> <widget class="QLabel" name="label_24">
</item> <property name="text">
</layout> <string>选择器模式</string>
</widget> </property>
<widget class="QWidget" name="horizontalLayoutWidget_2"> </widget>
<property name="geometry"> </item>
<rect> <item>
<x>0</x> <widget class="QComboBox" name="comboBox_3"/>
<y>20</y> </item>
<width>241</width> <item>
<height>31</height> <layout class="QHBoxLayout" name="horizontalLayout_6">
</rect> <item>
</property> <widget class="QLabel" name="label_18">
<layout class="QHBoxLayout" name="horizontalLayout_2"> <property name="text">
<item> <string>计分板名称</string>
<widget class="QLabel" name="label_15"> </property>
<property name="text"> </widget>
<string>速度倍率</string> </item>
</property> <item>
</widget> <widget class="QTextEdit" name="textEdit">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<widget class="QLabel" name="label_20">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
<property name="text">
<string>玩家选择器</string>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="textEdit_2">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</item>
</layout>
</item> </item>
<item> <item>
<widget class="QSlider" name="horizontalSlider"> <layout class="QHBoxLayout" name="horizontalLayout_7">
<property name="orientation"> <item>
<enum>Qt::Horizontal</enum> <widget class="QLabel" name="label_19">
</property> <property name="maximumSize">
</widget> <size>
</item> <width>16777215</width>
</layout> <height>22</height>
</widget> </size>
<widget class="QWidget" name="horizontalLayoutWidget_3"> </property>
<property name="geometry"> <property name="text">
<rect> <string>bdx作者名称</string>
<x>260</x> </property>
<y>20</y> </widget>
<width>241</width> </item>
<height>31</height> <item>
</rect> <widget class="QTextEdit" name="textEdit">
</property> <property name="maximumSize">
<layout class="QHBoxLayout" name="horizontalLayout_4"> <size>
<item> <width>16777215</width>
<widget class="QLabel" name="label_17"> <height>22</height>
<property name="text"> </size>
<string>音量倍率</string> </property>
</property> </widget>
</widget> </item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<item>
<widget class="QCheckBox" name="checkBox_2">
<property name="text">
<string>是否启用进度条</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox">
<property name="text">
<string>是否自定义进度条</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_22">
<property name="text">
<string>自定义进度条内容:</string>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="textEdit_3">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>22</height>
</size>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</item> </item>
<item> <item>
<widget class="QSlider" name="horizontalSlider_3"> <layout class="QHBoxLayout" name="horizontalLayout_18"/>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget_4">
<property name="geometry">
<rect>
<x>260</x>
<y>50</y>
<width>241</width>
<height>31</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="label_18">
<property name="text">
<string>计分板名称</string>
</property>
</widget>
</item> </item>
<item> <item>
<widget class="QTextEdit" name="textEdit"> <layout class="QHBoxLayout" name="horizontalLayout_12">
<property name="maximumSize"> <item>
<size> <widget class="QLabel" name="label_23">
<width>16777215</width> <property name="maximumSize">
<height>78</height> <size>
</size> <width>120</width>
</property> <height>16777215</height>
</widget> </size>
</item> </property>
</layout> <property name="text">
</widget> <string>选择命令格式版本</string>
<widget class="QWidget" name="horizontalLayoutWidget_7"> </property>
<property name="geometry"> </widget>
<rect> </item>
<x>510</x> <item>
<y>20</y> <widget class="QComboBox" name="comboBox_2">
<width>241</width> <property name="maximumSize">
<height>31</height> <size>
</rect> <width>200</width>
</property> <height>16777215</height>
<layout class="QHBoxLayout" name="horizontalLayout_9"> </size>
<item> </property>
<widget class="QLabel" name="label_21"> </widget>
<property name="text"> </item>
<string>最大指令生成高度</string> <item>
</property> <layout class="QHBoxLayout" name="horizontalLayout_14">
</widget> <item>
<widget class="QLabel" name="label_25">
<property name="text">
<string>选择转换算法版本</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_4"/>
</item>
</layout>
</item>
</layout>
</item> </item>
<item> <item>
<widget class="QSpinBox" name="spinBox"/> <layout class="QHBoxLayout" name="horizontalLayout_15">
</item> <item>
</layout> <widget class="QLabel" name="label_26">
</widget> <property name="text">
<widget class="QWidget" name="horizontalLayoutWidget_6"> <string>选择导出模式</string>
<property name="geometry"> </property>
<rect> </widget>
<x>510</x> </item>
<y>50</y> <item>
<width>241</width> <widget class="QComboBox" name="comboBox_5"/>
<height>31</height> </item>
</rect> </layout>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<widget class="QLabel" name="label_20">
<property name="text">
<string>玩家选择器</string>
</property>
</widget>
</item>
<item>
<widget class="QTextBrowser" name="textBrowser_2"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget_10">
<property name="geometry">
<rect>
<x>0</x>
<y>50</y>
<width>251</width>
<height>31</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_13">
<item>
<widget class="QLabel" name="label_24">
<property name="text">
<string>选择器模式</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_3"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget_5">
<property name="geometry">
<rect>
<x>0</x>
<y>80</y>
<width>241</width>
<height>31</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<widget class="QLabel" name="label_19">
<property name="text">
<string>bdx作者名称</string>
</property>
</widget>
</item>
<item>
<widget class="QTextBrowser" name="textBrowser"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget_9">
<property name="geometry">
<rect>
<x>0</x>
<y>110</y>
<width>371</width>
<height>31</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_12">
<item>
<widget class="QLabel" name="label_23">
<property name="text">
<string>选择命令格式版本</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_2"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget_8">
<property name="geometry">
<rect>
<x>260</x>
<y>80</y>
<width>511</width>
<height>31</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<item>
<widget class="QCheckBox" name="checkBox_2">
<property name="text">
<string>是否启用进度条</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox">
<property name="text">
<string>是否自定义进度条</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_22">
<property name="text">
<string>自定义进度条内容:</string>
</property>
</widget>
</item>
<item>
<widget class="QTextBrowser" name="textBrowser_3"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget_11">
<property name="geometry">
<rect>
<x>390</x>
<y>110</y>
<width>291</width>
<height>31</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_14">
<item>
<widget class="QLabel" name="label_25">
<property name="text">
<string>选择转换算法版本</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_4"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="horizontalLayoutWidget_12">
<property name="geometry">
<rect>
<x>0</x>
<y>140</y>
<width>301</width>
<height>31</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_15">
<item>
<widget class="QLabel" name="label_26">
<property name="text">
<string>选择导出模式</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="comboBox_5"/>
</item> </item>
</layout> </layout>
</widget> </widget>

458
pp.py
View File

@ -1,12 +1,12 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
################################################################################ ##########################################################################
## Form generated from reading UI file 'PySide6-Pkg.ui' # Form generated from reading UI file 'PySide6-Pkg.ui'
## ##
## Created by: Qt User Interface Compiler version 6.4.1 # Created by: Qt User Interface Compiler version 6.4.1
## ##
## WARNING! All changes made in this file will be lost when recompiling UI file! # WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################ ##########################################################################
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale, from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
QMetaObject, QObject, QPoint, QRect, QMetaObject, QObject, QPoint, QRect,
@ -16,12 +16,27 @@ from PySide6.QtGui import (QAction, QBrush, QColor, QConicalGradient,
QIcon, QImage, QKeySequence, QLinearGradient, QIcon, QImage, QKeySequence, QLinearGradient,
QPainter, QPalette, QPixmap, QRadialGradient, QPainter, QPalette, QPixmap, QRadialGradient,
QTransform) QTransform)
from PySide6.QtWidgets import (QApplication, QCheckBox, QComboBox, QHBoxLayout, from PySide6.QtWidgets import (
QHeaderView, QLabel, QMainWindow, QMenu, QApplication,
QMenuBar, QSizePolicy, QSlider, QSpinBox, QCheckBox,
QStatusBar, QTabWidget, QTableWidget, QTableWidgetItem, QComboBox,
QTextBrowser, QTextEdit, QToolButton, QVBoxLayout, QHBoxLayout,
QWidget) QHeaderView,
QLabel,
QMainWindow,
QMenu,
QMenuBar,
QSizePolicy,
QSlider,
QSpinBox,
QStatusBar,
QTabWidget,
QTableWidget,
QTableWidgetItem,
QTextEdit,
QToolButton,
QVBoxLayout,
QWidget)
class Ui_MainWindow(object): class Ui_MainWindow(object):
@ -150,217 +165,219 @@ class Ui_MainWindow(object):
self.widget_3 = QWidget(self.tab_2) self.widget_3 = QWidget(self.tab_2)
self.widget_3.setObjectName(u"widget_3") self.widget_3.setObjectName(u"widget_3")
self.widget_3.setGeometry(QRect(10, 160, 781, 171)) self.widget_3.setGeometry(QRect(10, 160, 781, 191))
self.horizontalLayoutWidget = QWidget(self.widget_3) self.verticalLayoutWidget_5 = QWidget(self.widget_3)
self.horizontalLayoutWidget.setObjectName(u"horizontalLayoutWidget") self.verticalLayoutWidget_5.setObjectName(u"verticalLayoutWidget_5")
self.horizontalLayoutWidget.setGeometry(QRect(0, 0, 621, 24)) self.verticalLayoutWidget_5.setGeometry(QRect(0, 0, 781, 191))
self.horizontalLayout = QHBoxLayout(self.horizontalLayoutWidget) self.verticalLayout_5 = QVBoxLayout(self.verticalLayoutWidget_5)
self.verticalLayout_5.setObjectName(u"verticalLayout_5")
self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout = QHBoxLayout()
self.horizontalLayout.setObjectName(u"horizontalLayout") self.horizontalLayout.setObjectName(u"horizontalLayout")
self.horizontalLayout.setContentsMargins(0, 0, 0, 0) self.label_14 = QLabel(self.verticalLayoutWidget_5)
self.label_14 = QLabel(self.horizontalLayoutWidget)
self.label_14.setObjectName(u"label_14") self.label_14.setObjectName(u"label_14")
self.horizontalLayout.addWidget(self.label_14) self.horizontalLayout.addWidget(self.label_14)
self.comboBox = QComboBox(self.horizontalLayoutWidget) self.comboBox = QComboBox(self.verticalLayoutWidget_5)
self.comboBox.setObjectName(u"comboBox") self.comboBox.setObjectName(u"comboBox")
self.horizontalLayout.addWidget(self.comboBox) self.horizontalLayout.addWidget(self.comboBox)
self.toolButton = QToolButton(self.horizontalLayoutWidget) self.toolButton = QToolButton(self.verticalLayoutWidget_5)
self.toolButton.setObjectName(u"toolButton") self.toolButton.setObjectName(u"toolButton")
self.horizontalLayout.addWidget(self.toolButton) self.horizontalLayout.addWidget(self.toolButton)
self.horizontalLayoutWidget_2 = QWidget(self.widget_3) self.verticalLayout_5.addLayout(self.horizontalLayout)
self.horizontalLayoutWidget_2.setObjectName(u"horizontalLayoutWidget_2")
self.horizontalLayoutWidget_2.setGeometry(QRect(0, 20, 241, 31)) self.horizontalLayout_5 = QHBoxLayout()
self.horizontalLayout_2 = QHBoxLayout(self.horizontalLayoutWidget_2) self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
self.horizontalLayout_4 = QHBoxLayout()
self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
self.horizontalLayout_2 = QHBoxLayout()
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2") self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0) self.label_15 = QLabel(self.verticalLayoutWidget_5)
self.label_15 = QLabel(self.horizontalLayoutWidget_2)
self.label_15.setObjectName(u"label_15") self.label_15.setObjectName(u"label_15")
self.horizontalLayout_2.addWidget(self.label_15) self.horizontalLayout_2.addWidget(self.label_15)
self.horizontalSlider = QSlider(self.horizontalLayoutWidget_2) self.horizontalSlider = QSlider(self.verticalLayoutWidget_5)
self.horizontalSlider.setObjectName(u"horizontalSlider") self.horizontalSlider.setObjectName(u"horizontalSlider")
self.horizontalSlider.setOrientation(Qt.Horizontal) self.horizontalSlider.setOrientation(Qt.Horizontal)
self.horizontalLayout_2.addWidget(self.horizontalSlider) self.horizontalLayout_2.addWidget(self.horizontalSlider)
self.horizontalLayoutWidget_3 = QWidget(self.widget_3) self.horizontalLayout_4.addLayout(self.horizontalLayout_2)
self.horizontalLayoutWidget_3.setObjectName(u"horizontalLayoutWidget_3")
self.horizontalLayoutWidget_3.setGeometry(QRect(260, 20, 241, 31)) self.label_17 = QLabel(self.verticalLayoutWidget_5)
self.horizontalLayout_4 = QHBoxLayout(self.horizontalLayoutWidget_3)
self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
self.label_17 = QLabel(self.horizontalLayoutWidget_3)
self.label_17.setObjectName(u"label_17") self.label_17.setObjectName(u"label_17")
self.horizontalLayout_4.addWidget(self.label_17) self.horizontalLayout_4.addWidget(self.label_17)
self.horizontalSlider_3 = QSlider(self.horizontalLayoutWidget_3) self.horizontalSlider_3 = QSlider(self.verticalLayoutWidget_5)
self.horizontalSlider_3.setObjectName(u"horizontalSlider_3") self.horizontalSlider_3.setObjectName(u"horizontalSlider_3")
self.horizontalSlider_3.setOrientation(Qt.Horizontal) self.horizontalSlider_3.setOrientation(Qt.Horizontal)
self.horizontalLayout_4.addWidget(self.horizontalSlider_3) self.horizontalLayout_4.addWidget(self.horizontalSlider_3)
self.horizontalLayoutWidget_4 = QWidget(self.widget_3) self.horizontalLayout_5.addLayout(self.horizontalLayout_4)
self.horizontalLayoutWidget_4.setObjectName(u"horizontalLayoutWidget_4")
self.horizontalLayoutWidget_4.setGeometry(QRect(260, 50, 241, 31))
self.horizontalLayout_6 = QHBoxLayout(self.horizontalLayoutWidget_4)
self.horizontalLayout_6.setObjectName(u"horizontalLayout_6")
self.horizontalLayout_6.setContentsMargins(0, 0, 0, 0)
self.label_18 = QLabel(self.horizontalLayoutWidget_4)
self.label_18.setObjectName(u"label_18")
self.horizontalLayout_6.addWidget(self.label_18) self.horizontalLayout_9 = QHBoxLayout()
self.textEdit = QTextEdit(self.horizontalLayoutWidget_4)
self.textEdit.setObjectName(u"textEdit")
self.textEdit.setMaximumSize(QSize(16777215, 78))
self.horizontalLayout_6.addWidget(self.textEdit)
self.horizontalLayoutWidget_7 = QWidget(self.widget_3)
self.horizontalLayoutWidget_7.setObjectName(u"horizontalLayoutWidget_7")
self.horizontalLayoutWidget_7.setGeometry(QRect(510, 20, 241, 31))
self.horizontalLayout_9 = QHBoxLayout(self.horizontalLayoutWidget_7)
self.horizontalLayout_9.setObjectName(u"horizontalLayout_9") self.horizontalLayout_9.setObjectName(u"horizontalLayout_9")
self.horizontalLayout_9.setContentsMargins(0, 0, 0, 0) self.label_21 = QLabel(self.verticalLayoutWidget_5)
self.label_21 = QLabel(self.horizontalLayoutWidget_7)
self.label_21.setObjectName(u"label_21") self.label_21.setObjectName(u"label_21")
self.horizontalLayout_9.addWidget(self.label_21) self.horizontalLayout_9.addWidget(self.label_21)
self.spinBox = QSpinBox(self.horizontalLayoutWidget_7) self.spinBox = QSpinBox(self.verticalLayoutWidget_5)
self.spinBox.setObjectName(u"spinBox") self.spinBox.setObjectName(u"spinBox")
self.horizontalLayout_9.addWidget(self.spinBox) self.horizontalLayout_9.addWidget(self.spinBox)
self.horizontalLayoutWidget_6 = QWidget(self.widget_3) self.horizontalLayout_5.addLayout(self.horizontalLayout_9)
self.horizontalLayoutWidget_6.setObjectName(u"horizontalLayoutWidget_6")
self.horizontalLayoutWidget_6.setGeometry(QRect(510, 50, 241, 31))
self.horizontalLayout_8 = QHBoxLayout(self.horizontalLayoutWidget_6)
self.horizontalLayout_8.setObjectName(u"horizontalLayout_8")
self.horizontalLayout_8.setContentsMargins(0, 0, 0, 0)
self.label_20 = QLabel(self.horizontalLayoutWidget_6)
self.label_20.setObjectName(u"label_20")
self.horizontalLayout_8.addWidget(self.label_20) self.verticalLayout_5.addLayout(self.horizontalLayout_5)
self.textBrowser_2 = QTextBrowser(self.horizontalLayoutWidget_6) self.horizontalLayout_16 = QHBoxLayout()
self.textBrowser_2.setObjectName(u"textBrowser_2") self.horizontalLayout_16.setObjectName(u"horizontalLayout_16")
self.horizontalLayout_13 = QHBoxLayout()
self.horizontalLayout_8.addWidget(self.textBrowser_2)
self.horizontalLayoutWidget_10 = QWidget(self.widget_3)
self.horizontalLayoutWidget_10.setObjectName(u"horizontalLayoutWidget_10")
self.horizontalLayoutWidget_10.setGeometry(QRect(0, 50, 251, 31))
self.horizontalLayout_13 = QHBoxLayout(self.horizontalLayoutWidget_10)
self.horizontalLayout_13.setObjectName(u"horizontalLayout_13") self.horizontalLayout_13.setObjectName(u"horizontalLayout_13")
self.horizontalLayout_13.setContentsMargins(0, 0, 0, 0) self.label_24 = QLabel(self.verticalLayoutWidget_5)
self.label_24 = QLabel(self.horizontalLayoutWidget_10)
self.label_24.setObjectName(u"label_24") self.label_24.setObjectName(u"label_24")
self.horizontalLayout_13.addWidget(self.label_24) self.horizontalLayout_13.addWidget(self.label_24)
self.comboBox_3 = QComboBox(self.horizontalLayoutWidget_10) self.comboBox_3 = QComboBox(self.verticalLayoutWidget_5)
self.comboBox_3.setObjectName(u"comboBox_3") self.comboBox_3.setObjectName(u"comboBox_3")
self.horizontalLayout_13.addWidget(self.comboBox_3) self.horizontalLayout_13.addWidget(self.comboBox_3)
self.horizontalLayoutWidget_5 = QWidget(self.widget_3) self.horizontalLayout_6 = QHBoxLayout()
self.horizontalLayoutWidget_5.setObjectName(u"horizontalLayoutWidget_5") self.horizontalLayout_6.setObjectName(u"horizontalLayout_6")
self.horizontalLayoutWidget_5.setGeometry(QRect(0, 80, 241, 31)) self.label_18 = QLabel(self.verticalLayoutWidget_5)
self.horizontalLayout_7 = QHBoxLayout(self.horizontalLayoutWidget_5) self.label_18.setObjectName(u"label_18")
self.horizontalLayout_6.addWidget(self.label_18)
self.textEdit = QTextEdit(self.verticalLayoutWidget_5)
self.textEdit.setObjectName(u"textEdit")
self.textEdit.setMaximumSize(QSize(16777215, 22))
self.horizontalLayout_6.addWidget(self.textEdit)
self.horizontalLayout_8 = QHBoxLayout()
self.horizontalLayout_8.setObjectName(u"horizontalLayout_8")
self.label_20 = QLabel(self.verticalLayoutWidget_5)
self.label_20.setObjectName(u"label_20")
self.label_20.setMaximumSize(QSize(16777215, 22))
self.horizontalLayout_8.addWidget(self.label_20)
self.textEdit_2 = QTextEdit(self.verticalLayoutWidget_5)
self.textEdit_2.setObjectName(u"textEdit_2")
self.textEdit_2.setMaximumSize(QSize(16777215, 22))
self.horizontalLayout_8.addWidget(self.textEdit_2)
self.horizontalLayout_6.addLayout(self.horizontalLayout_8)
self.horizontalLayout_13.addLayout(self.horizontalLayout_6)
self.horizontalLayout_16.addLayout(self.horizontalLayout_13)
self.verticalLayout_5.addLayout(self.horizontalLayout_16)
self.horizontalLayout_7 = QHBoxLayout()
self.horizontalLayout_7.setObjectName(u"horizontalLayout_7") self.horizontalLayout_7.setObjectName(u"horizontalLayout_7")
self.horizontalLayout_7.setContentsMargins(0, 0, 0, 0) self.label_19 = QLabel(self.verticalLayoutWidget_5)
self.label_19 = QLabel(self.horizontalLayoutWidget_5)
self.label_19.setObjectName(u"label_19") self.label_19.setObjectName(u"label_19")
self.label_19.setMaximumSize(QSize(16777215, 22))
self.horizontalLayout_7.addWidget(self.label_19) self.horizontalLayout_7.addWidget(self.label_19)
self.textBrowser = QTextBrowser(self.horizontalLayoutWidget_5) self.textEdit1 = QTextEdit(self.verticalLayoutWidget_5)
self.textBrowser.setObjectName(u"textBrowser") self.textEdit1.setObjectName(u"textEdit1")
self.textEdit1.setMaximumSize(QSize(16777215, 22))
self.horizontalLayout_7.addWidget(self.textBrowser) self.horizontalLayout_7.addWidget(self.textEdit1)
self.horizontalLayoutWidget_9 = QWidget(self.widget_3) self.horizontalLayout_11 = QHBoxLayout()
self.horizontalLayoutWidget_9.setObjectName(u"horizontalLayoutWidget_9")
self.horizontalLayoutWidget_9.setGeometry(QRect(0, 110, 371, 31))
self.horizontalLayout_12 = QHBoxLayout(self.horizontalLayoutWidget_9)
self.horizontalLayout_12.setObjectName(u"horizontalLayout_12")
self.horizontalLayout_12.setContentsMargins(0, 0, 0, 0)
self.label_23 = QLabel(self.horizontalLayoutWidget_9)
self.label_23.setObjectName(u"label_23")
self.horizontalLayout_12.addWidget(self.label_23)
self.comboBox_2 = QComboBox(self.horizontalLayoutWidget_9)
self.comboBox_2.setObjectName(u"comboBox_2")
self.horizontalLayout_12.addWidget(self.comboBox_2)
self.horizontalLayoutWidget_8 = QWidget(self.widget_3)
self.horizontalLayoutWidget_8.setObjectName(u"horizontalLayoutWidget_8")
self.horizontalLayoutWidget_8.setGeometry(QRect(260, 80, 511, 31))
self.horizontalLayout_11 = QHBoxLayout(self.horizontalLayoutWidget_8)
self.horizontalLayout_11.setObjectName(u"horizontalLayout_11") self.horizontalLayout_11.setObjectName(u"horizontalLayout_11")
self.horizontalLayout_11.setContentsMargins(0, 0, 0, 0) self.checkBox_2 = QCheckBox(self.verticalLayoutWidget_5)
self.checkBox_2 = QCheckBox(self.horizontalLayoutWidget_8)
self.checkBox_2.setObjectName(u"checkBox_2") self.checkBox_2.setObjectName(u"checkBox_2")
self.horizontalLayout_11.addWidget(self.checkBox_2) self.horizontalLayout_11.addWidget(self.checkBox_2)
self.checkBox = QCheckBox(self.horizontalLayoutWidget_8) self.checkBox = QCheckBox(self.verticalLayoutWidget_5)
self.checkBox.setObjectName(u"checkBox") self.checkBox.setObjectName(u"checkBox")
self.horizontalLayout_11.addWidget(self.checkBox) self.horizontalLayout_11.addWidget(self.checkBox)
self.label_22 = QLabel(self.horizontalLayoutWidget_8) self.label_22 = QLabel(self.verticalLayoutWidget_5)
self.label_22.setObjectName(u"label_22") self.label_22.setObjectName(u"label_22")
self.horizontalLayout_11.addWidget(self.label_22) self.horizontalLayout_11.addWidget(self.label_22)
self.textBrowser_3 = QTextBrowser(self.horizontalLayoutWidget_8) self.textEdit_3 = QTextEdit(self.verticalLayoutWidget_5)
self.textBrowser_3.setObjectName(u"textBrowser_3") self.textEdit_3.setObjectName(u"textEdit_3")
self.textEdit_3.setMaximumSize(QSize(16777215, 22))
self.horizontalLayout_11.addWidget(self.textBrowser_3) self.horizontalLayout_11.addWidget(self.textEdit_3)
self.horizontalLayoutWidget_11 = QWidget(self.widget_3) self.horizontalLayout_7.addLayout(self.horizontalLayout_11)
self.horizontalLayoutWidget_11.setObjectName(u"horizontalLayoutWidget_11")
self.horizontalLayoutWidget_11.setGeometry(QRect(390, 110, 291, 31)) self.verticalLayout_5.addLayout(self.horizontalLayout_7)
self.horizontalLayout_14 = QHBoxLayout(self.horizontalLayoutWidget_11)
self.horizontalLayout_18 = QHBoxLayout()
self.horizontalLayout_18.setObjectName(u"horizontalLayout_18")
self.verticalLayout_5.addLayout(self.horizontalLayout_18)
self.horizontalLayout_12 = QHBoxLayout()
self.horizontalLayout_12.setObjectName(u"horizontalLayout_12")
self.label_23 = QLabel(self.verticalLayoutWidget_5)
self.label_23.setObjectName(u"label_23")
self.label_23.setMaximumSize(QSize(120, 16777215))
self.horizontalLayout_12.addWidget(self.label_23)
self.comboBox_2 = QComboBox(self.verticalLayoutWidget_5)
self.comboBox_2.setObjectName(u"comboBox_2")
self.comboBox_2.setMaximumSize(QSize(200, 16777215))
self.horizontalLayout_12.addWidget(self.comboBox_2)
self.horizontalLayout_14 = QHBoxLayout()
self.horizontalLayout_14.setObjectName(u"horizontalLayout_14") self.horizontalLayout_14.setObjectName(u"horizontalLayout_14")
self.horizontalLayout_14.setContentsMargins(0, 0, 0, 0) self.label_25 = QLabel(self.verticalLayoutWidget_5)
self.label_25 = QLabel(self.horizontalLayoutWidget_11)
self.label_25.setObjectName(u"label_25") self.label_25.setObjectName(u"label_25")
self.horizontalLayout_14.addWidget(self.label_25) self.horizontalLayout_14.addWidget(self.label_25)
self.comboBox_4 = QComboBox(self.horizontalLayoutWidget_11) self.comboBox_4 = QComboBox(self.verticalLayoutWidget_5)
self.comboBox_4.setObjectName(u"comboBox_4") self.comboBox_4.setObjectName(u"comboBox_4")
self.horizontalLayout_14.addWidget(self.comboBox_4) self.horizontalLayout_14.addWidget(self.comboBox_4)
self.horizontalLayoutWidget_12 = QWidget(self.widget_3) self.horizontalLayout_12.addLayout(self.horizontalLayout_14)
self.horizontalLayoutWidget_12.setObjectName(u"horizontalLayoutWidget_12")
self.horizontalLayoutWidget_12.setGeometry(QRect(0, 140, 301, 31)) self.verticalLayout_5.addLayout(self.horizontalLayout_12)
self.horizontalLayout_15 = QHBoxLayout(self.horizontalLayoutWidget_12)
self.horizontalLayout_15 = QHBoxLayout()
self.horizontalLayout_15.setObjectName(u"horizontalLayout_15") self.horizontalLayout_15.setObjectName(u"horizontalLayout_15")
self.horizontalLayout_15.setContentsMargins(0, 0, 0, 0) self.label_26 = QLabel(self.verticalLayoutWidget_5)
self.label_26 = QLabel(self.horizontalLayoutWidget_12)
self.label_26.setObjectName(u"label_26") self.label_26.setObjectName(u"label_26")
self.horizontalLayout_15.addWidget(self.label_26) self.horizontalLayout_15.addWidget(self.label_26)
self.comboBox_5 = QComboBox(self.horizontalLayoutWidget_12) self.comboBox_5 = QComboBox(self.verticalLayoutWidget_5)
self.comboBox_5.setObjectName(u"comboBox_5") self.comboBox_5.setObjectName(u"comboBox_5")
self.horizontalLayout_15.addWidget(self.comboBox_5) self.horizontalLayout_15.addWidget(self.comboBox_5)
self.verticalLayout_5.addLayout(self.horizontalLayout_15)
self.tabO.addTab(self.tab_2, "") self.tabO.addTab(self.tab_2, "")
self.tab_3 = QWidget() self.tab_3 = QWidget()
self.tab_3.setObjectName(u"tab_3") self.tab_3.setObjectName(u"tab_3")
@ -395,52 +412,161 @@ class Ui_MainWindow(object):
# setupUi # setupUi
def retranslateUi(self, MainWindow): def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"MainWindow", None)) MainWindow.setWindowTitle(
self.action.setText(QCoreApplication.translate("MainWindow", u"\u6253\u5f00 Open", None)) QCoreApplication.translate(
self.action_Input.setText(QCoreApplication.translate("MainWindow", u"\u5bfc\u5165 Input", None)) "MainWindow", u"MainWindow", None))
self.tabO.setTabText(self.tabO.indexOf(self.tab), QCoreApplication.translate("MainWindow", u"Tab 1", None)) self.action.setText(
self.label.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None)) QCoreApplication.translate(
self.label_2.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None)) "MainWindow",
self.label_4.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None)) u"\u6253\u5f00 Open",
self.label_5.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None)) None))
self.label_7.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None)) self.action_Input.setText(
self.label_6.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None)) QCoreApplication.translate(
self.label_3.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None)) "MainWindow",
self.label_9.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None)) u"\u5bfc\u5165 Input",
self.label_8.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None)) None))
self.label_10.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None)) self.tabO.setTabText(
self.label_12.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None)) self.tabO.indexOf(
self.label_13.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None)) self.tab), QCoreApplication.translate(
self.label_11.setText(QCoreApplication.translate("MainWindow", u"TextLabel", None)) "MainWindow", u"Tab 1", None))
self.label.setText(
QCoreApplication.translate(
"MainWindow", u"TextLabel", None))
self.label_2.setText(
QCoreApplication.translate(
"MainWindow", u"TextLabel", None))
self.label_4.setText(
QCoreApplication.translate(
"MainWindow", u"TextLabel", None))
self.label_5.setText(
QCoreApplication.translate(
"MainWindow", u"TextLabel", None))
self.label_7.setText(
QCoreApplication.translate(
"MainWindow", u"TextLabel", None))
self.label_6.setText(
QCoreApplication.translate(
"MainWindow", u"TextLabel", None))
self.label_3.setText(
QCoreApplication.translate(
"MainWindow", u"TextLabel", None))
self.label_9.setText(
QCoreApplication.translate(
"MainWindow", u"TextLabel", None))
self.label_8.setText(
QCoreApplication.translate(
"MainWindow", u"TextLabel", None))
self.label_10.setText(
QCoreApplication.translate(
"MainWindow", u"TextLabel", None))
self.label_12.setText(
QCoreApplication.translate(
"MainWindow", u"TextLabel", None))
self.label_13.setText(
QCoreApplication.translate(
"MainWindow", u"TextLabel", None))
self.label_11.setText(
QCoreApplication.translate(
"MainWindow", u"TextLabel", None))
self.label_14.setText( self.label_14.setText(
QCoreApplication.translate("MainWindow", u"\u9ed8\u8ba4\u4fdd\u5b58\u8def\u5f84\uff1a", None)) QCoreApplication.translate(
self.toolButton.setText(QCoreApplication.translate("MainWindow", u"...", None)) "MainWindow",
self.label_15.setText(QCoreApplication.translate("MainWindow", u"\u901f\u5ea6\u500d\u7387", None)) u"\u9ed8\u8ba4\u4fdd\u5b58\u8def\u5f84\uff1a",
self.label_17.setText(QCoreApplication.translate("MainWindow", u"\u97f3\u91cf\u500d\u7387", None)) None))
self.label_18.setText(QCoreApplication.translate("MainWindow", u"\u8ba1\u5206\u677f\u540d\u79f0", None)) self.toolButton.setText(
QCoreApplication.translate(
"MainWindow", u"...", None))
self.label_15.setText(
QCoreApplication.translate(
"MainWindow",
u"\u901f\u5ea6\u500d\u7387",
None))
self.label_17.setText(
QCoreApplication.translate(
"MainWindow",
u"\u97f3\u91cf\u500d\u7387",
None))
self.label_21.setText( self.label_21.setText(
QCoreApplication.translate("MainWindow", u"\u6700\u5927\u6307\u4ee4\u751f\u6210\u9ad8\u5ea6", None)) QCoreApplication.translate(
self.label_20.setText(QCoreApplication.translate("MainWindow", u"\u73a9\u5bb6\u9009\u62e9\u5668", None)) "MainWindow",
self.label_24.setText(QCoreApplication.translate("MainWindow", u"\u9009\u62e9\u5668\u6a21\u5f0f", None)) u"\u6700\u5927\u6307\u4ee4\u751f\u6210\u9ad8\u5ea6",
self.label_19.setText(QCoreApplication.translate("MainWindow", u"bdx\u4f5c\u8005\u540d\u79f0", None)) None))
self.label_23.setText( self.label_24.setText(
QCoreApplication.translate("MainWindow", u"\u9009\u62e9\u547d\u4ee4\u683c\u5f0f\u7248\u672c", None)) QCoreApplication.translate(
"MainWindow",
u"\u9009\u62e9\u5668\u6a21\u5f0f",
None))
self.label_18.setText(
QCoreApplication.translate(
"MainWindow",
u"\u8ba1\u5206\u677f\u540d\u79f0",
None))
self.label_20.setText(
QCoreApplication.translate(
"MainWindow",
u"\u73a9\u5bb6\u9009\u62e9\u5668",
None))
self.label_19.setText(
QCoreApplication.translate(
"MainWindow",
u"bdx\u4f5c\u8005\u540d\u79f0",
None))
self.checkBox_2.setText( self.checkBox_2.setText(
QCoreApplication.translate("MainWindow", u"\u662f\u5426\u542f\u7528\u8fdb\u5ea6\u6761", None)) QCoreApplication.translate(
"MainWindow",
u"\u662f\u5426\u542f\u7528\u8fdb\u5ea6\u6761",
None))
self.checkBox.setText( self.checkBox.setText(
QCoreApplication.translate("MainWindow", u"\u662f\u5426\u81ea\u5b9a\u4e49\u8fdb\u5ea6\u6761", None)) QCoreApplication.translate(
"MainWindow",
u"\u662f\u5426\u81ea\u5b9a\u4e49\u8fdb\u5ea6\u6761",
None))
self.label_22.setText( self.label_22.setText(
QCoreApplication.translate("MainWindow", u"\u81ea\u5b9a\u4e49\u8fdb\u5ea6\u6761\u5185\u5bb9\uff1a", None)) QCoreApplication.translate(
"MainWindow",
u"\u81ea\u5b9a\u4e49\u8fdb\u5ea6\u6761\u5185\u5bb9\uff1a",
None))
self.label_23.setText(
QCoreApplication.translate(
"MainWindow",
u"\u9009\u62e9\u547d\u4ee4\u683c\u5f0f\u7248\u672c",
None))
self.label_25.setText( self.label_25.setText(
QCoreApplication.translate("MainWindow", u"\u9009\u62e9\u8f6c\u6362\u7b97\u6cd5\u7248\u672c", None)) QCoreApplication.translate(
self.label_26.setText(QCoreApplication.translate("MainWindow", u"\u9009\u62e9\u5bfc\u51fa\u6a21\u5f0f", None)) "MainWindow",
self.tabO.setTabText(self.tabO.indexOf(self.tab_2), QCoreApplication.translate("MainWindow", u"Tab 2", None)) u"\u9009\u62e9\u8f6c\u6362\u7b97\u6cd5\u7248\u672c",
self.tabO.setTabText(self.tabO.indexOf(self.tab_3), QCoreApplication.translate("MainWindow", u"\u9875", None)) None))
self.tabO.setTabText(self.tabO.indexOf(self.tab_4), QCoreApplication.translate("MainWindow", u"\u9875", None)) self.label_26.setText(
self.menu.setTitle(QCoreApplication.translate("MainWindow", u"\u6587\u4ef6", None)) QCoreApplication.translate(
"MainWindow",
u"\u9009\u62e9\u5bfc\u51fa\u6a21\u5f0f",
None))
self.tabO.setTabText(
self.tabO.indexOf(
self.tab_2), QCoreApplication.translate(
"MainWindow", u"Tab 2", None))
self.tabO.setTabText(
self.tabO.indexOf(
self.tab_3), QCoreApplication.translate(
"MainWindow", u"\u9875", None))
self.tabO.setTabText(
self.tabO.indexOf(
self.tab_4), QCoreApplication.translate(
"MainWindow", u"\u9875", None))
self.menu.setTitle(
QCoreApplication.translate(
"MainWindow",
u"\u6587\u4ef6",
None))
# retranslateUi # retranslateUi
# Error: PySide6-Pkg.ui: Warning: The name 'textEdit' (QTextEdit) is already in use, defaulting to 'textEdit1'.
#
#
# while executing
# 'C:\Users\lc\AppData\Roaming\Python\Python39\site-packages\PySide6\uic
# -g python PySide6-Pkg.ui'
if __name__ == "__main__": if __name__ == "__main__":
import sys import sys
from PySide6 import QtWidgets from PySide6 import QtWidgets