X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOperationGUI%2FOperationGUI_ChamferDlg.h;h=0f69bee51db22ab013a41e776e0a5671eb0e98f3;hb=d2ac54f583f848170bf672f12164bca9cdc50dd2;hp=be6048d680584751d03ceeefe7ec9a621844d4ed;hpb=f70f07e7dbec1c3068bb2f5ffd6ce0ca41798091;p=modules%2Fgeom.git diff --git a/src/OperationGUI/OperationGUI_ChamferDlg.h b/src/OperationGUI/OperationGUI_ChamferDlg.h index be6048d68..0f69bee51 100644 --- a/src/OperationGUI/OperationGUI_ChamferDlg.h +++ b/src/OperationGUI/OperationGUI_ChamferDlg.h @@ -38,6 +38,7 @@ class QPushButton; class QLineEdit; class QDoubleSpinBox; class QGridLayout; +class QRadioButton; //================================================================================= // class : OperationGUI_ChamferDlg @@ -47,8 +48,14 @@ class OperationGUI_ChamferDlg : public GEOMBase_Skeleton { Q_OBJECT - enum { MainObj1, MainObj2, Face1, Face2, MainObj3, Faces }; - enum { SpinBox1, SpinBox21, SpinBox22, SpinBox31, SpinBox32 }; + enum { MainObj1, MainObj2, Face1, Face2, MainObj3, Faces, MainObj4, Edges}; + enum { SpinBox1, + SpinBox21, SpinBox22, SpinBox23, SpinBox24, + SpinBox31, SpinBox32, SpinBox33, SpinBox34, + SpinBox41, SpinBox42, SpinBox43, SpinBox44 }; + enum { RadioButton21, RadioButton22, + RadioButton31, RadioButton32, + RadioButton41, RadioButton42 }; public: OperationGUI_ChamferDlg( GeometryGUI*, QWidget* ); @@ -65,6 +72,7 @@ private slots: bool ClickOnApply(); void ActivateThisDialog(); void LineEditReturnPressed(); + void RadioButtonPressed(); void SelectionIntoArgument(); void SetEditCurrentArgument(); void ValueChangedInSpinBox( double ); @@ -76,6 +84,8 @@ private: void reset(); void createSelWg( const QString&, QPixmap&, QWidget*, QGridLayout*, const int ); + void createRadioWg( const QString&, const QString&, QWidget*, + QGridLayout*, const int, const int, const int ); void activateSelection(); void enableWidgets(); @@ -85,14 +95,17 @@ private: GEOM::GEOM_Object_var myShape; QMap< int, int > myFace; // indexes of faces from second tab ( Face1,2 ) TColStd_IndexedMapOfInteger myFaces; // indexes of faces from first tab ( Faces ) + TColStd_IndexedMapOfInteger myEdges; // indexes of edges from fourth tab (Edges) QGroupBox* myGrp1; QGroupBox* myGrp2; QGroupBox* myGrp3; + QGroupBox* myGrp4; QMap< int, QPushButton* > mySelBtn; QMap< int, QLineEdit* > mySelName; QMap< int, QDoubleSpinBox* > mySpinBox; + QMap< int, QRadioButton* > myRadioButton; }; #endif // OPERATIONGUI_CHAMFERDLG_H