add checkbox option to clear log (#2963)

This commit is contained in:
Zach H 2017-12-17 17:32:31 -05:00 committed by GitHub
parent 297f1f2555
commit 0eae4dbe54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 48 additions and 8 deletions

View file

@ -2,6 +2,7 @@
#define DLG_VIEWLOG_H
#include <QDialog>
#include <QCheckBox>
class QPlainTextEdit;
class QCloseEvent;
@ -13,11 +14,13 @@ public:
protected:
void closeEvent(QCloseEvent *event);
private:
QPlainTextEdit *logArea;
QPlainTextEdit *logArea;
QCheckBox *coClearLog;
void loadInitialLogBuffer();
void loadInitialLogBuffer();
void actCheckBoxChanged(bool abNewValue);
private slots:
void logEntryAdded(QString message);
void logEntryAdded(QString message);
};
#endif
#endif