Commit 327752cb authored by Dirk Wilden's avatar Dirk Wilden

toolbox icon added

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10529 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f7c38e70
......@@ -67,7 +67,8 @@ void SubdividerPlugin::initializePlugin()
connect(tool_->subdivide_uniform_toolButton, SIGNAL( clicked() ), this, SLOT( slotSubdivideUniform() ) );
emit addToolbox( tr("Subdivider") , tool_ );
toolIcon_ = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"subdivider.png");
emit addToolbox( tr("Subdivider") , tool_, toolIcon_ );
}
}
......
......@@ -83,7 +83,7 @@ signals:
void defineViewMode(QString _mode, QStringList _usedWidgets);
// ToolboxInterface
void addToolbox( QString _name , QWidget* _widget );
void addToolbox( QString _name , QWidget* _widget, QIcon* _icon );
// BackupInterface
void createBackup( int _id , QString _name );
......@@ -118,6 +118,7 @@ public :
private :
/// Widget for Toolbox
subdividerToolbarWidget* tool_;
QIcon* toolIcon_;
private:
......
Markdown is supported
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