Skip to content
Permalink
Browse files

Nice memory layer indicator icon, thanks to @nirvn

  • Loading branch information
nyalldawson committed Aug 2, 2018
1 parent a953587 commit 93ce435c8aba2f3e18aa9f16dbeae590610d7d15
@@ -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>
@@ -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>
@@ -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 );

0 comments on commit 93ce435

Please sign in to comment.
You can’t perform that action at this time.