X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FRepairGUI%2FRepairGUI_SewingDlg.h;h=e4faf67932950020aad216897759138fcfd682d4;hb=7a3c2d25cc85b5c75acf2c8df92e4373af480d42;hp=264a9b6e7e0f4ba42def1d72bb3c9c9d4c0d5070;hpb=4e4b3762fc1215eb520840fe65eaeeea0854eff8;p=modules%2Fgeom.git diff --git a/src/RepairGUI/RepairGUI_SewingDlg.h b/src/RepairGUI/RepairGUI_SewingDlg.h index 264a9b6e7..e4faf6793 100644 --- a/src/RepairGUI/RepairGUI_SewingDlg.h +++ b/src/RepairGUI/RepairGUI_SewingDlg.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -42,7 +42,7 @@ class RepairGUI_SewingDlg : public GEOMBase_Skeleton { Q_OBJECT -public: + public: RepairGUI_SewingDlg( GeometryGUI*, QWidget* = 0, bool = false ); ~RepairGUI_SewingDlg(); @@ -51,33 +51,34 @@ protected: virtual GEOM::GEOM_IOperations_ptr createOperation(); virtual bool isValid( QString& ); virtual bool execute( ObjectList& ); - + virtual QList getSourceObjects(); + private: void Init(); void enterEvent( QEvent* ); void initSelection(); private: - GEOM::GEOM_Object_var myObject; + QList myObjects; DlgRef_1SelExt* GroupPoints; QCheckBox* myAllowNonManifoldChk; SalomeApp_DoubleSpinBox* myTolEdt; QPushButton* myFreeBoundBtn; - + int myClosed; // Number of free closed boundaries detected. Calculated in execute(), used in onDetect(). int myOpen; // Number of free open boundaries detected. Calculated in execute(), used in onDetect(). - + private slots: void ClickOnOk(); bool ClickOnApply(); - + void ActivateThisDialog(); - + void LineEditReturnPressed(); void SelectionIntoArgument(); void SetEditCurrentArgument(); - + void onDetect(); };