#include <SUIT_ResourceMgr.h>
#include <SUIT_Session.h>
#include <SalomeApp_Application.h>
+#include <SalomeApp_Notebook.h>
#include <LightApp_SelectionMgr.h>
#include <TopoDS_Iterator.hxx>
SIGNAL( currentSelectionChanged() ), this, SLOT( SelectionIntoArgument() ) );
initName( tr( "GEOM_FILLING" ) );
+ resize(100,100);
}
//=================================================================================
//=================================================================================
bool GenerationGUI_FillingDlg::execute( ObjectList& objects )
{
- GEOM::GEOM_Object_var anObj;
-
- anObj = GEOM::GEOM_I3DPrimOperations::_narrow(getOperation() )->MakeFilling(
- myCompound, myMinDeg, myMaxDeg, myTol2D, myTol3D, myNbIter, myIsApprox );
+ GEOM::GEOM_I3DPrimOperations_var anOper = GEOM::GEOM_I3DPrimOperations::_narrow(getOperation());
+ GEOM::GEOM_Object_var anObj = anOper->MakeFilling( myCompound, myMinDeg, myMaxDeg,
+ myTol2D, myTol3D, myNbIter, myIsApprox );
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(GeometryGUI::JoinObjectParameters(aParameters));
- }
+ myNoteBook->setParameters(anObj, 5,
+ GroupPoints->SpinBox1,
+ GroupPoints->SpinBox2,
+ GroupPoints->SpinBox3,
+ GroupPoints->SpinBox4,
+ GroupPoints->SpinBox5);
objects.push_back( anObj._retn() );
}