Commit 0de2cc17 authored by Alessandro Portale's avatar Alessandro Portale

ProjectExplorer: New "rebuild" icon

Change-Id: Ia628347f1f38b126b9dd16de4653f8654ebc4ec8
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent 406c395a
......@@ -847,9 +847,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
msessionContextMenu->addAction(cmd, Constants::G_SESSION_BUILD);
// rebuild session action
QIcon rebuildIcon = Icons::REBUILD.icon();
rebuildIcon.addPixmap(Icons::REBUILD_SMALL.pixmap());
dd->m_rebuildSessionAction = new QAction(rebuildIcon, tr("Rebuild All"), this);
dd->m_rebuildSessionAction = new QAction(Icons::REBUILD.icon(), tr("Rebuild All"), this);
cmd = ActionManager::registerAction(dd->m_rebuildSessionAction, Constants::REBUILDSESSION);
mbuild->addAction(cmd, Constants::G_BUILD_REBUILD);
msessionContextMenu->addAction(cmd, Constants::G_SESSION_REBUILD);
......
......@@ -14,8 +14,10 @@
<file>images/mode_project_mask.png</file>
<file>images/mode_project_mask@2x.png</file>
<file>images/projectexplorer.png</file>
<file>images/rebuild.png</file>
<file>images/rebuild_small.png</file>
<file>images/rebuildhammerhandles.png</file>
<file>images/rebuildhammerhandles@2x.png</file>
<file>images/rebuildhammerheads.png</file>
<file>images/rebuildhammerheads@2x.png</file>
<file>images/run.png</file>
<file>images/run@2x.png</file>
<file>images/run_mask.png</file>
......
......@@ -41,10 +41,9 @@ const Utils::Icon CLEAN(
QLatin1String(":/projectexplorer/images/clean.png"));
const Utils::Icon CLEAN_SMALL(
QLatin1String(":/projectexplorer/images/clean_small.png"));
const Utils::Icon REBUILD(
QLatin1String(":/projectexplorer/images/rebuild.png"));
const Utils::Icon REBUILD_SMALL(
QLatin1String(":/projectexplorer/images/rebuild_small.png"));
const Utils::Icon REBUILD({
{QLatin1String(":/projectexplorer/images/rebuildhammerhandles.png"), Utils::Theme::IconsBuildHammerHandleColor},
{QLatin1String(":/projectexplorer/images/rebuildhammerheads.png"), Utils::Theme::IconsBuildHammerHeadColor}}, Utils::Icon::Tint);
const Utils::Icon RUN(
QLatin1String(":/projectexplorer/images/run.png"));
const Utils::Icon RUN_FLAT({
......
......@@ -3140,6 +3140,68 @@
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">
......
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