- XGUI_Command* aCommand = new XGUI_Command(theId, theIcon, theTitle, this);
+ return addFeature(theId, theTip, theTitle, theIcon, QString(), theKeys, false);
+}
+
+XGUI_Command* XGUI_MenuGroupPanel::addFeature(const QString& theId,
+ const QString& theTitle,
+ const QString& theTip,
+ const QIcon& theIcon,
+ const QString& theDocumentKind,
+ const QKeySequence& theKeys,
+ bool isCheckable)
+{
+ XGUI_Command* aCommand = new XGUI_Command(theId, theDocumentKind, theIcon,
+ theTitle, this, isCheckable);