Skip to content

Commit

Permalink
Make lock/unlock icon look less distorted and switch to SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
dakcarto committed Jul 7, 2013
1 parent 9cb2bec commit 270b9cd
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 4 deletions.
4 changes: 2 additions & 2 deletions images/images.qrc
Expand Up @@ -111,7 +111,7 @@
<file>themes/default/join_miter.png</file>
<file>themes/default/join_round.png</file>
<file>themes/default/join_style.svg</file>
<file>themes/default/locked.png</file>
<file>themes/default/locked.svg</file>
<file>themes/default/mAction.svg</file>
<file>themes/default/mActionAdd.png</file>
<file>themes/default/mActionAddAllToOverview.png</file>
Expand Down Expand Up @@ -427,7 +427,7 @@
<file>themes/default/tracking.png</file>
<file>themes/default/transformed.png</file>
<file>themes/default/transp-background_8x8.png</file>
<file>themes/default/unlocked.png</file>
<file>themes/default/unlocked.svg</file>
<file>themes/default/user.png</file>
<file>flags/bs_BA.png</file>
<file>flags/eu.png</file>
Expand Down
25 changes: 25 additions & 0 deletions images/themes/default/locked.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions images/themes/default/unlocked.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/gui/symbology-ng/qgssymbolv2selectordialog.cpp
Expand Up @@ -160,8 +160,8 @@ QgsSymbolV2SelectorDialog::QgsSymbolV2SelectorDialog( QgsSymbolV2* symbol, QgsSt
btnAddLayer->setIcon( QIcon( QgsApplication::iconPath( "symbologyAdd.png" ) ) );
btnRemoveLayer->setIcon( QIcon( QgsApplication::iconPath( "symbologyRemove.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 );
iconLock.addFile( QgsApplication::iconPath( "locked.svg" ), QSize(), QIcon::Normal, QIcon::On );
iconLock.addFile( QgsApplication::iconPath( "unlocked.svg" ), 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 270b9cd

Please sign in to comment.