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 aee4951 commit 32d5a82
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 262 deletions.

This file was deleted.

Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -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 32d5a82

Please sign in to comment.