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
modelfilter.hpp
rqt_console_plus::LogWidget::on_lineEditLoggerFilter_textEdited
void on_lineEditLoggerFilter_textEdited(const QString &arg1)
Definition: logwidget.cpp:84
rqt_console_plus::LogWidget::ui
Ui::LogWidgetDesign ui
Definition: logwidget.hpp:74
TimePoint
std::chrono::high_resolution_clock::time_point TimePoint
Definition: logs_table_model.hpp:17
rqt_console_plus::LogWidget::proxy_model
ModelFilter proxy_model
Definition: logwidget.hpp:77
rqt_console_plus::LogWidget::on_timeRangeChanged
void on_timeRangeChanged(TimePoint time_min, TimePoint time_max)
Definition: logwidget.cpp:135
rqt_console_plus::LogWidget::on_checkBoxMessageFilter_toggled
void on_checkBoxMessageFilter_toggled(bool checked)
Definition: logwidget.cpp:74
rqt_console_plus::LogWidget::on_checkBoxLoggerFilter_toggled
void on_checkBoxLoggerFilter_toggled(bool checked)
Definition: logwidget.cpp:95
ModelFilter
Definition: modelfilter.hpp:12
rqt_console_plus::LogWidget::on_comboBoxMessageFilter_currentIndexChanged
void on_comboBoxMessageFilter_currentIndexChanged(int index)
Definition: logwidget.cpp:68
rqt_console_plus
Definition: logwidget.cpp:21
rqt_console_plus::LogWidget::on_buttonEnableWarnings_toggled
void on_buttonEnableWarnings_toggled(bool checked)
Definition: logwidget.cpp:123
rqt_console_plus::LogWidget::on_buttonEnableInfo_toggled
void on_buttonEnableInfo_toggled(bool checked)
Definition: logwidget.cpp:117
rqt_console_plus::LogWidget::on_comboBoxLoggerFilter_currentIndexChanged
void on_comboBoxLoggerFilter_currentIndexChanged(int index)
Definition: logwidget.cpp:90
rqt_console_plus::LogWidget::on_buttonEnableDebug_toggled
void on_buttonEnableDebug_toggled(bool checked)
Definition: logwidget.cpp:111
logs_table_model.hpp
LogsTableModel
Definition: logs_table_model.hpp:20
rqt_console_plus::LogWidget::on_lineEditMessageFilter_textEdited
void on_lineEditMessageFilter_textEdited(const QString &filter)
Definition: logwidget.cpp:61
rqt_console_plus::LogWidget::~LogWidget
~LogWidget()
Definition: logwidget.cpp:57
rqt_console_plus::LogWidget::model
LogsTableModel & model
Definition: logwidget.hpp:75
rqt_console_plus::LogWidget::on_buttonEnableError_toggled
void on_buttonEnableError_toggled(bool checked)
Definition: logwidget.cpp:129
rqt_console_plus::LogWidget::on_rowsInserted
void on_rowsInserted(const QModelIndex &parent, int first_row, int last_row)
Definition: logwidget.cpp:106
rqt_console_plus::LogWidget::LogWidget
LogWidget(LogsTableModel &tablemodel, QWidget *parent=0)
Definition: logwidget.cpp:27


plotjuggler_ros
Author(s): Davide Faconti
autogenerated on Wed Feb 21 2024 03:22:55