1 #ifndef XGUI_Workbench_H
2 #define XGUI_Workbench_H
9 class XGUI_MenuGroupPanel;
15 class XGUI_Workbench: public QWidget
19 XGUI_Workbench(QWidget* theParent);
21 XGUI_MenuGroupPanel* addGroup(const QString& theId);
22 XGUI_MenuGroupPanel* findGroup(const QString& theName);
29 virtual void resizeEvent(QResizeEvent * theEvent);
30 virtual bool eventFilter(QObject *theObj, QEvent *theEvent);
35 bool isExceedsRight();
37 QWidget* myChildWidget;
38 QHBoxLayout* myLayout;
39 QList<XGUI_MenuGroupPanel*> myGroups;
41 CommandsArea* myCommandsArea;
42 QPushButton* myRightButton;
43 QPushButton* myLeftButton;