Commit 2a945fc5 authored by Alessandro Portale's avatar Alessandro Portale

ProjectExplorer: make the build_small icon themable and HighDPI-able

Change-Id: Id53e52962e68ac27bc121bca04d572c0dff5b253
Reviewed-by: Alessandro Portale's avatarAlessandro Portale <alessandro.portale@qt.io>
parent 5e89fae1
<RCC>
<qresource prefix="/projectexplorer">
<file>images/build_small.png</file>
<file>images/category_buildrun.png</file>
<file>images/closetab.png</file>
<file>images/debugger_start.png</file>
......@@ -12,6 +11,10 @@
<file>images/mode_project_mask.png</file>
<file>images/mode_project_mask@2x.png</file>
<file>images/projectexplorer.png</file>
<file>images/buildhammerhandle.png</file>
<file>images/buildhammerhandle@2x.png</file>
<file>images/buildhammerhead.png</file>
<file>images/buildhammerhead@2x.png</file>
<file>images/rebuildhammerhandles.png</file>
<file>images/rebuildhammerhandles@2x.png</file>
<file>images/rebuildhammerheads.png</file>
......
......@@ -34,10 +34,14 @@ const Icon BUILD(":/projectexplorer/images/build.png");
const Icon BUILD_FLAT({
{":/projectexplorer/images/build_hammerhandle_mask.png", Theme::IconsBuildHammerHandleColor},
{":/projectexplorer/images/build_hammerhead_mask.png", Theme::IconsBuildHammerHeadColor}});
const Icon BUILD_SMALL(":/projectexplorer/images/build_small.png");
const Icon BUILD_SMALL({
{":/projectexplorer/images/buildhammerhandle.png", Theme::IconsBuildHammerHandleColor},
{":/projectexplorer/images/buildhammerhead.png", Theme::IconsBuildHammerHeadColor}}, Icon::Tint);
const Icon REBUILD({
{":/projectexplorer/images/rebuildhammerhandles.png", Theme::IconsBuildHammerHandleColor},
{":/projectexplorer/images/rebuildhammerheads.png", Theme::IconsBuildHammerHeadColor}}, Icon::Tint);
{":/projectexplorer/images/buildhammerhandle.png", Theme::IconsBuildHammerHandleColor},
{":/projectexplorer/images/rebuildhammerheads.png", Theme::IconsBuildHammerHeadColor},
{":/projectexplorer/images/buildhammerhead.png", Theme::IconsBuildHammerHeadColor}}, Icon::Tint);
const Icon RUN(":/projectexplorer/images/run.png");
const Icon RUN_FLAT({
{":/projectexplorer/images/run_mask.png", Theme::IconsRunToolBarColor}});
......
......@@ -5435,68 +5435,6 @@
d="m 52,564 c 8,-8 8,-8 8,-8"
style="fill:none;stroke:#000000;stroke-width:1.42;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1.0;stroke-dasharray:none" />
</g>
<g
style="display:inline"
id="src/plugins/projectexplorer/images/rebuildhammerhandles"
transform="translate(-1266.5,289)">
<rect
y="263"
x="1339.5"
height="16"
width="16"
id="rect6249-7"
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="smallhammerhandle"
d="m 1343,269 9,9 1.5,-1.5 -9,-9 z" />
<use
height="100%"
width="100%"
transform="matrix(-1,0,0,1,2695,0)"
id="use6253-7"
xlink:href="#smallhammerhandle"
y="0"
x="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 1347.675,273.675 1.5,-1.5"
id="path6284"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="display:inline;fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.50006026;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 1345.8268,271.82353 1.5,-1.50041"
id="path6284-5"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
</g>
<g
style="display:inline"
id="src/plugins/projectexplorer/images/rebuildhammerheads"
transform="translate(-1250.5,289)">
<rect
y="263"
x="1339.5"
height="16"
width="16"
id="rect6249"
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="smallhammerhead"
d="m 1339.5,268.5 2,2.5 6,-6 -4.5,0 z" />
<use
height="100%"
width="100%"
transform="matrix(-1,0,0,1,2695,0)"
id="use6253"
xlink:href="#smallhammerhead"
y="0"
x="0" />
</g>
<g
transform="translate(-34,374)"
id="src/plugins/welcome/images/new">
......@@ -6294,6 +6232,77 @@
cy="564"
r="3.5" />
</g>
<g
style="display:inline"
id="src/plugins/projectexplorer/images/buildhammerhandle"
transform="translate(-802.5,289)">
<rect
y="263"
x="1339.5"
height="16"
width="16"
id="rect6249-7-2"
style="fill:#ffffff" />
<path
d="m 1352,269 -9,9 -1.5,-1.5 9,-9 z"
id="use6253-7-6"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
</g>
<g
style="display:inline"
id="src/plugins/projectexplorer/images/buildhammerhead"
transform="translate(-786.5,289)">
<rect
y="263"
x="1339.5"
height="16"
width="16"
id="rect6249-2"
style="fill:#ffffff" />
<path
d="m 1355.5,268.5 -2,2.5 -6,-6 h 4.5 z"
id="use6253-2"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
</g>
<g
style="display:inline"
id="src/plugins/projectexplorer/images/rebuildhammerhandles"
transform="translate(-770.5,289)">
<rect
y="263"
x="1339.5"
height="16"
width="16"
id="rect6249-7"
style="fill:#ffffff" />
<path
sodipodi:nodetypes="ccccc"
inkscape:connector-curvature="0"
id="smallhammerhandle"
d="m 1343,269 9,9 1.5,-1.5 -9,-9 z" />
<path
style="stroke:#ffffff;stroke-width:0.5"
d="m 1347.675,273.675 1.5,-1.5"
id="path6284"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="stroke:#ffffff;stroke-width:0.5"
d="m 1345.8268,271.82353 1.5,-1.5"
id="path6284-5"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
</g>
<use
x="0"
y="0"
xlink:href="#src/plugins/projectexplorer/images/buildhammerhead"
id="src/plugins/projectexplorer/images/rebuildhammerheads"
transform="matrix(-1,0,0,1,1154,0)"
width="100%"
height="100%" />
</g>
<g
inkscape:groupmode="layer"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment