Skip to content
Permalink
Browse files
Icon updates for plugins (icon is now created in svg and uses qt reso…
…urces instead of xpm)

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8895 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jul 25, 2008
1 parent aee4951 commit 32d5a824439d655f349c3fd515cfecc222c49fa1

This file was deleted.

Binary file not shown.
Binary file not shown.
@@ -46,8 +46,6 @@ email : tim@linfiniti.com
//the gui subclass
#include "plugingui.h"

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


#ifdef _MSC_VER
@@ -93,7 +91,7 @@ QgsNorthArrowPlugin::~QgsNorthArrowPlugin()
void QgsNorthArrowPlugin::initGui()
{
// Create the action for tool
myQActionPointer = new QAction(QIcon(icon), tr("&North Arrow"), this);
myQActionPointer = new QAction(QIcon(":/northarrow.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()));

0 comments on commit 32d5a82

Please sign in to comment.