Skip to content

Commit

Permalink
Server: Small update of user interface
Browse files Browse the repository at this point in the history
  • Loading branch information
goldarte committed Sep 12, 2019
1 parent 2bd654d commit fbadc64
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Server/server_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ def setupUi(self, MainWindow):
self.emergency_button = QtWidgets.QPushButton(self.centralwidget)
self.emergency_button.setObjectName("emergency_button")
self.formLayout_2.setWidget(6, QtWidgets.QFormLayout.SpanningRole, self.emergency_button)
self.disarm_all_button = QtWidgets.QPushButton(self.centralwidget)
self.disarm_all_button.setObjectName("disarm_all_button")
self.formLayout_2.setWidget(8, QtWidgets.QFormLayout.SpanningRole, self.disarm_all_button)
self.verticalLayout.addLayout(self.formLayout_2)
self.line_2 = QtWidgets.QFrame(self.centralwidget)
self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
Expand Down Expand Up @@ -163,8 +166,9 @@ def retranslateUi(self, MainWindow):
self.start_button.setText(_translate("MainWindow", "Start animation"))
self.pause_button.setText(_translate("MainWindow", "Pause"))
self.stop_button.setText(_translate("MainWindow", "Stop and land all"))
self.disarm_button.setText(_translate("MainWindow", "Disarm"))
self.disarm_button.setText(_translate("MainWindow", "Disarm selected"))
self.emergency_button.setText(_translate("MainWindow", "Emergency land"))
self.disarm_all_button.setText(_translate("MainWindow", "Disarm ALL"))
self.leds_button.setText(_translate("MainWindow", "Test leds"))
self.takeoff_button.setText(_translate("MainWindow", "Takeoff"))
self.flip_button.setText(_translate("MainWindow", "Flip"))
Expand Down
9 changes: 8 additions & 1 deletion Server/server_gui.ui
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
<item row="7" column="0" colspan="2">
<widget class="QPushButton" name="disarm_button">
<property name="text">
<string>Disarm</string>
<string>Disarm selected</string>
</property>
</widget>
</item>
Expand All @@ -155,6 +155,13 @@
</property>
</widget>
</item>
<item row="8" column="0" colspan="2">
<widget class="QPushButton" name="disarm_all_button">
<property name="text">
<string>Disarm ALL</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
Expand Down

0 comments on commit fbadc64

Please sign in to comment.