// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
// File : BuildGUI_FaceDlg.h
// Author : Lucien PIGNOLONI
// Module : GEOM
-// $Header$
#ifndef DIALOGBOX_FACE_H
#define DIALOGBOX_FACE_H
#include "GEOMBase_Skeleton.h"
#include "DlgRef_1Sel1Check_QTD.h"
-#include "BuildGUI.h"
-
-#include "GEOM_ShapeTypeFilter.hxx"
-
//=================================================================================
// class : BuildGUI_FaceDlg
// purpose :
Q_OBJECT
public:
- BuildGUI_FaceDlg(QWidget* parent = 0, const char* name = 0, BuildGUI* theBuildGUI = 0, SALOME_Selection* Sel = 0, bool modal = FALSE, WFlags fl = 0);
+ BuildGUI_FaceDlg(GeometryGUI* theGeometryGUI, QWidget* parent = 0,
+ const char* name = 0, bool modal = FALSE, WFlags fl = 0);
~BuildGUI_FaceDlg();
+protected:
+ // redefined from GEOMBase_Helper
+ virtual GEOM::GEOM_IOperations_ptr createOperation();
+ virtual bool isValid( QString& msg );
+ virtual bool execute( ObjectList& objects );
+
private:
void Init();
void enterEvent(QEvent* e);
-
- BuildGUI* myBuildGUI;
-
- /* Filter selection */
- Handle(GEOM_ShapeTypeFilter) myWireFilter;
-
- GEOM::GEOM_Gen::ListOfIOR myListShapes;
- bool myOkListShapes; /* to check when arguments is defined */
-
- DlgRef_1Sel1Check_QTD* GroupPoints;
+
+ GEOM::ListOfGO myWires;
+
+ DlgRef_1Sel1Check_QTD* GroupWire;
private slots:
void ClickOnOk();
- void ClickOnApply();
+ bool ClickOnApply();
void ActivateThisDialog();
void SelectionIntoArgument();
void SetEditCurrentArgument();
-
};
#endif // DIALOGBOX_FACE_H