Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
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
14
class
QPlainTextEdit;
15
class
QCheckBox;
16
class
QPushButton;
17
class
QWidget;
18
19
class
DlgViewLog
:
public
QDialog
20
{
21
Q_OBJECT
22
public
:
23
explicit
DlgViewLog
(QWidget *parent);
24
25
protected
:
26
void
closeEvent
(QCloseEvent *event)
override
;
27
28
private
:
29
QPlainTextEdit *
logArea
;
30
QCheckBox *
coClearLog
;
31
QPushButton *
copyToClipboardButton
;
32
33
void
loadInitialLogBuffer
();
34
private
slots:
35
void
appendLogEntry
(
const
QString &message);
36
void
actCheckBoxChanged
(
bool
abNewValue);
37
void
actCopyToClipboard
();
38
};
39
40
#endif
DlgViewLog::actCheckBoxChanged
void actCheckBoxChanged(bool abNewValue)
Definition
dlg_view_log.cpp:57
DlgViewLog::logArea
QPlainTextEdit * logArea
Definition
dlg_view_log.h:29
DlgViewLog::loadInitialLogBuffer
void loadInitialLogBuffer()
Definition
dlg_view_log.cpp:67
DlgViewLog::appendLogEntry
void appendLogEntry(const QString &message)
Definition
dlg_view_log.cpp:75
DlgViewLog::actCopyToClipboard
void actCopyToClipboard()
Definition
dlg_view_log.cpp:62
DlgViewLog::DlgViewLog
DlgViewLog(QWidget *parent)
Definition
dlg_view_log.cpp:19
DlgViewLog::closeEvent
void closeEvent(QCloseEvent *event) override
Definition
dlg_view_log.cpp:85
DlgViewLog::coClearLog
QCheckBox * coClearLog
Definition
dlg_view_log.h:30
DlgViewLog::copyToClipboardButton
QPushButton * copyToClipboardButton
Definition
dlg_view_log.h:31
cockatrice
src
interface
widgets
dialogs
dlg_view_log.h
Generated by
1.18.0