Skip to content
Permalink
Browse files
For all plugins use icon name based on <plugin_dir>.png
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8952 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jul 30, 2008
1 parent d4aa8a6 commit fa99c34621f42c2c9936d4d070a253e1e919c2fe
@@ -1,7 +1,7 @@
SUBDIRS (copyright_label delimited_text grid_maker north_arrow scale_bar)

IF (POSTGRES_FOUND)
SUBDIRS (geoprocessing spit)
SUBDIRS (spit)
ENDIF (POSTGRES_FOUND)

IF (EXPAT_FOUND)
File renamed without changes.
@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/" >
<file>copyright.png</file>
<file>copyright_label.png</file>
</qresource>
</RCC>
@@ -74,7 +74,7 @@ QgsCopyrightLabelPlugin::~QgsCopyrightLabelPlugin()
void QgsCopyrightLabelPlugin::initGui()
{
// Create the action for tool
myQActionPointer = new QAction(QIcon(":/copyright.png"), tr("&Copyright Label"), this);
myQActionPointer = new QAction(QIcon(":/copyright_label.png"), tr("&Copyright Label"), this);
myQActionPointer->setWhatsThis(tr("Creates a copyright label that is displayed on the map canvas."));
// Connect the action to the run
connect(myQActionPointer, SIGNAL(activated()), this, SLOT(run()));
File renamed without changes.
@@ -1,7 +1,7 @@
<RCC>
<qresource prefix="/" >
<file>georef.png</file>
<file>icon.png</file>
<file>georeferencer.png</file>
<file>pencil.png</file>
</qresource>
</RCC>
@@ -88,7 +88,7 @@ QgsGeorefPlugin::~QgsGeorefPlugin()
void QgsGeorefPlugin::initGui()
{
// Create the action for tool
mQActionPointer = new QAction(QIcon(":/icon.png"), tr("&Georeferencer"), this);
mQActionPointer = new QAction(QIcon(":/georeferencer.png"), tr("&Georeferencer"), this);

// Connect the action to the run
connect(mQActionPointer, SIGNAL(triggered()), this, SLOT(run()));
Binary file not shown.

This file was deleted.

@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/" >
<file>gps.xpm</file>
<file>gps_importer.png</file>
</qresource>
</RCC>
@@ -46,9 +46,6 @@
//the gui subclass
#include "qgsgpsplugingui.h"

// xpm for creating the toolbar icon
#include "icon.xpm"


static const char * const ident_ =
"$Id$";
@@ -90,8 +87,8 @@ QgsGPSPlugin::~QgsGPSPlugin()
void QgsGPSPlugin::initGui()
{
// add an action to the toolbar
mQActionPointer = new QAction(QIcon(icon), tr("&Gps Tools"), this);
mCreateGPXAction = new QAction(QIcon(icon), tr("&Create new GPX layer"), this);
mQActionPointer = new QAction(QIcon(":/gps_importer.png"), tr("&Gps Tools"), this);
mCreateGPXAction = new QAction(QIcon(":/gps_importer.png"), tr("&Create new GPX layer"), this);

mQActionPointer->setWhatsThis(tr("Creates a new GPX layer and displays it on the map canvas"));
mCreateGPXAction->setWhatsThis(tr("Creates a new GPX layer and displays it on the map canvas"));
File renamed without changes.
@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/" >
<file>graticule.png</file>
<file>grid_maker.png</file>
</qresource>
</RCC>
@@ -88,7 +88,7 @@ int QgsGridMakerPlugin::type()
void QgsGridMakerPlugin::initGui()
{
// Create the action for tool
myQActionPointer = new QAction(QIcon(":/graticule.png"), tr("&Graticule Creator"), this);
myQActionPointer = new QAction(QIcon(":/grid_maker.png"), tr("&Graticule Creator"), this);
myQActionPointer->setWhatsThis(tr("Creates a graticule (grid) and stores the result as a shapefile"));
// Connect the action to the run
connect(myQActionPointer, SIGNAL(activated()), this, SLOT(run()));
File renamed without changes.
File renamed without changes.
@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/" >
<file>northarrow.png</file>
<file>north_arrow.png</file>
</qresource>
</RCC>
@@ -91,7 +91,7 @@ QgsNorthArrowPlugin::~QgsNorthArrowPlugin()
void QgsNorthArrowPlugin::initGui()
{
// Create the action for tool
myQActionPointer = new QAction(QIcon(":/northarrow.png"), tr("&North Arrow"), this);
myQActionPointer = new QAction(QIcon(":/north_arrow.png"), tr("&North Arrow"), this);
myQActionPointer->setWhatsThis(tr("Creates a north arrow that is displayed on the map canvas"));
// Connect the action to the run
connect(myQActionPointer, SIGNAL(activated()), this, SLOT(run()));
File renamed without changes.
@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/quickprint/" >
<file>quickprint.png</file>
<file>quick_print.png</file>
</qresource>
</RCC>
@@ -72,9 +72,9 @@ void QuickPrintPlugin::initGui()
{

// Create the action for tool
mQActionPointer = new QAction(QIcon(":/quickprint/quickprint.png"),tr("Quick Print"), this);
mQActionPointer = new QAction(QIcon(":/quickprint/quick_print.png"),tr("Quick Print"), this);
// Set the what's this text
mQActionPointer->setWhatsThis(tr("Replace this with a short description of the what the plugin does"));
mQActionPointer->setWhatsThis(tr("Provides a qay to quickly produce a map with minimal user input."));
// Connect the action to the run
connect(mQActionPointer, SIGNAL(activated()), this, SLOT(run()));
// Add the icon to the toolbar
@@ -97,7 +97,7 @@ QgsScaleBarPlugin::~QgsScaleBarPlugin()
void QgsScaleBarPlugin::initGui()
{
// Create the action for tool
myQActionPointer = new QAction(QIcon(":/scalebar.png"), tr("&Scale Bar"), this);
myQActionPointer = new QAction(QIcon(":/scale_bar.png"), tr("&Scale Bar"), this);
myQActionPointer->setWhatsThis(tr("Creates a scale bar that is displayed on the map canvas"));
// Connect the action to the run
connect(myQActionPointer, SIGNAL(activated()), this, SLOT(run()));
File renamed without changes.
File renamed without changes.
@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/" >
<file>scalebar.png</file>
<file>scale_bar.png</file>
</qresource>
</RCC>

0 comments on commit fa99c34

Please sign in to comment.