-// Copyright (C) 2007-2013 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
// 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
class DlgRef_1Sel;
class SalomeApp_IntSpinBox;
class SalomeApp_DoubleSpinBox;
-class QComboBox;
class QCheckBox;
+class QComboBox;
class QListWidget;
+class QListWidgetItem;
+class QStackedLayout;
//=================================================================================
// class : RepairGUI_ShapeProcessDlg
virtual GEOM::GEOM_IOperations_ptr createOperation();
virtual bool isValid( QString& );
virtual bool execute( ObjectList& );
+ virtual QList<GEOM::GeomObjPtr> getSourceObjects();
private:
void init();
//QDict<QString,QWidget*> myCtrlMap; // map of controls (values) of parameters
void initParamsValues(); // initialize the data structures
void initSelection();
+ void updateSelectAll();
private:
QStringList myOpLst; // list of available Shape Healing Operators
GEOM::ListOfGO_var myObjects; // selected objects
DlgRef_1Sel* mySelectWdgt;
+ QCheckBox* mySelectAll;
QListWidget* myOpList;
+ QStackedLayout* myStack;
SalomeApp_DoubleSpinBox* myFixShapeTol3D;
SalomeApp_DoubleSpinBox* myFixShapeMaxTol3D;
SalomeApp_DoubleSpinBox* myToBezierMaxTol;
SalomeApp_DoubleSpinBox* mySameParameterTol3D;
-
+
+ QCheckBox* myDropSmallSolidsWidChk;
+ QCheckBox* myDropSmallSolidsVolChk;
+ SalomeApp_DoubleSpinBox* myDropSmallSolidsWidTol;
+ SalomeApp_DoubleSpinBox* myDropSmallSolidsVolTol;
+ QCheckBox* myDropSmallSolidsMergeChk;
+
private slots:
void onOk();
bool onApply();
void selectionChanged();
void selectClicked();
void advOptionToggled( bool );
-};
+ void operatorChecked( QListWidgetItem * item );
+ void onSelectAll( int );
+};
#endif // REPAIRGUI_SHAPEPROCESSDLG_H