- GroupConstructors->setTitle(tr("GEOM_FACE"));
- RadioButton1->setPixmap(image0);
- RadioButton2->close(TRUE);
- RadioButton3->close(TRUE);
-
- GroupWire = new DlgRef_1Sel1Check_QTD(this, "GroupWire");
- GroupWire->GroupBox1->setTitle(tr("GEOM_FACE_FFW"));
- GroupWire->TextLabel1->setText(tr("GEOM_WIRES"));
- GroupWire->CheckButton1->setText(tr("GEOM_FACE_OPT"));
- GroupWire->PushButton1->setPixmap(image1);
-
- Layout1->addWidget(GroupWire, 2, 0);
+ mainFrame()->GroupConstructors->setTitle( tr( "GEOM_FACE" ) );
+ mainFrame()->RadioButton1->setIcon( image0 );
+ mainFrame()->RadioButton2->setAttribute( Qt::WA_DeleteOnClose );
+ mainFrame()->RadioButton2->close();
+ mainFrame()->RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
+ mainFrame()->RadioButton3->close();
+
+ GroupWire = new DlgRef_1Sel1Check( centralWidget() );
+
+ GroupWire->GroupBox1->setTitle( tr( "GEOM_FACE_FFW" ) );
+ GroupWire->TextLabel1->setText( tr( "GEOM_OBJECTS" ) );
+ GroupWire->CheckButton1->setText( tr( "GEOM_FACE_OPT" ) );
+ GroupWire->PushButton1->setIcon( image1 );
+
+ QVBoxLayout* layout = new QVBoxLayout( centralWidget() );
+ layout->setMargin( 0 ); layout->setSpacing( 6 );
+ layout->addWidget( GroupWire );