1 // Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 // GEOM GEOMGUI : GUI for Geometry component
21 // File : EntityGUI_IsolineDlg.h
23 #ifndef ENTITYGUI_ISOLINEDLG_H
24 #define ENTITYGUI_ISOLINEDLG_H
27 #include <GEOMBase_Skeleton.h>
29 class DlgRef_3Radio1Sel1Spin;
31 //=================================================================================
32 // class : EntityGUI_IsolineDlg
34 //=================================================================================
35 class EntityGUI_IsolineDlg : public GEOMBase_Skeleton
41 EntityGUI_IsolineDlg (GeometryGUI *theGeometryGUI,
44 Qt::WindowFlags fl = 0);
46 ~EntityGUI_IsolineDlg();
50 // redefined from GEOMBase_Helper
51 virtual GEOM::GEOM_IOperations_ptr createOperation();
53 virtual bool isValid( QString& );
55 virtual bool execute( ObjectList& );
57 virtual void addSubshapesToStudy();
59 virtual QList<GEOM::GeomObjPtr> getSourceObjects();
64 void enterEvent( QEvent* );
68 DlgRef_3Radio1Sel1Spin *myGroup;
69 QButtonGroup *myRBGroup;
70 GEOM::GeomObjPtr myFace;
78 void ValueChangedInSpinBox( double );
79 void SelectionIntoArgument();
80 void ActivateThisDialog();
81 void SetDoubleSpinBoxStep( double );
82 void TypeChanged(int);
85 #endif // ENTITYGUI_ISOLINEDLG_H