Remove settings for changing palette colors

Fixes #1087
This commit is contained in:
Jonas Kvinge
2022-12-31 18:20:28 +01:00
parent f632e95600
commit a2b5c3ea08
12 changed files with 2 additions and 389 deletions

View File

@@ -46,10 +46,6 @@ class AppearanceSettingsPage : public SettingsPage {
static const char *kStyle;
static const char *kUseCustomColorSet;
static const char *kForegroundColor;
static const char *kBackgroundColor;
static const char *kBackgroundImageType;
static const char *kBackgroundImageFilename;
static const char *kBackgroundImagePosition;
@@ -97,14 +93,10 @@ class AppearanceSettingsPage : public SettingsPage {
void Load() override;
void Save() override;
void Cancel() override;
static QColor DefaultTabbarBgColor();
private slots:
void SelectForegroundColor();
void SelectBackgroundColor();
void UseCustomColorSetOptionChanged(bool);
void SelectBackgroundImage();
void BlurLevelChanged(int);
void OpacityLevelChanged(int);
@@ -116,16 +108,9 @@ class AppearanceSettingsPage : public SettingsPage {
private:
// Set the widget's background to new_color
static void UpdateColorSelectorColor(QWidget *color_selector, const QColor &new_color);
// Init (or refresh) the colorSelectors colors
void InitColorSelectorsColors();
Ui_AppearanceSettingsPage *ui_;
bool original_use_a_custom_color_set_;
QColor original_foreground_color_;
QColor original_background_color_;
QColor current_foreground_color_;
QColor current_background_color_;
QColor current_tabbar_bg_color_;
BackgroundImageType background_image_type_;
QString background_image_filename_;