- GroupMirror = new QGroupBox(GroupArguments, "GroupMirror");
- GroupMirror->setColumnLayout(0, Qt::Vertical);
- GroupMirror->layout()->setSpacing(0);
- GroupMirror->layout()->setMargin(0);
- QGridLayout* GroupMirrorLayout = new QGridLayout(GroupMirror->layout());
- GroupMirrorLayout->setAlignment(Qt::AlignTop);
- GroupMirrorLayout->setSpacing(6);
- GroupMirrorLayout->setMargin(11);
-
- TextLabelPoint = new QLabel(GroupMirror, "TextLabelPoint");
- TextLabelPoint->setText(tr("SMESH_POINT"));
- GroupMirrorLayout->addWidget(TextLabelPoint, 0, 0);
-
- SelectPointButton = new QPushButton(GroupMirror, "SelectPointButton");
- SelectPointButton->setPixmap(image3);
- GroupMirrorLayout->addWidget(SelectPointButton, 0, 1);
-
- TextLabelX = new QLabel(GroupMirror, "TextLabelX");
- TextLabelX->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
- TextLabelX->setText(tr("SMESH_X"));
- GroupMirrorLayout->addWidget(TextLabelX, 0, 2);
-
- SpinBox_X = new SMESHGUI_SpinBox(GroupMirror, "SpinBox_X");
- GroupMirrorLayout->addWidget(SpinBox_X, 0, 3);
-
- TextLabelY = new QLabel(GroupMirror, "TextLabelY");
- TextLabelY->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
- TextLabelY->setText(tr("SMESH_Y"));
- GroupMirrorLayout->addWidget(TextLabelY, 0, 4);
-
- SpinBox_Y = new SMESHGUI_SpinBox(GroupMirror, "SpinBox_Y");
- GroupMirrorLayout->addWidget(SpinBox_Y, 0, 5);
-
- TextLabelZ = new QLabel(GroupMirror, "TextLabelZ");
- TextLabelZ->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
- TextLabelZ->setText(tr("SMESH_Z"));
- GroupMirrorLayout->addWidget(TextLabelZ, 0, 6);
-
- SpinBox_Z = new SMESHGUI_SpinBox(GroupMirror, "SpinBox_Z");
- GroupMirrorLayout->addWidget(SpinBox_Z, 0, 7);
-
- TextLabelVector = new QLabel(GroupMirror, "TextLabelVector");
- GroupMirrorLayout->addWidget(TextLabelVector, 1, 0);
-
- SelectVectorButton = new QPushButton(GroupMirror, "SelectVectorButton");
- SelectVectorButton->setPixmap(image3);
+ GroupMirror = new QGroupBox(GroupArguments);
+ QGridLayout* GroupMirrorLayout = new QGridLayout(GroupMirror);
+ GroupMirrorLayout->setSpacing(SPACING);
+ GroupMirrorLayout->setMargin(MARGIN);
+
+ TextLabelPoint = new QLabel(tr("SMESH_POINT"), GroupMirror);
+ SelectPointButton = new QPushButton(GroupMirror);
+ SelectPointButton->setIcon(image3);
+
+ TextLabelX = new QLabel(tr("SMESH_X"), GroupMirror);
+ SpinBox_X = new SMESHGUI_SpinBox(GroupMirror);
+ TextLabelY = new QLabel(tr("SMESH_Y"), GroupMirror);
+ SpinBox_Y = new SMESHGUI_SpinBox(GroupMirror);
+ TextLabelZ = new QLabel(tr("SMESH_Z"), GroupMirror);
+ SpinBox_Z = new SMESHGUI_SpinBox(GroupMirror);
+
+ TextLabelVector = new QLabel(GroupMirror);
+ SelectVectorButton = new QPushButton(GroupMirror);
+ SelectVectorButton->setIcon(image3);
+
+ TextLabelDX = new QLabel(tr("SMESH_DX"), GroupMirror);
+ SpinBox_DX = new SMESHGUI_SpinBox(GroupMirror);
+ TextLabelDY = new QLabel(tr("SMESH_DY"), GroupMirror);
+ SpinBox_DY = new SMESHGUI_SpinBox(GroupMirror);
+ TextLabelDZ = new QLabel(tr("SMESH_DZ"), GroupMirror);
+ SpinBox_DZ = new SMESHGUI_SpinBox(GroupMirror);
+
+ GroupMirrorLayout->addWidget(TextLabelPoint, 0, 0);
+ GroupMirrorLayout->addWidget(SelectPointButton, 0, 1);
+ GroupMirrorLayout->addWidget(TextLabelX, 0, 2);
+ GroupMirrorLayout->addWidget(SpinBox_X, 0, 3);
+ GroupMirrorLayout->addWidget(TextLabelY, 0, 4);
+ GroupMirrorLayout->addWidget(SpinBox_Y, 0, 5);
+ GroupMirrorLayout->addWidget(TextLabelZ, 0, 6);
+ GroupMirrorLayout->addWidget(SpinBox_Z, 0, 7);
+ GroupMirrorLayout->addWidget(TextLabelVector, 1, 0);