Commit ffae062e authored by Dirk Wilden's avatar Dirk Wilden
Browse files

toolbox icon added

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10533 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e0fc33ad
...@@ -74,7 +74,8 @@ void SmootherPlugin::initializePlugin() ...@@ -74,7 +74,8 @@ void SmootherPlugin::initializePlugin()
connect( smoothButton, SIGNAL(clicked()), this, SLOT(simpleLaplace()) ); connect( smoothButton, SIGNAL(clicked()), this, SLOT(simpleLaplace()) );
emit addToolbox( tr("Simple Smoother") , toolBox ); QIcon* toolIcon = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"smoother1.png");
emit addToolbox( tr("Simple Smoother") , toolBox, toolIcon );
} }
void SmootherPlugin::pluginsInitialized() { void SmootherPlugin::pluginsInitialized() {
......
...@@ -74,7 +74,7 @@ class SmootherPlugin : public QObject, BaseInterface, ToolboxInterface, LoggingI ...@@ -74,7 +74,7 @@ class SmootherPlugin : public QObject, BaseInterface, ToolboxInterface, LoggingI
void log(QString _message); void log(QString _message);
// ToolboxInterface // ToolboxInterface
void addToolbox( QString _name , QWidget* _widget ); void addToolbox( QString _name , QWidget* _widget, QIcon* _icon);
// ScriptInterface // ScriptInterface
void scriptInfo(QString _functionName); void scriptInfo(QString _functionName);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment