mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Nice memory layer indicator icon, thanks to @nirvn
This commit is contained in:
parent
a953587915
commit
93ce435c8a
@ -698,6 +698,7 @@
|
||||
<file>themes/default/mActionIdentifyByRectangle.svg</file>
|
||||
<file>themes/default/mIndicatorEmbedded.svg</file>
|
||||
<file>themes/default/mIconHistory.svg</file>
|
||||
<file>themes/default/mIndicatorMemory.svg</file>
|
||||
</qresource>
|
||||
<qresource prefix="/images/tips">
|
||||
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
|
||||
|
1
images/themes/default/mIndicatorMemory.svg
Normal file
1
images/themes/default/mIndicatorMemory.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><rect height="7" overflow="visible" rx=".84" width="13" x="1.5" y="4.5" ry=".84" fill="none" stroke="#2c2c2c" stroke-opacity=".706"/><path d="M3.5 3.5v-1M6.5 3.5v-1M9.5 3.5v-1M12.5 3.5v-1M12.5 12.5v1M9.5 12.5v1M6.5 12.5v1M3.5 12.5v1" fill="#2e4e72" fill-rule="evenodd" stroke="#2c2c2c" stroke-linecap="square" stroke-linejoin="bevel" stroke-opacity=".706"/><path style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal" d="M13.56 4.945L2.503 5c-.326-.035-.563.089-.502.5v5c-.064.594.396.5.5.5H3V6h11v-.5c0-.178.047-.55-.5-.5z" color="#000" font-weight="400" font-family="sans-serif" white-space="normal" overflow="visible" fill="gray" fill-opacity=".424"/></svg>
|
After Width: | Height: | Size: 1.1 KiB |
@ -22,7 +22,7 @@ QgsLayerTreeViewMemoryIndicatorProvider::QgsLayerTreeViewMemoryIndicatorProvider
|
||||
: QObject( view )
|
||||
, mLayerTreeView( view )
|
||||
{
|
||||
mIcon = QgsApplication::getThemeIcon( QStringLiteral( "/mActionCreateMemory.svg" ) );
|
||||
mIcon = QgsApplication::getThemeIcon( QStringLiteral( "/mIndicatorMemory.svg" ) );
|
||||
|
||||
QgsLayerTree *tree = mLayerTreeView->layerTreeModel()->rootGroup();
|
||||
onAddedChildren( tree, 0, tree->children().count() - 1 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user