From 3a9b95f4eba0bdd1637e891196d767b9ff866af7 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Sat, 28 Apr 2012 17:26:04 -0300 Subject: [PATCH] Added new icons for selection commands --- src/Gui/CommandView.cpp | 4 + src/Gui/Icons/edit-select-all.svg | 497 +++++++++++++----------------- src/Gui/Icons/edit-select-box.svg | 221 +++++++++++++ src/Gui/Icons/resource.qrc | 1 + 4 files changed, 433 insertions(+), 290 deletions(-) mode change 100644 => 100755 src/Gui/Icons/edit-select-all.svg create mode 100755 src/Gui/Icons/edit-select-box.svg diff --git a/src/Gui/CommandView.cpp b/src/Gui/CommandView.cpp index 3fc244142..1de74b6c3 100644 --- a/src/Gui/CommandView.cpp +++ b/src/Gui/CommandView.cpp @@ -1914,6 +1914,10 @@ StdBoxSelection::StdBoxSelection() sToolTipText = QT_TR_NOOP("Box selection"); sWhatsThis = "Std_ViewBoxZoom"; sStatusTip = QT_TR_NOOP("Box selection"); +#if QT_VERSION >= 0x040200 + sPixmap = "edit-select-box"; +#endif + sAccel = "Shift+B"; eType = AlterSelection; } diff --git a/src/Gui/Icons/edit-select-all.svg b/src/Gui/Icons/edit-select-all.svg old mode 100644 new mode 100755 index b875ff920..bbc95140d --- a/src/Gui/Icons/edit-select-all.svg +++ b/src/Gui/Icons/edit-select-all.svg @@ -1,347 +1,264 @@ + + inkscape:version="0.48.3.1 r9886" + sodipodi:docname="edit-select-all.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape" + version="1.1"> - + id="defs2982"> + id="linearGradient4590"> + id="stop4592" /> + id="stop4594" /> + + + + + + + + - - - - - - - - - - + gradientTransform="matrix(0.6028459,1.0471639,-1.9794021,1.1395295,127.9588,-74.456907)" + cx="51.328892" + cy="31.074146" + fx="51.328892" + fy="31.074146" + r="19.571428" /> + + + xlink:href="#linearGradient3864" + id="radialGradient2890" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.58019421,1.0078171,-1.9050269,1.0967121,-8.5316607,-197.0902)" + cx="51.328892" + cy="31.074146" + fx="51.328892" + fy="31.074146" + r="19.571428" /> + + + inkscape:collect="always" + xlink:href="#linearGradient3811" + id="linearGradient3817" + x1="36.870125" + y1="30.196993" + x2="3.3695574" + y2="39.373768" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.27764843,-1.1190823,1.1190823,0.27764843,-10.424279,50.285999)" /> + + + id="stop3813-8" /> - + id="stop3815-7" /> + gradientTransform="translate(0,8)" /> + + + + + + + + + + + + inkscape:window-height="758" + inkscape:window-x="0" + inkscape:window-y="19" + inkscape:window-maximized="0" /> + id="metadata2985"> image/svg+xml - Select All - - - - Andreas Nilsson - - - - - select - all - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + diff --git a/src/Gui/Icons/edit-select-box.svg b/src/Gui/Icons/edit-select-box.svg new file mode 100755 index 000000000..abaf58cbe --- /dev/null +++ b/src/Gui/Icons/edit-select-box.svg @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/src/Gui/Icons/resource.qrc b/src/Gui/Icons/resource.qrc index 82548cd39..2114905a6 100644 --- a/src/Gui/Icons/resource.qrc +++ b/src/Gui/Icons/resource.qrc @@ -43,6 +43,7 @@ edit-delete.svg edit-paste.svg edit-select-all.svg + edit-select-box.svg edit-redo.svg edit-undo.svg edit-edit.svg