]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Merge branch 'master' of newgeom:newgeom
authornds <natalia.donis@opencascade.com>
Tue, 24 Jun 2014 09:03:02 +0000 (13:03 +0400)
committernds <natalia.donis@opencascade.com>
Tue, 24 Jun 2014 09:03:02 +0000 (13:03 +0400)
Conflicts:
src/Config/Config_Keywords.h
src/ModuleBase/ModuleBase_WidgetFactory.cpp
src/PartSet/PartSet_OperationFeatureCreate.cpp

1  2 
src/Config/Config_Keywords.h
src/ModuleBase/CMakeLists.txt
src/ModuleBase/ModuleBase_WidgetFactory.cpp
src/ModuleBase/ModuleBase_WidgetFactory.h
src/PartSet/PartSet_OperationFeatureCreate.cpp
src/SketchPlugin/plugin-Sketch.xml

index 08614013bc16061713bbb2c7dc836a8647609862,c9d705d551da19b2980e08176a27197f2ccce6cb..0a3fabcb132de94ca2e1044732058ef77f6788d8
@@@ -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";
Simple merge
index e651ba7d362fbf3d8dbba99b07b4bd78fa7493dd,4ce4f79aa40184b58b3acddbef5798f14d557017..0ced5bb8b19d290b6a087414eb838b90d85f2267
@@@ -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()) {
index bd5529244be6770994993bb8d189a491ff155c3d,afc823140cd60e077c05384086e463c865c87c34..516a308d4ef833b9d0b7ec3c835ea2b2fbe95055
@@@ -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*/;
  }
  
Simple merge