X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FParametersPlugin%2FParametersPlugin_WidgetCreator.h;h=2697b9783986b972462a48bb63411a2a818abd60;hb=04e2497fc973f0afc95d0a4a6f95e37fb27f45e8;hp=872fd55115f65f62cb7fd42d73bcabfe7ee96e0b;hpb=66d913fb8f4a0b7764fbb79a4139785db4b3b346;p=modules%2Fshaper.git diff --git a/src/ParametersPlugin/ParametersPlugin_WidgetCreator.h b/src/ParametersPlugin/ParametersPlugin_WidgetCreator.h index 872fd5511..2697b9783 100644 --- a/src/ParametersPlugin/ParametersPlugin_WidgetCreator.h +++ b/src/ParametersPlugin/ParametersPlugin_WidgetCreator.h @@ -1,8 +1,21 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: ParametersPlugin_WidgetCreator.h -// Created: 11 Apr 2016 -// Author: Vitaly SMETANNIKOV +// Copyright (C) 2014-2022 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 ParametersPlugin_WidgetCreator_H #define ParametersPlugin_WidgetCreator_H @@ -25,20 +38,20 @@ public: ParametersPlugin_WidgetCreator(); /// Returns a container of possible widget types, which this creator can process - /// \param a list of type names + /// \param theTypes a list of type names virtual void widgetTypes(std::set& theTypes); /// Create widget by its type /// The default implementation is empty /// \param theType a type /// \param theParent a parent widget - /// \param theData a low-level API for reading xml definitions of widgets + /// \param theWidgetApi a low-level API for reading xml definitions of widgets /// \param theWorkshop a current workshop /// \return a created model widget or null virtual ModuleBase_ModelWidget* createWidgetByType(const std::string& theType, QWidget* theParent, Config_WidgetAPI* theWidgetApi, - ModuleBase_IWorkshop* /*theWorkshop*/); + ModuleBase_IWorkshop* theWorkshop); }; #endif