summaryrefslogtreecommitdiffstats
path: root/common/console.h
blob: d504fb1c64d40ce0823f95fbfafa306a77fd9127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <QWidget>

class QTextBrowser;

class Console : public QWidget
{
    Q_OBJECT
public:
    static Console *main();
    Console(const QString &title);
    ~Console();

    void log(const QString &message);

private:
    QTextBrowser *m_textDisplay;
    static Console *s_output;
};