Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Task #3230: Sketcher: create a curve passing through selected points or vertices...
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetCreatorFactory.cpp
diff --git
a/src/ModuleBase/ModuleBase_WidgetCreatorFactory.cpp
b/src/ModuleBase/ModuleBase_WidgetCreatorFactory.cpp
old mode 100755
(executable)
new mode 100644
(file)
index
1b4e15b
..
b312265
--- a/
src/ModuleBase/ModuleBase_WidgetCreatorFactory.cpp
+++ b/
src/ModuleBase/ModuleBase_WidgetCreatorFactory.cpp
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-201
7
CEA/DEN, EDF R&D
+// Copyright (C) 2014-201
9
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
//
// 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
//
// 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
<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#include <ModuleBase_WidgetCreatorFactory.h>
//
#include <ModuleBase_WidgetCreatorFactory.h>
@@
-99,12
+99,13
@@
bool ModuleBase_WidgetCreatorFactory::hasPanelWidget(const std::string& theType)
QWidget* ModuleBase_WidgetCreatorFactory::createPanelByType(const std::string& theType,
QWidget* theParent,
QWidget* ModuleBase_WidgetCreatorFactory::createPanelByType(const std::string& theType,
QWidget* theParent,
- const FeaturePtr& theFeature)
+ const FeaturePtr& theFeature,
+ Config_WidgetAPI* myWidgetApi)
{
QWidget* aPanel = 0;
if (myPanelToCreator.contains(theType)) {
WidgetCreatorPtr aCreator = myPanelToCreator[theType];
{
QWidget* aPanel = 0;
if (myPanelToCreator.contains(theType)) {
WidgetCreatorPtr aCreator = myPanelToCreator[theType];
- aPanel = aCreator->createPanelByType(theType, theParent, theFeature);
+ aPanel = aCreator->createPanelByType(theType, theParent, theFeature
, myWidgetApi
);
}
return aPanel;
}
}
return aPanel;
}