settings.hpp
Go to the documentation of this file.
1 #ifndef GRAPH_RVIZ_PLUGIN_SETTINGS_HPP
2 #define GRAPH_RVIZ_PLUGIN_SETTINGS_HPP
3 
4 #include <QCheckBox>
5 #include <QComboBox>
6 #include <QDialog>
7 #include <QDialogButtonBox>
8 #include <QDoubleSpinBox>
9 #include <QFormLayout>
10 #include <QGroupBox>
11 #include <QLabel>
12 #include <QVBoxLayout>
13 
14 namespace graph_rviz_plugin
15 {
16 
17 class Settings : public QDialog
18 {
19 Q_OBJECT
20 
21 public:
22  Settings(bool scale_auto, bool window_time_enable, bool legend_enable, double y_min, double y_max, double w_time,
23  double refresh_freq, QDialog *parent = 0);
24  ~Settings();
25  double y_min_;
26  double y_max_;
27  double w_time_;
28  double refresh_freq_; // in Hz
32 
33 protected Q_SLOTS:
34  void yAxisAutoscale(bool checked);
35  void xAxisWindowTime(bool checked);
36  void yMinChanged(double y_min);
37  void yMaxChanged(double y_max);
38  void okClicked();
39 
40 private:
41  QDoubleSpinBox *y_min_double_spin_box_;
42  QDoubleSpinBox *y_max_double_spin_box_;
43  QDoubleSpinBox *w_time_double_spin_box_;
46 };
47 
48 }
49 
50 #endif
void yAxisAutoscale(bool checked)
Definition: settings.cpp:128
QDoubleSpinBox * w_time_double_spin_box_
Definition: settings.hpp:43
Settings(bool scale_auto, bool window_time_enable, bool legend_enable, double y_min, double y_max, double w_time, double refresh_freq, QDialog *parent=0)
Definition: settings.cpp:6
QComboBox * refresh_frequency_spin_box_
Definition: settings.hpp:44
void xAxisWindowTime(bool checked)
Definition: settings.cpp:144
QCheckBox * legend_enable_button_
Definition: settings.hpp:45
void yMaxChanged(double y_max)
Definition: settings.cpp:169
void yMinChanged(double y_min)
Definition: settings.cpp:158
QDoubleSpinBox * y_min_double_spin_box_
Definition: settings.hpp:41
QDoubleSpinBox * y_max_double_spin_box_
Definition: settings.hpp:42


graph_rviz_plugin
Author(s): Édouard Pronier, Victor Lamoine - Institut Maupertuis
autogenerated on Mon Feb 28 2022 22:27:30