2 #ifndef XGUI_Workbench_H
3 #define XGUI_Workbench_H
10 class XGUI_MenuGroupPanel;
16 class XGUI_Workbench : public QWidget
20 XGUI_Workbench(QWidget* theParent);
24 void addCommand(int theGroupId, XGUI_Command* theCommand);
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;