X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_PageBase.cpp;h=daf1bd034e5dbf61f8b64047e6d61f51659e161b;hb=423f6b0a08a86d5e47115b87603cddeae4468b49;hp=38eff9ce719eafdbd10c57e5577a898551ddf116;hpb=818bc197ba38350efb1a88e5735687a9da5ed6c3;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_PageBase.cpp b/src/ModuleBase/ModuleBase_PageBase.cpp index 38eff9ce7..daf1bd034 100644 --- a/src/ModuleBase/ModuleBase_PageBase.cpp +++ b/src/ModuleBase/ModuleBase_PageBase.cpp @@ -1,3 +1,4 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D /* * ModuleBase_PageBase.cpp * @@ -58,9 +59,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 +81,7 @@ bool ModuleBase_PageBase::takeFocus() return myWidgetList.first()->focusTo(); } -QList ModuleBase_PageBase::modelWidgets() +QList ModuleBase_PageBase::modelWidgets() const { return myWidgetList; }