2015-11-23 16:41:54 +01:00
|
|
|
/****************************************************************************
|
|
|
|
|
**
|
2016-01-15 14:57:40 +01:00
|
|
|
** Copyright (C) 2016 The Qt Company Ltd.
|
|
|
|
|
** Contact: https://www.qt.io/licensing/
|
2015-11-23 16:41:54 +01:00
|
|
|
**
|
|
|
|
|
** This file is part of Qt Creator.
|
|
|
|
|
**
|
|
|
|
|
** Commercial License Usage
|
|
|
|
|
** Licensees holding valid commercial Qt licenses may use this file in
|
|
|
|
|
** accordance with the commercial license agreement provided with the
|
|
|
|
|
** Software or, alternatively, in accordance with the terms contained in
|
2016-01-15 14:57:40 +01:00
|
|
|
** a written agreement between you and The Qt Company. For licensing terms
|
|
|
|
|
** and conditions see https://www.qt.io/terms-conditions. For further
|
|
|
|
|
** information use the contact form at https://www.qt.io/contact-us.
|
2015-11-23 16:41:54 +01:00
|
|
|
**
|
2016-01-15 14:57:40 +01:00
|
|
|
** GNU General Public License Usage
|
|
|
|
|
** Alternatively, this file may be used under the terms of the GNU
|
|
|
|
|
** General Public License version 3 as published by the Free Software
|
|
|
|
|
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
|
|
|
|
|
** included in the packaging of this file. Please review the following
|
|
|
|
|
** information to ensure the GNU General Public License requirements will
|
|
|
|
|
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
|
2015-11-23 16:41:54 +01:00
|
|
|
**
|
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2015-11-23 16:41:54 +01:00
|
|
|
|
|
|
|
|
#include <utils/icon.h>
|
|
|
|
|
|
|
|
|
|
namespace Debugger {
|
|
|
|
|
namespace Icons {
|
|
|
|
|
|
2016-04-11 17:27:37 +02:00
|
|
|
const Utils::Icon BREAKPOINT({
|
|
|
|
|
{QLatin1String(":/debugger/images/breakpoint.png"), Utils::Theme::IconsErrorColor}}, Utils::Icon::Tint);
|
|
|
|
|
const Utils::Icon BREAKPOINT_DISABLED({
|
|
|
|
|
{QLatin1String(":/debugger/images/breakpoint_disabled.png"), Utils::Theme::IconsErrorColor}}, Utils::Icon::Tint);
|
|
|
|
|
const Utils::Icon BREAKPOINT_PENDING({
|
|
|
|
|
{QLatin1String(":/debugger/images/breakpoint.png"), Utils::Theme::IconsErrorColor},
|
|
|
|
|
{QLatin1String(":/debugger/images/breakpoint_pending_overlay.png"), Utils::Theme::PanelTextColorDark}}, Utils::Icon::IconStyleOptions(Utils::Icon::Tint | Utils::Icon::PunchEdges));
|
2015-11-23 16:41:54 +01:00
|
|
|
const Utils::Icon BREAKPOINTS(
|
|
|
|
|
QLatin1String(":/debugger/images/debugger_breakpoints.png"));
|
2016-04-10 20:32:28 +02:00
|
|
|
const Utils::Icon WATCHPOINT({
|
|
|
|
|
{QLatin1String(":/core/images/eye_open.png"), Utils::Theme::TextColorNormal}}, Utils::Icon::Tint);
|
|
|
|
|
const Utils::Icon TRACEPOINT({
|
|
|
|
|
{QLatin1String(":/core/images/eye_open.png"), Utils::Theme::TextColorNormal},
|
|
|
|
|
{QLatin1String(":/debugger/images/tracepointoverlay.png"), Utils::Theme::TextColorNormal}}, Utils::Icon::Tint | Utils::Icon::PunchEdges);
|
2015-11-23 16:41:54 +01:00
|
|
|
const Utils::Icon CONTINUE(
|
|
|
|
|
QLatin1String(":/debugger/images/debugger_continue.png"));
|
2015-11-11 19:26:58 +01:00
|
|
|
const Utils::Icon CONTINUE_FLAT({
|
2016-04-20 16:12:42 +02:00
|
|
|
{QLatin1String(":/debugger/images/debugger_continue_1_mask.png"), Utils::Theme::IconsInterruptToolBarColor},
|
|
|
|
|
{QLatin1String(":/debugger/images/debugger_continue_2_mask.png"), Utils::Theme::IconsRunToolBarColor},
|
2016-03-29 13:00:46 +02:00
|
|
|
{QLatin1String(":/projectexplorer/images/debugger_beetle_mask.png"), Utils::Theme::IconsDebugColor}});
|
2016-03-25 23:06:17 +01:00
|
|
|
const Utils::Icon DEBUG_CONTINUE_SMALL({
|
2016-03-29 13:00:46 +02:00
|
|
|
{QLatin1String(":/projectexplorer/images/continue_1_small.png"), Utils::Theme::IconsInterruptColor},
|
|
|
|
|
{QLatin1String(":/projectexplorer/images/continue_2_small.png"), Utils::Theme::IconsRunColor},
|
2016-04-20 16:12:42 +02:00
|
|
|
{QLatin1String(":/projectexplorer/images/debugger_overlay_small.png"), Utils::Theme::PanelTextColorMid}}, Utils::Icon::MenuTintedStyle);
|
|
|
|
|
const Utils::Icon DEBUG_CONTINUE_SMALL_TOOLBAR({
|
|
|
|
|
{QLatin1String(":/projectexplorer/images/continue_1_small.png"), Utils::Theme::IconsInterruptToolBarColor},
|
|
|
|
|
{QLatin1String(":/projectexplorer/images/continue_2_small.png"), Utils::Theme::IconsRunToolBarColor},
|
2016-03-29 13:00:46 +02:00
|
|
|
{QLatin1String(":/projectexplorer/images/debugger_overlay_small.png"), Utils::Theme::IconsDebugColor}});
|
2015-11-23 16:41:54 +01:00
|
|
|
const Utils::Icon INTERRUPT(
|
|
|
|
|
QLatin1String(":/debugger/images/debugger_interrupt.png"));
|
2015-11-11 19:26:58 +01:00
|
|
|
const Utils::Icon INTERRUPT_FLAT({
|
2016-04-20 16:12:42 +02:00
|
|
|
{QLatin1String(":/debugger/images/debugger_interrupt_mask.png"), Utils::Theme::IconsInterruptToolBarColor},
|
2016-03-29 13:00:46 +02:00
|
|
|
{QLatin1String(":/projectexplorer/images/debugger_beetle_mask.png"), Utils::Theme::IconsDebugColor}});
|
2016-03-25 23:06:17 +01:00
|
|
|
const Utils::Icon DEBUG_INTERRUPT_SMALL({
|
2016-04-10 22:08:05 +02:00
|
|
|
{QLatin1String(":/core/images/interrupt_small.png"), Utils::Theme::IconsInterruptColor},
|
2016-04-20 16:12:42 +02:00
|
|
|
{QLatin1String(":/projectexplorer/images/debugger_overlay_small.png"), Utils::Theme::PanelTextColorMid}}, Utils::Icon::MenuTintedStyle);
|
|
|
|
|
const Utils::Icon DEBUG_INTERRUPT_SMALL_TOOLBAR({
|
|
|
|
|
{QLatin1String(":/core/images/interrupt_small.png"), Utils::Theme::IconsInterruptToolBarColor},
|
2016-03-29 13:00:46 +02:00
|
|
|
{QLatin1String(":/projectexplorer/images/debugger_overlay_small.png"), Utils::Theme::IconsDebugColor}});
|
2016-03-25 23:06:17 +01:00
|
|
|
const Utils::Icon DEBUG_EXIT_SMALL({
|
2016-04-10 22:08:05 +02:00
|
|
|
{QLatin1String(":/core/images/stop_small.png"), Utils::Theme::IconsStopColor},
|
2016-04-20 16:12:42 +02:00
|
|
|
{QLatin1String(":/projectexplorer/images/debugger_overlay_small.png"), Utils::Theme::PanelTextColorMid}}, Utils::Icon::MenuTintedStyle);
|
|
|
|
|
const Utils::Icon DEBUG_EXIT_SMALL_TOOLBAR({
|
|
|
|
|
{QLatin1String(":/core/images/stop_small.png"), Utils::Theme::IconsStopToolBarColor},
|
2016-03-29 13:00:46 +02:00
|
|
|
{QLatin1String(":/projectexplorer/images/debugger_overlay_small.png"), Utils::Theme::IconsDebugColor}});
|
2016-04-11 17:27:37 +02:00
|
|
|
const Utils::Icon LOCATION({
|
|
|
|
|
{QLatin1String(":/debugger/images/location_background.png"), Utils::Theme::IconsCodeModelOverlayForegroundColor},
|
|
|
|
|
{QLatin1String(":/debugger/images/location.png"), Utils::Theme::IconsWarningToolBarColor}}, Utils::Icon::Tint);
|
|
|
|
|
const Utils::Icon REVERSE_MODE({
|
|
|
|
|
{QLatin1String(":/debugger/images/debugger_reversemode_background.png"), Utils::Theme::IconsCodeModelOverlayForegroundColor},
|
|
|
|
|
{QLatin1String(":/debugger/images/debugger_reversemode.png"), Utils::Theme::IconsInfoColor}}, Utils::Icon::Tint);
|
2016-05-06 17:27:22 +02:00
|
|
|
const Utils::Icon APP_ON_TOP({
|
|
|
|
|
{QLatin1String(":/debugger/images/qml/app-on-top.png"), Utils::Theme::PanelTextColorMid}}, Utils::Icon::MenuTintedStyle);
|
|
|
|
|
const Utils::Icon APP_ON_TOP_TOOLBAR({
|
|
|
|
|
{QLatin1String(":/debugger/images/qml/app-on-top.png"), Utils::Theme::IconsBaseColor}});
|
|
|
|
|
const Utils::Icon SELECT({
|
|
|
|
|
{QLatin1String(":/debugger/images/qml/select.png"), Utils::Theme::PanelTextColorMid}}, Utils::Icon::MenuTintedStyle);
|
|
|
|
|
const Utils::Icon SELECT_TOOLBAR({
|
|
|
|
|
{QLatin1String(":/debugger/images/qml/select.png"), Utils::Theme::IconsBaseColor}});
|
2015-11-23 16:41:54 +01:00
|
|
|
const Utils::Icon EMPTY(
|
|
|
|
|
QLatin1String(":/debugger/images/debugger_empty_14.png"));
|
2016-04-08 18:19:25 +02:00
|
|
|
const Utils::Icon RECORD_ON({
|
|
|
|
|
{QLatin1String(":/debugger/images/recordfill.png"), Utils::Theme::IconsStopColor},
|
|
|
|
|
{QLatin1String(":/debugger/images/recordoutline.png"), Utils::Theme::IconsBaseColor}}, Utils::Icon::Tint | Utils::Icon::DropShadow);
|
|
|
|
|
const Utils::Icon RECORD_OFF({
|
|
|
|
|
{QLatin1String(":/debugger/images/recordfill.png"), Utils::Theme::IconsDisabledColor},
|
|
|
|
|
{QLatin1String(":/debugger/images/recordoutline.png"), Utils::Theme::IconsBaseColor}}, Utils::Icon::Tint | Utils::Icon::DropShadow);
|
2015-11-23 16:41:54 +01:00
|
|
|
|
|
|
|
|
const Utils::Icon STEP_OVER({
|
2016-04-20 16:12:42 +02:00
|
|
|
{QLatin1String(":/debugger/images/debugger_stepover_small.png"), Utils::Theme::PanelTextColorMid}}, Utils::Icon::MenuTintedStyle);
|
|
|
|
|
const Utils::Icon STEP_OVER_TOOLBAR({
|
2015-11-23 16:41:54 +01:00
|
|
|
{QLatin1String(":/debugger/images/debugger_stepover_small.png"), Utils::Theme::IconsBaseColor}});
|
|
|
|
|
const Utils::Icon STEP_INTO({
|
2016-04-20 16:12:42 +02:00
|
|
|
{QLatin1String(":/debugger/images/debugger_stepinto_small.png"), Utils::Theme::PanelTextColorMid}}, Utils::Icon::MenuTintedStyle);
|
|
|
|
|
const Utils::Icon STEP_INTO_TOOLBAR({
|
2015-11-23 16:41:54 +01:00
|
|
|
{QLatin1String(":/debugger/images/debugger_stepinto_small.png"), Utils::Theme::IconsBaseColor}});
|
|
|
|
|
const Utils::Icon STEP_OUT({
|
2016-04-20 16:12:42 +02:00
|
|
|
{QLatin1String(":/debugger/images/debugger_stepout_small.png"), Utils::Theme::PanelTextColorMid}}, Utils::Icon::MenuTintedStyle);
|
|
|
|
|
const Utils::Icon STEP_OUT_TOOLBAR({
|
2015-11-23 16:41:54 +01:00
|
|
|
{QLatin1String(":/debugger/images/debugger_stepout_small.png"), Utils::Theme::IconsBaseColor}});
|
|
|
|
|
const Utils::Icon RESTART({
|
2016-04-20 16:12:42 +02:00
|
|
|
{QLatin1String(":/debugger/images/debugger_restart_small.png"), Utils::Theme::PanelTextColorMid}}, Utils::Icon::MenuTintedStyle);
|
|
|
|
|
const Utils::Icon RESTART_TOOLBAR({
|
|
|
|
|
{QLatin1String(":/debugger/images/debugger_restart_small.png"), Utils::Theme::IconsRunToolBarColor}});
|
2015-11-23 16:41:54 +01:00
|
|
|
const Utils::Icon SINGLE_INSTRUCTION_MODE({
|
|
|
|
|
{QLatin1String(":/debugger/images/debugger_singleinstructionmode.png"), Utils::Theme::IconsBaseColor}});
|
|
|
|
|
|
2015-11-11 19:26:58 +01:00
|
|
|
const Utils::Icon MODE_DEBUGGER_CLASSIC(
|
|
|
|
|
QLatin1String(":/debugger/images/mode_debug.png"));
|
|
|
|
|
const Utils::Icon MODE_DEBUGGER_FLAT({
|
|
|
|
|
{QLatin1String(":/debugger/images/mode_debug_mask.png"), Utils::Theme::IconsBaseColor}});
|
|
|
|
|
const Utils::Icon MODE_DEBUGGER_FLAT_ACTIVE({
|
|
|
|
|
{QLatin1String(":/debugger/images/mode_debug_mask.png"), Utils::Theme::IconsModeDebugActiveColor}});
|
|
|
|
|
|
2015-11-23 16:41:54 +01:00
|
|
|
} // namespace Icons
|
|
|
|
|
} // namespace Debugger
|