logwidget.hpp
Go to the documentation of this file.
1 
8 #ifndef _LOG_WIDGET_H
9 #define _LOG_WIDGET_H
10 
11 /*****************************************************************************
12 ** Includes
13 *****************************************************************************/
14 
15 #include <QWidget>
16 #include <QValidator>
17 #include "logs_table_model.hpp"
18 #include "ui_logwidget.h"
19 #include "modelfilter.hpp"
20 
21 /*****************************************************************************
22 ** Namespace
23 *****************************************************************************/
24 
25 namespace rqt_console_plus {
26 
27 
28 class LogWidget : public QWidget
29 {
30  Q_OBJECT
31 
32 public:
33  explicit LogWidget(LogsTableModel& tablemodel, QWidget *parent = 0);
34  ~LogWidget();
35 
36 
37 private slots:
38  void on_lineEditMessageFilter_textEdited(const QString &filter);
39 
40  void on_checkBoxMessageFilter_toggled(bool checked);
41 
42  void on_checkBoxLoggerFilter_toggled(bool checked);
43 
45 
46  void on_buttonEnableDebug_toggled(bool checked);
47 
48  void on_rowsInserted(const QModelIndex & parent, int first_row, int last_row);
49 
50  void on_buttonEnableInfo_toggled(bool checked);
51 
52  void on_buttonEnableWarnings_toggled(bool checked);
53 
54  void on_buttonEnableError_toggled(bool checked);
55 
56  void on_lineEditLoggerFilter_textEdited(const QString &arg1);
57 
59 
60 public slots:
61 
62  void on_timeRangeChanged(TimePoint time_min, TimePoint time_max);
63 
64 private:
65 
66  Ui::LogWidgetDesign ui;
68 
70 };
71 
72 } // namespace rqt_console_plus
73 
74 #endif // rqt_console_plus_MAIN_WINDOW_H
std::chrono::high_resolution_clock::time_point TimePoint
Ui::LogWidgetDesign ui
Definition: logwidget.hpp:66
void on_checkBoxMessageFilter_toggled(bool checked)
Definition: logwidget.cpp:79
void on_buttonEnableInfo_toggled(bool checked)
Definition: logwidget.cpp:126
void on_rowsInserted(const QModelIndex &parent, int first_row, int last_row)
Definition: logwidget.cpp:115
void on_comboBoxMessageFilter_currentIndexChanged(int index)
Definition: logwidget.cpp:71
void on_lineEditLoggerFilter_textEdited(const QString &arg1)
Definition: logwidget.cpp:89
void on_checkBoxLoggerFilter_toggled(bool checked)
Definition: logwidget.cpp:104
void on_buttonEnableDebug_toggled(bool checked)
Definition: logwidget.cpp:120
LogWidget(LogsTableModel &tablemodel, QWidget *parent=0)
Definition: logwidget.cpp:26
void on_comboBoxLoggerFilter_currentIndexChanged(int index)
Definition: logwidget.cpp:97
void on_buttonEnableWarnings_toggled(bool checked)
Definition: logwidget.cpp:132
void on_lineEditMessageFilter_textEdited(const QString &filter)
Definition: logwidget.cpp:63
void on_timeRangeChanged(TimePoint time_min, TimePoint time_max)
Definition: logwidget.cpp:144
void on_buttonEnableError_toggled(bool checked)
Definition: logwidget.cpp:138
LogsTableModel & model
Definition: logwidget.hpp:67


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