- virtual IFeatureMenu* addFeature(const QString& theId,
- const QString& theTitle,
- const QString& theTip,
- const QIcon& theIcon,
- const QKeySequence& theKeys = QKeySequence());
+ //! Adding a new feature (Command) in the group
+ XGUI_Command* addFeature(const QString& theId, const QString& theTitle, const QString& theTip,
+ const QIcon& theIcon, const QKeySequence& theKeys = QKeySequence(),
+ bool isCheckable = false);
+
+ //! Returns already created command by its ID
+ XGUI_Command* feature(const QString& theId) const;
+
+ //! Returns list of created commands
+ QList<XGUI_Command*> features() const { return myActions; }