QmlDesigner: Use highlight blue for expression indicator

Using optipng on all PNGs.

Change-Id: Id43868b917b450b2b613ea309f105be282161c04
Task-numbner: QDS-540
Reviewed-by: Brook Cronin <brook.cronin@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Thomas Hartmann
2019-04-02 13:36:57 +02:00
parent b7753ac86a
commit 195812c634
3 changed files with 2 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 490 B

After

Width:  |  Height:  |  Size: 311 B

View File

@@ -69,7 +69,8 @@ QPixmap QmlDesignerIconProvider::getPixmap(const QString &id)
else if (id == "plus")
result = Utils::Icons::PLUS_TOOLBAR.pixmap();
else if (id == "expression")
result = Icon(iconPath() + "expression.png").pixmap();
result = Icon({
{ iconPath() + QLatin1String("expression.png"), Theme::QmlDesigner_HighlightColor}}).pixmap();
else if (id == "placeholder")
result = Icon(iconPath() + "placeholder.png").pixmap();
else if (id == "submenu")