X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_MenuGroupPanel.h;h=b43ef75c6e7175e3561c7294da3ee111c6791841;hb=47c18d4de2719126f6b045b5c37525cd8f170aa1;hp=fa3152ec075867fea4cf6ea51245fad28e65dca2;hpb=309c6241144204b2a2c1cf23cb68f037833fb983;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_MenuGroupPanel.h b/src/XGUI/XGUI_MenuGroupPanel.h index fa3152ec0..b43ef75c6 100644 --- a/src/XGUI/XGUI_MenuGroupPanel.h +++ b/src/XGUI/XGUI_MenuGroupPanel.h @@ -1,6 +1,7 @@ #ifndef XGUI_MenuGroupPanel_H #define XGUI_MenuGroupPanel_H +#include "XGUI.h" #include #include @@ -11,7 +12,7 @@ class QGridLayout; * \ingroup GUI * \brief Represents a one group in a page of main menu (workbench) */ -class XGUI_MenuGroupPanel: public QWidget +class XGUI_EXPORT XGUI_MenuGroupPanel: public QWidget { Q_OBJECT public: @@ -19,7 +20,8 @@ public: //! 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()); + const QIcon& theIcon, const QKeySequence& theKeys = QKeySequence(), + bool isCheckable = false); //! Returns already created command by its ID XGUI_Command* feature(const QString& theId) const;