Start profile lib in sketcher

This commit is contained in:
jriegel
2014-04-16 07:48:54 +02:00
parent 47c7c7c98b
commit a0ee7f2d31
6 changed files with 101 additions and 1 deletions

View File

@@ -55,8 +55,17 @@ Gui::MenuItem* Workbench::setupMenuBar() const
Gui::MenuItem* root = StdWorkbench::setupMenuBar();
Gui::MenuItem* item = root->findItem("&Windows");
// == Profile menu ==========================================
Gui::MenuItem* profile = new Gui::MenuItem;
root->insertItem(item, profile);
profile->setCommand("P&rofiles");
*profile << "Sketcher_ProfilesHexagon1";
// == Sketcher menu ==========================================
Gui::MenuItem* sketch = new Gui::MenuItem;
root->insertItem(item, sketch);
root->insertItem(profile, sketch);
sketch->setCommand("S&ketch");
Gui::MenuItem* geom = new Gui::MenuItem();
geom->setCommand("Sketcher geometries");