-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgen_ui.py
55 lines (48 loc) · 2.43 KB
/
gen_ui.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'cm.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# 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(471, 203)
self.centralwidget = QtWidgets.QWidget(mainWindow)
self.centralwidget.setObjectName("centralwidget")
self.verticalLayoutWidget = QtWidgets.QWidget(self.centralwidget)
self.verticalLayoutWidget.setGeometry(QtCore.QRect(0, 0, 471, 181))
self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setObjectName("verticalLayout")
self.path_select_btn = QtWidgets.QPushButton(self.verticalLayoutWidget)
font = QtGui.QFont()
font.setFamily("微软雅黑 Light")
font.setPointSize(10)
self.path_select_btn.setFont(font)
self.path_select_btn.setObjectName("path_select_btn")
self.verticalLayout.addWidget(self.path_select_btn)
self.text_view = QtWidgets.QTextEdit(self.verticalLayoutWidget)
self.text_view.setObjectName("text_view")
self.verticalLayout.addWidget(self.text_view)
self.start_btn = QtWidgets.QPushButton(self.verticalLayoutWidget)
font = QtGui.QFont()
font.setFamily("微软雅黑 Light")
font.setPointSize(10)
self.start_btn.setFont(font)
self.start_btn.setObjectName("start_btn")
self.verticalLayout.addWidget(self.start_btn)
mainWindow.setCentralWidget(self.centralwidget)
self.statusbar = QtWidgets.QStatusBar(mainWindow)
self.statusbar.setObjectName("statusbar")
mainWindow.setStatusBar(self.statusbar)
self.retranslateUi(mainWindow)
QtCore.QMetaObject.connectSlotsByName(mainWindow)
def retranslateUi(self, mainWindow):
_translate = QtCore.QCoreApplication.translate
mainWindow.setWindowTitle(_translate("mainWindow", "MainWindow"))
self.path_select_btn.setText(_translate("mainWindow", "选择路径"))
self.start_btn.setText(_translate("mainWindow", "开始"))