+//=================================================================================
+// function : RadioBittonClicked()
+// purpose : Radio button management
+//=================================================================================
+void PrimitiveGUI_FaceDlg::RadioButtonClicked()
+{
+ if ( GroupOrientation->RadioButton1->isChecked() )
+ myOrientationType = 1;
+ else if ( GroupOrientation->RadioButton2->isChecked() )
+ myOrientationType = 2;
+ else if ( GroupOrientation->RadioButton3->isChecked() )
+ myOrientationType = 3;
+ displayPreview();
+}
+
+//=================================================================================
+// function : TypeBittonClicked()
+// purpose : Radio button management
+//=================================================================================
+void PrimitiveGUI_FaceDlg::TypeButtonClicked()
+{
+ if ( GroupType->RadioButton1->isChecked() ) {
+ globalSelection(); // close local contexts, if any
+ localSelection( GEOM::GEOM_Object::_nil(), TopAbs_EDGE );
+ GroupPlane->TextLabel1->setText( tr( "GEOM_EDGE" ) );
+ }
+ else if ( GroupType->RadioButton2->isChecked() ) {
+ globalSelection(); // close local contexts, if any
+ localSelection( GEOM::GEOM_Object::_nil(), TopAbs_FACE );
+ GroupPlane->TextLabel1->setText( tr( "GEOM_FACE" ) );
+ }
+}
+