Salome HOME
Issue #529 : 4.07. Import IGES, export to BREP, STEP, IGES - Export IGES with versions
[modules/shaper.git] / src / PartSet / PartSet_Module.cpp
index 6cc3f94e802a6a4ea4882a321be96e523c1bde82..4f4dd7fa1e32f3391b9f9a363fe4b5e7fdd7a4e7 100644 (file)
@@ -10,6 +10,7 @@
 #include "PartSet_WidgetPoint2dAngle.h"
 #include "PartSet_WidgetMultiSelector.h"
 #include "PartSet_WidgetEditor.h"
+#include "PartSet_WidgetFileSelector.h"
 #include "PartSet_SketcherMgr.h"
 #include "PartSet_MenuMgr.h"
 
@@ -495,6 +496,8 @@ ModuleBase_ModelWidget* PartSet_Module::createWidgetByType(const std::string& th
   }
   if (theType == WDG_DOUBLEVALUE_EDITOR) {
     aWgt = new PartSet_WidgetEditor(theParent, workshop(), theWidgetApi, theParentId);
+  } else if (theType == "export_file_selector") {
+    aWgt = new PartSet_WidgetFileSelector(theParent, workshop(), theWidgetApi, theParentId);
   } 
   return aWgt;
 }
@@ -735,4 +738,4 @@ void PartSet_Module::processEvent(const std::shared_ptr<Events_Message>& theMess
     }
     aLabel->setPalette(aPalet);
   }
-}
\ No newline at end of file
+}