mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 09:04:53 -07:00
26 lines
No EOL
477 B
C++
26 lines
No EOL
477 B
C++
#ifndef DLG_VIEWLOG_H
|
|
#define DLG_VIEWLOG_H
|
|
|
|
#include <QDialog>
|
|
#include <QCheckBox>
|
|
|
|
class QPlainTextEdit;
|
|
class QCloseEvent;
|
|
|
|
class DlgViewLog : public QDialog {
|
|
Q_OBJECT
|
|
public:
|
|
DlgViewLog(QWidget *parent);
|
|
protected:
|
|
void closeEvent(QCloseEvent *event);
|
|
private:
|
|
QPlainTextEdit *logArea;
|
|
QCheckBox *coClearLog;
|
|
|
|
void loadInitialLogBuffer();
|
|
void actCheckBoxChanged(bool abNewValue);
|
|
private slots:
|
|
void logEntryAdded(QString message);
|
|
};
|
|
|
|
#endif |