![]() |
Miam-Player
0.8.0
A nice music player
|
The LogBrowser class shows logs on screen. More...
#include <logbrowser.h>
Public Slots | |
void | outputMessage (QtMsgType type, const QString &msg) |
void | show () |
Signals | |
void | sendMessage (QtMsgType type, const QString &msg) |
Public Member Functions | |
LogBrowser (QObject *parent=nullptr) | |
~LogBrowser () | |
The LogBrowser class shows logs on screen.
The wrapper is instantiated in the main function of an application and creates the browser window. It also acts as an intermediary and converts the const char * based messages from the debug system into QString based messages. With this trick the debug messages can be sent to the actual browser by the means of signal/slot connections. This adds basic thread support to the browser.
|
explicit |
LogBrowser::~LogBrowser | ( | ) |
|
slot |
|
signal |
|
slot |