From: nds Date: Tue, 24 Jun 2014 09:03:02 +0000 (+0400) Subject: Merge branch 'master' of newgeom:newgeom X-Git-Tag: V_0.4.4~263 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c3d65a61b0e82724e3211ba475c124472c1de39d;p=modules%2Fshaper.git Merge branch 'master' of newgeom:newgeom Conflicts: src/Config/Config_Keywords.h src/ModuleBase/ModuleBase_WidgetFactory.cpp src/PartSet/PartSet_OperationFeatureCreate.cpp --- c3d65a61b0e82724e3211ba475c124472c1de39d diff --cc src/Config/Config_Keywords.h index 08614013b,c9d705d55..0a3fabcb1 --- a/src/Config/Config_Keywords.h +++ b/src/Config/Config_Keywords.h @@@ -31,8 -31,9 +31,10 @@@ const static char* WDG_SELECTOR = "sele //Specific widget containers const static char* WDG_POINT_SELECTOR = "point_selector"; + const static char* WDG_POINT2D_DISTANCE = "point2ddistance"; + const static char* WDG_FEATURE_SELECTOR = "feature_selector"; +const static char* WDG_DOUBLEVALUE_EDITOR = "doublevalue_editor"; const static char* _ID = "id"; //const static char* WORKBENCH_ID = "id"; diff --cc src/ModuleBase/ModuleBase_WidgetFactory.cpp index e651ba7d3,4ce4f79aa..0ced5bb8b --- a/src/ModuleBase/ModuleBase_WidgetFactory.cpp +++ b/src/ModuleBase/ModuleBase_WidgetFactory.cpp @@@ -124,8 -124,8 +125,11 @@@ QWidget* ModuleBase_WidgetFactory::crea } else if (theType == WDG_FEATURE_SELECTOR) { result = featureSelectorControl(theParent); + } else if (theType == WDG_DOUBLEVALUE_EDITOR) { + result = doubleValueEditor(theParent); ++ + } else if (theType == WDG_POINT2D_DISTANCE) { + result = point2dDistanceControl(theParent); } else if (myWidgetApi->isContainerWidget() || myWidgetApi->isPagedWidget()) { diff --cc src/PartSet/PartSet_OperationFeatureCreate.cpp index bd5529244,afc823140..516a308d4 --- a/src/PartSet/PartSet_OperationFeatureCreate.cpp +++ b/src/PartSet/PartSet_OperationFeatureCreate.cpp @@@ -53,8 -54,8 +54,8 @@@ PartSet_OperationFeatureCreate::~PartSe bool PartSet_OperationFeatureCreate::canProcessKind(const std::string& theId) { - return theId == SKETCH_LINE_KIND || theId == SKETCH_POINT_KIND /*|| - theId == SKETCH_CONSTRAINT_DISTANCE_KIND*/ || theId == SKETCH_CIRCLE_KIND /*|| + return theId == SKETCH_LINE_KIND || theId == SKETCH_POINT_KIND || - theId == SKETCH_CONSTRAINT_DISTANCE_KIND/*|| theId == SKETCH_CIRCLE_KIND || ++ theId == SKETCH_CONSTRAINT_DISTANCE_KIND || theId == SKETCH_CIRCLE_KIND /*|| theId == SKETCH_ARC_KIND*/; }