summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/componentcore
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-07-25 16:10:13 +0200
committerThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2016-07-25 14:33:15 +0000
commit65f0b4b1c8d1082347b1bd52e6224a09f79c8ca6 (patch)
tree17793832c610605027097356b8b7bd22fe49933f /src/plugins/qmldesigner/components/componentcore
parent728b9147279ee71a000be71d7dd95334f50aa8ae (diff)
downloadqt-creator-65f0b4b1c8d1082347b1bd52e6224a09f79c8ca6.tar.gz
QmlDesigner: Theme binding text field
The text field for bindings was not properly themed, yet. We also use general Qt Creator icons for apply and cancel. Change-Id: I45f1220540a6eaeff05be0b99d8b70b64ca67af4 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmldesigner/components/componentcore')
-rw-r--r--src/plugins/qmldesigner/components/componentcore/qmldesignericonprovider.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/componentcore/qmldesignericonprovider.cpp b/src/plugins/qmldesigner/components/componentcore/qmldesignericonprovider.cpp
index 053bf1c240..8b604a4e9f 100644
--- a/src/plugins/qmldesigner/components/componentcore/qmldesignericonprovider.cpp
+++ b/src/plugins/qmldesigner/components/componentcore/qmldesignericonprovider.cpp
@@ -78,6 +78,12 @@ QPixmap QmlDesignerIconProvider::requestPixmap(const QString &id, QSize *size, c
else if (id == "tr")
result = Icon({
{ ":/qmldesigner/images/tr.png", Theme::IconsBaseColor}}, Icon::Tint).pixmap();
+ else if (id == "ok")
+ result = Icon({
+ { ":/utils/images/ok.png", Theme::IconsBaseColor}}, Icon::Tint).pixmap();
+ else if (id == "error")
+ result = Icon({
+ { ":/utils/images/error.png", Theme::IconsBaseColor}}, Icon::Tint).pixmap();
else
qWarning() << Q_FUNC_INFO << "Image not found:" << id;