+ GroupAxis = new QGroupBox(tr("SMESH_AXIS"), GroupArguments);
+ QGridLayout* GroupAxisLayout = new QGridLayout(GroupAxis);
+ GroupAxisLayout->setSpacing(SPACING);
+ GroupAxisLayout->setMargin(MARGIN);
+
+ TextLabelPoint = new QLabel(tr("SMESH_POINT"), GroupAxis);
+ SelectPointButton = new QPushButton(GroupAxis);
+ SelectPointButton->setIcon(image2);
+
+ TextLabelX = new QLabel(tr("SMESH_X"), GroupAxis);
+ SpinBox_X = new SMESHGUI_SpinBox(GroupAxis);
+
+ TextLabelY = new QLabel(tr("SMESH_Y"), GroupAxis);
+ SpinBox_Y = new SMESHGUI_SpinBox(GroupAxis);
+
+ TextLabelZ = new QLabel(tr("SMESH_Z"), GroupAxis);
+ SpinBox_Z = new SMESHGUI_SpinBox(GroupAxis);
+
+ TextLabelVector = new QLabel(tr("SMESH_VECTOR"), GroupAxis);
+ SelectVectorButton = new QPushButton(GroupAxis);
+ SelectVectorButton->setIcon(image2);
+
+ TextLabelDX = new QLabel(tr("SMESH_DX"), GroupAxis);
+ SpinBox_DX = new SMESHGUI_SpinBox(GroupAxis);
+
+ TextLabelDY = new QLabel(tr("SMESH_DY"), GroupAxis);
+ SpinBox_DY = new SMESHGUI_SpinBox(GroupAxis);
+
+ TextLabelDZ = new QLabel(tr("SMESH_DZ"), GroupAxis);
+ SpinBox_DZ = new SMESHGUI_SpinBox(GroupAxis);
+
+ GroupAxisLayout->addWidget(TextLabelPoint, 0, 0);
+ GroupAxisLayout->addWidget(SelectPointButton, 0, 1);
+ GroupAxisLayout->addWidget(TextLabelX, 0, 2);
+ GroupAxisLayout->addWidget(SpinBox_X, 0, 3);
+ GroupAxisLayout->addWidget(TextLabelY, 0, 4);
+ GroupAxisLayout->addWidget(SpinBox_Y, 0, 5);
+ GroupAxisLayout->addWidget(TextLabelZ, 0, 6);
+ GroupAxisLayout->addWidget(SpinBox_Z, 0, 7);
+ GroupAxisLayout->addWidget(TextLabelVector, 1, 0);
+ GroupAxisLayout->addWidget(SelectVectorButton, 1, 1);
+ GroupAxisLayout->addWidget(TextLabelDX, 1, 2);
+ GroupAxisLayout->addWidget(SpinBox_DX, 1, 3);
+ GroupAxisLayout->addWidget(TextLabelDY, 1, 4);
+ GroupAxisLayout->addWidget(SpinBox_DY, 1, 5);
+ GroupAxisLayout->addWidget(TextLabelDZ, 1, 6);
+ GroupAxisLayout->addWidget(SpinBox_DZ, 1, 7);
+
+ // Controls for angle defining & number of steps defining
+ GroupAngleBox = new QGroupBox(tr("SMESH_ANGLE"), GroupArguments);
+ GroupAngle = new QButtonGroup(GroupAngleBox);
+ QGridLayout* GroupAngleLayout = new QGridLayout(GroupAngleBox);
+ GroupAngleLayout->setSpacing(6);
+ GroupAngleLayout->setMargin(11);
+
+ RadioButton3 = new QRadioButton(tr("ANGLE_BY_STEP"), GroupAngleBox);
+ RadioButton4 = new QRadioButton(tr("TOTAL_ANGLE"), GroupAngleBox);
+ GroupAngle->addButton(RadioButton3, 0);
+ GroupAngle->addButton(RadioButton4, 1);
+
+ TextLabelAngle = new QLabel(tr("SMESH_ANGLE"), GroupAngleBox);
+ SpinBox_Angle = new SMESHGUI_SpinBox(GroupAngleBox);
+
+ TextLabelNbSteps = new QLabel(tr("SMESH_NUMBEROFSTEPS"), GroupAngleBox);
+ SpinBox_NbSteps = new SalomeApp_IntSpinBox(GroupAngleBox);
+
+ GroupAngleLayout->addWidget(RadioButton3, 0, 0);
+ GroupAngleLayout->addWidget(RadioButton4, 0, 1);
+ GroupAngleLayout->addWidget(TextLabelAngle, 1, 0);
+ GroupAngleLayout->addWidget(SpinBox_Angle, 1, 1);
+ GroupAngleLayout->addWidget(TextLabelNbSteps, 2, 0);
+ GroupAngleLayout->addWidget(SpinBox_NbSteps, 2, 1);