Compare commits

...

5 Commits

Author SHA1 Message Date
p57492168 65d0ef32a4 代码修改 2022-06-13 19:45:36 +08:00
p57492168 75bbd439e9 字体大小调整 2022-06-13 16:33:26 +08:00
p57492168 68f3fe56a1 按钮添加 2022-06-12 22:19:01 +08:00
p57492168 a48cd146f8 按钮添加 2022-06-12 22:16:53 +08:00
p57492168 85a7e606aa 增加安装包 2022-06-06 21:08:36 +08:00
7 changed files with 25 additions and 16 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
__pycache__
TODO.md
script.py
.idea

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,13 @@ 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)
font = QtGui.QFont()
font.setFamily("宋体")
font.setPointSize(12)
self.pushButton.setFont(font)
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 +157,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,19 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<property name="font">
<font>
<family>宋体</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>退出程序</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>

@ -1 +0,0 @@
Subproject commit 82e80a5b3b1884cacc479d9918a1ff2b0ca61faa

View File

@ -9,3 +9,4 @@ dependencies:
- pyyaml==5.4.1
- numpy==1.20.3
- easydict==1.9
- pyqt == 5.15.4

View File

@ -1,11 +0,0 @@
name: Palette
dependencies:
- python=3.7.6
- anaconda
- pip
- pip:
- pygame==2.0.1
- pymunk==6.0.0
- pyyaml==5.4.1
- numpy==1.20.3
- easydict==1.9

View File

@ -122,6 +122,5 @@ class mywindow(QtWidgets.QMainWindow, Ui_MainWindow):
if __name__ == '__main__':
app = QApplication(sys.argv)
window = mywindow()
# window.showMaximized()
window.show()
sys.exit(app.exec_())