Salome HOME
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git] / src / XGUI / XGUI_Workbench.h
index 2564f21ce7eaf980f5c7670b1f33200c9b7f604a..cc362db2b10f9e6cc0e08240bc157079cf5c794f 100644 (file)
@@ -1,4 +1,3 @@
-
 #ifndef XGUI_Workbench_H
 #define XGUI_Workbench_H
 
@@ -13,37 +12,34 @@ class CommandsArea;
 class QHBoxLayout;
 class QPushButton;
 
-
-
-class XGUI_Workbench : public QWidget
+class XGUI_Workbench: public QWidget
 {
-    Q_OBJECT
+Q_OBJECT
 public:
-    XGUI_Workbench(QWidget* theParent);
+  XGUI_Workbench(QWidget* theParent);
 
-    XGUI_MenuGroupPanel* addGroup(const QString& theId);
-    XGUI_MenuGroupPanel* findGroup(const QString& theName);
+  XGUI_MenuGroupPanel* addGroup(const QString& theId);
+  XGUI_MenuGroupPanel* findGroup(const QString& theName);
 
 private slots:
-    void onLeftScroll();
-    void onRightScroll();
+  void onLeftScroll();
+  void onRightScroll();
 
 protected:
-    virtual void resizeEvent(QResizeEvent * theEvent);
+  virtual void resizeEvent(QResizeEvent * theEvent);
 
 private:
-    void addSeparator();
-    bool isExceedsLeft();
-    bool isExceedsRight();
-
+  void addSeparator();
+  bool isExceedsLeft();
+  bool isExceedsRight();
 
-    QWidget* myChildWidget;
-    QHBoxLayout* myLayout;
-    QList<XGUI_MenuGroupPanel*> myGroups;
+  QWidget* myChildWidget;
+  QHBoxLayout* myLayout;
+  QList<XGUI_MenuGroupPanel*> myGroups;
 
-    CommandsArea* myCommandsArea;
-    QPushButton* myRightButton;
-    QPushButton* myLeftButton;
+  CommandsArea* myCommandsArea;
+  QPushButton* myRightButton;
+  QPushButton* myLeftButton;
 };
 
 #endif;