mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
better icons for style categories
This commit is contained in:
parent
27cd43ad2e
commit
d42a04002c
@ -1008,6 +1008,8 @@
|
||||
<file>themes/default/mIconCloud.svg</file>
|
||||
<file>themes/default/mActionTextInsideRect.svg</file>
|
||||
<file>themes/default/mIconLabelingRules.svg</file>
|
||||
<file>themes/default/propertyicons/sourcefieldsandforms.svg</file>
|
||||
<file>themes/default/propertyicons/layerconfiguration.svg</file>
|
||||
</qresource>
|
||||
<qresource prefix="/images/tips">
|
||||
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
|
||||
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 5.7 KiB |
162
images/themes/default/propertyicons/sourcefieldsandforms.svg
Normal file
162
images/themes/default/propertyicons/sourcefieldsandforms.svg
Normal file
@ -0,0 +1,162 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
height="24"
|
||||
width="24"
|
||||
version="1.1"
|
||||
id="svg30"
|
||||
xml:space="preserve"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||
id="defs30" /><g
|
||||
transform="translate(0,-8)"
|
||||
id="g14"><g
|
||||
stroke="#6e97c4"
|
||||
id="g12"><path
|
||||
d="m 2.5,15.5 h 19 v 14 h -19 z"
|
||||
fill="#e6e6e6"
|
||||
id="path1" /><path
|
||||
d="m 2.5,10.5 h 19 v 5 h -19 z"
|
||||
fill="#bad9ec"
|
||||
id="path2" /><path
|
||||
d="M 5,13 H 9"
|
||||
fill="none"
|
||||
stroke-width="2"
|
||||
id="path3" /><path
|
||||
d="m 11,13 h 8"
|
||||
fill="none"
|
||||
stroke-width="2"
|
||||
id="path4" /><path
|
||||
d="M 5,17.5 H 9"
|
||||
fill="none"
|
||||
id="path5" /><path
|
||||
d="m 11,17.5 h 8"
|
||||
fill="none"
|
||||
id="path6" /><path
|
||||
d="M 5,20.5 H 9"
|
||||
fill="none"
|
||||
id="path7" /><path
|
||||
d="m 11,20.5 h 8"
|
||||
fill="none"
|
||||
id="path8" /><path
|
||||
d="M 5,23.5 H 9"
|
||||
fill="none"
|
||||
id="path9" /><path
|
||||
d="m 11,23.5 h 8"
|
||||
fill="none"
|
||||
id="path10" /><path
|
||||
d="M 5,26.5 H 9"
|
||||
fill="none"
|
||||
id="path11" /><path
|
||||
d="m 11,26.5 h 8"
|
||||
fill="none"
|
||||
id="path12" /></g><path
|
||||
d="m 6.5,9.5 h 5 v 21 h -5 z"
|
||||
fill="#e0ce7c"
|
||||
fill-rule="evenodd"
|
||||
stroke="#c4a000"
|
||||
stroke-linecap="round"
|
||||
id="path13" /><path
|
||||
d="m 8,13 h 2"
|
||||
fill="none"
|
||||
stroke="#ffffff"
|
||||
stroke-width="2"
|
||||
id="path14" /></g><path
|
||||
d="m 7.49,23 c 0.829,-0.0037 2.19,-0.0037 3.02,0 0.829,0.0037 0.151,0.0068 -1.51,0.0068 -1.66,0 -2.34,-0.003 -1.51,-0.0068 z"
|
||||
fill="#ffff00"
|
||||
stroke-width="0.0255"
|
||||
id="path15" /><path
|
||||
d="M 6.02,12 V 1 H 12 V 23 H 6.02 Z m 4.99,0 V 2 H 6.99 v 20 h 4.02 z"
|
||||
fill="#ffff00"
|
||||
opacity="0.716"
|
||||
stroke-width="0.0255"
|
||||
id="path16" /><path
|
||||
d="M 7.01,12 V 2 h 3.97 V 22 H 7.01 Z M 10,5 V 3.99 H 7.99 L 7.98333,4.97 c -0.00367,0.539 -0.00111,0.994 0.00568,1.01 0.00972,0.0253 0.225,0.0308 1.01,0.0255 l 1,-0.00666 z"
|
||||
opacity="0"
|
||||
stroke-width="0.0255"
|
||||
id="path17" /><path
|
||||
d="m 6.02,1.01 v 22 H 12 v -3.12 c -0.0252,-0.0787 -0.0519,-0.149 -0.0742,-0.246 -0.0484,-0.21 -0.0394,-0.428 -0.0508,-0.643 -0.0107,-0.201 -0.0235,-0.404 -0.0137,-0.605 0.0198,-0.406 0.0678,-0.614 0.139,-0.861 v -16.5 h -2.99 z m 0.967,0.992 h 4.02 v 20 h -4.02 v -10 z"
|
||||
fill="#ffff00"
|
||||
opacity="0.651"
|
||||
stroke-width="0.0255"
|
||||
id="path18" /><g
|
||||
stroke-width="0.0509"
|
||||
id="g30"><path
|
||||
d="M 6.02,12 V 1 h 5.96 V 22.9 H 6.02 Z m 4.99,0 V 2 H 6.99 v 20 h 4.02 z"
|
||||
opacity="0"
|
||||
id="path19" /><path
|
||||
d="M 6.02,12 V 1 h 5.96 V 22.9 H 6.02 Z m 4.99,0 V 2 H 6.99 v 20 h 4.02 z"
|
||||
opacity="0"
|
||||
id="path20" /><path
|
||||
d="M 6.02,12 V 1 h 5.96 V 22.9 H 6.02 Z m 4.99,0 V 2 H 6.99 v 20 h 4.02 z"
|
||||
opacity="0"
|
||||
id="path21" /><path
|
||||
d="M 6.02,12 V 1 h 5.96 V 22.9 H 6.02 Z m 4.99,0 V 2 H 6.99 v 20 h 4.02 z"
|
||||
fill="#ffff0c"
|
||||
opacity="0.268"
|
||||
id="path22" /><path
|
||||
d="M 7.03,12 V 2 H 11 V 22 H 7.03 Z m 3,-7 V 3.98 H 7.99 v 2.04 h 2.04 z"
|
||||
fill="#fffffe"
|
||||
opacity="0.268"
|
||||
id="path23" /><path
|
||||
d="M 7.03,12 V 2 H 11 V 22 H 7.03 Z M 10.01,5 V 4.007 L 9,3.9932 7.99,3.9794 v 2.04 L 9,6.0056 10.01,5.9918 Z"
|
||||
fill="#fffffe"
|
||||
opacity="0.268"
|
||||
id="path24" /><path
|
||||
d="M 6.01,12 V 1 l 2.99,3e-7 2.99,3e-7 V 22.900001 H 9 L 6.01,22.9 Z M 11,12 V 2 H 6.98 V 22 H 11 Z"
|
||||
fill="#fffffe"
|
||||
opacity="0.268"
|
||||
id="path25" /><path
|
||||
d="M 6.01,12 V 1 h 5.96 V 22.9 H 6.01 Z M 11,12 V 2 H 6.98 V 22 H 11 Z"
|
||||
fill="#fffffe"
|
||||
opacity="0.268"
|
||||
id="path26" /><path
|
||||
d="M 6.01,12 V 1 h 5.96 V 22.9 H 6.01 Z M 11,12 V 2 H 6.98 V 22 H 11 Z"
|
||||
fill="#fffffe"
|
||||
opacity="0.268"
|
||||
id="path27" /><path
|
||||
d="M 6.01,12 V 1 h 5.96 V 22.9 H 6.01 Z M 11,12 V 2 H 6.98 V 22 H 11 Z"
|
||||
fill="#ffff40"
|
||||
opacity="0.268"
|
||||
id="path28" /><path
|
||||
d="M 6.01,12 V 1 h 5.96 V 22.9 H 6.01 Z M 11,12 V 2 H 6.98 V 22 H 11 Z"
|
||||
fill="#ffff40"
|
||||
opacity="0.268"
|
||||
id="path29" /><path
|
||||
d="M 6.01,12 V 1 h 5.96 V 22.9 H 6.01 Z M 11,12 V 2 H 6.98 V 22 H 11 Z"
|
||||
fill="#ffff3b"
|
||||
opacity="0.268"
|
||||
id="path30" /></g><g
|
||||
transform="matrix(0.74888337,0,0,0.74888337,5.5245658,-0.46649963)"
|
||||
id="g4"><path
|
||||
d="m 2.5,10.499998 h 19 v 19 h -19 z"
|
||||
fill="#e6e6e6"
|
||||
stroke="#6e97c4"
|
||||
id="path1-5" /><g
|
||||
fill-rule="evenodd"
|
||||
id="g3"><path
|
||||
d="M 5,16 H 9"
|
||||
fill="#46617e"
|
||||
stroke="#455e78"
|
||||
stroke-width="2"
|
||||
id="path2-3" /><rect
|
||||
fill="#fafefe"
|
||||
height="5"
|
||||
rx="0.5"
|
||||
stroke="#6e97c4"
|
||||
width="8"
|
||||
x="10.5"
|
||||
y="13.5"
|
||||
id="rect2" /><path
|
||||
d="M 5,24.000001 H 9"
|
||||
fill="#919699"
|
||||
stroke="#455e78"
|
||||
stroke-width="2"
|
||||
id="path3-5" /><rect
|
||||
fill="#fafefe"
|
||||
height="5"
|
||||
rx="0.5"
|
||||
stroke="#6e97c4"
|
||||
width="8"
|
||||
x="10.500001"
|
||||
y="21.5"
|
||||
id="rect3" /></g></g></svg>
|
After Width: | Height: | Size: 5.2 KiB |
@ -126,7 +126,7 @@ QVariant QgsMapLayerStyleCategoriesModel::data( const QModelIndex &index, int ro
|
||||
case Qt::ToolTipRole:
|
||||
return description;
|
||||
case Qt::DecorationRole:
|
||||
return QgsApplication::getThemeIcon( QStringLiteral( "/propertyicons/system.svg" ) );
|
||||
return QgsApplication::getThemeIcon( QStringLiteral( "/propertyicons/layerconfiguration.svg" ) );
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -198,7 +198,7 @@ QVariant QgsMapLayerStyleCategoriesModel::data( const QModelIndex &index, int ro
|
||||
case Qt::ToolTipRole:
|
||||
return description;
|
||||
case Qt::DecorationRole:
|
||||
return QgsApplication::getThemeIcon( QStringLiteral( "/mSourceFields.svg" ) );
|
||||
return QgsApplication::getThemeIcon( QStringLiteral( "/propertyicons/sourcefieldsandforms.svg" ) );
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -432,7 +432,7 @@ QVariant QgsMapLayerStyleCategoriesModel::data( const QModelIndex &index, int ro
|
||||
case Qt::ToolTipRole:
|
||||
return description;
|
||||
case Qt::DecorationRole:
|
||||
return QIcon(); // TODO
|
||||
return QgsApplication::getThemeIcon( QStringLiteral( "/mIndicatorNotes.svg" ) );
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user