RunControl: Show correct icon in application output

Add a virtual icon() method to runcontrol.
Actually currently the icon only varies between modes of running.

Task-Nr: QTCREATORBUG-1232
This commit is contained in:
dt
2011-03-28 19:58:13 +02:00
parent e945acef45
commit 28cf277cc1
19 changed files with 60 additions and 8 deletions

View File

@@ -169,6 +169,11 @@ QString AnalyzerRunControl::displayName() const
return AnalyzerManager::instance()->currentTool()->displayName();
}
QIcon AnalyzerRunControl::icon() const
{
return QIcon(QLatin1String(":/images/analyzer_start_small.png"));
}
void AnalyzerRunControl::receiveStandardOutput(const QString &text)
{
appendMessage(text, ProjectExplorer::StdOutFormat);