![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <palette_editor_dialog.h>
Public Member Functions | |
| PaletteEditorDialog (const QString &themeDirPath, const QString &themeName, QWidget *parent=nullptr) | |
| void | loadSchemes () |
Protected Member Functions | |
| void | changeEvent (QEvent *e) override |
Private Slots | |
| void | onSave () |
| void | onApply () |
| void | onReset () |
| void | onRevertToDefault () |
| void | onSchemeChanged (const QString &scheme) |
| void | onGenerateFromAccent (const QColor &accent, int intensity) |
Private Member Functions | |
| void | setupUi () |
| void | retranslateUi () |
| void | refreshChromePalettes () |
| void | loadScheme (const QString &scheme) |
| void | seedAccentFromScheme (const QString &scheme) |
Private Attributes | |
| QWidget * | header |
| QLabel * | titleLabel |
| QLabel * | editingLabel |
| QuickSetupPanel * | quickSetupPanel = nullptr |
| PaletteGridWidget * | paletteGrid = nullptr |
| QPushButton * | paletteGridToggleButton = nullptr |
| QFrame * | paletteGridSeparator = nullptr |
| QWidget * | footer |
| QComboBox * | schemeComboBox = nullptr |
| QDialogButtonBox * | buttonBox = nullptr |
| QPushButton * | resetBtn = nullptr |
| QPushButton * | saveBtn = nullptr |
| QPushButton * | closeBtn = nullptr |
| QPushButton * | revertButton = nullptr |
| QString | themeDirPath |
| QString | themeName |
| QString | loadedScheme |
| QString | saveDir |
| QMap< QString, PaletteConfig > | workingConfig |
| QMap< QString, PaletteConfig > | savedConfig |
| QTimer * | autoApplyTimer = nullptr |
|
explicit |
|
overrideprotected |
|
private |
| void PaletteEditorDialog::loadSchemes | ( | ) |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |