Commit 4932e832 authored by Jan Möbius's avatar Jan Möbius

Add Icon for PolyLine Tab refs #481

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14909 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a4ff9101
......@@ -92,7 +92,11 @@ initializePlugin()
// tool_->rb_smooth_c0->setIcon( QIcon(OpenFlipper::Options::iconDirStr() + OpenFlipper::Options::dirSeparator() + "polyline_insert.svg") );
// tool_->rb_smooth_c1->setIcon( QIcon(OpenFlipper::Options::iconDirStr() + OpenFlipper::Options::dirSeparator() + "polyline_c1.svg") );
// tool_->rb_smooth_c2->setIcon( QIcon(OpenFlipper::Options::iconDirStr() + OpenFlipper::Options::dirSeparator() + "polyline_c2.svg") );
emit addToolbox( tr("PolyLine") , tool_ );
// Add the toolbox with the given icon
QIcon* toolIcon = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"cut_polyline.png");
emit addToolbox( tr("PolyLine") , tool_, toolIcon );
}
......
......@@ -85,7 +85,7 @@ signals:
void scriptInfo( QString _functionName );
// ToolboxInterface
void addToolbox( QString _name , QWidget* _widget );
void addToolbox( QString _name , QWidget* _widget, QIcon* _icon);
void deleteObject( int _id );
void addEmptyObject( DataType _type, int& _id);
......
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