summaryrefslogtreecommitdiff
path: root/src/plugins/beautifier
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2018-04-23 19:06:13 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2018-04-24 14:43:35 +0000
commit4317e350f5d51bfefbf08bc2c6f44c7821f1d382 (patch)
treea04c9bfd6520095c9506b21a7598c9141342ef3b /src/plugins/beautifier
parent76312d7786fdb6e37de087e76ca347234ca15607 (diff)
downloadqt-creator-4317e350f5d51bfefbf08bc2c6f44c7821f1d382.tar.gz
Update Options dialog icons
A new set of scalable and themable icons with unified look as provided by Diana. Task-number: QTCREATORBUG-20325 Change-Id: I68498b034e9e43fbb61511a38d9c7fc0003ab076 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/beautifier')
-rw-r--r--src/plugins/beautifier/beautifier.qrc4
-rw-r--r--src/plugins/beautifier/generaloptionspage.cpp3
-rw-r--r--src/plugins/beautifier/images/beautifier.pngbin1037 -> 0 bytes
-rw-r--r--src/plugins/beautifier/images/beautifier@2x.pngbin2197 -> 0 bytes
-rw-r--r--src/plugins/beautifier/images/settingscategory_beautifier.pngbin0 -> 273 bytes
-rw-r--r--src/plugins/beautifier/images/settingscategory_beautifier@2x.pngbin0 -> 602 bytes
6 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/beautifier/beautifier.qrc b/src/plugins/beautifier/beautifier.qrc
index cab6cb4740..6a5621d4c5 100644
--- a/src/plugins/beautifier/beautifier.qrc
+++ b/src/plugins/beautifier/beautifier.qrc
@@ -1,6 +1,6 @@
<RCC>
<qresource prefix="/beautifier">
- <file>images/beautifier.png</file>
- <file>images/beautifier@2x.png</file>
+ <file>images/settingscategory_beautifier.png</file>
+ <file>images/settingscategory_beautifier@2x.png</file>
</qresource>
</RCC>
diff --git a/src/plugins/beautifier/generaloptionspage.cpp b/src/plugins/beautifier/generaloptionspage.cpp
index d431a29057..c2bec70740 100644
--- a/src/plugins/beautifier/generaloptionspage.cpp
+++ b/src/plugins/beautifier/generaloptionspage.cpp
@@ -83,7 +83,8 @@ GeneralOptionsPage::GeneralOptionsPage(const QSharedPointer<GeneralSettings> &se
setDisplayName(tr("General"));
setCategory(Constants::OPTION_CATEGORY);
setDisplayCategory(QCoreApplication::translate("Beautifier", "Beautifier"));
- setCategoryIcon(Utils::Icon(":/beautifier/images/beautifier.png"));
+ setCategoryIcon(Utils::Icon({{":/beautifier/images/settingscategory_beautifier.png",
+ Utils::Theme::PanelTextColorDark}}, Utils::Icon::Tint));
}
QWidget *GeneralOptionsPage::widget()
diff --git a/src/plugins/beautifier/images/beautifier.png b/src/plugins/beautifier/images/beautifier.png
deleted file mode 100644
index 69b25dd6b9..0000000000
--- a/src/plugins/beautifier/images/beautifier.png
+++ /dev/null
Binary files differ
diff --git a/src/plugins/beautifier/images/beautifier@2x.png b/src/plugins/beautifier/images/beautifier@2x.png
deleted file mode 100644
index d44edef21d..0000000000
--- a/src/plugins/beautifier/images/beautifier@2x.png
+++ /dev/null
Binary files differ
diff --git a/src/plugins/beautifier/images/settingscategory_beautifier.png b/src/plugins/beautifier/images/settingscategory_beautifier.png
new file mode 100644
index 0000000000..0cc3a76328
--- /dev/null
+++ b/src/plugins/beautifier/images/settingscategory_beautifier.png
Binary files differ
diff --git a/src/plugins/beautifier/images/settingscategory_beautifier@2x.png b/src/plugins/beautifier/images/settingscategory_beautifier@2x.png
new file mode 100644
index 0000000000..77ff6cf788
--- /dev/null
+++ b/src/plugins/beautifier/images/settingscategory_beautifier@2x.png
Binary files differ