1#ifndef COCKATRICE_PALETTE_EDITOR_DIALOG_H
2#define COCKATRICE_PALETTE_EDITOR_DIALOG_H
10#include <qtmetamacros.h>
15class QDialogButtonBox;
PaletteGridWidget * paletteGrid
Definition palette_editor_dialog.h:49
void onGenerateFromAccent(const QColor &accent, int intensity)
Definition palette_editor_dialog.cpp:252
QuickSetupPanel * quickSetupPanel
Definition palette_editor_dialog.h:48
void changeEvent(QEvent *e) override
Definition palette_editor_dialog.cpp:356
void seedAccentFromScheme(const QString &scheme)
Definition palette_editor_dialog.cpp:232
QWidget * footer
Definition palette_editor_dialog.h:52
void loadSchemes()
Definition palette_editor_dialog.cpp:206
QLabel * editingLabel
Definition palette_editor_dialog.h:47
QTimer * autoApplyTimer
Definition palette_editor_dialog.h:71
void retranslateUi()
Definition palette_editor_dialog.cpp:181
QPushButton * saveBtn
Definition palette_editor_dialog.h:56
QLabel * titleLabel
Definition palette_editor_dialog.h:46
QDialogButtonBox * buttonBox
Definition palette_editor_dialog.h:54
QMap< QString, PaletteConfig > workingConfig
Definition palette_editor_dialog.h:68
QString themeName
Definition palette_editor_dialog.h:62
void onReset()
Definition palette_editor_dialog.cpp:316
QMap< QString, PaletteConfig > savedConfig
Definition palette_editor_dialog.h:69
QPushButton * closeBtn
Definition palette_editor_dialog.h:57
void onApply()
Definition palette_editor_dialog.cpp:259
void onSave()
Definition palette_editor_dialog.cpp:264
QPushButton * paletteGridToggleButton
Definition palette_editor_dialog.h:50
void refreshChromePalettes()
Definition palette_editor_dialog.cpp:365
QString themeDirPath
Definition palette_editor_dialog.h:61
void setupUi()
Definition palette_editor_dialog.cpp:58
void onSchemeChanged(const QString &scheme)
Definition palette_editor_dialog.cpp:240
QString saveDir
Definition palette_editor_dialog.h:66
void loadScheme(const QString &scheme)
QFrame * paletteGridSeparator
Definition palette_editor_dialog.h:51
QString loadedScheme
Definition palette_editor_dialog.h:63
QComboBox * schemeComboBox
Definition palette_editor_dialog.h:53
QPushButton * resetBtn
Definition palette_editor_dialog.h:55
PaletteEditorDialog(const QString &themeDirPath, const QString &themeName, QWidget *parent=nullptr)
Definition palette_editor_dialog.cpp:30
QPushButton * revertButton
Definition palette_editor_dialog.h:58
void onRevertToDefault()
Definition palette_editor_dialog.cpp:323
QWidget * header
Definition palette_editor_dialog.h:45
Provides a compact "Quick Setup" interface for generating theme palettes.
Definition quick_setup_panel.h:29