Skip to content

Commit

Permalink
Icon for binary fields
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 12, 2018
1 parent cdaf99d commit de497a3
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 0 deletions.
1 change: 1 addition & 0 deletions images/images.qrc
Expand Up @@ -728,6 +728,7 @@
<file>themes/default/mIconAllRings.svg</file>
<file>themes/default/mIconExteriorRing.svg</file>
<file>themes/default/mIconInteriorRings.svg</file>
<file>themes/default/mIconFieldBinary.svg</file>
</qresource>
<qresource prefix="/images/tips">
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
Expand Down
96 changes: 96 additions & 0 deletions images/themes/default/mIconFieldBinary.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/core/qgsfields.cpp
Expand Up @@ -285,6 +285,10 @@ QIcon QgsFields::iconForField( int fieldIdx ) const
{
return QgsApplication::getThemeIcon( "/mIconFieldTime.svg" );
}
case QVariant::ByteArray:
{
return QgsApplication::getThemeIcon( "/mIconFieldBinary.svg" );
}
default:
return QIcon();
}
Expand Down

0 comments on commit de497a3

Please sign in to comment.