Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote branch 'origin/hydro/imps_2015'
[modules/geom.git]
/
src
/
RepairGUI
/
RepairGUI_SewingDlg.h
diff --git
a/src/RepairGUI/RepairGUI_SewingDlg.h
b/src/RepairGUI/RepairGUI_SewingDlg.h
index fa81580574068b9dfb34f7e2e05d73ce41c6d931..e4faf67932950020aad216897759138fcfd682d4 100644
(file)
--- a/
src/RepairGUI/RepairGUI_SewingDlg.h
+++ b/
src/RepairGUI/RepairGUI_SewingDlg.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
2
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
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
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-6,7
+6,7
@@
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License
, or (at your option) any later version
.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-30,6
+30,7
@@
#include <GEOMBase_Skeleton.h>
class DlgRef_1SelExt;
#include <GEOMBase_Skeleton.h>
class DlgRef_1SelExt;
+class QCheckBox;
class SalomeApp_DoubleSpinBox;
class QPushButton;
class SalomeApp_DoubleSpinBox;
class QPushButton;
@@
-41,7
+42,7
@@
class RepairGUI_SewingDlg : public GEOMBase_Skeleton
{
Q_OBJECT
{
Q_OBJECT
-public:
+
public:
RepairGUI_SewingDlg( GeometryGUI*, QWidget* = 0, bool = false );
~RepairGUI_SewingDlg();
RepairGUI_SewingDlg( GeometryGUI*, QWidget* = 0, bool = false );
~RepairGUI_SewingDlg();
@@
-50,32
+51,34
@@
protected:
virtual GEOM::GEOM_IOperations_ptr createOperation();
virtual bool isValid( QString& );
virtual bool execute( ObjectList& );
virtual GEOM::GEOM_IOperations_ptr createOperation();
virtual bool isValid( QString& );
virtual bool execute( ObjectList& );
-
+ virtual QList<GEOM::GeomObjPtr> getSourceObjects();
+
private:
void Init();
void enterEvent( QEvent* );
void initSelection();
private:
private:
void Init();
void enterEvent( QEvent* );
void initSelection();
private:
-
GEOM::GEOM_Object_var myObject
;
+
QList<GEOM::GeomObjPtr> myObjects
;
DlgRef_1SelExt* GroupPoints;
DlgRef_1SelExt* GroupPoints;
+ QCheckBox* myAllowNonManifoldChk;
SalomeApp_DoubleSpinBox* myTolEdt;
QPushButton* myFreeBoundBtn;
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().
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();
private slots:
void ClickOnOk();
bool ClickOnApply();
-
+
void ActivateThisDialog();
void ActivateThisDialog();
-
+
void LineEditReturnPressed();
void SelectionIntoArgument();
void SetEditCurrentArgument();
void LineEditReturnPressed();
void SelectionIntoArgument();
void SetEditCurrentArgument();
-
+
void onDetect();
};
void onDetect();
};