refine icons

This commit is contained in:
Le Tan 2017-09-30 20:34:00 +08:00
parent 06fc4d5831
commit 95548a68e0
4 changed files with 19 additions and 12 deletions

View File

@ -0,0 +1,9 @@
<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g>
<title>Layer 1</title>
<polygon fill="black" id="svg_1" points="272,170.0833282470703 189.9166717529297,170.0833282470703 189.9166717529297,88 157.0833282470703,88 157.0833282470703,170.0833282470703 75,170.0833282470703 75,202.9166717529297 157.0833282470703,202.9166717529297 157.0833282470703,285 189.9166717529297,285 189.9166717529297,202.9166717529297 272,202.9166717529297 "/>
<g id="svg_7"/>
<polygon id="svg_9" fill="black" points="435.5,307.5833282470703 353.41668701171875,307.5833282470703 353.41668701171875,225.5 320.58331298828125,225.5 320.58331298828125,307.5833282470703 238.5,307.5833282470703 238.5,340.4166717529297 320.58331298828125,340.4166717529297 320.58331298828125,422.5 353.41668701171875,422.5 353.41668701171875,340.4166717529297 435.5,340.4166717529297 "/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 930 B

View File

@ -1,12 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <svg width="512" height="512" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Generator: Adobe Illustrator 16.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <!-- Created with SVG-edit - http://svg-edit.googlecode.com/ -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="512px" height="512px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<g> <g>
<rect x="80" y="352" width="64" height="64"/> <title>Layer 2</title>
<rect x="176" y="288" width="64" height="128"/> <text fill="#000000" stroke-width="0" x="50.16984" y="94.53242" id="svg_1" font-size="24" font-family="Sans-serif" text-anchor="middle" xml:space="preserve" transform="matrix(14.638787563577418,0,0,15.425402876908336,-563.6705867690341,-1147.819919301283) " stroke="#000000">A</text>
<rect x="272" y="192" width="64" height="224"/> <text id="svg_3" fill="#000000" stroke-width="0" x="42.10906" y="100.56143" font-size="24" font-family="Sans-serif" text-anchor="middle" xml:space="preserve" transform="matrix(14.638787563577418,0,0,15.425402876908336,-251.02721518700292,-1086.2459218037245) " stroke="#000000">Z</text>
<rect x="368" y="96" width="64" height="320"/>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 698 B

After

Width:  |  Height:  |  Size: 797 B

View File

@ -81,7 +81,8 @@ void VDirectoryTree::initActions()
connect(newRootDirAct, &QAction::triggered, connect(newRootDirAct, &QAction::triggered,
this, &VDirectoryTree::newRootDirectory); this, &VDirectoryTree::newRootDirectory);
newSubDirAct = new QAction(tr("&New Subfolder"), this); newSubDirAct = new QAction(QIcon(":/resources/icons/create_subdir.svg"),
tr("&New Subfolder"), this);
newSubDirAct->setToolTip(tr("Create a subfolder")); newSubDirAct->setToolTip(tr("Create a subfolder"));
connect(newSubDirAct, &QAction::triggered, connect(newSubDirAct, &QAction::triggered,
this, &VDirectoryTree::newSubDirectory); this, &VDirectoryTree::newSubDirectory);

View File

@ -129,5 +129,6 @@
<file>resources/icons/locate_attachment.svg</file> <file>resources/icons/locate_attachment.svg</file>
<file>resources/icons/delete_attachment.svg</file> <file>resources/icons/delete_attachment.svg</file>
<file>resources/icons/sort.svg</file> <file>resources/icons/sort.svg</file>
<file>resources/icons/create_subdir.svg</file>
</qresource> </qresource>
</RCC> </RCC>