Commit 2a0b6f5b authored by Jan Möbius's avatar Jan Möbius

Added Icon for PanoControl. Icon is property of Jan and can be used without restrictions.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free-Staging@16412 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2b7788a0
include (plugin)
openflipper_plugin ()
openflipper_plugin (INSTALLDATA Icons)
......@@ -66,8 +66,9 @@ void PanoramaControlPlugin::initializePlugin(){
connect(tool_->loadButton, SIGNAL( clicked() ), this, SLOT( slotLoadImage() ) );
//toolIcon_ = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"PoissonReconstruction.png");
emit addToolbox( tr("Panorama Control") , tool_);
// Add icon and toolbox
QIcon* toolIcon_ = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"PanoControl.png");
emit addToolbox( tr("Panorama Control") , tool_, toolIcon_);
}
......@@ -132,7 +133,6 @@ void PanoramaControlPlugin::slotValuesChanged(double) {
// Only update the view, as only uniforms will change here
emit updateView();
}
......
......@@ -75,7 +75,7 @@ signals:
void log( QString _message );
// ToolboxInterface
void addToolbox( QString _name , QWidget* _widget ); //, QIcon* _icon
void addToolbox( QString _name , QWidget* _widget , QIcon* _icon );
// Load/Save Interface
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