2 #ifndef XGUI_MenuGroupPanel_H
3 #define XGUI_MenuGroupPanel_H
11 class XGUI_MenuGroupPanel : public QWidget
15 explicit XGUI_MenuGroupPanel(QWidget *parent = 0);
17 XGUI_Command* addFeature(const QString& theId,
18 const QString& theTitle,
19 const QString& theTip,
21 const QKeySequence& theKeys = QKeySequence());
24 virtual void resizeEvent(QResizeEvent *theEvent);
27 void addWidget(QWidget* theWgt);
28 void placeWidget(QWidget* theWgt);
29 void addCommand(XGUI_Command* theAction);
31 QMap<XGUI_Command*, QWidget*> myActions;
32 QGridLayout* myLayout;