#ifndef XGUI_MenuGroupPanel_H
#define XGUI_MenuGroupPanel_H
+#include "XGUI.h"
#include <QWidget>
#include <QMap>
* \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:
//! 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;