2 #ifndef XGUI_MenuGroupPanel_H
3 #define XGUI_MenuGroupPanel_H
5 #include "XGUI_Interfaces.h"
13 class XGUI_MenuGroupPanel : public QWidget, public IMenuGroup
17 explicit XGUI_MenuGroupPanel(QWidget *parent = 0);
19 virtual IFeatureMenu* addFeature(const QString& theId,
20 const QString& theTitle,
21 const QString& theTip,
23 const QKeySequence& theKeys = QKeySequence());
26 virtual void resizeEvent(QResizeEvent *theEvent);
29 void addWidget(QWidget* theWgt);
30 void placeWidget(QWidget* theWgt);
31 void addCommand(XGUI_Command* theAction);
33 QMap<XGUI_Command*, QWidget*> myActions;
34 QGridLayout* myLayout;