Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Molkentin <danimo@owncloud.com>2015-08-11 18:56:02 +0300
committerDaniel Molkentin <danimo@owncloud.com>2015-08-11 18:56:11 +0300
commit379beb268f53fc7b64196202d0dfa3b0d14f607f (patch)
treeb432f198179aaba3188db46de12a48b70be5441b /src/gui/settingsdialog.h
parent5bd631e8e70bf19c671a65ab10457aa39b700f59 (diff)
More improvements for high contrast themes
- Invert icon color depending on the darkness of the theme - Ensure icons and colors are changed when theme or colors get changed during application run Final patch for #3582
Diffstat (limited to 'src/gui/settingsdialog.h')
-rw-r--r--src/gui/settingsdialog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/settingsdialog.h b/src/gui/settingsdialog.h
index 46d0b55e2..dbd4ff23e 100644
--- a/src/gui/settingsdialog.h
+++ b/src/gui/settingsdialog.h
@@ -57,12 +57,16 @@ public slots:
protected:
void reject() Q_DECL_OVERRIDE;
void accept() Q_DECL_OVERRIDE;
+ void changeEvent(QEvent *);
private slots:
void accountAdded(AccountState *);
void accountRemoved(AccountState *);
private:
+ void customizeStyle();
+ QIcon createColorAwareIcon(const QString &name);
+ QAction *createColorAwareAction(const QString &iconName, const QString &fileName);
Ui::SettingsDialog * const _ui;
QActionGroup* _actionGroup;