- 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( image1 );
- 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( image1 );
- GroupAxisLayout->addWidget( SelectVectorButton, 1, 1 );
-
- TextLabelDX = new QLabel( GroupAxis, "TextLabelDX" );
- TextLabelDX->setText( tr( "SMESH_DX" ) );
- GroupAxisLayout->addWidget( TextLabelDX, 1, 2 );
-
- SpinBox_DX = new SMESHGUI_SpinBox( GroupAxis, "SpinBox_DX");
- GroupAxisLayout->addWidget( SpinBox_DX, 1, 3 );
-
- TextLabelDY = new QLabel( GroupAxis, "TextLabelDY" );
- TextLabelDY->setText( tr( "SMESH_DY" ) );
- GroupAxisLayout->addWidget( TextLabelDY, 1, 4 );
-
- SpinBox_DY = new SMESHGUI_SpinBox( GroupAxis, "SpinBox_DY");
- GroupAxisLayout->addWidget( SpinBox_DY, 1, 5 );
-
- TextLabelDZ = new QLabel( GroupAxis, "TextLabelDZ" );
- TextLabelDZ->setText( tr( "SMESH_DZ" ) );
- GroupAxisLayout->addWidget( TextLabelDZ, 1, 6 );
-
- SpinBox_DZ = new SMESHGUI_SpinBox( GroupAxis, "SpinBox_DZ");
- GroupAxisLayout->addWidget( SpinBox_DZ, 1, 7 );
-
- GroupArgumentsLayout->addMultiCellWidget( GroupAxis, 2, 2, 0, 2 );
-
+ 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(image1);
+
+ 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(image1);
+
+ 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);
+