Salome HOME
Copyright update 2022
[modules/shaper.git] / src / ModuleBase / ModuleBase_PageWidget.h
index 6ff94ca5ee35b7ef544fc5c5abfca7479ab4da72..eb295aa23157636c64881b94383e12b98742f5e9 100644 (file)
@@ -1,9 +1,21 @@
-/*
- * ModuleBase_PageWidget.h
- *
- *  Created on: Mar 4, 2015
- *      Author: sbh
- */
+// Copyright (C) 2014-2022  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 
 #ifndef MODULEBASE_PAGEWIDGET_H_
 #define MODULEBASE_PAGEWIDGET_H_
@@ -15,7 +27,7 @@
 #include <QList>
 
 class ModuleBase_ModelWidget;
-class QGridLayout;
+class QVBoxLayout;
 
 /*!
  * \ingroup GUI
@@ -41,7 +53,7 @@ class MODULEBASE_EXPORT ModuleBase_PageWidget : public QFrame, public ModuleBase
   virtual void addPageStretch();
 
  private:
-  QGridLayout* myMainLayout; ///< page's layout
+  QVBoxLayout* myMainLayout; ///< page's layout
 };
 
 #endif /* MODULEBASE_PAGEWIDGET_H_ */