mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-29 18:13:55 -07:00
add checkbox option to clear log (#2963)
This commit is contained in:
parent
297f1f2555
commit
0eae4dbe54
5 changed files with 48 additions and 8 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue