Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
dlg_view_log.h
Go to the documentation of this file.
1
6
7#ifndef DLG_VIEWLOG_H
8#define DLG_VIEWLOG_H
9
10#include <QCheckBox>
11#include <QDialog>
12
13class QPlainTextEdit;
14class QCloseEvent;
15
16class DlgViewLog : public QDialog
17{
18 Q_OBJECT
19public:
20 explicit DlgViewLog(QWidget *parent);
21
22protected:
23 void closeEvent(QCloseEvent *event) override;
24
25private:
26 QPlainTextEdit *logArea;
27 QCheckBox *coClearLog;
29
31private slots:
32 void appendLogEntry(const QString &message);
33 void actCheckBoxChanged(bool abNewValue);
34 void actCopyToClipboard();
35};
36
37#endif
void actCheckBoxChanged(bool abNewValue)
Definition dlg_view_log.cpp:52
QPlainTextEdit * logArea
Definition dlg_view_log.h:26
void loadInitialLogBuffer()
Definition dlg_view_log.cpp:62
void appendLogEntry(const QString &message)
Definition dlg_view_log.cpp:70
void actCopyToClipboard()
Definition dlg_view_log.cpp:57
DlgViewLog(QWidget *parent)
Definition dlg_view_log.cpp:14
void closeEvent(QCloseEvent *event) override
Definition dlg_view_log.cpp:80
QCheckBox * coClearLog
Definition dlg_view_log.h:27
QPushButton * copyToClipboardButton
Definition dlg_view_log.h:28