Skip to content
Permalink
Browse files
Icons day. New icon for Raster Terrain analysis plugin, thanks again
Robert!
  • Loading branch information
alexbruy committed Apr 26, 2012
1 parent 6410a9f commit 17d0995a2e7798f11d35b31de04fb36916ffffb8
Binary file not shown.
@@ -37,7 +37,7 @@
static const QString name_ = QObject::tr( "Raster Terrain Analysis plugin" );
static const QString description_ = QObject::tr( "A plugin for raster based terrain analysis" );
static const QString version_ = QObject::tr( "Version 0.1" );
static const QString icon_ = ":/raster/raster_terrain_icon.png";
static const QString icon_ = ":/raster/dem.png";
static const QString category_ = QObject::tr( "Raster" );

QgsRasterTerrainAnalysisPlugin::QgsRasterTerrainAnalysisPlugin( QgisInterface* iface ): mIface( iface ), mTerrainAnalysisMenu( 0 )
@@ -88,6 +88,7 @@ void QgsRasterTerrainAnalysisPlugin::initGui()
}

mTerrainAnalysisMenu = new QMenu( tr( "Terrain analysis" ), rasterMenu );
mTerrainAnalysisMenu->setIcon( QIcon( ":/raster/dem.png" ) );
mTerrainAnalysisMenu->addAction( tr( "Slope" ), this, SLOT( slope() ) );
mTerrainAnalysisMenu->addAction( tr( "Aspect" ), this, SLOT( aspect() ) );
mTerrainAnalysisMenu->addAction( tr( "Hillshade" ), this, SLOT( hillshade() ) );
Binary file not shown.
@@ -1,5 +1,5 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource prefix="/raster">
<file>raster_terrain_icon.png</file>
<file>dem.png</file>
</qresource>
</RCC>
</RCC>

0 comments on commit 17d0995

Please sign in to comment.