按钮添加

This commit is contained in:
p57492168 2022-06-19 21:00:41 +08:00
parent 1e59ed6add
commit 8b167cce9b
2 changed files with 13 additions and 3 deletions

View File

@ -2,10 +2,9 @@
# Form implementation generated from reading ui file 'MainWindow_map.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
# Created by: PyQt5 UI code generator 5.12.3
#
# 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.
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
@ -110,6 +109,9 @@ class Ui_MainWindow(object):
self.pushButton_stop.setFont(font)
self.pushButton_stop.setObjectName("pushButton_stop")
self.verticalLayout_2.addWidget(self.pushButton_stop)
self.pushButton = QtWidgets.QPushButton(self.centralwidget)
self.pushButton.setObjectName("pushButton")
self.verticalLayout_2.addWidget(self.pushButton)
self.horizontalLayout.addLayout(self.verticalLayout_2)
self.horizontalLayout.setStretch(0, 1)
self.horizontalLayout.setStretch(1, 1)
@ -151,4 +153,5 @@ class Ui_MainWindow(object):
self.label_4.setText(_translate("MainWindow", "算法选择"))
self.pushButton_run.setText(_translate("MainWindow", "运行"))
self.pushButton_stop.setText(_translate("MainWindow", "停止"))
self.pushButton.setText(_translate("MainWindow", "退出程序"))
self.label_show.setText(_translate("MainWindow", "<html><head/><body><p><br/></p></body></html>"))

View File

@ -183,6 +183,13 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="text">
<string>退出程序</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>