2 #ifndef XGUI_WORKSHOP_H
3 #define XGUI_WORKSHOP_H
5 #include <Event_Message.hxx>
6 #include <Event_Listener.hxx>
11 #include <QKeySequence>
13 class XGUI_MainWindow;
18 class Config_FeatureMessage;
20 class XGUI_Workshop: public QObject, public Event_Listener
26 virtual ~XGUI_Workshop();
28 void startApplication();
30 XGUI_MainWindow* mainWindow() const { return myMainWindow; }
32 XGUI_Workbench* addWorkbench(const QString& theName);
34 virtual void ProcessEvent(const Event_Message* theMessage);
44 //Event-loop processing methods:
45 void addFeature(const Config_FeatureMessage*);
50 XGUI_Module* loadModule(const QString& theModule);
51 bool activateModule();
53 XGUI_MainWindow* myMainWindow;
54 XGUI_Module* myPartSetModule;