You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
110 lines
5.5 KiB
110 lines
5.5 KiB
1 month ago
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
# Form implementation generated from reading ui file 'langueageExport.ui'
|
||
|
#
|
||
|
# Created by: PyQt5 UI code generator 5.15.4
|
||
|
#
|
||
|
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||
|
# run again. Do not edit this file unless you know what you are doing.
|
||
|
|
||
|
|
||
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
||
|
|
||
|
|
||
|
class Ui_MainWindow(object):
|
||
|
def setupUi(self, MainWindow):
|
||
|
MainWindow.setObjectName("MainWindow")
|
||
|
MainWindow.resize(800, 600)
|
||
|
MainWindow.setAcceptDrops(True)
|
||
|
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
||
|
self.centralwidget.setEnabled(True)
|
||
|
self.centralwidget.setAcceptDrops(True)
|
||
|
self.centralwidget.setObjectName("centralwidget")
|
||
|
self.exportBtn = QtWidgets.QPushButton(self.centralwidget)
|
||
|
self.exportBtn.setGeometry(QtCore.QRect(330, 370, 81, 41))
|
||
|
self.exportBtn.setObjectName("exportBtn")
|
||
|
self.layoutWidget = QtWidgets.QWidget(self.centralwidget)
|
||
|
self.layoutWidget.setGeometry(QtCore.QRect(150, 30, 481, 221))
|
||
|
self.layoutWidget.setObjectName("layoutWidget")
|
||
|
self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget)
|
||
|
self.verticalLayout.setSizeConstraint(QtWidgets.QLayout.SetNoConstraint)
|
||
|
self.verticalLayout.setContentsMargins(10, 10, 10, 10)
|
||
|
self.verticalLayout.setObjectName("verticalLayout")
|
||
|
self.srcLayout = QtWidgets.QHBoxLayout()
|
||
|
self.srcLayout.setObjectName("srcLayout")
|
||
|
self.srcText = QtWidgets.QLabel(self.layoutWidget)
|
||
|
self.srcText.setObjectName("srcText")
|
||
|
self.srcLayout.addWidget(self.srcText)
|
||
|
self.srcLineEdit = MyQLine(self.layoutWidget)
|
||
|
self.srcLineEdit.setObjectName("srcLineEdit")
|
||
|
self.srcLayout.addWidget(self.srcLineEdit)
|
||
|
self.verticalLayout.addLayout(self.srcLayout)
|
||
|
self.dstLayout = QtWidgets.QHBoxLayout()
|
||
|
self.dstLayout.setObjectName("dstLayout")
|
||
|
self.dstTxt = QtWidgets.QLabel(self.layoutWidget)
|
||
|
self.dstTxt.setObjectName("dstTxt")
|
||
|
self.dstLayout.addWidget(self.dstTxt)
|
||
|
self.dstLineEdit = MyQLine(self.layoutWidget)
|
||
|
self.dstLineEdit.setObjectName("dstLineEdit")
|
||
|
self.dstLayout.addWidget(self.dstLineEdit)
|
||
|
self.verticalLayout.addLayout(self.dstLayout)
|
||
|
self.reslutLaout = QtWidgets.QHBoxLayout()
|
||
|
self.reslutLaout.setObjectName("reslutLaout")
|
||
|
self.reslutTxt = QtWidgets.QLabel(self.layoutWidget)
|
||
|
self.reslutTxt.setObjectName("reslutTxt")
|
||
|
self.reslutLaout.addWidget(self.reslutTxt)
|
||
|
self.reslutLineEdit = MyQLine(self.layoutWidget)
|
||
|
self.reslutLineEdit.setObjectName("reslutLineEdit")
|
||
|
self.reslutLaout.addWidget(self.reslutLineEdit)
|
||
|
self.verticalLayout.addLayout(self.reslutLaout)
|
||
|
self.LanBox = QtWidgets.QGroupBox(self.centralwidget)
|
||
|
self.LanBox.setGeometry(QtCore.QRect(150, 270, 481, 80))
|
||
|
self.LanBox.setObjectName("LanBox")
|
||
|
self.gridLayoutWidget = QtWidgets.QWidget(self.LanBox)
|
||
|
self.gridLayoutWidget.setGeometry(QtCore.QRect(0, 10, 471, 80))
|
||
|
self.gridLayoutWidget.setObjectName("gridLayoutWidget")
|
||
|
self.LanLayout = QtWidgets.QGridLayout(self.gridLayoutWidget)
|
||
|
self.LanLayout.setContentsMargins(0, 0, 0, 0)
|
||
|
self.LanLayout.setObjectName("LanLayout")
|
||
|
self.label = QtWidgets.QLabel(self.centralwidget)
|
||
|
self.label.setGeometry(QtCore.QRect(300, 430, 151, 91))
|
||
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Expanding)
|
||
|
sizePolicy.setHorizontalStretch(0)
|
||
|
sizePolicy.setVerticalStretch(0)
|
||
|
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
|
||
|
self.label.setSizePolicy(sizePolicy)
|
||
|
self.label.setObjectName("label")
|
||
|
self.fillModeCheckBox = QtWidgets.QCheckBox(self.centralwidget)
|
||
|
self.fillModeCheckBox.setGeometry(QtCore.QRect(150, 380, 101, 16))
|
||
|
self.fillModeCheckBox.setObjectName("fillModeCheckBox")
|
||
|
MainWindow.setCentralWidget(self.centralwidget)
|
||
|
self.menubar = QtWidgets.QMenuBar(MainWindow)
|
||
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 23))
|
||
|
self.menubar.setObjectName("menubar")
|
||
|
MainWindow.setMenuBar(self.menubar)
|
||
|
self.statusbar = QtWidgets.QStatusBar(MainWindow)
|
||
|
self.statusbar.setObjectName("statusbar")
|
||
|
MainWindow.setStatusBar(self.statusbar)
|
||
|
self.toolBar = QtWidgets.QToolBar(MainWindow)
|
||
|
self.toolBar.setAcceptDrops(True)
|
||
|
self.toolBar.setObjectName("toolBar")
|
||
|
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
|
||
|
|
||
|
self.retranslateUi(MainWindow)
|
||
|
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
||
|
|
||
|
def retranslateUi(self, MainWindow):
|
||
|
_translate = QtCore.QCoreApplication.translate
|
||
|
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
|
||
|
self.exportBtn.setText(_translate("MainWindow", "一键导入"))
|
||
|
self.srcText.setText(_translate("MainWindow", "导入文件"))
|
||
|
self.dstTxt.setText(_translate("MainWindow", "目标文件"))
|
||
|
self.reslutTxt.setText(_translate("MainWindow", "写入文件"))
|
||
|
self.LanBox.setTitle(_translate("MainWindow", "语言选择"))
|
||
|
self.label.setText(_translate("MainWindow", "机器合入难免出错\n"
|
||
|
"合入后请校对\n"
|
||
|
"如有问题,概不负责"))
|
||
|
self.fillModeCheckBox.setText(_translate("MainWindow", "是否覆盖填充"))
|
||
|
self.toolBar.setWindowTitle(_translate("MainWindow", "toolBar"))
|
||
|
from MyWidget import MyQLine
|