Skip to content

Commit

Permalink
icon updates & drop xpm in favour of qt resource
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@8906 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jul 25, 2008
1 parent bcefd5c commit 9a1f10e
Show file tree
Hide file tree
Showing 6 changed files with 214 additions and 78 deletions.
125 changes: 125 additions & 0 deletions src/plugins/delimited_text/delimitedText.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/plugins/delimited_text/delimited_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/plugins/delimited_text/delimited_text.qrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/new/prefix1" >
<qresource prefix="/" >
<file>delimited_text.png</file>
</qresource>
</RCC>
42 changes: 0 additions & 42 deletions src/plugins/delimited_text/icon.xpm

This file was deleted.

4 changes: 1 addition & 3 deletions src/plugins/delimited_text/qgsdelimitedtextplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
//the gui subclass
#include "qgsdelimitedtextplugingui.h"

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

static const QString pluginVersion = QObject::tr("Version 0.2");
Expand Down Expand Up @@ -98,7 +96,7 @@ void QgsDelimitedTextPlugin::help()
void QgsDelimitedTextPlugin::initGui()
{
// Create the action for tool
myQActionPointer = new QAction(QIcon(icon), tr("&Add Delimited Text Layer"), this);
myQActionPointer = new QAction(QIcon(":/delimited_text.png"), tr("&Add Delimited Text Layer"), this);

myQActionPointer->setWhatsThis(tr("Add a delimited text file as a map layer. ")+
tr("The file must have a header row containing the field names. ")+
Expand Down
Loading

0 comments on commit 9a1f10e

Please sign in to comment.