Skip to content
Permalink
Browse files
Symbol props dialog: Locked/unlocked icons instead of just showing lo…
…cked icon.

This should allow users easily identify the current state.

Default icons from Nuvola icon set, gis/newgis icons from Robert.


git-svn-id: http://svn.osgeo.org/qgis/trunk@15688 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 9, 2011
1 parent fb43855 commit a77a9b66de1791db33d6b05941ce11a9f555dccb

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -109,7 +109,10 @@ QgsSymbolV2PropertiesDialog::QgsSymbolV2PropertiesDialog( QgsSymbolV2* symbol, Q
// setup icons
btnAddLayer->setIcon( QIcon( QgsApplication::iconPath( "symbologyAdd.png" ) ) );
btnRemoveLayer->setIcon( QIcon( QgsApplication::iconPath( "symbologyRemove.png" ) ) );
btnLock->setIcon( QIcon( QgsApplication::iconPath( "symbologyLock.png" ) ) );
QIcon iconLock;
iconLock.addFile( QgsApplication::iconPath( "locked.png" ), QSize(), QIcon::Normal, QIcon::On );
iconLock.addFile( QgsApplication::iconPath( "unlocked.png" ), QSize(), QIcon::Normal, QIcon::Off );
btnLock->setIcon( iconLock );
btnUp->setIcon( QIcon( QgsApplication::iconPath( "symbologyUp.png" ) ) );
btnDown->setIcon( QIcon( QgsApplication::iconPath( "symbologyDown.png" ) ) );

0 comments on commit a77a9b6

Please sign in to comment.