Salome HOME
Document's kind dependent features implemented
[modules/shaper.git] / src / XGUI / XGUI_MenuGroupPanel.h
index 7cf1f1d4164e5a76246034ddfc98d6e3b5e3e305..76de10371f6f1c4a0a87eb8f7cff50bcabf35963 100644 (file)
@@ -20,8 +20,18 @@ Q_OBJECT
   explicit XGUI_MenuGroupPanel(QWidget *parent = 0);
 
   //! 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(),
+  XGUI_Command* addFeature(const QString& theId,
+                           const QString& theTip,
+                           const QString& theTitle,
+                           const QIcon& theIcon,
+                           const QKeySequence& theKeys = QKeySequence());
+
+  XGUI_Command* addFeature(const QString& theId,
+                           const QString& theTip,
+                           const QString& theTitle,
+                           const QIcon& theIcon,
+                           const QString& theDocumentKind = QString(),
+                           const QKeySequence& theKeys = QKeySequence(),
                            bool isCheckable = false);
 
   //! Returns already created command by its ID