15#include <QtCore/qobject.h>
16#include <QtCore/qlist.h>
17#include <QtWidgets/qdialog.h>
34class QTableWidgetItem;
94 void iniTableItem(
int _row,
int _column, QTableWidgetItem* _itm);
95 void updateCountLabels(
void);
96 void connectToLogger(
bool _isAutoConnect);
97 bool disconnectFromLogger(
void);
104 std::list<ot::LogMessage> m_messages;
108 std::string m_loggerUrl;
110 QString m_columnWidthTmp;
114 QCheckBox* m_ignoreNewMessages;
115 QCheckBox* m_autoScrollToBottom;
116 QTableWidget* m_table;
119 QLabel* m_errorCountLabel;
120 QLabel* m_warningCountLabel;
121 QLabel* m_messageCountLabel;
124 QAction* m_connectButton;
125 QAction* m_autoConnect;
126 QAction* m_importButton;
127 QAction* m_exportButton;
Definition LogModeSetter.h:20
Definition LoggingFilterView.h:22
void appendLogMessages(const std::list< ot::LogMessage > &_messages)
Definition Logging.cpp:424
virtual void restoreToolSettings(QSettings &_settings) override
Definition Logging.cpp:191
virtual bool prepareToolShutdown(QSettings &_settings) override
Stop all the logic of this tool.
Definition Logging.cpp:207
void slotToggleAutoConnect(void)
Definition Logging.cpp:342
virtual QString getToolName(void) const override
Return the unique tool name The name will be used to create all required menu entries.
Definition Logging.cpp:81
void slotClear(void)
Definition Logging.cpp:293
virtual bool runTool(QMenu *_rootMenu, otoolkit::ToolWidgets &_content) override
Create the central widget that will be displayed to the user in the main tab view.
Definition Logging.cpp:85
void slotFilterChanged(void)
Definition Logging.cpp:307
void slotAutoScrollToBottomChanged(void)
Definition Logging.cpp:330
void appendLogMessage(const ot::LogMessage &_msg)
Definition Logging.cpp:370
void slotScrollToItem(int _row)
Definition Logging.cpp:360
void runQuickExport(void)
Definition Logging.cpp:444
void slotUpdateCheckboxColors(void)
Definition Logging.cpp:334
void slotClearAll(void)
Definition Logging.cpp:301
void slotAutoConnect(void)
Definition Logging.cpp:232
void slotExport(void)
Definition Logging.cpp:268
void slotImport(void)
Definition Logging.cpp:236
void slotUpdateColumnWidth(void)
Definition Logging.cpp:433
static QString logMessageTypeString(const ot::LogMessage &_msg)
Definition Logging.cpp:478
Logging()
Definition Logging.cpp:71
void slotConnect(void)
Definition Logging.cpp:228
virtual ~Logging()
Definition Logging.cpp:77
void slotViewCellContent(QTableWidgetItem *_itm)
Definition Logging.cpp:349
Contains information about the origin and the content of a log message.
Definition Logger.h:345