Salome HOME
Issue #2998: Add help description for automatic creation of constraints
[modules/shaper.git] / src / ModuleBase / ModuleBase_PageBase.h
index 7f695f7bd5f5b9893a9a5f3fa647c2c016810851..5bab9b7a3b7e985cef9ba96da047ce8e9596c425 100644 (file)
@@ -1,9 +1,21 @@
-/*
- * ModuleBase_PageBase.h
- *
- *  Created on: Mar 4, 2015
- *      Author: sbh
- */
+// Copyright (C) 2014-2019  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_PAGEBASE_H_
 #define MODULEBASE_PAGEBASE_H_
@@ -39,7 +51,7 @@ class MODULEBASE_EXPORT ModuleBase_PageBase
   /// Passes focus from page to the first ModuleBase_ModelWidget contained on the page
   bool takeFocus();
   /// Returns list of ModuleBase_ModelWidgets contained on the page
-  QList<ModuleBase_ModelWidget*> modelWidgets();
+  QList<ModuleBase_ModelWidget*> modelWidgets() const;
   /// Aligns top all widgets on page
   void alignToTop();