forked from SeAIPalette/SeAIPalette
Compare commits
5 Commits
master
...
codechange
Author | SHA1 | Date |
---|---|---|
p57492168 | 65d0ef32a4 | |
p57492168 | 75bbd439e9 | |
p57492168 | 68f3fe56a1 | |
p57492168 | a48cd146f8 | |
p57492168 | 85a7e606aa |
|
@ -2,3 +2,4 @@
|
||||||
__pycache__
|
__pycache__
|
||||||
TODO.md
|
TODO.md
|
||||||
script.py
|
script.py
|
||||||
|
.idea
|
|
@ -2,10 +2,9 @@
|
||||||
|
|
||||||
# Form implementation generated from reading ui file 'MainWindow_map.ui'
|
# 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
|
# WARNING! All changes made in this file will be lost!
|
||||||
# run again. Do not edit this file unless you know what you are doing.
|
|
||||||
|
|
||||||
|
|
||||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||||
|
@ -110,6 +109,13 @@ class Ui_MainWindow(object):
|
||||||
self.pushButton_stop.setFont(font)
|
self.pushButton_stop.setFont(font)
|
||||||
self.pushButton_stop.setObjectName("pushButton_stop")
|
self.pushButton_stop.setObjectName("pushButton_stop")
|
||||||
self.verticalLayout_2.addWidget(self.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.addLayout(self.verticalLayout_2)
|
||||||
self.horizontalLayout.setStretch(0, 1)
|
self.horizontalLayout.setStretch(0, 1)
|
||||||
self.horizontalLayout.setStretch(1, 1)
|
self.horizontalLayout.setStretch(1, 1)
|
||||||
|
@ -151,4 +157,5 @@ class Ui_MainWindow(object):
|
||||||
self.label_4.setText(_translate("MainWindow", "算法选择"))
|
self.label_4.setText(_translate("MainWindow", "算法选择"))
|
||||||
self.pushButton_run.setText(_translate("MainWindow", "运行"))
|
self.pushButton_run.setText(_translate("MainWindow", "运行"))
|
||||||
self.pushButton_stop.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>"))
|
self.label_show.setText(_translate("MainWindow", "<html><head/><body><p><br/></p></body></html>"))
|
||||||
|
|
|
@ -183,6 +183,19 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</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>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 82e80a5b3b1884cacc479d9918a1ff2b0ca61faa
|
|
|
@ -9,3 +9,4 @@ dependencies:
|
||||||
- pyyaml==5.4.1
|
- pyyaml==5.4.1
|
||||||
- numpy==1.20.3
|
- numpy==1.20.3
|
||||||
- easydict==1.9
|
- easydict==1.9
|
||||||
|
- pyqt == 5.15.4
|
||||||
|
|
|
@ -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
|
|
|
@ -122,6 +122,5 @@ class mywindow(QtWidgets.QMainWindow, Ui_MainWindow):
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
window = mywindow()
|
window = mywindow()
|
||||||
# window.showMaximized()
|
|
||||||
window.show()
|
window.show()
|
||||||
sys.exit(app.exec_())
|
sys.exit(app.exec_())
|
||||||
|
|
Loading…
Reference in New Issue