// 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 : OperationGUI_ChamferDlg.h
// Author : Damien COQUERET
// Module : GEOM
-// $Header$
#ifndef DIALOGBOX_CHAMFER_H
#define DIALOGBOX_CHAMFER_H
enum { SpinBox1, SpinBox21, SpinBox22, SpinBox31, SpinBox32 };
public:
- OperationGUI_ChamferDlg( QWidget* parent,
- SALOME_Selection* Sel );
- virtual ~OperationGUI_ChamferDlg();
+ OperationGUI_ChamferDlg(GeometryGUI* theGeometryGUI, QWidget* parent);
+ virtual ~OperationGUI_ChamferDlg();
protected:
// redefined from GEOMBase_Helper
virtual bool execute( ObjectList& objects );
private slots:
-
void ClickOnOk();
bool ClickOnApply();
void ActivateThisDialog();
- void DeactivateActiveDialog();
void LineEditReturnPressed();
void SelectionIntoArgument();
void SetEditCurrentArgument();
void ValueChangedInSpinBox( double newValue );
void ConstructorsClicked( int constructorId );
-private :
-
- void Init( SALOME_Selection* );
+private:
+ void Init();
void enterEvent( QEvent* e );
void reset();
void createSelWg( const QString&, QPixmap&, QWidget*, const int );
void enableWidgets();
private:
-
int myConstructorId;
GEOM::GEOM_Object_var myShape;
};
#endif // DIALOGBOX_CHAMFER_H
-