Skip to content

Commit 3dc5211

Browse files
committedDec 21, 2017
[layouts] use gray icons for the items panel
1 parent 0a40a81 commit 3dc5211

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed
 

‎images/images.qrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@
321321
<file>themes/default/mActionSharingExport.svg</file>
322322
<file>themes/default/mActionSharingImport.svg</file>
323323
<file>themes/default/mActionShowAllLayers.svg</file>
324+
<file>themes/default/mActionShowAllLayersGray.svg</file>
324325
<file>themes/default/mActionShowBookmarks.svg</file>
325326
<file>themes/default/mActionShowHideLabels.svg</file>
326327
<file>themes/default/mActionShowPinnedLabels.svg</file>

‎images/themes/default/lockedGray.svg

Lines changed: 1 addition & 7 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

‎src/core/layout/qgslayoutmodel.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,11 @@ QVariant QgsLayoutModel::headerData( int section, Qt::Orientation orientation, i
248248
{
249249
if ( section == Visibility )
250250
{
251-
return qVariantFromValue( QgsApplication::getThemeIcon( QStringLiteral( "/mActionShowAllLayers.svg" ) ) );
251+
return qVariantFromValue( QgsApplication::getThemeIcon( QStringLiteral( "/mActionShowAllLayersGray.svg" ) ) );
252252
}
253253
else if ( section == LockStatus )
254254
{
255-
return qVariantFromValue( QgsApplication::getThemeIcon( QStringLiteral( "/locked.svg" ) ) );
255+
return qVariantFromValue( QgsApplication::getThemeIcon( QStringLiteral( "/lockedGray.svg" ) ) );
256256
}
257257

258258
return QVariant();

0 commit comments

Comments
 (0)
Please sign in to comment.