Move icons to Utils

This way we can use them from libraries, not only from plugins.

Change-Id: Ic35cfd5f04d638d87606bf272b2c00ded1267c1b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Ulf Hermann
2016-08-03 17:55:54 +02:00
parent 5d6f5ff2c9
commit 15fbfaf2e9
214 changed files with 598 additions and 654 deletions

View File

@@ -27,7 +27,8 @@
#include "consoleedit.h"
#include <coreplugin/coreconstants.h>
#include <coreplugin/coreicons.h>
#include <utils/utilsicons.h>
#include <QPainter>
#include <QTreeView>
@@ -66,11 +67,11 @@ namespace Internal {
ConsoleItemDelegate::ConsoleItemDelegate(ConsoleItemModel *model, QObject *parent) :
QStyledItemDelegate(parent),
m_model(model),
m_logIcon(Core::Icons::INFO.icon()),
m_warningIcon(Core::Icons::WARNING.icon()),
m_errorIcon(Core::Icons::ERROR.icon()),
m_expandIcon(Core::Icons::EXPAND.icon()),
m_collapseIcon(Core::Icons::COLLAPSE.icon()),
m_logIcon(Utils::Icons::INFO.icon()),
m_warningIcon(Utils::Icons::WARNING.icon()),
m_errorIcon(Utils::Icons::ERROR.icon()),
m_expandIcon(Utils::Icons::EXPAND.icon()),
m_collapseIcon(Utils::Icons::COLLAPSE.icon()),
m_prompt(QLatin1String(":/qmljstools/images/prompt.png")),
m_cachedHeight(0)
{