- buttonCancel->setText(tr("GEOM_BUT_CLOSE"));
- buttonOk->setText(tr("GEOM_BUT_OK"));
- buttonApply->setText(tr("GEOM_BUT_APPLY"));
- buttonHelp->setText(tr("GEOM_BUT_HELP"));
-
- GroupMedium->setAttribute( Qt::WA_DeleteOnClose );
- GroupMedium->close();
- resize(0, 0);
-
- if ( GroupConstructors != NULL ) {
- myRBGroup = new QButtonGroup(GroupConstructors);
- QList<QObject*> aRadioButtons = GroupConstructors->children();
- QListIterator<QObject*> it( aRadioButtons );
- int anId = 0;
- while ( it.hasNext() )
- if ( QRadioButton* aRB = ::qobject_cast<QRadioButton*>( it.next() ) ) {
- myRBGroup->addButton( aRB, anId );
- anId++;
- }
- }
+ myMainFrame = new DlgRef_Skeleton( this );
+ QVBoxLayout* topLayout = new QVBoxLayout( this );
+ topLayout->setMargin( 0 ); topLayout->setSpacing( 0 );
+ topLayout->addWidget( myMainFrame );
+
+ myMainFrame->GroupBoxName->setTitle( tr( "GEOM_RESULT_NAME_GRP" ) );
+ myMainFrame->NameLabel->setText( tr( "GEOM_RESULT_NAME_LBL" ) );
+ buttonCancel()->setText( tr( "GEOM_BUT_CLOSE" ) );
+ buttonOk()->setText( tr( "GEOM_BUT_OK" )) ;
+ buttonApply()->setText( tr( "GEOM_BUT_APPLY" ) );
+ buttonHelp()->setText( tr( "GEOM_BUT_HELP" ) );
+
+ myRBGroup = new QButtonGroup( this );
+ myRBGroup->addButton( myMainFrame->RadioButton1, 0 );
+ myRBGroup->addButton( myMainFrame->RadioButton2, 1 );
+ myRBGroup->addButton( myMainFrame->RadioButton3, 2 );
+ myRBGroup->addButton( myMainFrame->RadioButton4, 3 );
+
+ connect( myRBGroup, SIGNAL( buttonClicked( int ) ), this, SIGNAL( constructorsClicked( int ) ) );