6 #include <Aspect_TypeOfDegenerateModel.hxx>
7 #include <V3d_View.hxx>
8 #include <AIS_InteractiveContext.hxx>
9 //#include <GUIA_Sphere.hxx>
10 #include <Sphere_Sphere.hxx>
17 class ShapeDlg : public QDialog
21 enum { SolidEdgeId, DashEdgeId, DotEdgeId, DotDashEdgeId };
23 enum { NoDegId, TinyDegId, WireDegId, MarkerDegId, BBoxDegId };
26 ShapeDlg( QWidget* parent, Handle(V3d_View)&, Handle(AIS_InteractiveContext)& );
33 void onRadiusChanged( double );
34 void onItemsChanged( int );
35 void onPanesChanged( int );
36 void onDeflectionChanged( double );
38 void onPositionChanged();
40 void closeEvent ( QCloseEvent* );
41 void showEvent ( QShowEvent* );
47 /* ----- common section ----- */
48 Handle_V3d_View myView;
49 Handle_AIS_InteractiveContext myContext;
50 Handle_Sphere_Sphere myShape;
55 QDoubleSpinBox* myDefSpin;
56 QSpinBox* myPanesSpin;
57 QSpinBox* myItemsSpin;
58 QDoubleSpinBox* myXSpin;
59 QDoubleSpinBox* myYSpin;
60 QDoubleSpinBox* myZSpin;