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(const QString& theName = "");
25 virtual IMenuGroup* findGroup(const QString& theName);
32 virtual void resizeEvent(QResizeEvent * theEvent);
37 bool isExceedsRight();
40 QWidget* myChildWidget;
41 QHBoxLayout* myLayout;
42 QList<XGUI_MenuGroupPanel*> myGroups;
44 CommandsArea* myCommandsArea;
45 QPushButton* myRightButton;
46 QPushButton* myLeftButton;