From 50d1790886430e99a702bf02598151f57656c814 Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Thu, 4 Oct 2018 19:00:39 +0200 Subject: [PATCH] creatoricons.svg: Remove unused icons and adjust outdated ids Change-Id: I34989912a6e23de91a4ac2fa095c0b7826a4e578 Reviewed-by: Tim Jenssen --- src/tools/icons/export.py | 6 ++ src/tools/icons/qtcreatoricons.svg | 133 ++++------------------------- 2 files changed, 21 insertions(+), 118 deletions(-) diff --git a/src/tools/icons/export.py b/src/tools/icons/export.py index d7bb9a1bcc2..e28b7e6e4e9 100644 --- a/src/tools/icons/export.py +++ b/src/tools/icons/export.py @@ -68,6 +68,12 @@ for svgElement in svgTreeRoot.iter(): except: pass +for id in svgIDs: + pngFile = qtcSourceRoot + id + ".png" + pngAt2XFile = qtcSourceRoot + id + "@2x.png" + if not (os.path.isfile(pngFile) or os.path.isfile(pngAt2XFile)): + sys.stderr.write(id + " has not yet been exported as .png.\n") + # The shell mode of Inkscape is used to execute several export commands # with one launch of Inkscape. inkscapeShellCommands = "" diff --git a/src/tools/icons/qtcreatoricons.svg b/src/tools/icons/qtcreatoricons.svg index 4dffd7a6b39..1307b159a82 100644 --- a/src/tools/icons/qtcreatoricons.svg +++ b/src/tools/icons/qtcreatoricons.svg @@ -1300,7 +1300,7 @@ sodipodi:nodetypes="cc" /> + id="share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/images/down-arrow"> @@ -2528,52 +2528,6 @@ width="100%" height="100%" /> - - - - - - - - - @@ -2770,7 +2724,7 @@ x="0" /> + id="g2818" /> - - - - - @@ -4773,7 +4702,7 @@ + id="src/libs/tracing/qml/ico_rangeselection"> + id="src/libs/tracing/qml/ico_rangeselected"> + id="src/libs/tracing/qml/ico_edit"> - - - - - - - + id="../boot2qt/common/images/boot2qtdevice"> + id="../boot2qt/common/images/boot2qtemulator"> + id="../boot2qt/common/images/boot2qtstartvm"> + id="../vxworks/plugins/vxworks/images/vxworksqtdevice">