Commit cbf00011 authored by Dirk Wilden's avatar Dirk Wilden

toolbox icon added

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10536 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f315aff9
......@@ -61,7 +61,8 @@ void IsotropicRemesherPlugin::initializePlugin() {
connect(tool_->maxEdgeLength, SIGNAL(clicked()), this, SLOT(slotSetMaxLength()) );
connect(tool_->meanEdgeLength, SIGNAL(clicked()), this, SLOT(slotSetMeanLength()) );
emit addToolbox( tr("Isotropic Remesher") , tool_ );
toolIcon_ = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"remesher.png");
emit addToolbox( tr("Isotropic Remesher") , tool_, toolIcon_ );
}
void IsotropicRemesherPlugin::slotRemeshButtonClicked() {
......
......@@ -91,7 +91,7 @@ signals:
void functionExists( QString _pluginName , QString _functionName , bool& _exists );
// ToolboxInterface
void addToolbox( QString _name , QWidget* _widget );
void addToolbox( QString _name , QWidget* _widget, QIcon* _icon );
// ProcessInterface
void startJob( QString _jobId, QString _description, int _min, int _max, bool _blocking = false);
......@@ -122,6 +122,7 @@ public :
//GUI
private :
IsotropicRemesherToolBox* tool_;
QIcon* toolIcon_;
double edgeLength_;
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