2 #ifndef XGUI_Workbench_H
3 #define XGUI_Workbench_H
10 class XGUI_MenuGroupPanel;
18 class XGUI_Workbench : public QWidget
22 XGUI_Workbench(QWidget* theParent);
24 XGUI_MenuGroupPanel* addGroup(const QString& theName = "");
25 XGUI_MenuGroupPanel* 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;