Commit 09614050 authored by Martin Schultz's avatar Martin Schultz

* added icon for mesh alignment (Magnet icon cc0 graphic from...

* added icon for mesh alignment (Magnet icon cc0 graphic from https://pixabay.com/en/magnet-horse-shoe-poles-north-312777/

* changed scale icons since i found the svg file ;)

closes #24
parent 49e71cd1
Pipeline #595 passed with stage
OpenFlipper/Icons/unifyBB_all.png

1.48 KB | W: | H:

OpenFlipper/Icons/unifyBB_all.png

1.43 KB | W: | H:

OpenFlipper/Icons/unifyBB_all.png
OpenFlipper/Icons/unifyBB_all.png
OpenFlipper/Icons/unifyBB_all.png
OpenFlipper/Icons/unifyBB_all.png
  • 2-up
  • Swipe
  • Onion skin
OpenFlipper/Icons/unifyBB_longest.png

1.41 KB | W: | H:

OpenFlipper/Icons/unifyBB_longest.png

1.33 KB | W: | H:

OpenFlipper/Icons/unifyBB_longest.png
OpenFlipper/Icons/unifyBB_longest.png
OpenFlipper/Icons/unifyBB_longest.png
OpenFlipper/Icons/unifyBB_longest.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -53,14 +53,15 @@ toolBox_(0) {
}
PluginAlignMeshes::~PluginAlignMeshes() {
delete toolIcon_;
}
void PluginAlignMeshes::initializePlugin() {
toolBox_ = new AlignMeshesToolbox();
emit addToolbox("Align Meshes", toolBox_);
toolIcon_ = new QIcon(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"alignMeshes.png");
emit addToolbox("Align Meshes", toolBox_, toolIcon_);
connect(toolBox_->alignMeshesButton, SIGNAL(pressed()), SLOT(alignMeshes()));
}
......
......@@ -80,7 +80,7 @@ signals:
void log(QString _message);
// ToolboxInterface
void addToolbox(QString _name, QWidget* _widget);
void addToolbox(QString _name, QWidget* _widget, QIcon* _icon);
public slots:
......@@ -96,6 +96,7 @@ private slots:
private:
AlignMeshesToolbox* toolBox_;
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