-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexport.py
87 lines (80 loc) · 4.26 KB
/
export.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'export.ui'
#
# Created by: PyQt5 UI code generator 5.15.10
#
# 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_ExportWindow(object):
def setupUi(self, ExportWindow):
ExportWindow.setObjectName("ExportWindow")
ExportWindow.resize(800, 200)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(10)
ExportWindow.setFont(font)
self.centralwidget = QtWidgets.QWidget(ExportWindow)
self.centralwidget.setObjectName("centralwidget")
self.layoutWidget = QtWidgets.QWidget(self.centralwidget)
self.layoutWidget.setGeometry(QtCore.QRect(580, 130, 195, 34))
self.layoutWidget.setObjectName("layoutWidget")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.layoutWidget)
self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.okExportButton = QtWidgets.QPushButton(self.layoutWidget)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(10)
self.okExportButton.setFont(font)
self.okExportButton.setObjectName("okExportButton")
self.horizontalLayout_3.addWidget(self.okExportButton)
self.cancelExportButton = QtWidgets.QPushButton(self.layoutWidget)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(10)
self.cancelExportButton.setFont(font)
self.cancelExportButton.setObjectName("cancelExportButton")
self.horizontalLayout_3.addWidget(self.cancelExportButton)
self.exportLabel = QtWidgets.QLabel(self.centralwidget)
self.exportLabel.setGeometry(QtCore.QRect(21, 13, 491, 21))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(10)
self.exportLabel.setFont(font)
self.exportLabel.setObjectName("exportLabel")
self.layoutWidget_3 = QtWidgets.QWidget(self.centralwidget)
self.layoutWidget_3.setGeometry(QtCore.QRect(20, 40, 751, 34))
self.layoutWidget_3.setObjectName("layoutWidget_3")
self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.layoutWidget_3)
self.horizontalLayout_7.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
self.exportTrainingSamplePath = QtWidgets.QLabel(self.layoutWidget_3)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(10)
self.exportTrainingSamplePath.setFont(font)
self.exportTrainingSamplePath.setText("")
self.exportTrainingSamplePath.setObjectName("exportTrainingSamplePath")
self.horizontalLayout_7.addWidget(self.exportTrainingSamplePath)
self.browseExportTrainingSampleFileButton = QtWidgets.QPushButton(self.layoutWidget_3)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(10)
self.browseExportTrainingSampleFileButton.setFont(font)
self.browseExportTrainingSampleFileButton.setObjectName("browseExportTrainingSampleFileButton")
self.horizontalLayout_7.addWidget(self.browseExportTrainingSampleFileButton)
self.horizontalLayout_7.setStretch(0, 1)
ExportWindow.setCentralWidget(self.centralwidget)
self.statusbar = QtWidgets.QStatusBar(ExportWindow)
self.statusbar.setObjectName("statusbar")
ExportWindow.setStatusBar(self.statusbar)
self.retranslateUi(ExportWindow)
QtCore.QMetaObject.connectSlotsByName(ExportWindow)
def retranslateUi(self, ExportWindow):
_translate = QtCore.QCoreApplication.translate
ExportWindow.setWindowTitle(_translate("ExportWindow", "MainWindow"))
self.okExportButton.setText(_translate("ExportWindow", "OK"))
self.cancelExportButton.setText(_translate("ExportWindow", "Cancel"))
self.exportLabel.setText(_translate("ExportWindow", "Please select the export path of the training sample:"))
self.browseExportTrainingSampleFileButton.setText(_translate("ExportWindow", "Browse"))