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@8896 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jul 25, 2008
1 parent 32d5a82 commit 608a324
Show file tree
Hide file tree
Showing 5 changed files with 125 additions and 231 deletions.
Binary file not shown.

This file was deleted.

@@ -49,8 +49,6 @@ email : sbr00pwb@users.sourceforge.net
//the gui subclass
#include "plugingui.h"

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

#ifdef _MSC_VER
@@ -99,7 +97,7 @@ QgsScaleBarPlugin::~QgsScaleBarPlugin()
void QgsScaleBarPlugin::initGui()
{
// Create the action for tool
myQActionPointer = new QAction(QIcon(icon), tr("&Scale Bar"), this);
myQActionPointer = new QAction(QIcon(":/scalebar.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()));
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 608a324

Please sign in to comment.