X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_PageBase.cpp;h=d48bf062bacafb97c83b659d2982690356a75f98;hb=b3025c793455da0df5d0fe83455a7f45c64e885e;hp=38eff9ce719eafdbd10c57e5577a898551ddf116;hpb=818bc197ba38350efb1a88e5735687a9da5ed6c3;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_PageBase.cpp b/src/ModuleBase/ModuleBase_PageBase.cpp index 38eff9ce7..d48bf062b 100644 --- a/src/ModuleBase/ModuleBase_PageBase.cpp +++ b/src/ModuleBase/ModuleBase_PageBase.cpp @@ -1,9 +1,22 @@ -/* - * ModuleBase_PageBase.cpp - * - * 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 +// #include #include @@ -58,9 +71,9 @@ void ModuleBase_PageBase::clearPage() // Issue #460: this patch is necessary since the row stretch information // is stored independently on the items: when the items are removed - // from the layout the stretch information is kept, so in the next + // from the layout the stretch information is kept, so in the next // filling of the layout some "additional" (old) rows may be stretched - // without necessity. + // without necessity. // In this patch we clear the stretch information specifying the default value: 0. QGridLayout* aLayout = dynamic_cast( pageLayout() ); if( aLayout ) @@ -80,7 +93,7 @@ bool ModuleBase_PageBase::takeFocus() return myWidgetList.first()->focusTo(); } -QList ModuleBase_PageBase::modelWidgets() +QList ModuleBase_PageBase::modelWidgets() const { return myWidgetList; }