forked from SeAIPalette/SeAIPalette
界面修改
This commit is contained in:
parent
5068ae13ba
commit
32ee95ada0
|
@ -95,6 +95,9 @@ 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)
|
||||
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("宋体")
|
||||
|
@ -132,7 +135,7 @@ class Ui_MainWindow(object):
|
|||
self.verticalLayout.setStretch(1, 10)
|
||||
self.horizontalLayout_3.addLayout(self.verticalLayout)
|
||||
MainWindow.setCentralWidget(self.centralwidget)
|
||||
#信号与槽相关联
|
||||
|
||||
self.retranslateUi(MainWindow)
|
||||
self.pushButton_run.clicked.connect(MainWindow.run)
|
||||
self.pushButton_stop.clicked.connect(MainWindow.stop)
|
||||
|
@ -155,6 +158,7 @@ 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", "退出程序"))
|
||||
|
|
|
@ -157,6 +157,13 @@
|
|||
</item>
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_2">
|
||||
<property name="text">
|
||||
<string>关于我们</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="pushButton_run">
|
||||
<property name="font">
|
||||
|
|
Loading…
Reference in New Issue