X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Workbench.h;h=7ede0b98faa4ff12a4095878697b81d8d73236ba;hb=d9db5498b576854aae37ddf8c0bb6fceb264712e;hp=d751a06973034edaf0ee2bd5e60a28c2fb541ca7;hpb=a1d3e85f42aebdcf8b570ab99f5f4558612573e7;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Workbench.h b/src/XGUI/XGUI_Workbench.h index d751a0697..7ede0b98f 100644 --- a/src/XGUI/XGUI_Workbench.h +++ b/src/XGUI/XGUI_Workbench.h @@ -1,6 +1,7 @@ #ifndef XGUI_Workbench_H #define XGUI_Workbench_H +#include "XGUI.h" #include #include #include @@ -12,10 +13,10 @@ class CommandsArea; class QHBoxLayout; class QPushButton; -class XGUI_Workbench: public QWidget +class XGUI_EXPORT XGUI_Workbench : public QWidget { Q_OBJECT -public: + public: XGUI_Workbench(QWidget* theParent); XGUI_MenuGroupPanel* addGroup(const QString& theId); @@ -27,16 +28,15 @@ public: //! Returns list of created commands QList features() const; -private slots: + private slots: void onLeftScroll(); void onRightScroll(); -protected: + protected: virtual void resizeEvent(QResizeEvent * theEvent); virtual bool eventFilter(QObject *theObj, QEvent *theEvent); - -private: + private: void addSeparator(); bool isExceedsLeft(); bool isExceedsRight();