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:
@@ -46,6 +46,7 @@
|
||||
#include <texteditor/behaviorsettings.h>
|
||||
#include <utils/ansiescapecodehandler.h>
|
||||
#include <utils/theme/theme.h>
|
||||
#include <utils/themehelper.h>
|
||||
|
||||
#include <QIcon>
|
||||
#include <QTextCharFormat>
|
||||
@@ -171,9 +172,11 @@ CompileOutputWindow::CompileOutputWindow(QAction *cancelBuildAction) :
|
||||
|
||||
m_cancelBuildButton->setDefaultAction(cancelBuildAction);
|
||||
m_zoomInButton->setToolTip(tr("Increase Font Size"));
|
||||
m_zoomInButton->setIcon(QIcon(QLatin1String(Core::Constants::ICON_PLUS)));
|
||||
m_zoomInButton->setIcon(Utils::ThemeHelper::themedIcon(
|
||||
QLatin1String(Core::Constants::ICON_PLUS)));
|
||||
m_zoomOutButton->setToolTip(tr("Decrease Font Size"));
|
||||
m_zoomOutButton->setIcon(QIcon(QLatin1String(Core::Constants::ICON_MINUS)));
|
||||
m_zoomOutButton->setIcon(Utils::ThemeHelper::themedIcon(
|
||||
QLatin1String(Core::Constants::ICON_MINUS)));
|
||||
|
||||
updateZoomEnabled();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user