Skip to content

Commit

Permalink
Symbol props dialog: Locked/unlocked icons instead of just showing lo…
Browse files Browse the repository at this point in the history
…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/qgis@15688 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 9, 2011
1 parent 3c50546 commit 1d7a49f
Show file tree
Hide file tree
Showing 9 changed files with 432 additions and 424 deletions.
851 changes: 428 additions & 423 deletions images/images.qrc

Large diffs are not rendered by default.

Binary file added images/themes/default/locked.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/themes/default/symbologyLock.png
Binary file not shown.
Binary file added images/themes/default/unlocked.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/themes/gis/locked.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/themes/gis/unlocked.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/themes/newgis/locked.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/themes/newgis/unlocked.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion src/gui/symbology-ng/qgssymbolv2propertiesdialog.cpp
Expand Up @@ -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" ) ) );

Expand Down

0 comments on commit 1d7a49f

Please sign in to comment.