dialog_select_ros_topics.h
Go to the documentation of this file.
1 #ifndef DIALOG_SELECT_ROS_TOPICS_H
2 #define DIALOG_SELECT_ROS_TOPICS_H
3 
4 #include <QDialog>
5 #include <QString>
6 #include <QFile>
7 #include <QStringList>
8 #include <QCheckBox>
9 #include <QShortcut>
10 #include "PlotJuggler/optional.hpp"
12 
13 namespace Ui {
14 class dialogSelectRosTopics;
15 }
16 
17 class DialogSelectRosTopics : public QDialog
18 {
19  Q_OBJECT
20 
21 public:
22 
24  {
25  QStringList selected_topics;
30  };
31 
32  explicit DialogSelectRosTopics(const std::vector<std::pair<QString,QString>>& topic_list,
33  const Configuration& default_info,
34  QWidget *parent = nullptr);
35 
36  ~DialogSelectRosTopics() override;
37 
38  Configuration getResult() const;
39 
40 public slots:
41 
42  void updateTopicList(std::vector<std::pair<QString,QString>> topic_list);
43 
44 private slots:
45 
46  void on_buttonBox_accepted();
47 
48  void on_listRosTopics_itemSelectionChanged();
49 
50  void on_checkBoxEnableRules_toggled(bool checked);
51 
52  void on_pushButtonEditRules_pressed();
53 
54  void on_maximumSizeHelp_pressed();
55 
56  void on_lineEditFilter_textChanged(const QString &search_string);
57 
58  void on_spinBoxArraySize_valueChanged(int value);
59 
60 private:
61 
62  void closeEvent(QCloseEvent *event) override;
63 
64  QStringList _topic_list;
66 
67  QShortcut _select_all;
68  QShortcut _deselect_all;
69 
70  Ui::dialogSelectRosTopics *ui;
71 
72 };
73 
75 
76 
77 
78 #endif // DIALOG_SELECT_ROS_TOPICS_H
nonstd::optional< double > FlatContainerContainHeaderStamp(const RosIntrospection::FlatMessage &flat_msg)
Ui::dialogSelectRosTopics * ui


plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:17