forked from qt-creator/qt-creator
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:
@@ -77,7 +77,7 @@ AppOutputPane::RunControlTab::RunControlTab(RunControl *rc, Core::OutputWindow *
|
||||
AppOutputPane::AppOutputPane() :
|
||||
m_mainWidget(new QWidget),
|
||||
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_stopButton(new QToolButton),
|
||||
m_attachButton(new QToolButton)
|
||||
@@ -94,6 +94,9 @@ AppOutputPane::AppOutputPane() :
|
||||
Core::ActionManager *am = Core::ICore::instance()->actionManager();
|
||||
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->setEnabled(false);
|
||||
|
||||
|
BIN
src/plugins/projectexplorer/images/stop_small.png
Normal file
BIN
src/plugins/projectexplorer/images/stop_small.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 314 B |
@@ -39,5 +39,6 @@
|
||||
<file>images/targetaddbutton_disabled.png</file>
|
||||
<file>images/targetremovebutton_disabled.png</file>
|
||||
<file>images/window.png</file>
|
||||
<file>images/stop_small.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
@@ -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_DEBUG_SMALL = ":/projectexplorer/images/debugger_start_small.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_WINDOW = ":/projectexplorer/images/window.png";
|
||||
|
||||
|
Reference in New Issue
Block a user