Commit a983d443 authored by Timothée Giet's avatar Timothée Giet
Browse files

add new icon for dirty preset

add a new icon for dirty preset
parent 46047b49
......@@ -45,6 +45,7 @@ mirrorAxis-HorizontalMove.png
mirrorAxis-VerticalMove.png
visible.svg
novisible.svg
dirty-preset.svg
dark_selection-mode_ants.png
dark_selection-mode_invisible.png
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16"
height="16"
id="svg3049"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="dirty-preset.svg"
inkscape:export-filename="/home/uri/.kde/share/icons/NITRUX-KDE/16x16/actions/view-right-new.png"
inkscape:export-xdpi="30"
inkscape:export-ydpi="30">
<defs
id="defs3051" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="34.5228"
inkscape:cx="2.5252652"
inkscape:cy="7.3990155"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="1880"
inkscape:window-height="1060"
inkscape:window-x="-3"
inkscape:window-y="-3"
inkscape:window-maximized="1"
inkscape:showpageshadow="false"
borderlayer="true"
inkscape:snap-bbox="true"
inkscape:snap-global="true">
<inkscape:grid
type="xygrid"
id="grid4085"
empspacing="4" />
<sodipodi:guide
position="2.0000044,14.00003"
orientation="12,0"
id="guide4075" />
<sodipodi:guide
position="2.0000044,2.0000296"
orientation="0,12"
id="guide4077" />
<sodipodi:guide
position="14.000004,2.0000296"
orientation="-12,0"
id="guide4079" />
<sodipodi:guide
position="14.000004,14.00003"
orientation="0,-12"
id="guide4081" />
</sodipodi:namedview>
<metadata
id="metadata3054">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Capa 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-421.71429,-531.79074)">
<path
style="fill:#cacaca;fill-opacity:1;stroke:none"
d="m 422.70047,541.78258 0,5.02198 5.02198,0 9.99184,-10.01382 -5,-5 z"
id="rect4132-3"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccc" />
<path
style="fill:#373737;fill-opacity:1;stroke:none"
d="m 423.71429,542.18849 0,3.60225 3.60225,0 8.39775,-8.39774 -3.60225,-3.60226 -5.1107,5.11069 z m 1.08068,0.36022 1.19324,-1.19323 0,1.62101 1.03565,0 0.99062,0 0.0225,0.6529 -1.08068,1.08067 -1.44091,0 -0.72044,-0.72045 z m 2.20637,-2.20637 1.4409,-1.44091 1.62102,-1.62101 2.16135,2.16135 -3.17448,3.17449 0,-0.67542 -1.01313,0.0225 -1.03566,0 0,-1.03565 z"
id="rect4132"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccccccccccccccccccccccc" />
</g>
</svg>
......@@ -101,7 +101,7 @@ void KisPresetDelegate::paint(QPainter * painter, const QStyleOptionViewItem & o
painter->drawText(pixSize.width() + 10, option.rect.y() + option.rect.height() - 10, preset->name());
}
if (m_useDirtyPresets && preset->isPresetDirty()) {
const KIcon icon = koIcon(koIconName("addlayer"));
const KIcon icon = koIcon(koIconName("dirty-preset"));
QPixmap pixmap = icon.pixmap(QSize(15,15));
painter->drawPixmap(paintRect.x() + 3, paintRect.y() + 3, pixmap);
}
......
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