+ // Controls for base point defining
+ BasePointCheck = new QCheckBox( tr( "SMESH_USE_BASE_POINT" ), ArgumentsGrp );
+
+ BasePointGrp = new QGroupBox( tr( "SMESH_BASE_POINT" ), ArgumentsGrp );
+ BasePointGrp->setColumnLayout( 0, Qt::Vertical );
+ BasePointGrp->layout()->setSpacing( 0 ); BasePointGrp->layout()->setMargin( 0 );
+ QGridLayout* BasePointGrpLayout = new QGridLayout( BasePointGrp->layout() );
+ BasePointGrpLayout->setAlignment( Qt::AlignTop );
+ BasePointGrpLayout->setSpacing( 6 ); BasePointGrpLayout->setMargin( 11 );
+
+ SelectBasePointButton = new QToolButton( BasePointGrp );
+ SelectBasePointButton->setPixmap( selectImage );
+
+ XLab = new QLabel( tr( "SMESH_X" ), BasePointGrp );
+ XSpin = new SMESHGUI_SpinBox( BasePointGrp );
+ YLab = new QLabel( tr( "SMESH_Y" ), BasePointGrp );
+ YSpin = new SMESHGUI_SpinBox( BasePointGrp );
+ ZLab = new QLabel( tr( "SMESH_Z" ), BasePointGrp );
+ ZSpin = new SMESHGUI_SpinBox( BasePointGrp );
+
+ // layouting
+ BasePointGrpLayout->addWidget( SelectBasePointButton, 0, 0 );
+ BasePointGrpLayout->addWidget( XLab, 0, 1 );
+ BasePointGrpLayout->addWidget( XSpin, 0, 2 );
+ BasePointGrpLayout->addWidget( YLab, 0, 3 );
+ BasePointGrpLayout->addWidget( YSpin, 0, 4 );
+ BasePointGrpLayout->addWidget( ZLab, 0, 5 );
+ BasePointGrpLayout->addWidget( ZSpin, 0, 6 );
+