Skip to content
Permalink
Browse files

Add icons for browser from Robert (gis theme only)

  • Loading branch information
wonder-sk committed Oct 17, 2011
1 parent 80d7f83 commit 139e297374169497759ac46221bbd982af3a13a9
@@ -353,6 +353,13 @@
<file>themes/default/plugins/north_arrow.png</file>
<file>themes/default/plugins/scale_bar.png</file>
<file>themes/default/mActionAddWfsLayer.png</file>
<file>themes/gis/mIconWms.png</file>
<file>themes/gis/mIconWfs.png</file>
<file>themes/gis/mIconSpatialite.png</file>
<file>themes/gis/mIconRaster.png</file>
<file>themes/gis/mIconPostgis.png</file>
<file>themes/gis/mIconConnect.png</file>
<file>themes/gis/mIconDbSchema.png</file>
</qresource>
<qresource prefix="/images/tips">
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
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.
@@ -10,6 +10,7 @@
QgsPGConnectionItem::QgsPGConnectionItem( QgsDataItem* parent, QString name, QString path )
: QgsDataCollectionItem( parent, name, path )
{
mIcon = QIcon( getThemePixmap( "mIconConnect.png" ) );
}

QgsPGConnectionItem::~QgsPGConnectionItem()
@@ -120,7 +121,7 @@ QString QgsPGLayerItem::createUri()
QgsPGSchemaItem::QgsPGSchemaItem( QgsDataItem* parent, QString name, QString path, QString connInfo, QVector<QgsPostgresLayerProperty> layerProperties )
: QgsDataCollectionItem( parent, name, path )
{
mIcon = QIcon( getThemePixmap( "mIconNamespace.png" ) );
mIcon = QIcon( getThemePixmap( "mIconDbSchema.png" ) );

// Populate everything, it costs nothing, all info about layers is collected
foreach( QgsPostgresLayerProperty layerProperty, layerProperties )
@@ -163,7 +164,7 @@ QgsPGSchemaItem::~QgsPGSchemaItem()
QgsPGRootItem::QgsPGRootItem( QgsDataItem* parent, QString name, QString path )
: QgsDataCollectionItem( parent, name, path )
{
//mIcon = QIcon( getThemePixmap( "mIconPg.png" ) );
mIcon = QIcon( getThemePixmap( "mIconPostgis.png" ) );
populate();
}

@@ -26,6 +26,7 @@ QgsWFSLayerItem::~QgsWFSLayerItem()
QgsWFSConnectionItem::QgsWFSConnectionItem( QgsDataItem* parent, QString name, QString path )
: QgsDataCollectionItem( parent, name, path ), mName( name ), mConn( NULL )
{
mIcon = QIcon( getThemePixmap( "mIconConnect.png" ) );
}

QgsWFSConnectionItem::~QgsWFSConnectionItem()
@@ -113,7 +114,7 @@ void QgsWFSConnectionItem::deleteConnection()
QgsWFSRootItem::QgsWFSRootItem( QgsDataItem* parent, QString name, QString path )
: QgsDataCollectionItem( parent, name, path )
{
mIcon = QIcon( getThemePixmap( "mIconWms.png" ) );
mIcon = QIcon( getThemePixmap( "mIconWfs.png" ) );

populate();
}
@@ -11,6 +11,7 @@
QgsWMSConnectionItem::QgsWMSConnectionItem( QgsDataItem* parent, QString name, QString path )
: QgsDataCollectionItem( parent, name, path )
{
mIcon = QIcon( getThemePixmap( "mIconConnect.png" ) );
}

QgsWMSConnectionItem::~QgsWMSConnectionItem()
@@ -123,7 +124,7 @@ QgsWMSLayerItem::QgsWMSLayerItem( QgsDataItem* parent, QString name, QString pat

if ( mChildren.size() == 0 )
{
mIcon = QIcon( getThemePixmap( "mIconWmsLayer.png" ) );
mIcon = QIcon( getThemePixmap( "mIconRaster.png" ) );
}
mPopulated = true;
}

0 comments on commit 139e297

Please sign in to comment.
You can’t perform that action at this time.