Salome HOME
Use choice control for groups
[modules/shaper.git] / src / ModuleBase / ModuleBase_PageGroupBox.h
index a5f33f9f2897aeec44b9b003e71cce9182b9e647..47bfe8ec317cdc0c9ed294dcb0e57d7ce008a04c 100644 (file)
@@ -1,9 +1,22 @@
-/*
- * ModuleBase_PageGroupBox.h
- *
- *  Created on: Mar 4, 2015
- *      Author: sbh
- */
+// Copyright (C) 2014-2017  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<mailto:webmaster.salome@opencascade.com>
+//
 
 #ifndef MODULEBASE_PAGEGROUPBOX_H_
 #define MODULEBASE_PAGEGROUPBOX_H_
@@ -35,7 +48,7 @@ class MODULEBASE_EXPORT ModuleBase_PageGroupBox : public QGroupBox, public Modul
   /// Adds the given widget to page's layout
   virtual void placeModelWidget(ModuleBase_ModelWidget* theWidget);
   /// Adds the given page to page's layout
-  virtual void placePageWidget(ModuleBase_PageBase* theWidget);
+  virtual void placeWidget(QWidget* theWidget);
   /// Returns page's layout (QGridLayout)
   virtual QLayout* pageLayout();
   /// Adds a stretch to page's layout