85 lines
4.4 KiB
Python
85 lines
4.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
################################################################################
|
|
## Form generated from reading UI file '文件或文本框提取答案.ui'
|
|
##
|
|
## Created by: Qt User Interface Compiler version 6.6.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 (QBrush, QColor, QConicalGradient, QCursor,
|
|
QFont, QFontDatabase, QGradient, QIcon,
|
|
QImage, QKeySequence, QLinearGradient, QPainter,
|
|
QPalette, QPixmap, QRadialGradient, QTransform)
|
|
from PySide6.QtWidgets import (QApplication, QLabel, QLineEdit, QPlainTextEdit,
|
|
QPushButton, QRadioButton, QSizePolicy, QWidget)
|
|
|
|
class Ui_Form(object):
|
|
def setupUi(self, Form):
|
|
if not Form.objectName():
|
|
Form.setObjectName(u"Form")
|
|
Form.resize(760, 490)
|
|
self.plainTextEdit_rawString = QPlainTextEdit(Form)
|
|
self.plainTextEdit_rawString.setObjectName(u"plainTextEdit_rawString")
|
|
self.plainTextEdit_rawString.setGeometry(QRect(40, 100, 311, 331))
|
|
self.lineEdit_filepath = QLineEdit(Form)
|
|
self.lineEdit_filepath.setObjectName(u"lineEdit_filepath")
|
|
self.lineEdit_filepath.setGeometry(QRect(40, 50, 331, 20))
|
|
self.lineEdit_filepath.setReadOnly(True)
|
|
self.label = QLabel(Form)
|
|
self.label.setObjectName(u"label")
|
|
self.label.setGeometry(QRect(40, 30, 54, 16))
|
|
self.label_2 = QLabel(Form)
|
|
self.label_2.setObjectName(u"label_2")
|
|
self.label_2.setGeometry(QRect(40, 80, 101, 16))
|
|
self.lineEdit_2 = QLineEdit(Form)
|
|
self.lineEdit_2.setObjectName(u"lineEdit_2")
|
|
self.lineEdit_2.setGeometry(QRect(492, 50, 211, 20))
|
|
self.label_3 = QLabel(Form)
|
|
self.label_3.setObjectName(u"label_3")
|
|
self.label_3.setGeometry(QRect(490, 30, 54, 16))
|
|
self.radioButton_text = QRadioButton(Form)
|
|
self.radioButton_text.setObjectName(u"radioButton_text")
|
|
self.radioButton_text.setGeometry(QRect(610, 90, 95, 20))
|
|
self.radioButton_file = QRadioButton(Form)
|
|
self.radioButton_file.setObjectName(u"radioButton_file")
|
|
self.radioButton_file.setGeometry(QRect(610, 120, 95, 20))
|
|
self.pushButton_selectfilepath = QPushButton(Form)
|
|
self.pushButton_selectfilepath.setObjectName(u"pushButton_selectfilepath")
|
|
self.pushButton_selectfilepath.setGeometry(QRect(380, 50, 101, 24))
|
|
self.label_4 = QLabel(Form)
|
|
self.label_4.setObjectName(u"label_4")
|
|
self.label_4.setGeometry(QRect(360, 80, 91, 16))
|
|
self.plainTextEdit_ans = QPlainTextEdit(Form)
|
|
self.plainTextEdit_ans.setObjectName(u"plainTextEdit_ans")
|
|
self.plainTextEdit_ans.setGeometry(QRect(360, 100, 241, 331))
|
|
self.pushButton_exec = QPushButton(Form)
|
|
self.pushButton_exec.setObjectName(u"pushButton_exec")
|
|
self.pushButton_exec.setGeometry(QRect(610, 150, 101, 281))
|
|
font = QFont()
|
|
font.setBold(True)
|
|
self.pushButton_exec.setFont(font)
|
|
|
|
self.retranslateUi(Form)
|
|
|
|
QMetaObject.connectSlotsByName(Form)
|
|
# setupUi
|
|
|
|
def retranslateUi(self, Form):
|
|
Form.setWindowTitle(QCoreApplication.translate("Form", u"\u6587\u4ef6\u6216\u6587\u672c\u6846\u63d0\u53d6\u7b54\u6848", None))
|
|
self.label.setText(QCoreApplication.translate("Form", u"\u6587\u4ef6\u8def\u5f84", None))
|
|
self.label_2.setText(QCoreApplication.translate("Form", u"\u542b\u7b54\u6848\u7684\u6e90\u4ee3\u7801", None))
|
|
self.lineEdit_2.setText(QCoreApplication.translate("Form", u"\u7b54\u6848: \\textcolor{blue}{", None))
|
|
self.label_3.setText(QCoreApplication.translate("Form", u"\u7b54\u6848\u524d\u7f00", None))
|
|
self.radioButton_text.setText(QCoreApplication.translate("Form", u"\u6587\u672c\u6846\u751f\u6210", None))
|
|
self.radioButton_file.setText(QCoreApplication.translate("Form", u"\u6587\u4ef6\u751f\u6210", None))
|
|
self.pushButton_selectfilepath.setText(QCoreApplication.translate("Form", u"\u9009\u62e9\u6587\u4ef6\u8def\u5f84", None))
|
|
self.label_4.setText(QCoreApplication.translate("Form", u"\u7b54\u6848metadata", None))
|
|
self.pushButton_exec.setText(QCoreApplication.translate("Form", u"\u63d0\u53d6\u7b54\u6848", None))
|
|
# retranslateUi
|
|
|