2 #ifndef XGUI_Workbench_H
3 #define XGUI_Workbench_H
5 #include "XGUI_Interfaces.h"
12 class XGUI_MenuGroupPanel;
18 class XGUI_Workbench : public QWidget, public IWorkbench
22 XGUI_Workbench(QWidget* theParent);
24 virtual IMenuGroup* addGroup();
31 virtual void resizeEvent(QResizeEvent * theEvent);
36 bool isExceedsRight();
39 QWidget* myChildWidget;
40 QHBoxLayout* myLayout;
41 QList<XGUI_MenuGroupPanel*> myGroups;
43 CommandsArea* myCommandsArea;
44 QPushButton* myRightButton;
45 QPushButton* myLeftButton;