mirror of
https://github.com/simple64/simple64.git
synced 2026-07-11 01:24:00 +02:00
21 lines
352 B
C++
21 lines
352 B
C++
#ifndef LOGVIEWER_H
|
|
#define LOGVIEWER_H
|
|
|
|
#include <QDialog>
|
|
#include <QPlainTextEdit>
|
|
#include <QVBoxLayout>
|
|
|
|
class LogViewer : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit LogViewer(QWidget *parent = 0);
|
|
void clearLog();
|
|
public slots:
|
|
void addLog(QString text);
|
|
private:
|
|
QPlainTextEdit *textArea = nullptr;
|
|
};
|
|
|
|
#endif // LOGVIEWER_H
|