diff --git a/pps_ws/src/d_fall_pps/GUI_Qt/flyingAgentGUI/forms/mainwindow.ui b/pps_ws/src/d_fall_pps/GUI_Qt/flyingAgentGUI/forms/mainwindow.ui index 9c03449ca36a55f53b5c0c72da94c6356d85eb0c..e35441f92db33a3865d14725acfbb30bccff8c8d 100644 --- a/pps_ws/src/d_fall_pps/GUI_Qt/flyingAgentGUI/forms/mainwindow.ui +++ b/pps_ws/src/d_fall_pps/GUI_Qt/flyingAgentGUI/forms/mainwindow.ui @@ -151,7 +151,7 @@ <x>0</x> <y>0</y> <width>1862</width> - <height>25</height> + <height>40</height> </rect> </property> <widget class="QMenu" name="menuFile"> @@ -160,7 +160,15 @@ </property> <addaction name="actionShowHide_Coordinator"/> </widget> + <widget class="QMenu" name="menuLoad_YAML"> + <property name="title"> + <string>LoadYAML</string> + </property> + <addaction name="action_LoadYAML_BatteryMonitor"/> + <addaction name="action_LoadYAML_ClientConfig"/> + </widget> <addaction name="menuFile"/> + <addaction name="menuLoad_YAML"/> </widget> <widget class="QToolBar" name="mainToolBar"> <attribute name="toolBarArea"> @@ -176,6 +184,16 @@ <string>Hide Coordinator</string> </property> </action> + <action name="action_LoadYAML_BatteryMonitor"> + <property name="text"> + <string>BatteryMonitor</string> + </property> + </action> + <action name="action_LoadYAML_ClientConfig"> + <property name="text"> + <string>ClientConfig</string> + </property> + </action> </widget> <layoutdefault spacing="6" margin="11"/> <customwidgets> diff --git a/pps_ws/src/d_fall_pps/GUI_Qt/flyingAgentGUI/include/mainwindow.h b/pps_ws/src/d_fall_pps/GUI_Qt/flyingAgentGUI/include/mainwindow.h index 124eda803cbf57011e73e6b2c4308fa854b2414f..f61703c4f3562b8cb3fef7f933c4a8d619531654 100644 --- a/pps_ws/src/d_fall_pps/GUI_Qt/flyingAgentGUI/include/mainwindow.h +++ b/pps_ws/src/d_fall_pps/GUI_Qt/flyingAgentGUI/include/mainwindow.h @@ -58,6 +58,8 @@ public: private slots: void on_actionShowHide_Coordinator_triggered(); + void on_action_LoadYAML_BatteryMonitor_triggered(); + void on_action_LoadYAML_ClientConfig_triggered(); private: Ui::MainWindow *ui; diff --git a/pps_ws/src/d_fall_pps/GUI_Qt/flyingAgentGUI/src/mainwindow.cpp b/pps_ws/src/d_fall_pps/GUI_Qt/flyingAgentGUI/src/mainwindow.cpp index 13382717afcd986dd53802e851654e8964486949..544d3ab371db351c9e55ae7b97ab95168e64475e 100644 --- a/pps_ws/src/d_fall_pps/GUI_Qt/flyingAgentGUI/src/mainwindow.cpp +++ b/pps_ws/src/d_fall_pps/GUI_Qt/flyingAgentGUI/src/mainwindow.cpp @@ -76,3 +76,21 @@ void MainWindow::on_actionShowHide_Coordinator_triggered() ui->actionShowHide_Coordinator->setText(qstr); } } + + +void MainWindow::on_action_LoadYAML_BatteryMonitor_triggered() +{ +#ifdef CATKIN_MAKE + // Send a message that the "BatteryMonitor" Yaml should be loaded + // by the appropriate Parameter Service +#endif +} + + +void MainWindow::on_action_LoadYAML_ClientConfig_triggered() +{ +#ifdef CATKIN_MAKE + // Send a message that the "ClientConfig" Yaml should be loaded + // by the appropriate Parameter Service +#endif +}