Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef BASICGUI_CIRCLEDLG_H
00028 #define BASICGUI_CIRCLEDLG_H
00029
00030 #include "GEOMBase_Skeleton.h"
00031 #include "GEOM_GenericObjPtr.h"
00032
00033 class DlgRef_3Sel;
00034 class DlgRef_2Sel1Spin;
00035
00036
00037
00038
00039
00040 class BasicGUI_CircleDlg : public GEOMBase_Skeleton
00041 {
00042 Q_OBJECT
00043
00044 public:
00045 BasicGUI_CircleDlg( GeometryGUI*, QWidget* = 0, bool = false, Qt::WindowFlags = 0 );
00046 ~BasicGUI_CircleDlg();
00047
00048 protected:
00049
00050 virtual GEOM::GEOM_IOperations_ptr createOperation();
00051 virtual bool isValid( QString& );
00052 virtual bool execute( ObjectList& );
00053
00054 virtual void addSubshapesToStudy();
00055
00056 private:
00057 void Init();
00058 void enterEvent( QEvent* );
00059 double getRadius() const;
00060
00061 private:
00062 GEOM::GeomObjPtr myPoint, myDir, myPoint1, myPoint2, myPoint3, myPoint4, myPoint5, myPoint6;
00063
00064 DlgRef_2Sel1Spin* GroupPntVecR;
00065 DlgRef_3Sel* Group3Pnts;
00066 DlgRef_3Sel* GroupCenter2Pnts;
00067
00068 private slots:
00069 void ClickOnOk();
00070 bool ClickOnApply();
00071
00072 void ActivateThisDialog();
00073 void DeactivateActiveDialog();
00074
00075 void SelectionIntoArgument();
00076
00077 void ConstructorsClicked( int );
00078 void SetEditCurrentArgument();
00079 void ValueChangedInSpinBox();
00080 void SetDoubleSpinBoxStep( double );
00081 };
00082
00083 #endif // BASICGUI_CIRCLEDLG_H