Cockatrice/cockatrice/src/dlg_viewlog.h
2017-12-17 17:32:31 -05:00

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