Salome HOME
Preparation of intermediate revision
[modules/geom.git] / src / GenerationGUI / GenerationGUI_FillingDlg.cxx
index fa200559a791cc4be339e477b96403b8f869d2d5..69f9d09e8580955c3a309a62a6f6e9f93e7fc8f1 100644 (file)
@@ -32,6 +32,7 @@
 #include <SUIT_ResourceMgr.h>
 #include <SUIT_Session.h>
 #include <SalomeApp_Application.h>
+#include <SalomeApp_Notebook.h>
 #include <LightApp_SelectionMgr.h>
 
 #include <TopoDS_Iterator.hxx>
@@ -361,15 +362,12 @@ bool GenerationGUI_FillingDlg::execute( ObjectList& objects )
   if ( !anObj->_is_nil() )
   {
     if ( !IsPreview() )
-    {
-      QStringList aParameters;
-      aParameters << GroupPoints->SpinBox1->text();
-      aParameters << GroupPoints->SpinBox2->text();
-      aParameters << GroupPoints->SpinBox3->text();
-      aParameters << GroupPoints->SpinBox4->text();
-      aParameters << GroupPoints->SpinBox5->text();
-      anObj->SetParameters(aParameters.join(":").toLatin1().constData());
-    }
+      myNoteBook->setParameters(anObj, 5,
+                                GroupPoints->SpinBox1,
+                                GroupPoints->SpinBox2,
+                                GroupPoints->SpinBox3,
+                                GroupPoints->SpinBox4,
+                                GroupPoints->SpinBox5);
     objects.push_back( anObj._retn() );
   }