Commit 7071cda9 authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Debugger: Themeable breakpoint icons



Change-Id: I06c5df1c754c62bdeab81a5c2da78a2eca18ad8a
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
Reviewed-by: default avatarDavid Schulz <david.schulz@theqtcompany.com>
parent 5ff5211a
......@@ -13,29 +13,30 @@
<file>images/debugger_interrupt@2x.png</file>
<file>images/debugger_interrupt_mask.png</file>
<file>images/debugger_interrupt_mask@2x.png</file>
<file>images/debugger_reversemode_16.png</file>
<file>images/debugger_reversemode.png</file>
<file>images/debugger_reversemode@2x.png</file>
<file>images/debugger_reversemode_background.png</file>
<file>images/debugger_reversemode_background@2x.png</file>
<file>images/debugger_singleinstructionmode.png</file>
<file>images/debugger_singleinstructionmode@2x.png</file>
<file>images/debugger_snapshot_small.png</file>
<file>images/debugger_stepinto_small.png</file>
<file>images/debugger_stepinto_small@2x.png</file>
<file>images/debugger_steponeproc_small.png</file>
<file>images/debugger_stepout_small.png</file>
<file>images/debugger_stepout_small@2x.png</file>
<file>images/debugger_stepover_small.png</file>
<file>images/debugger_stepover_small@2x.png</file>
<file>images/debugger_stepoverproc_small.png</file>
<file>images/watchpoint.png</file>
<file>images/tracepoint.png</file>
<file>images/breakpoint_16.png</file>
<file>images/breakpoint_24.png</file>
<file>images/breakpoint_disabled_16.png</file>
<file>images/breakpoint_disabled_24.png</file>
<file>images/breakpoint_disabled_32.png</file>
<file>images/breakpoint_pending_16.png</file>
<file>images/breakpoint_pending_24.png</file>
<file>images/location_16.png</file>
<file>images/location_24.png</file>
<file>images/breakpoint.png</file>
<file>images/breakpoint@2x.png</file>
<file>images/breakpoint_disabled.png</file>
<file>images/breakpoint_disabled@2x.png</file>
<file>images/breakpoint_pending_overlay.png</file>
<file>images/breakpoint_pending_overlay@2x.png</file>
<file>images/location.png</file>
<file>images/location@2x.png</file>
<file>images/location_background.png</file>
<file>images/location_background@2x.png</file>
<file>images/mode_debug.png</file>
<file>images/mode_debug@2x.png</file>
<file>images/mode_debug_mask.png</file>
......@@ -43,7 +44,6 @@
<file>images/pin.xpm</file>
<file>images/qml/select.png</file>
<file>images/qml/app-on-top.png</file>
<file>images/qml/apply-on-save.png</file>
<file>images/debugger_restart_small.png</file>
<file>images/debugger_restart_small@2x.png</file>
<file>images/recordfill.png</file>
......
......@@ -31,12 +31,13 @@
namespace Debugger {
namespace Icons {
const Utils::Icon BREAKPOINT(
QLatin1String(":/debugger/images/breakpoint_16.png"));
const Utils::Icon BREAKPOINT_DISABLED(
QLatin1String(":/debugger/images/breakpoint_disabled_16.png"));
const Utils::Icon BREAKPOINT_PENDING(
QLatin1String(":/debugger/images/breakpoint_pending_16.png"));
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));
const Utils::Icon BREAKPOINTS(
QLatin1String(":/debugger/images/debugger_breakpoints.png"));
const Utils::Icon WATCHPOINT(
......@@ -64,14 +65,12 @@ const Utils::Icon DEBUG_INTERRUPT_SMALL({
const Utils::Icon DEBUG_EXIT_SMALL({
{QLatin1String(":/core/images/stop_small.png"), Utils::Theme::IconsStopColor},
{QLatin1String(":/projectexplorer/images/debugger_overlay_small.png"), Utils::Theme::IconsDebugColor}});
const Utils::Icon LOCATION(
QLatin1String(":/debugger/images/location_16.png"));
const Utils::Icon SNAPSHOT(
QLatin1String(":/debugger/images/debugger_snapshot_small.png"));
const Utils::Icon REVERSE_MODE(
QLatin1String(":/debugger/images/debugger_reversemode_16.png"));
const Utils::Icon APPLY_ON_SAVE(
QLatin1String(":/debugger/images/qml/apply-on-save.png"));
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);
const Utils::Icon APP_ON_TOP(
QLatin1String(":/debugger/images/qml/app-on-top.png"));
const Utils::Icon SELECT(
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="14"
height="14"
id="svg2270"
sodipodi:version="0.32"
inkscape:version="0.45.1"
version="1.0"
sodipodi:docbase="D:\depot\research\main\editor\images"
sodipodi:docname="breakpoint.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs2272">
<linearGradient
id="linearGradient7029">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop7031" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop7033" />
</linearGradient>
<linearGradient
id="linearGradient17794">
<stop
style="stop-color:#f18383;stop-opacity:1;"
offset="0"
id="stop17798" />
<stop
id="stop8006"
offset="0.3807947"
style="stop-color:#ed6767;stop-opacity:1;" />
<stop
style="stop-color:#e62323;stop-opacity:1;"
offset="1"
id="stop17796" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient17794"
id="linearGradient24732"
gradientUnits="userSpaceOnUse"
x1="472.42236"
y1="436.79602"
x2="461.39169"
y2="424.95065" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient17794"
id="linearGradient2438"
gradientUnits="userSpaceOnUse"
x1="472.42236"
y1="436.79602"
x2="461.39169"
y2="424.95065" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient17794"
id="radialGradient6052"
cx="466.73566"
cy="431.19708"
fx="466.73566"
fy="431.19708"
r="9.3095722"
gradientTransform="matrix(1,0,0,1.0057859,0,-2.4948735)"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7029"
id="linearGradient7035"
x1="6.75"
y1="0.5"
x2="6.75"
y2="12.5"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
gridtolerance="10000"
guidetolerance="10"
objecttolerance="10"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="32"
inkscape:cx="8.6877264"
inkscape:cy="6.3888789"
inkscape:document-units="px"
inkscape:current-layer="g25843"
width="14px"
height="14px"
inkscape:window-width="1280"
inkscape:window-height="998"
inkscape:window-x="0"
inkscape:window-y="0"
showgrid="true"
gridspacingx="0.5px"
gridspacingy="0.5px"
gridempspacing="2"
inkscape:grid-points="true" />
<metadata
id="metadata2275">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g25843"
transform="matrix(0.7931251,0,0,0.7931251,-372.13374,-408.22195)">
<path
sodipodi:type="arc"
style="fill:url(#radialGradient6052);fill-opacity:1.0;stroke:#c80000;stroke-width:1.43637741;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path22737"
sodipodi:cx="466.73566"
sodipodi:cy="431.19708"
sodipodi:rx="8.5913839"
sodipodi:ry="8.6452484"
d="M 475.32704 431.19708 A 8.5913839 8.6452484 0 1 1 458.14427,431.19708 A 8.5913839 8.6452484 0 1 1 475.32704 431.19708 z"
transform="matrix(0.8805346,0,0,0.8750503,66.41784,145.57686)" />
<path
sodipodi:type="arc"
style="opacity:1;fill:url(#linearGradient7035);fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path6058"
sodipodi:cx="6.75"
sodipodi:cy="6.5"
sodipodi:rx="5.75"
sodipodi:ry="6"
d="M 12.5 6.5 A 5.75 6 0 1 1 1,6.5 A 5.75 6 0 1 1 12.5 6.5 z"
transform="matrix(0.9867408,0,0,0.6304178,470.73423,515.01579)" />
</g>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="14"
height="14"
id="svg2270"
sodipodi:version="0.32"
inkscape:version="0.46"
version="1.0"
sodipodi:docbase="D:\depot\research\main\editor\images"
sodipodi:docname="breakpoint_disabled.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs2272">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 7 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="14 : 7 : 1"
inkscape:persp3d-origin="7 : 4.6666667 : 1"
id="perspective21" />
<linearGradient
id="linearGradient7029">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop7031" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop7033" />
</linearGradient>
<linearGradient
id="linearGradient17794">
<stop
style="stop-color:#f18383;stop-opacity:1;"
offset="0"
id="stop17798" />
<stop
id="stop8006"
offset="0.3807947"
style="stop-color:#ed6767;stop-opacity:1;" />
<stop
style="stop-color:#e62323;stop-opacity:1;"
offset="1"
id="stop17796" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient17794"
id="linearGradient24732"
gradientUnits="userSpaceOnUse"
x1="472.42236"
y1="436.79602"
x2="461.39169"
y2="424.95065" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient17794"
id="linearGradient2438"
gradientUnits="userSpaceOnUse"
x1="472.42236"
y1="436.79602"
x2="461.39169"
y2="424.95065" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient7029"
id="radialGradient6052"
cx="466.73566"
cy="431.19708"
fx="466.73566"
fy="431.19708"
r="9.3095722"
gradientTransform="matrix(1,0,0,1.0057859,0,-2.4948735)"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7029"
id="linearGradient7035"
x1="6.75"
y1="0.5"
x2="6.75"
y2="12.5"
gradientUnits="userSpaceOnUse" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
gridtolerance="10000"
guidetolerance="10"
objecttolerance="10"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="32"
inkscape:cx="3.1721014"
inkscape:cy="6.3888789"
inkscape:document-units="px"
inkscape:current-layer="g25843"
width="14px"
height="14px"
inkscape:window-width="1280"
inkscape:window-height="998"
inkscape:window-x="86"
inkscape:window-y="122"
showgrid="true"
inkscape:grid-points="true">
<inkscape:grid
id="GridFromPre046Settings"
type="xygrid"
originx="0px"
originy="0px"
spacingx="0.5px"
spacingy="0.5px"
color="#0000ff"
empcolor="#0000ff"
opacity="0.2"
empopacity="0.4"
empspacing="2" />
</sodipodi:namedview>
<metadata
id="metadata2275">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g25843"
transform="matrix(0.7931251,0,0,0.7931251,-372.13374,-408.22195)">
<path
sodipodi:type="arc"
style="fill:url(#radialGradient6052);fill-opacity:1.0;stroke:#c80000;stroke-width:1.43637740999999997;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;opacity:1"
id="path22737"
sodipodi:cx="466.73566"
sodipodi:cy="431.19708"
sodipodi:rx="8.5913839"
sodipodi:ry="8.6452484"
d="M 475.32704,431.19708 A 8.5913839,8.6452484 0 1 1 458.14427,431.19708 A 8.5913839,8.6452484 0 1 1 475.32704,431.19708 z"
transform="matrix(0.8805346,0,0,0.8750503,67.048249,146.20731)" />
<path
sodipodi:type="arc"
style="opacity:1;fill:url(#linearGradient7035);fill-opacity:1;stroke:none;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path6058"
sodipodi:cx="6.75"
sodipodi:cy="6.5"
sodipodi:rx="5.75"
sodipodi:ry="6"
d="M 12.5,6.5 A 5.75,6 0 1 1 1,6.5 A 5.75,6 0 1 1 12.5,6.5 z"
transform="matrix(1.3156535,0,0,1.31337,469.14448,515.30473)" />
</g>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="14"
height="14"
id="svg2270"
sodipodi:version="0.32"
inkscape:version="0.45.1"
version="1.0"
sodipodi:docbase="c:\depot\research\main\editor\images"
sodipodi:docname="pendingbreakpoint.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs2272">
<linearGradient
id="linearGradient7029">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop7031" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop7033" />
</linearGradient>
<linearGradient
id="linearGradient17794">
<stop
style="stop-color:#f18383;stop-opacity:1;"
offset="0"
id="stop17798" />
<stop
id="stop8006"
offset="0.3807947"
style="stop-color:#ed6767;stop-opacity:1;" />
<stop
style="stop-color:#e62323;stop-opacity:1;"
offset="1"
id="stop17796" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient17794"
id="linearGradient24732"
gradientUnits="userSpaceOnUse"
x1="472.42236"
y1="436.79602"
x2="461.39169"
y2="424.95065" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient17794"
id="linearGradient2438"
gradientUnits="userSpaceOnUse"
x1="472.42236"
y1="436.79602"
x2="461.39169"
y2="424.95065" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient17794"
id="radialGradient6052"
cx="466.73566"
cy="431.19708"
fx="466.73566"
fy="431.19708"
r="9.3095722"
gradientTransform="matrix(1,0,0,1.0057859,0,-2.4948735)"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient7029"
id="linearGradient7035"
x1="6.75"
y1="0.5"
x2="6.75"
y2="12.5"
gradientUnits="userSpaceOnUse" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="12.5"
x2="6.75"
y1="0.5"
x1="6.75"
id="linearGradient2228"
xlink:href="#linearGradient7029"
inkscape:collect="always" />
<radialGradient
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,1.0057859,0,-2.4948735)"
r="9.3095722"
fy="431.19708"
fx="466.73566"
cy="431.19708"
cx="466.73566"
id="radialGradient2226"
xlink:href="#linearGradient17794"
inkscape:collect="always" />
<linearGradient
y2="424.95065"
x2="461.39169"
y1="436.79602"
x1="472.42236"
gradientUnits="userSpaceOnUse"
id="linearGradient2224"
xlink:href="#linearGradient17794"
inkscape:collect="always" />
<linearGradient
y2="424.95065"
x2="461.39169"
y1="436.79602"
x1="472.42236"
gradientUnits="userSpaceOnUse"
id="linearGradient2222"
xlink:href="#linearGradient17794"
inkscape:collect="always" />
<linearGradient
id="linearGradient2214">
<stop
id="stop2216"
offset="0"
style="stop-color:#f18383;stop-opacity:1;" />
<stop
style="stop-color:#ed6767;stop-opacity:1;"
offset="0.3807947"
id="stop2218" />
<stop
id="stop2220"
offset="1"
style="stop-color:#e62323;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient2208">
<stop
id="stop2210"
offset="0"
style="stop-color:#ffffff;stop-opacity:1;" />
<stop
id="stop2212"
offset="1"
style="stop-color:#ffffff;stop-opacity:0;" />
</linearGradient>
<linearGradient
gradientTransform="matrix(1.2661544,0,0,1.2608351,469.23729,510.59508)"
y2="10.60876"
x2="10.981011"
y1="9.9135647"
x1="10.946278"
gradientUnits="userSpaceOnUse"
id="linearGradient4173"
xlink:href="#linearGradient4128"
inkscape:collect="always" />
<linearGradient
gradientTransform="matrix(1.2608351,0,0,1.2608351,475.7834,516.59183)"
y2="9.578125"
x2="5.859375"
y1="6.609375"