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_convert_deck_to_cod_format.h
Go to the documentation of this file.
1
7
8
#ifndef DIALOG_CONVERT_DECK_TO_COD_FORMAT_H
9
#define DIALOG_CONVERT_DECK_TO_COD_FORMAT_H
10
11
#include <QDialog>
12
#include <QString>
13
#include <QtGlobal>
14
#include <functional>
15
#include <qtmetamacros.h>
16
17
class
QWidget;
18
class
QCheckBox;
19
class
QDialogButtonBox;
20
class
QLabel;
21
class
QVBoxLayout;
22
23
class
DialogConvertDeckToCodFormat
:
public
QDialog
24
{
25
Q_OBJECT
26
27
public
:
28
explicit
DialogConvertDeckToCodFormat
(QWidget *parent);
29
void
retranslateUi
();
30
31
[[nodiscard]]
bool
dontAskAgain
()
const
;
32
46
static
bool
promptIfRequired
(QWidget *parent,
const
QString &filePath,
const
std::function<
bool
()> &convert);
47
48
private
:
49
QVBoxLayout *
layout
;
50
QLabel *
label
;
51
QCheckBox *
dontAskAgainCheckbox
;
52
QDialogButtonBox *
buttonBox
;
53
54
Q_DISABLE_COPY(
DialogConvertDeckToCodFormat
)
55
};
56
57
#endif
// DIALOG_CONVERT_DECK_TO_COD_FORMAT_H
DialogConvertDeckToCodFormat::promptIfRequired
static bool promptIfRequired(QWidget *parent, const QString &filePath, const std::function< bool()> &convert)
Checks whether the deck file at filePath can store tags.
Definition
dlg_convert_deck_to_cod_format.cpp:71
DialogConvertDeckToCodFormat::retranslateUi
void retranslateUi()
Definition
dlg_convert_deck_to_cod_format.cpp:37
DialogConvertDeckToCodFormat::label
QLabel * label
Definition
dlg_convert_deck_to_cod_format.h:50
DialogConvertDeckToCodFormat::DialogConvertDeckToCodFormat
DialogConvertDeckToCodFormat(QWidget *parent)
Definition
dlg_convert_deck_to_cod_format.cpp:17
DialogConvertDeckToCodFormat::dontAskAgainCheckbox
QCheckBox * dontAskAgainCheckbox
Definition
dlg_convert_deck_to_cod_format.h:51
DialogConvertDeckToCodFormat::dontAskAgain
bool dontAskAgain() const
Definition
dlg_convert_deck_to_cod_format.cpp:46
DialogConvertDeckToCodFormat::layout
QVBoxLayout * layout
Definition
dlg_convert_deck_to_cod_format.h:49
DialogConvertDeckToCodFormat::buttonBox
QDialogButtonBox * buttonBox
Definition
dlg_convert_deck_to_cod_format.h:52
cockatrice
src
interface
widgets
dialogs
dlg_convert_deck_to_cod_format.h
Generated by
1.18.0