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.
74 lines
4.4 KiB
74 lines
4.4 KiB
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
class Ui_MainWindow(object):
|
|
def setupUi(self, MainWindow):
|
|
MainWindow.setObjectName("MainWindow")
|
|
MainWindow.resize(668, 587)
|
|
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
|
self.centralwidget.setObjectName("centralwidget")
|
|
self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
|
|
self.gridLayout.setObjectName("gridLayout")
|
|
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
self.gridLayout.addItem(spacerItem, 4, 5, 1, 1)
|
|
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
self.gridLayout.addItem(spacerItem1, 2, 3, 1, 1)
|
|
self.line = QtWidgets.QFrame(self.centralwidget)
|
|
self.line.setFrameShape(QtWidgets.QFrame.HLine)
|
|
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
|
|
self.line.setObjectName("line")
|
|
self.gridLayout.addWidget(self.line, 1, 4, 1, 1)
|
|
self.label = QtWidgets.QLabel(self.centralwidget)
|
|
self.label.setObjectName("label")
|
|
self.gridLayout.addWidget(self.label, 0, 4, 1, 1)
|
|
spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
self.gridLayout.addItem(spacerItem2, 9, 5, 1, 1)
|
|
spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
self.gridLayout.addItem(spacerItem3, 8, 5, 1, 1)
|
|
spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
self.gridLayout.addItem(spacerItem4, 5, 5, 1, 1)
|
|
self.gridLayout_2 = QtWidgets.QGridLayout()
|
|
self.gridLayout_2.setObjectName("gridLayout_2")
|
|
self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)
|
|
self.pushButton_2.setObjectName("pushButton_2")
|
|
self.gridLayout_2.addWidget(self.pushButton_2, 1, 0, 1, 1)
|
|
self.pushButton = QtWidgets.QPushButton(self.centralwidget)
|
|
self.pushButton.setObjectName("pushButton")
|
|
self.gridLayout_2.addWidget(self.pushButton, 0, 0, 1, 1)
|
|
self.pushButton_3 = QtWidgets.QPushButton(self.centralwidget)
|
|
self.pushButton_3.setObjectName("pushButton_3")
|
|
self.gridLayout_2.addWidget(self.pushButton_3, 2, 0, 1, 1)
|
|
self.gridLayout.addLayout(self.gridLayout_2, 4, 6, 2, 1)
|
|
spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
self.gridLayout.addItem(spacerItem5, 8, 6, 1, 1)
|
|
spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
self.gridLayout.addItem(spacerItem6, 2, 6, 1, 1)
|
|
spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
self.gridLayout.addItem(spacerItem7, 2, 4, 1, 1)
|
|
self.label_2 = QtWidgets.QLabel(self.centralwidget)
|
|
self.label_2.setObjectName("label_2")
|
|
self.gridLayout.addWidget(self.label_2, 3, 3, 1, 1)
|
|
self.textBrowser = QtWidgets.QTextBrowser(self.centralwidget)
|
|
self.textBrowser.setObjectName("textBrowser")
|
|
self.gridLayout.addWidget(self.textBrowser, 4, 0, 5, 5)
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
self.menubar = QtWidgets.QMenuBar(MainWindow)
|
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 668, 23))
|
|
self.menubar.setObjectName("menubar")
|
|
MainWindow.setMenuBar(self.menubar)
|
|
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.label.setText(_translate("MainWindow", " 泰坦尼克号存活率数据分析"))
|
|
self.pushButton_2.setText(_translate("MainWindow", "特征分析"))
|
|
self.pushButton.setText(_translate("MainWindow", "数据导入"))
|
|
self.pushButton_3.setText(_translate("MainWindow", "算法预测"))
|
|
self.label_2.setText(_translate("MainWindow", "日志记录"))
|