1 #ifndef XGUI_WORKSHOP_H
2 #define XGUI_WORKSHOP_H
4 #include <Event_Message.h>
5 #include <Event_Listener.h>
10 #include <QKeySequence>
12 class XGUI_MainWindow;
16 class ModuleBase_Operation;
18 class Config_FeatureMessage;
19 class Config_PointerMessage;
21 class XGUI_Workshop: public QObject, public Event_Listener
27 virtual ~XGUI_Workshop();
29 void startApplication();
31 XGUI_MainWindow* mainWindow() const
36 XGUI_Workbench* addWorkbench(const QString& theName);
38 virtual void processEvent(const Event_Message* theMessage);
48 //Event-loop processing methods:
49 void addFeature(const Config_FeatureMessage*);
50 void fillPropertyPanel(ModuleBase_Operation* theOperation);
51 void connectToPropertyPanel(ModuleBase_Operation* theOperation);
52 void setCurrentOperation(ModuleBase_Operation* theOperation);
57 XGUI_Module* loadModule(const QString& theModule);
58 bool activateModule();
60 XGUI_MainWindow* myMainWindow;
61 XGUI_Module* myPartSetModule;
63 ModuleBase_Operation* myCurrentOperation;