From 6dbf29a9754a570c14bf56a20767b25e25253b8c Mon Sep 17 00:00:00 2001 From: yossizap Date: Sat, 31 Oct 2020 17:17:33 +0000 Subject: [PATCH] Added a new icon for stop trace and recolored start trace --- src/img/icons/record_trace.svg | 13 ------- src/img/icons/start_trace.svg | 62 ++++++++++++++++++++++++++++++++++ src/img/icons/stop_trace.svg | 59 ++++++++++++++++++++++++++++++++ src/resources.qrc | 3 +- src/widgets/DebugActions.cpp | 4 +-- 5 files changed, 125 insertions(+), 16 deletions(-) delete mode 100644 src/img/icons/record_trace.svg create mode 100644 src/img/icons/start_trace.svg create mode 100644 src/img/icons/stop_trace.svg diff --git a/src/img/icons/record_trace.svg b/src/img/icons/record_trace.svg deleted file mode 100644 index 02abfe44..00000000 --- a/src/img/icons/record_trace.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - diff --git a/src/img/icons/start_trace.svg b/src/img/icons/start_trace.svg new file mode 100644 index 00000000..96d55d77 --- /dev/null +++ b/src/img/icons/start_trace.svg @@ -0,0 +1,62 @@ + +image/svg+xml + + + + + diff --git a/src/img/icons/stop_trace.svg b/src/img/icons/stop_trace.svg new file mode 100644 index 00000000..65805f35 --- /dev/null +++ b/src/img/icons/stop_trace.svg @@ -0,0 +1,59 @@ + +image/svg+xml + + + diff --git a/src/resources.qrc b/src/resources.qrc index 9f1b5306..f7cc7b12 100644 --- a/src/resources.qrc +++ b/src/resources.qrc @@ -42,7 +42,8 @@ img/icons/step_out.svg img/icons/light/step_out.svg img/icons/reverse_step.svg - img/icons/record_trace.svg + img/icons/start_trace.svg + img/icons/stop_trace.svg img/icons/cloud.svg img/icons/down.svg img/icons/down_white.svg diff --git a/src/widgets/DebugActions.cpp b/src/widgets/DebugActions.cpp index bdb39cd6..d1fe6d53 100644 --- a/src/widgets/DebugActions.cpp +++ b/src/widgets/DebugActions.cpp @@ -26,8 +26,8 @@ DebugActions::DebugActions(QToolBar *toolBar, MainWindow *main) : QIcon startRemoteIcon = QIcon(":/img/icons/play_light_remote.svg"); QIcon continueBackIcon = QIcon(":/img/icons/reverse_continue.svg"); QIcon stepBackIcon = QIcon(":/img/icons/reverse_step.svg"); - QIcon startTraceIcon = QIcon(":/img/icons/record_trace.svg"); - QIcon stopTraceIcon = QIcon(":/img/icons/record_trace.svg"); + QIcon startTraceIcon = QIcon(":/img/icons/start_trace.svg"); + QIcon stopTraceIcon = QIcon(":/img/icons/stop_trace.svg"); stopIcon = QIcon(":/img/icons/media-stop_light.svg"); restartIcon = QIcon(":/img/icons/spin_light.svg"); detachIcon = QIcon(":/img/icons/detach_debugger.svg");