Utils: Move the breakpoint icon mask from Debugger to Utils

A filled circle can be used for other icons as-well.

Change-Id: Ifed0dda111ccb92fa5bb44d63f1c23af1137121a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Alessandro Portale
2016-11-02 18:06:37 +01:00
parent b081c2f7b1
commit 68115440f0
6 changed files with 5 additions and 5 deletions

View File

Before

Width:  |  Height:  |  Size: 147 B

After

Width:  |  Height:  |  Size: 147 B

View File

Before

Width:  |  Height:  |  Size: 254 B

After

Width:  |  Height:  |  Size: 254 B

View File

@@ -168,5 +168,7 @@
<file>images/fittoview@2x.png</file> <file>images/fittoview@2x.png</file>
<file>images/namespace.png</file> <file>images/namespace.png</file>
<file>images/namespace@2x.png</file> <file>images/namespace@2x.png</file>
<file>images/filledcircle.png</file>
<file>images/filledcircle@2x.png</file>
</qresource> </qresource>
</RCC> </RCC>

View File

@@ -25,8 +25,6 @@
<file>images/debugger_stepout_small@2x.png</file> <file>images/debugger_stepout_small@2x.png</file>
<file>images/debugger_stepover_small.png</file> <file>images/debugger_stepover_small.png</file>
<file>images/debugger_stepover_small@2x.png</file> <file>images/debugger_stepover_small@2x.png</file>
<file>images/breakpoint.png</file>
<file>images/breakpoint@2x.png</file>
<file>images/breakpoint_disabled.png</file> <file>images/breakpoint_disabled.png</file>
<file>images/breakpoint_disabled@2x.png</file> <file>images/breakpoint_disabled@2x.png</file>
<file>images/breakpoint_pending_overlay.png</file> <file>images/breakpoint_pending_overlay.png</file>

View File

@@ -31,11 +31,11 @@ namespace Debugger {
namespace Icons { namespace Icons {
const Icon BREAKPOINT({ const Icon BREAKPOINT({
{":/debugger/images/breakpoint.png", Theme::IconsErrorColor}}, Icon::Tint); {":/utils/images/filledcircle.png", Theme::IconsErrorColor}}, Icon::Tint);
const Icon BREAKPOINT_DISABLED({ const Icon BREAKPOINT_DISABLED({
{":/debugger/images/breakpoint_disabled.png", Theme::IconsErrorColor}}, Icon::Tint); {":/debugger/images/breakpoint_disabled.png", Theme::IconsErrorColor}}, Icon::Tint);
const Icon BREAKPOINT_PENDING({ const Icon BREAKPOINT_PENDING({
{":/debugger/images/breakpoint.png", Theme::IconsErrorColor}, {":/utils/images/filledcircle.png", Theme::IconsErrorColor},
{":/debugger/images/breakpoint_pending_overlay.png", Theme::PanelTextColorDark}}, Icon::IconStyleOptions(Icon::Tint | Icon::PunchEdges)); {":/debugger/images/breakpoint_pending_overlay.png", Theme::PanelTextColorDark}}, Icon::IconStyleOptions(Icon::Tint | Icon::PunchEdges));
const Icon BREAKPOINTS( const Icon BREAKPOINTS(
":/debugger/images/debugger_breakpoints.png"); ":/debugger/images/debugger_breakpoints.png");

View File

@@ -5128,7 +5128,7 @@
sodipodi:nodetypes="cccccccc" /> sodipodi:nodetypes="cccccccc" />
</g> </g>
<g <g
id="src/plugins/debugger/images/breakpoint" id="src/libs/utils/images/filledcircle"
transform="translate(-422,-48)"> transform="translate(-422,-48)">
<rect <rect
y="584" y="584"

Before

Width:  |  Height:  |  Size: 247 KiB

After

Width:  |  Height:  |  Size: 247 KiB