Skip to content

Commit

Permalink
Server: Add Send FCU parametes item to menu
Browse files Browse the repository at this point in the history
  • Loading branch information
goldarte committed Nov 13, 2019
1 parent 9e95e93 commit 77721ee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Server/server_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,13 +250,16 @@ def setupUi(self, MainWindow):
self.action_reboot_all.setObjectName("action_reboot_all")
self.action_restart_chrony = QtWidgets.QAction(MainWindow)
self.action_restart_chrony.setObjectName("action_restart_chrony")
self.action_send_fcu_parameters = QtWidgets.QAction(MainWindow)
self.action_send_fcu_parameters.setObjectName("action_send_fcu_parameters")
self.menuDeveloper_mode.addAction(self.action_send_any_file)
self.menuDeveloper_mode.addAction(self.actionSend_any_command)
self.menuOptions.addAction(self.action_send_animations)
self.menuOptions.addAction(self.action_send_configurations)
self.menuOptions.addAction(self.action_send_launch_file)
self.menuOptions.addAction(self.action_send_Aruco_map)
self.menuOptions.addAction(self.action_send_calibrations)
self.menuOptions.addAction(self.action_send_fcu_parameters)
self.menuOptions.addSeparator()
self.menuOptions.addAction(self.menuDeveloper_mode.menuAction())
self.menuOptions.addSeparator()
Expand Down Expand Up @@ -341,3 +344,4 @@ def retranslateUi(self, MainWindow):
self.action_send_calibrations.setText(_translate("MainWindow", "Send camera calibrations"))
self.action_reboot_all.setText(_translate("MainWindow", "Reboot all"))
self.action_restart_chrony.setText(_translate("MainWindow", "Restart chrony"))
self.action_send_fcu_parameters.setText(_translate("MainWindow", "Send FCU parameters"))
6 changes: 6 additions & 0 deletions Server/server_gui.ui
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@
<addaction name="action_send_launch_file"/>
<addaction name="action_send_Aruco_map"/>
<addaction name="action_send_calibrations"/>
<addaction name="action_send_fcu_parameters"/>
<addaction name="separator"/>
<addaction name="menuDeveloper_mode"/>
<addaction name="separator"/>
Expand Down Expand Up @@ -567,6 +568,11 @@
<string>Restart chrony</string>
</property>
</action>
<action name="action_send_fcu_parameters">
<property name="text">
<string>Send FCU parameters</string>
</property>
</action>
</widget>
<tabstops>
<tabstop>start_delay_spin</tabstop>
Expand Down

0 comments on commit 77721ee

Please sign in to comment.