Commit b7081813 authored by Dirk Wilden's avatar Dirk Wilden

toolbox icon added

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10530 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 070a3e99
......@@ -78,7 +78,8 @@ initializePlugin()
// connect signals->slots
connect(tool_->pB_smooth,SIGNAL(clicked() ),this,SLOT(slot_smooth()));
emit addToolbox( tr("Smoother") , tool_ );
toolIcon_ = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"smoother2.png");
emit addToolbox( tr("Smoother") , tool_, toolIcon_ );
}
//-----------------------------------------------------------------------------
......
......@@ -99,7 +99,7 @@ signals:
void log(QString _message);
// ToolboxInterface
void addToolbox( QString _name , QWidget* _widget );
void addToolbox( QString _name , QWidget* _widget, QIcon* _icon );
// BackupInterface
void createBackup( int _id , QString _name );
......@@ -132,6 +132,7 @@ private :
/// Widget for Toolbox
SmootherToolbarWidget* tool_;
QIcon* toolIcon_;
private slots:
......
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