File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
<RCC>
2
2
<qresource prefix="/roadgraph/" >
3
- <file>roadgraph .png</file>
3
+ <file>road-fast .png</file>
4
4
<file>showdirect.png</file>
5
5
<file>about.png</file>
6
6
<file>coordinate_capture.png</file>
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ static const QString sName = QObject::tr( "Road graph plugin" );
60
60
static const QString sDescription = QObject::tr( " It solves the shortest path problem." );
61
61
static const QString sCategory = QObject::tr( " Vector" );
62
62
static const QString sPluginVersion = QObject::tr( " Version 0.1" );
63
+ static const QString sPluginIcon = " :/roadgraph/road-fast.png" ;
63
64
static const QgisPlugin::PLUGINTYPE sPluginType = QgisPlugin::UI;
64
65
65
66
// ////////////////////////////////////////////////////////////////////
@@ -288,6 +289,11 @@ QGISEXTERN QString category()
288
289
return sCategory ;
289
290
}
290
291
292
+ QGISEXTERN QString icon ()
293
+ {
294
+ return sPluginIcon ;
295
+ }
296
+
291
297
// Return the type (either UI or MapLayer plugin)
292
298
QGISEXTERN int type ()
293
299
{
You can’t perform that action at this time.
0 commit comments