PartDisign/WorkflowManager: initial implementation

This commit is contained in:
Alexander Golubev
2015-08-04 00:36:25 +03:00
committed by Stefan Tröger
parent eec03e20cc
commit 9e47fea5ab
5 changed files with 406 additions and 13 deletions

View File

@@ -44,6 +44,8 @@
#include "Workbench.h"
#include "WorkflowManager.h"
using namespace PartDesignGui;
#if 0 // needed for Qt's lupdate utility
@@ -56,12 +58,11 @@ using namespace PartDesignGui;
/// @namespace PartDesignGui @class Workbench
TYPESYSTEM_SOURCE(PartDesignGui::Workbench, Gui::StdWorkbench)
Workbench::Workbench()
{
Workbench::Workbench() {
}
Workbench::~Workbench()
{
Workbench::~Workbench() {
WorkflowManager::destruct();
}
// Commented out due to later to be moves and/or generall rewrighted from scratch (Fat-Zer 2015-08-08)
@@ -370,6 +371,7 @@ void Workbench::activated()
{
Gui::Workbench::activated();
WorkflowManager::init();
std::vector<Gui::TaskView::TaskWatcher*> Watcher;
@@ -630,7 +632,9 @@ Gui::MenuItem* Workbench::setupMenuBar() const
<< "PartDesign_Boolean"
<< "Separator"
//<< "PartDesign_Hole"
<< "PartDesign_InvoluteGear";
<< "PartDesign_InvoluteGear"
<< "Separator"
<< "PartDesign_Migrate";
// For 0.13 a couple of python packages like numpy, matplotlib and others
// are not deployed with the installer on Windows. Thus, the WizardShaft is