Add small stop icon.

Use the same as the small debug icon.
Task-Nr: QTCREATORBUG-5003

Change-Id: Iee32a7161869dc611d017cde53a4056b8be56315
Reviewed-on: http://codereview.qt.nokia.com/246
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
dt_
2011-05-30 17:02:03 +02:00
committed by Daniel Teske
parent f516fc55fe
commit 174ac64ef8
4 changed files with 6 additions and 1 deletions

View File

@@ -77,7 +77,7 @@ AppOutputPane::RunControlTab::RunControlTab(RunControl *rc, Core::OutputWindow *
AppOutputPane::AppOutputPane() : AppOutputPane::AppOutputPane() :
m_mainWidget(new QWidget), m_mainWidget(new QWidget),
m_tabWidget(new QTabWidget), m_tabWidget(new QTabWidget),
m_stopAction(new QAction(QIcon(QLatin1String(Constants::ICON_STOP)), tr("Stop"), this)), m_stopAction(new QAction(tr("Stop"), this)),
m_reRunButton(new QToolButton), m_reRunButton(new QToolButton),
m_stopButton(new QToolButton), m_stopButton(new QToolButton),
m_attachButton(new QToolButton) m_attachButton(new QToolButton)
@@ -94,6 +94,9 @@ AppOutputPane::AppOutputPane() :
Core::ActionManager *am = Core::ICore::instance()->actionManager(); Core::ActionManager *am = Core::ICore::instance()->actionManager();
Core::Context globalcontext(Core::Constants::C_GLOBAL); Core::Context globalcontext(Core::Constants::C_GLOBAL);
QIcon stopIcon = QIcon(QLatin1String(Constants::ICON_STOP));
stopIcon.addFile(QLatin1String(Constants::ICON_STOP_SMALL));
m_stopAction->setIcon(stopIcon);
m_stopAction->setToolTip(tr("Stop")); m_stopAction->setToolTip(tr("Stop"));
m_stopAction->setEnabled(false); m_stopAction->setEnabled(false);

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

View File

@@ -39,5 +39,6 @@
<file>images/targetaddbutton_disabled.png</file> <file>images/targetaddbutton_disabled.png</file>
<file>images/targetremovebutton_disabled.png</file> <file>images/targetremovebutton_disabled.png</file>
<file>images/window.png</file> <file>images/window.png</file>
<file>images/stop_small.png</file>
</qresource> </qresource>
</RCC> </RCC>

View File

@@ -164,6 +164,7 @@ const char * const ICON_RUN = ":/projectexplorer/images/run.png";
const char * const ICON_RUN_SMALL = ":/projectexplorer/images/run_small.png"; const char * const ICON_RUN_SMALL = ":/projectexplorer/images/run_small.png";
const char * const ICON_DEBUG_SMALL = ":/projectexplorer/images/debugger_start_small.png"; const char * const ICON_DEBUG_SMALL = ":/projectexplorer/images/debugger_start_small.png";
const char * const ICON_STOP = ":/projectexplorer/images/stop.png"; const char * const ICON_STOP = ":/projectexplorer/images/stop.png";
const char * const ICON_STOP_SMALL = ":/projectexplorer/images/stop_small.png";
const char * const ICON_TOOLCHAIN_SETTINGS_CATEGORY = ":projectexplorer/images/build.png"; // FIXME: Need an icon! const char * const ICON_TOOLCHAIN_SETTINGS_CATEGORY = ":projectexplorer/images/build.png"; // FIXME: Need an icon!
const char * const ICON_WINDOW = ":/projectexplorer/images/window.png"; const char * const ICON_WINDOW = ":/projectexplorer/images/window.png";