params_submenu.h
Go to the documentation of this file.
1 #ifndef PARAMS_SUBMENU_H
2 #define PARAMS_SUBMENU_H
3 
4 #include <QWidget>
5 
10 
11 namespace Ui
12 {
13 class ParamsSubmenu;
14 }
15 
16 namespace choreo_gui
17 {
18 
19 class ParamsSubmenu : public QWidget
20 {
21  Q_OBJECT
22 
23  public:
24  ParamsSubmenu(QWidget* parent = 0);
25 
26  void showOutputSaveDirInputConfigWidget(bool enable);
27 
28  // For every submenu / set of parameters, we have getters/setters
29  const choreo_msgs::ModelInputParameters& modelInputParams() const;
30  void setModelInputParams(const choreo_msgs::ModelInputParameters& params);
31 
32  const choreo_msgs::TaskSequenceInputParameters& taskSequenceInputParams() const;
33  void setTaskSequenceInputParams(const choreo_msgs::TaskSequenceInputParameters& params);
34 
35  const choreo_msgs::RobotInputParameters& robotInputParams() const;
36  void setRobotInputParams(const choreo_msgs::RobotInputParameters& params);
37 
38  const choreo_msgs::OutputSaveDirInputParameters& outputSaveDirInputParams() const;
39  void setOutputSaveDirInputParams(const choreo_msgs::OutputSaveDirInputParameters& params);
40 
41  Q_SIGNALS:
42  void saveRequested();
43  void acceptRequested();
44 
45  private:
46  // Display layout
47  Ui::ParamsSubmenu* ui_;
48 
49  // Configuration components
54 };
55 } // end namespace choreo_gui
56 
57 #endif // PARAMS_SUBMENU_H
OutputSaveDirInputConfigWidget * output_save_dir_input_widget_
TaskSequenceInputConfigWidget * task_sequence_input_widget_
RobotInputConfigWidget * robot_input_widget_
ModelInputConfigWidget * model_input_widget_
Ui::ParamsSubmenu * ui_


choreo_gui
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 03:58:56