Class to write in a log ListWidget. More...
#include <logger_gui.hpp>
Public Slots | |
void | writeLog (LoggerType type, QString message, QString location) |
Override function to write on the log ListWidget. | |
void | cleanLog () |
Override function to clean the log ListWidget. | |
Public Member Functions | |
LogListWidget (QListWidget *listWidget) | |
Constructor. | |
void | setTypeColor (LoggerType type, QColor color) |
Define log type color. | |
QColor | getTypeColor (LoggerType type) |
Get log type color for a given type. |
Class to write in a log ListWidget.
LogListWidget inherit from ILog
Definition at line 92 of file logger_gui.hpp.
QExtend::LogListWidget::LogListWidget | ( | QListWidget * | listWidget | ) |
Constructor.
listWidget | Pointer on QListWidget widget. |
void QExtend::LogListWidget::cleanLog | ( | ) | [virtual, slot] |
Override function to clean the log ListWidget.
Implements QExtend::ILog.
QColor QExtend::LogListWidget::getTypeColor | ( | LoggerType | type | ) |
Get log type color for a given type.
type | Type of the Log |
void QExtend::LogListWidget::setTypeColor | ( | LoggerType | type, | |
QColor | color | |||
) |
Define log type color.
type | Type of the Log | |
color | Color of the type |
void QExtend::LogListWidget::writeLog | ( | LoggerType | type, | |
QString | message, | |||
QString | location | |||
) | [virtual, slot] |
Override function to write on the log ListWidget.
Implements QExtend::ILog.
© 2000-2025 - www.developpez.com