forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
#include <projectexplorer/target.h>
|
||||
#include <projectexplorer/toolchain.h>
|
||||
|
||||
#include <coreplugin/coreconstants.h>
|
||||
#include <coreplugin/icore.h>
|
||||
#include <coreplugin/icontext.h>
|
||||
#include <qtsupport/debugginghelperbuildtask.h>
|
||||
@@ -53,6 +54,7 @@
|
||||
#include <utils/algorithm.h>
|
||||
#include <utils/hostosinfo.h>
|
||||
#include <utils/qtcprocess.h>
|
||||
#include <utils/themehelper.h>
|
||||
|
||||
#include <QDir>
|
||||
#include <QMessageBox>
|
||||
@@ -453,6 +455,9 @@ QMakeStepConfigWidget::QMakeStepConfigWidget(QMakeStep *step)
|
||||
m_ui->qmlDebuggingLibraryCheckBox->setChecked(m_step->linkQmlDebuggingLibrary());
|
||||
m_ui->qtQuickCompilerCheckBox->setChecked(m_step->useQtQuickCompiler());
|
||||
m_ui->separateDebugInfoCheckBox->setChecked(m_step->separateDebugInfo());
|
||||
const QPixmap warning = Utils::ThemeHelper::themedIconPixmap(QLatin1String(Core::Constants::ICON_WARNING));
|
||||
m_ui->qmlDebuggingWarningIcon->setPixmap(warning);
|
||||
m_ui->qtQuickCompilerWarningIcon->setPixmap(warning);
|
||||
|
||||
qmakeBuildConfigChanged();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user