- mainFrame()->GroupConstructors->setTitle( tr( "GEOM_EXTRUSION" ) );
- mainFrame()->RadioButton1->setIcon( image0 );
- mainFrame()->RadioButton2->setIcon( image2 );
- mainFrame()->RadioButton3->setAttribute( Qt::WA_DeleteOnClose );
- mainFrame()->RadioButton3->close();
-
- mainFrame()->RadioButton1->setChecked( true );
- myBothway = myBothway2 = false;
-
- GroupPoints = new DlgRef_2Sel1Spin2Check( centralWidget() );
- GroupPoints->GroupBox1->setTitle( tr( "GEOM_EXTRUSION_BSV" ) );
- GroupPoints->TextLabel1->setText( tr( "GEOM_BASE" ) );
- GroupPoints->TextLabel2->setText( tr( "GEOM_VECTOR" ) );
- GroupPoints->TextLabel3->setText( tr( "GEOM_HEIGHT" ) );
- GroupPoints->PushButton1->setIcon( image1 );
- GroupPoints->PushButton2->setIcon( image1 );
- GroupPoints->LineEdit1->setReadOnly( true );
- GroupPoints->LineEdit2->setReadOnly( true );
- GroupPoints->CheckButton1->setText( tr( "GEOM_BOTHWAY" ) );
- GroupPoints->CheckButton1->setChecked( myBothway );
- GroupPoints->CheckButton2->setText( tr( "GEOM_REVERSE" ) );
-
- GroupPoints2 = new DlgRef_3Sel1Check( centralWidget() );
-
- GroupPoints2->GroupBox1->setTitle( tr( "GEOM_EXTRUSION_BSV_2P" ) );
- GroupPoints2->TextLabel1->setText( tr( "GEOM_BASE" ) );
- GroupPoints2->TextLabel2->setText( tr( "GEOM_POINT_I" ).arg( 1 ) );
- GroupPoints2->TextLabel3->setText( tr( "GEOM_POINT_I" ).arg( 2 ) );
- GroupPoints2->PushButton1->setIcon( image1 );
- GroupPoints2->PushButton2->setIcon( image1 );
- GroupPoints2->PushButton3->setIcon( image1 );
- GroupPoints2->CheckButton1->setText( tr( "GEOM_BOTHWAY" ) );
- GroupPoints2->CheckButton1->setChecked( myBothway2 );
-
- QVBoxLayout* layout = new QVBoxLayout( centralWidget() );
- layout->setMargin( 0 ); layout->setSpacing( 6 );
- layout->addWidget( GroupPoints );
- layout->addWidget( GroupPoints2 );
+ mainFrame()->GroupConstructors->setTitle(tr("GEOM_EXTRUSION"));
+ mainFrame()->RadioButton1->setIcon(image0);
+ mainFrame()->RadioButton2->setIcon(image2);
+ mainFrame()->RadioButton3->setIcon(image3);
+
+ mainFrame()->RadioButton1->setChecked(true);
+ myBothway = myBothway2 = myBothway3 = false;
+
+ GroupPoints = new DlgRef_2Sel1Spin2Check(centralWidget());
+ GroupPoints->GroupBox1->setTitle(tr("GEOM_EXTRUSION_BSV"));
+ GroupPoints->TextLabel1->setText(tr("GEOM_BASE"));
+ GroupPoints->TextLabel2->setText(tr("GEOM_VECTOR"));
+ GroupPoints->TextLabel3->setText(tr("GEOM_HEIGHT"));
+ GroupPoints->PushButton1->setIcon(image1);
+ GroupPoints->PushButton2->setIcon(image1);
+ GroupPoints->LineEdit1->setReadOnly(true);
+ GroupPoints->LineEdit2->setReadOnly(true);
+ GroupPoints->CheckButton1->setText(tr("GEOM_BOTHWAY"));
+ GroupPoints->CheckButton1->setChecked(myBothway);
+ GroupPoints->CheckButton2->setText(tr("GEOM_REVERSE"));
+
+ GroupPoints2 = new DlgRef_3Sel1Check(centralWidget());
+ GroupPoints2->GroupBox1->setTitle(tr("GEOM_EXTRUSION_BSV_2P"));
+ GroupPoints2->TextLabel1->setText(tr("GEOM_BASE"));
+ GroupPoints2->TextLabel2->setText(tr("GEOM_POINT_I").arg(1));
+ GroupPoints2->TextLabel3->setText(tr("GEOM_POINT_I").arg(2));
+ GroupPoints2->PushButton1->setIcon(image1);
+ GroupPoints2->PushButton2->setIcon(image1);
+ GroupPoints2->PushButton3->setIcon(image1);
+ GroupPoints2->CheckButton1->setText(tr("GEOM_BOTHWAY"));
+ GroupPoints2->CheckButton1->setChecked(myBothway2);
+
+ GroupPoints3 = new DlgRef_1Sel3Spin1Check(centralWidget());
+ GroupPoints3->GroupBox1->setTitle(tr("GEOM_EXTRUSION_DXDYDZ"));
+ GroupPoints3->TextLabel1->setText(tr("GEOM_BASE"));
+ GroupPoints3->PushButton1->setIcon(image1);
+ GroupPoints3->TextLabel2->setText(tr("GEOM_DX"));
+ GroupPoints3->TextLabel3->setText(tr("GEOM_DY"));
+ GroupPoints3->TextLabel4->setText(tr("GEOM_DZ"));
+ GroupPoints3->CheckButton1->setText(tr("GEOM_BOTHWAY"));
+ GroupPoints3->CheckButton1->setChecked(myBothway3);
+
+ QVBoxLayout* layout = new QVBoxLayout(centralWidget());
+ layout->setMargin(0); layout->setSpacing(6);
+ layout->addWidget(GroupPoints);
+ layout->addWidget(GroupPoints2);
+ layout->addWidget(GroupPoints3);