Compare commits

..

11 Commits

Author SHA1 Message Date
p73692015 d32a163e98 Update README.md 2022-07-15 11:19:26 +08:00
p73692015 d76a53e8ef Update README.md 2022-07-15 11:09:56 +08:00
p73692015 8c5af7ccf1 Update README.md 2022-06-23 08:50:54 +08:00
p73692015 a697ec5e01 Update README.md 2022-06-23 08:49:42 +08:00
p73692015 695e594885 更新Readme 2022-06-17 16:56:47 +08:00
p02945817 faf45ffc48 Update README.md 2022-06-16 22:43:49 +08:00
p73692015 48e4cc3c77 Update README.md 2022-06-16 21:54:12 +08:00
p73692015 1bae88fee7 Update README.md 2022-06-12 15:49:33 +08:00
p73692015 9b56a02ed2 修正安装包问题 2022-06-07 10:10:45 +08:00
p73692015 0a1a0693fa 增加安装包 2022-06-06 21:14:51 +08:00
hpyu_qtxy b4952fda71 myfirstedition 2022-05-30 21:36:26 +08:00
7 changed files with 11 additions and 79 deletions

1
.gitignore vendored
View File

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

View File

@ -2,9 +2,10 @@
# Form implementation generated from reading ui file 'MainWindow_map.ui'
#
# Created by: PyQt5 UI code generator 5.12.3
# Created by: PyQt5 UI code generator 5.15.1
#
# WARNING! All changes made in this file will be lost!
# 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
@ -95,13 +96,6 @@ class Ui_MainWindow(object):
self.horizontalLayout.addLayout(self.formLayout_2)
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)
font = QtGui.QFont()
font.setFamily("宋体")
font.setPointSize(12)
self.pushButton_2.setFont(font)
self.pushButton_2.setObjectName("pushButton_2")
self.verticalLayout_2.addWidget(self.pushButton_2)
self.pushButton_run = QtWidgets.QPushButton(self.centralwidget)
font = QtGui.QFont()
font.setFamily("宋体")
@ -116,13 +110,6 @@ 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)
@ -144,7 +131,6 @@ class Ui_MainWindow(object):
self.pushButton_run.clicked.connect(MainWindow.run)
self.pushButton_stop.clicked.connect(MainWindow.stop)
self.comboBox_bettery.currentTextChanged['QString'].connect(MainWindow.slot_bettery)
self.pushButton.clicked.connect(MainWindow.quit)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
@ -163,8 +149,6 @@ class Ui_MainWindow(object):
self.label_9.setText(_translate("MainWindow", "移动节点电池容量"))
self.lineEdit_bettery.setText(_translate("MainWindow", "100"))
self.label_4.setText(_translate("MainWindow", "算法选择"))
self.pushButton_2.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

@ -157,19 +157,6 @@
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QPushButton" name="pushButton_2">
<property name="font">
<font>
<family>宋体</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>使用说明</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_run">
<property name="font">
@ -196,19 +183,6 @@
</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>
@ -256,8 +230,8 @@
<slot>stop()</slot>
<hints>
<hint type="sourcelabel">
<x>1284</x>
<y>85</y>
<x>1275</x>
<y>160</y>
</hint>
<hint type="destinationlabel">
<x>1273</x>
@ -272,8 +246,8 @@
<slot>slot_bettery()</slot>
<hints>
<hint type="sourcelabel">
<x>857</x>
<y>109</y>
<x>792</x>
<y>120</y>
</hint>
<hint type="destinationlabel">
<x>899</x>
@ -281,27 +255,10 @@
</hint>
</hints>
</connection>
<connection>
<sender>pushButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>quit()</slot>
<hints>
<hint type="sourcelabel">
<x>959</x>
<y>117</y>
</hint>
<hint type="destinationlabel">
<x>940</x>
<y>136</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>run()</slot>
<slot>stop()</slot>
<slot>slot_bettery()</slot>
<slot>quit()</slot>
</slots>
</ui>

View File

@ -6,8 +6,7 @@ SeAI Palette集智调色板是面向集群网络的多节点智能协同路径
软件界面简单,易学已用,包含参数的输入选择,程序的运行,算法结果的展示等,源代码公开,算法可修改。
开发人员H.P. Yu、K. Wang、J. Li、H.T. Li、Z.Q. Wang、Z.Y. Zhao、L.F. Zhang、G. Chen
开发人员H.P. Yu、K. Wang、J. Li、Z.Y. Zhao、L.F. Zhang、G. Chen、D.L.Liang、H.T. Li、Z.Q. Wan
## 1. 开发环境配置
运行以下命令:

View File

@ -1,5 +0,0 @@
pygame==2.0.1
pymunk==6.0.0
pyyaml==5.4.1
numpy==1.20.3
easydict==1.9

View File

@ -8,5 +8,4 @@ dependencies:
- pymunk==6.0.0
- pyyaml==5.4.1
- numpy==1.20.3
- easydict==1.9
- pyqt == 5.15.4
- easydict==1.9

View File

@ -3,6 +3,7 @@ from MainWindow_map import Ui_MainWindow
from PyQt5 import QtWidgets, QtCore, QtSql, QtGui
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *
from PyQt5.QtGui import QPixmap
import threading, time, subprocess
@ -116,13 +117,11 @@ class mywindow(QtWidgets.QMainWindow, Ui_MainWindow):
def stop(self):
print('2')
def quit(self):
app = QApplication.instance()
app.quit()
if __name__ == '__main__':
app = QApplication(sys.argv)
window = mywindow()
# window.showMaximized()
window.show()
sys.exit(app.exec_())