X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FModuleBase%2FModuleBase_WidgetCreatorFactory.h;h=45cc5b5bb19fb5d6192c1b600400303fbdf987c0;hb=2ab502106663ac32f9a5d87e4fdc950f5ac6f6b7;hp=c242d5475d7133d4cc086ae23a89400de3d99c46;hpb=2532fb2df83ee1ddd9ff3e8b381d3788eaa15b69;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetCreatorFactory.h b/src/ModuleBase/ModuleBase_WidgetCreatorFactory.h old mode 100755 new mode 100644 index c242d5475..45cc5b5bb --- a/src/ModuleBase/ModuleBase_WidgetCreatorFactory.h +++ b/src/ModuleBase/ModuleBase_WidgetCreatorFactory.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// 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 @@ -12,9 +12,9 @@ // // 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 +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef MODULEBASE_WIDGETCREATORFACTORY_H_ @@ -65,9 +65,12 @@ class MODULEBASE_EXPORT ModuleBase_WidgetCreatorFactory /// \param theType a type /// \param theParent a parent widget /// \param theFeature a feature to fill the panel + /// \param theWidgetApi the widget configuration. + /// The attribute of the model widget is obtained from XML /// \return a created panel or null QWidget* createPanelByType(const std::string& theType, QWidget* theParent, - const FeaturePtr& theFeature); + const FeaturePtr& theFeature, + Config_WidgetAPI* theWidgetApi = 0); /// Returns true if there is a creator, which can make a page by the type /// \param theType a type