X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Workbench.h;h=7ede0b98faa4ff12a4095878697b81d8d73236ba;hb=ed165fd07e71c11885fdc5f475a8522a5914e00d;hp=144a23a2d2fe8ffa84965b6b1facfe2f8346e150;hpb=2c7c361d0ab4687935496e4bb6fe2b2e12702fc9;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Workbench.h b/src/XGUI/XGUI_Workbench.h index 144a23a2d..7ede0b98f 100644 --- a/src/XGUI/XGUI_Workbench.h +++ b/src/XGUI/XGUI_Workbench.h @@ -13,10 +13,10 @@ class CommandsArea; class QHBoxLayout; class QPushButton; -class XGUI_EXPORT 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); @@ -28,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();