Initial Commit.

This commit is contained in:
Yorusora
2025-04-28 11:33:05 +08:00
parent f0eb8083b1
commit f928fa4d9c
28 changed files with 7126 additions and 0 deletions

View File

@ -0,0 +1,238 @@
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'MainWindow_preprocess.ui'
##
## Created by: Qt User Interface Compiler version 6.8.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
QMetaObject, QObject, QPoint, QRect,
QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QAction, QBrush, QColor, QConicalGradient,
QCursor, QFont, QFontDatabase, QGradient,
QIcon, QImage, QKeySequence, QLinearGradient,
QPainter, QPalette, QPixmap, QRadialGradient,
QTransform)
from PySide6.QtWidgets import (QApplication, QDoubleSpinBox, QGridLayout, QGroupBox,
QHBoxLayout, QLabel, QMainWindow, QPushButton,
QSizePolicy, QSpacerItem, QSpinBox, QStatusBar,
QTextBrowser, QVBoxLayout, QWidget)
class Ui_MainWindow_preprocess(object):
def setupUi(self, MainWindow_preprocess):
if not MainWindow_preprocess.objectName():
MainWindow_preprocess.setObjectName(u"MainWindow_preprocess")
MainWindow_preprocess.setEnabled(True)
MainWindow_preprocess.resize(1920, 1080)
sizePolicy = QSizePolicy(QSizePolicy.Policy.Ignored, QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(MainWindow_preprocess.sizePolicy().hasHeightForWidth())
MainWindow_preprocess.setSizePolicy(sizePolicy)
font = QFont()
font.setPointSize(12)
MainWindow_preprocess.setFont(font)
self.action_selectPath = QAction(MainWindow_preprocess)
self.action_selectPath.setObjectName(u"action_selectPath")
font1 = QFont()
font1.setFamilies([u"\u9ed1\u4f53"])
font1.setPointSize(14)
self.action_selectPath.setFont(font1)
self.action = QAction(MainWindow_preprocess)
self.action.setObjectName(u"action")
self.action.setFont(font1)
self.centralwidget = QWidget(MainWindow_preprocess)
self.centralwidget.setObjectName(u"centralwidget")
self.gridLayout = QGridLayout(self.centralwidget)
self.gridLayout.setObjectName(u"gridLayout")
self.groupBox_canvas = QGroupBox(self.centralwidget)
self.groupBox_canvas.setObjectName(u"groupBox_canvas")
self.verticalLayout_7 = QVBoxLayout(self.groupBox_canvas)
self.verticalLayout_7.setObjectName(u"verticalLayout_7")
self.verticalLayout_canvas = QVBoxLayout()
self.verticalLayout_canvas.setObjectName(u"verticalLayout_canvas")
self.verticalLayout_7.addLayout(self.verticalLayout_canvas)
self.gridLayout.addWidget(self.groupBox_canvas, 0, 1, 1, 1)
self.groupBox_left = QGroupBox(self.centralwidget)
self.groupBox_left.setObjectName(u"groupBox_left")
font2 = QFont()
font2.setPointSize(10)
self.groupBox_left.setFont(font2)
self.verticalLayout = QVBoxLayout(self.groupBox_left)
self.verticalLayout.setObjectName(u"verticalLayout")
self.horizontalLayout_4 = QHBoxLayout()
self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
self.pushButton_input_setting = QPushButton(self.groupBox_left)
self.pushButton_input_setting.setObjectName(u"pushButton_input_setting")
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Minimum)
sizePolicy1.setHorizontalStretch(0)
sizePolicy1.setVerticalStretch(0)
sizePolicy1.setHeightForWidth(self.pushButton_input_setting.sizePolicy().hasHeightForWidth())
self.pushButton_input_setting.setSizePolicy(sizePolicy1)
self.pushButton_input_setting.setFont(font)
self.horizontalLayout_4.addWidget(self.pushButton_input_setting)
self.pushButton_input = QPushButton(self.groupBox_left)
self.pushButton_input.setObjectName(u"pushButton_input")
sizePolicy1.setHeightForWidth(self.pushButton_input.sizePolicy().hasHeightForWidth())
self.pushButton_input.setSizePolicy(sizePolicy1)
self.pushButton_input.setFont(font)
self.horizontalLayout_4.addWidget(self.pushButton_input)
self.verticalLayout.addLayout(self.horizontalLayout_4)
self.groupBox_args = QGroupBox(self.groupBox_left)
self.groupBox_args.setObjectName(u"groupBox_args")
self.verticalLayout_5 = QVBoxLayout(self.groupBox_args)
self.verticalLayout_5.setObjectName(u"verticalLayout_5")
self.label_mode = QLabel(self.groupBox_args)
self.label_mode.setObjectName(u"label_mode")
font3 = QFont()
font3.setPointSize(14)
self.label_mode.setFont(font3)
self.label_mode.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.verticalLayout_5.addWidget(self.label_mode)
self.horizontalLayout = QHBoxLayout()
self.horizontalLayout.setObjectName(u"horizontalLayout")
self.label_2 = QLabel(self.groupBox_args)
self.label_2.setObjectName(u"label_2")
self.label_2.setFont(font)
self.label_2.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)
self.horizontalLayout.addWidget(self.label_2)
self.spinBox_bandPassOrder = QSpinBox(self.groupBox_args)
self.spinBox_bandPassOrder.setObjectName(u"spinBox_bandPassOrder")
self.spinBox_bandPassOrder.setFont(font)
self.spinBox_bandPassOrder.setMaximum(10)
self.horizontalLayout.addWidget(self.spinBox_bandPassOrder)
self.horizontalLayout.setStretch(0, 2)
self.horizontalLayout.setStretch(1, 8)
self.verticalLayout_5.addLayout(self.horizontalLayout)
self.horizontalLayout_2 = QHBoxLayout()
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
self.label_3 = QLabel(self.groupBox_args)
self.label_3.setObjectName(u"label_3")
self.label_3.setFont(font)
self.label_3.setAlignment(Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft|Qt.AlignmentFlag.AlignVCenter)
self.horizontalLayout_2.addWidget(self.label_3)
self.doubleSpinBox_bandPassLow = QDoubleSpinBox(self.groupBox_args)
self.doubleSpinBox_bandPassLow.setObjectName(u"doubleSpinBox_bandPassLow")
self.doubleSpinBox_bandPassLow.setFont(font)
self.doubleSpinBox_bandPassLow.setMaximum(100.000000000000000)
self.horizontalLayout_2.addWidget(self.doubleSpinBox_bandPassLow)
self.label_4 = QLabel(self.groupBox_args)
self.label_4.setObjectName(u"label_4")
self.label_4.setFont(font)
self.label_4.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.horizontalLayout_2.addWidget(self.label_4)
self.doubleSpinBox_bandPassHigh = QDoubleSpinBox(self.groupBox_args)
self.doubleSpinBox_bandPassHigh.setObjectName(u"doubleSpinBox_bandPassHigh")
self.doubleSpinBox_bandPassHigh.setFont(font)
self.doubleSpinBox_bandPassHigh.setMaximum(100.000000000000000)
self.horizontalLayout_2.addWidget(self.doubleSpinBox_bandPassHigh)
self.verticalLayout_5.addLayout(self.horizontalLayout_2)
self.verticalLayout.addWidget(self.groupBox_args)
self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
self.verticalLayout.addItem(self.verticalSpacer)
self.horizontalLayout_3 = QHBoxLayout()
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
self.pushButton_view = QPushButton(self.groupBox_left)
self.pushButton_view.setObjectName(u"pushButton_view")
sizePolicy1.setHeightForWidth(self.pushButton_view.sizePolicy().hasHeightForWidth())
self.pushButton_view.setSizePolicy(sizePolicy1)
self.pushButton_view.setFont(font)
self.horizontalLayout_3.addWidget(self.pushButton_view)
self.pushButton_save = QPushButton(self.groupBox_left)
self.pushButton_save.setObjectName(u"pushButton_save")
sizePolicy1.setHeightForWidth(self.pushButton_save.sizePolicy().hasHeightForWidth())
self.pushButton_save.setSizePolicy(sizePolicy1)
self.pushButton_save.setFont(font)
self.horizontalLayout_3.addWidget(self.pushButton_save)
self.verticalLayout.addLayout(self.horizontalLayout_3)
self.groupBox = QGroupBox(self.groupBox_left)
self.groupBox.setObjectName(u"groupBox")
self.verticalLayout_6 = QVBoxLayout(self.groupBox)
self.verticalLayout_6.setObjectName(u"verticalLayout_6")
self.textBrowser_info = QTextBrowser(self.groupBox)
self.textBrowser_info.setObjectName(u"textBrowser_info")
self.verticalLayout_6.addWidget(self.textBrowser_info)
self.verticalLayout.addWidget(self.groupBox)
self.verticalLayout.setStretch(0, 1)
self.verticalLayout.setStretch(1, 3)
self.verticalLayout.setStretch(2, 7)
self.verticalLayout.setStretch(3, 1)
self.verticalLayout.setStretch(4, 5)
self.gridLayout.addWidget(self.groupBox_left, 0, 0, 1, 1)
self.gridLayout.setColumnStretch(0, 2)
self.gridLayout.setColumnStretch(1, 8)
MainWindow_preprocess.setCentralWidget(self.centralwidget)
self.statusBar = QStatusBar(MainWindow_preprocess)
self.statusBar.setObjectName(u"statusBar")
MainWindow_preprocess.setStatusBar(self.statusBar)
self.retranslateUi(MainWindow_preprocess)
QMetaObject.connectSlotsByName(MainWindow_preprocess)
# setupUi
def retranslateUi(self, MainWindow_preprocess):
MainWindow_preprocess.setWindowTitle(QCoreApplication.translate("MainWindow_preprocess", u"\u9884\u5904\u7406", None))
self.action_selectPath.setText(QCoreApplication.translate("MainWindow_preprocess", u"\u6570\u636e\u8def\u5f84\u9009\u62e9", None))
self.action.setText(QCoreApplication.translate("MainWindow_preprocess", u"\u52a0\u8f7d\u5b58\u6863", None))
self.groupBox_canvas.setTitle(QCoreApplication.translate("MainWindow_preprocess", u"\u7ed8\u56fe\u533a", None))
self.groupBox_left.setTitle(QCoreApplication.translate("MainWindow_preprocess", u"\u9884\u5904\u7406", None))
self.pushButton_input_setting.setText(QCoreApplication.translate("MainWindow_preprocess", u"\u5bfc\u5165\u8bbe\u7f6e", None))
self.pushButton_input.setText(QCoreApplication.translate("MainWindow_preprocess", u"\u5f00\u59cb\u5bfc\u5165", None))
self.groupBox_args.setTitle(QCoreApplication.translate("MainWindow_preprocess", u"\u53c2\u6570\u8f93\u5165", None))
self.label_mode.setText(QCoreApplication.translate("MainWindow_preprocess", u"\u5904\u7406\u7684\u4fe1\u53f7\u7c7b\u578b", None))
self.label_2.setText(QCoreApplication.translate("MainWindow_preprocess", u"\u9636\u6570", None))
self.label_3.setText(QCoreApplication.translate("MainWindow_preprocess", u"\u622a\u6b62\u9891\u7387(Hz)\uff1a", None))
self.label_4.setText(QCoreApplication.translate("MainWindow_preprocess", u"~", None))
self.pushButton_view.setText(QCoreApplication.translate("MainWindow_preprocess", u"\u67e5\u770b\u7ed3\u679c", None))
self.pushButton_save.setText(QCoreApplication.translate("MainWindow_preprocess", u"\u4fdd\u5b58\u7ed3\u679c", None))
self.groupBox.setTitle(QCoreApplication.translate("MainWindow_preprocess", u"\u65e5\u5fd7", None))
# retranslateUi