Commit a96cac79 authored by Matthias Möller's avatar Matthias Möller

add icon

refs #1403

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free-Staging@16361 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 33897e26
include (plugin)
openflipper_plugin (DIRS PoissonReconstruction)
openflipper_plugin (DIRS PoissonReconstruction INSTALLDATA Icons )
......@@ -67,8 +67,8 @@ void PoissonPlugin::initializePlugin(){
connect(tool_->reconstructButton, SIGNAL( clicked() ), this, SLOT( slotPoissonReconstruct() ) );
// toolIcon_ = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"slice.png");
emit addToolbox( tr("Poisson Reconstruction") , tool_);//, toolIcon_);
toolIcon_ = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"PoissonReconstruction.png");
emit addToolbox( tr("Poisson Reconstruction") , tool_, toolIcon_);
QString info =
"This plugin is based on the code published by Michael Kazhdan and Matthew Bolitho<br> "
......@@ -106,7 +106,6 @@ void PoissonPlugin::initializePlugin(){
void PoissonPlugin::pluginsInitialized()
{
std::cout << "set slot description" << std::endl;
emit setSlotDescription("poissonReconstruct(int,int)",tr("Reconstruct a triangle mesh from the given object."),
QStringList(tr("ObjectId;depth").split(';')),QStringList(tr("ObjectId of the object;octree depth").split(';')));
emit setSlotDescription("poissonReconstruct(IdList,int)",tr("Reconstruct one triangle mesh from the given objects."),
......
......@@ -78,9 +78,7 @@ signals:
void deleteObject( int _id );
// ToolboxInterface
//void addToolbox( QString _name , QWidget* _widget, QIcon* _icon );
void addToolbox( QString _name , QWidget* _widget );
void addToolbox( QString _name , QWidget* _widget, QIcon* _icon );
//AboutInfoInterface
void addAboutInfo(QString _text, QString _tabName );
......
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