diff options
author | Alessandro Portale <alessandro.portale@theqtcompany.com> | 2015-10-19 12:55:13 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@theqtcompany.com> | 2015-10-23 16:04:52 +0000 |
commit | b8bdc6f669d0949292be217e84fe046ea8450e1c (patch) | |
tree | adf7521912f2c28b3b571049938f81ce0146207e /src/plugins/android/androidbuildapkwidget.cpp | |
parent | e6d038364fe44d96b93fa2f5e40334e7ecad13c2 (diff) | |
download | qt-creator-b8bdc6f669d0949292be217e84fe046ea8450e1c.tar.gz |
Icon refresh: First step towards the new Qt Creator themes
http://blog.qt.io/blog/author/didesous/ announced new designs/themes
for Qt Creator. This patch replaces many of the existing toolbar icons
with recolorizable masks for better theming support.
Change-Id: I557aa485205fe2624f33724226f698c303342b40
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Diffstat (limited to 'src/plugins/android/androidbuildapkwidget.cpp')
-rw-r--r-- | src/plugins/android/androidbuildapkwidget.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/android/androidbuildapkwidget.cpp b/src/plugins/android/androidbuildapkwidget.cpp index 476da0c957..b9774b407b 100644 --- a/src/plugins/android/androidbuildapkwidget.cpp +++ b/src/plugins/android/androidbuildapkwidget.cpp @@ -36,6 +36,7 @@ #include "androidmanager.h" #include "ui_androidbuildapkwidget.h" +#include <coreplugin/coreconstants.h> #include <projectexplorer/buildconfiguration.h> #include <projectexplorer/project.h> #include <projectexplorer/target.h> @@ -43,6 +44,7 @@ #include <utils/fancylineedit.h> #include <utils/pathchooser.h> +#include <utils/themehelper.h> #include <QFileDialog> @@ -89,8 +91,12 @@ AndroidBuildApkWidget::AndroidBuildApkWidget(AndroidBuildApkStep *step) m_ui->KeystoreLocationPathChooser->setInitialBrowsePathBackup(QDir::homePath()); m_ui->KeystoreLocationPathChooser->setPromptDialogFilter(tr("Keystore files (*.keystore *.jks)")); m_ui->KeystoreLocationPathChooser->setPromptDialogTitle(tr("Select Keystore File")); + m_ui->signingDebugWarningIcon->setPixmap( + Utils::ThemeHelper::themedIconPixmap(QLatin1String(Core::Constants::ICON_WARNING))); m_ui->signingDebugWarningIcon->hide(); m_ui->signingDebugWarningLabel->hide(); + m_ui->signingDebugDeployErrorIcon->setPixmap( + Utils::ThemeHelper::themedIconPixmap(QLatin1String(Core::Constants::ICON_ERROR))); signPackageCheckBoxToggled(m_step->signPackage()); m_ui->useGradleCheckBox->setChecked(m_step->useGradle()); |