Cockatrice 2026-10-19-Development-3.1.2-beta.2
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 <QDialog>
11#include <QString>
12#include <qtmetamacros.h>
13
14class QPlainTextEdit;
15class QCheckBox;
16class QPushButton;
17class QWidget;
18
19class DlgViewLog : public QDialog
20{
21 Q_OBJECT
22public:
23 explicit DlgViewLog(QWidget *parent);
24
25protected:
26 void closeEvent(QCloseEvent *event) override;
27
28private:
29 QPlainTextEdit *logArea;
30 QCheckBox *coClearLog;
32
34private slots:
35 void appendLogEntry(const QString &message);
36 void actCheckBoxChanged(bool abNewValue);
37 void actCopyToClipboard();
38};
39
40#endif
void actCheckBoxChanged(bool abNewValue)
Definition dlg_view_log.cpp:57
QPlainTextEdit * logArea
Definition dlg_view_log.h:29
void loadInitialLogBuffer()
Definition dlg_view_log.cpp:67
void appendLogEntry(const QString &message)
Definition dlg_view_log.cpp:75
void actCopyToClipboard()
Definition dlg_view_log.cpp:62
DlgViewLog(QWidget *parent)
Definition dlg_view_log.cpp:19
void closeEvent(QCloseEvent *event) override
Definition dlg_view_log.cpp:85
QCheckBox * coClearLog
Definition dlg_view_log.h:30
QPushButton * copyToClipboardButton
Definition dlg_view_log.h:31