- GroupAxis = new QGroupBox(GroupArguments, "GroupAxis");
- GroupAxis->setTitle(tr("SMESH_AXIS"));
- GroupAxis->setColumnLayout(0, Qt::Vertical);
- GroupAxis->layout()->setSpacing(0);
- GroupAxis->layout()->setMargin(0);
- QGridLayout* GroupAxisLayout = new QGridLayout(GroupAxis->layout());
- GroupAxisLayout->setAlignment(Qt::AlignTop);
- GroupAxisLayout->setSpacing(6);
- GroupAxisLayout->setMargin(11);
-
- TextLabelPoint = new QLabel(GroupAxis, "TextLabelPoint");
- TextLabelPoint->setText(tr("SMESH_POINT"));
- GroupAxisLayout->addWidget(TextLabelPoint, 0, 0);
-
- SelectPointButton = new QPushButton(GroupAxis, "SelectPointButton");
- SelectPointButton->setPixmap(image2);
- GroupAxisLayout->addWidget(SelectPointButton, 0, 1);
-
- TextLabelX = new QLabel(GroupAxis, "TextLabelX");
- TextLabelX->setText(tr("SMESH_X"));
- GroupAxisLayout->addWidget(TextLabelX, 0, 2);
-
- SpinBox_X = new SMESHGUI_SpinBox(GroupAxis, "SpinBox_X");
- GroupAxisLayout->addWidget(SpinBox_X, 0, 3);
-
- TextLabelY = new QLabel(GroupAxis, "TextLabelY");
- TextLabelY->setText(tr("SMESH_Y"));
- GroupAxisLayout->addWidget(TextLabelY, 0, 4);
-
- SpinBox_Y = new SMESHGUI_SpinBox(GroupAxis, "SpinBox_Y");
- GroupAxisLayout->addWidget(SpinBox_Y, 0, 5);
-
- TextLabelZ = new QLabel(GroupAxis, "TextLabelZ");
- TextLabelZ->setText(tr("SMESH_Z"));
- GroupAxisLayout->addWidget(TextLabelZ, 0, 6);
-
- SpinBox_Z = new SMESHGUI_SpinBox(GroupAxis, "SpinBox_Z");
- GroupAxisLayout->addWidget(SpinBox_Z, 0, 7);
-
- TextLabelVector = new QLabel(GroupAxis, "TextLabelVector");
- TextLabelVector->setText(tr("SMESH_VECTOR"));
- GroupAxisLayout->addWidget(TextLabelVector, 1, 0);
-
- SelectVectorButton = new QPushButton(GroupAxis, "SelectVectorButton");
- SelectVectorButton->setPixmap(image2);
+ 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);