diff options
author | Thomas Hartmann <Thomas.Hartmann@theqtcompany.com> | 2016-07-25 16:10:13 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@theqtcompany.com> | 2016-07-25 14:33:15 +0000 |
commit | 65f0b4b1c8d1082347b1bd52e6224a09f79c8ca6 (patch) | |
tree | 17793832c610605027097356b8b7bd22fe49933f /src/plugins/qmldesigner/components/componentcore | |
parent | 728b9147279ee71a000be71d7dd95334f50aa8ae (diff) | |
download | qt-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.cpp | 6 |
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; |