Commit 275d6ecd authored by Dirk Wilden's avatar Dirk Wilden
Browse files

toolbox icon added

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10535 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c4a2740a
...@@ -268,7 +268,8 @@ void MovePlugin::initializePlugin() ...@@ -268,7 +268,8 @@ void MovePlugin::initializePlugin()
lastActiveManipulator_ = -1; lastActiveManipulator_ = -1;
emit addToolbox( tr("Move") , tool_ ); toolIcon_ = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"move-toolBox.png");
emit addToolbox( tr("Move") , tool_, toolIcon_ );
} }
......
...@@ -122,7 +122,7 @@ class MovePlugin : public QObject, BaseInterface, MouseInterface, KeyInterface, ...@@ -122,7 +122,7 @@ class MovePlugin : public QObject, BaseInterface, MouseInterface, KeyInterface,
void registerKey(int _key, Qt::KeyboardModifiers _modifiers, QString _description, bool _multiUse = false); void registerKey(int _key, Qt::KeyboardModifiers _modifiers, QString _description, bool _multiUse = false);
// ToolboxInterface // ToolboxInterface
void addToolbox( QString _name , QWidget* _widget ); void addToolbox( QString _name , QWidget* _widget, QIcon* _icon );
// RPCInterface // RPCInterface
void pluginExists(QString _pluginName, bool &_exists); void pluginExists(QString _pluginName, bool &_exists);
...@@ -235,6 +235,8 @@ class MovePlugin : public QObject, BaseInterface, MouseInterface, KeyInterface, ...@@ -235,6 +235,8 @@ class MovePlugin : public QObject, BaseInterface, MouseInterface, KeyInterface,
/// Widget for Toolbox /// Widget for Toolbox
moveToolbarWidget* tool_; moveToolbarWidget* tool_;
QIcon* toolIcon_;
/** @} */ /** @} */
......
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