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

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jul 25, 2008
1 parent 7ea0378 commit af2c2f68e4cd1ecd3bcd8eef265626e11f92361a

This file was deleted.

Binary file not shown.
Binary file not shown.
@@ -46,8 +46,6 @@ email :
//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 af2c2f6

Please sign in to comment.