logwidget.hpp
Go to the documentation of this file.
00001 
00008 #ifndef _LOG_WIDGET_H
00009 #define _LOG_WIDGET_H
00010 
00011 /*****************************************************************************
00012 ** Includes
00013 *****************************************************************************/
00014 
00015 #include <QWidget>
00016 #include <QValidator>
00017 #include "logs_table_model.hpp"
00018 #include "ui_logwidget.h"
00019 #include "modelfilter.hpp"
00020 
00021 /*****************************************************************************
00022 ** Namespace
00023 *****************************************************************************/
00024 
00025 namespace rqt_console_plus {
00026 
00027 
00028 class LogWidget : public QWidget
00029 {
00030   Q_OBJECT
00031 
00032 public:
00033   explicit LogWidget(LogsTableModel& tablemodel, QWidget *parent = 0);
00034   ~LogWidget();
00035 
00036 
00037 private slots:
00038   void on_lineEditMessageFilter_textEdited(const QString &filter);
00039 
00040   void on_checkBoxMessageFilter_toggled(bool checked);
00041 
00042   void on_checkBoxLoggerFilter_toggled(bool checked);
00043 
00044   void on_comboBoxMessageFilter_currentIndexChanged(int index);
00045 
00046   void on_buttonEnableDebug_toggled(bool checked);
00047 
00048   void on_rowsInserted(const QModelIndex & parent, int first_row, int last_row);
00049 
00050   void on_buttonEnableInfo_toggled(bool checked);
00051 
00052   void on_buttonEnableWarnings_toggled(bool checked);
00053 
00054   void on_buttonEnableError_toggled(bool checked);
00055 
00056   void on_lineEditLoggerFilter_textEdited(const QString &arg1);
00057 
00058   void on_comboBoxLoggerFilter_currentIndexChanged(int index);
00059 
00060 public slots:
00061 
00062   void on_timeRangeChanged(TimePoint time_min, TimePoint time_max);
00063 
00064 private:
00065 
00066   Ui::LogWidgetDesign ui;
00067   LogsTableModel& model;
00068 
00069   ModelFilter proxy_model;
00070 };
00071 
00072 }  // namespace rqt_console_plus
00073 
00074 #endif // rqt_console_plus_MAIN_WINDOW_H


plotjuggler
Author(s): Davide Faconti
autogenerated on Fri Sep 1 2017 02:41:56