Commit db588772 authored by Jan Möbius's avatar Jan Möbius

Added icon for material picker



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15666 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4edb98f4
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2011 by Computer Graphics Group, RWTH Aachen *
* Copyright (C) 2001-2012 by Computer Graphics Group, RWTH Aachen *
* www.openflipper.org *
* *
*--------------------------------------------------------------------------- *
......@@ -34,9 +34,9 @@
/*===========================================================================*\
* *
* $Revision: 14395 $ *
* $LastChangedBy: moeller $ *
* $Date: 2012-04-16 14:46:02 +0200 (Mon, 16 Apr 2012) $ *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
......@@ -139,7 +139,8 @@ void MaterialPicker::initializePlugin() {
connect(materialListWidget_, SIGNAL(itemDoubleClicked(QListWidgetItem*)), this, SLOT(editMode(QListWidgetItem*)));
connect(materialListWidget_,SIGNAL(itemChanged ( QListWidgetItem*)), this, SLOT(assignNewName(QListWidgetItem*)));
emit addToolbox( tr("Material Picker"), toolBox);
QIcon* toolIcon = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"material_picker.png");
emit addToolbox( tr("Material Picker"), toolBox, toolIcon);
}
//------------------------------------------------------------------------------
......
/*===========================================================================*\
* *
* OpenFlipper *
* Copyright (C) 2001-2011 by Computer Graphics Group, RWTH Aachen *
* Copyright (C) 2001-2012 by Computer Graphics Group, RWTH Aachen *
* www.openflipper.org *
* *
*--------------------------------------------------------------------------- *
......@@ -34,9 +34,9 @@
/*===========================================================================*\
* *
* $Revision: 14388 $ *
* $LastChangedBy: moeller $ *
* $Date: 2012-04-16 12:55:37 +0200 (Mon, 16 Apr 2012) $ *
* $Revision$ *
* $LastChangedBy$ *
* $Date$ *
* *
\*===========================================================================*/
......@@ -77,7 +77,7 @@ signals:
void updateView();
void addToolbox(QString _name, QWidget* _widget);
void addToolbox( QString _name , QWidget* _widget, QIcon* _icon);
public 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