Salome HOME
Auto-formatting according to the defined code standard.
[modules/shaper.git] / src / XGUI / XGUI_MenuGroupPanel.h
index 9c72384d19d6c25dde6999eda0418cd3bf646d74..87f061b6e503ce7e6f5c99bd269360e76e8fb437 100644 (file)
@@ -1,4 +1,3 @@
-
 #ifndef XGUI_MenuGroupPanel_H
 #define XGUI_MenuGroupPanel_H
 
@@ -8,31 +7,28 @@
 class XGUI_Command;
 class QGridLayout;
 
-class XGUI_MenuGroupPanel : public QWidget
+class XGUI_MenuGroupPanel: public QWidget
 {
-    Q_OBJECT
+Q_OBJECT
 public:
-    explicit XGUI_MenuGroupPanel(QWidget *parent = 0);
+  explicit XGUI_MenuGroupPanel(QWidget *parent = 0);
 
-    XGUI_Command* addFeature(const QString& theId,
-                             const QString& theTitle,
-                             const QString& theTip,
-                             const QIcon& theIcon,
-                             const QKeySequence& theKeys = QKeySequence());
+  XGUI_Command* addFeature(const QString& theId, const QString& theTitle, const QString& theTip,
+                           const QIcon& theIcon, const QKeySequence& theKeys = QKeySequence());
 
 protected:
-    virtual void resizeEvent(QResizeEvent *theEvent);
+  virtual void resizeEvent(QResizeEvent *theEvent);
 
 private:
-    void addWidget(QWidget* theWgt);
-    void placeWidget(QWidget* theWgt);
-    void addCommand(XGUI_Command* theAction);
-
-    QMap<XGUI_Command*, QWidget*> myActions;
-    QGridLayout* myLayout;
-    int myNewRow;
-    int myNewCol;
-    int myMaxRow;
+  void addWidget(QWidget* theWgt);
+  void placeWidget(QWidget* theWgt);
+  void addCommand(XGUI_Command* theAction);
+
+  QMap<XGUI_Command*, QWidget*> myActions;
+  QGridLayout* myLayout;
+  int myNewRow;
+  int myNewCol;
+  int myMaxRow;
 };
 
 #endif