- QGroupBox* aMainGrp = new QGroupBox( 1, Qt::Horizontal, theParent );
- aMainGrp->setFrameStyle( QFrame::NoFrame );
- aMainGrp->setInsideMargin( 0 );
-
- QGroupBox* aNameGrp = new QGroupBox( 1, Qt::Vertical, tr( "NAME" ), aMainGrp );
- new QLabel( tr( "RESULT_NAME" ), aNameGrp );
- myNameEdit = new QLineEdit( aNameGrp );
-
- QGroupBox* anArgGrp = new QGroupBox( 3, Qt::Horizontal, tr( "ARGUMENTS" ), aMainGrp );
-
- new QLabel( myMode == CUT ? tr( "MAIN_OBJECT" ) :tr( "OBJECT_1" ), anArgGrp );
- myBtn1 = new QPushButton( anArgGrp );
- myEdit1 = new QLineEdit( anArgGrp );
-
- new QLabel( myMode == CUT ? tr( "TOOL_OBJECT" ) :tr( "OBJECT_2" ), anArgGrp );
- myBtn2 = new QPushButton( anArgGrp );
- myEdit2 = new QLineEdit( anArgGrp );
-
- myEdit1->setReadOnly( true );
- myEdit2->setReadOnly( true );
-
- QPixmap aPix( QAD_Desktop::getResourceManager()->loadPixmap( "SMESH",tr( "ICON_SELECT" ) ) );
- myBtn1->setPixmap( aPix );
- myBtn2->setPixmap( aPix );
-
+ QGroupBox* aMainGrp = new QGroupBox(1, Qt::Horizontal, theParent);
+ aMainGrp->setFrameStyle(QFrame::NoFrame);
+ aMainGrp->setInsideMargin(0);
+
+ QGroupBox* aNameGrp = new QGroupBox(1, Qt::Vertical, tr("NAME"), aMainGrp);
+ new QLabel(tr("RESULT_NAME"), aNameGrp);
+ myNameEdit = new QLineEdit(aNameGrp);
+
+ QGroupBox* anArgGrp = new QGroupBox(3, Qt::Horizontal, tr("ARGUMENTS"), aMainGrp);
+
+ new QLabel(myMode == CUT ? tr("MAIN_OBJECT") :tr("OBJECT_1"), anArgGrp);
+ myBtn1 = new QPushButton(anArgGrp);
+ myEdit1 = new QLineEdit(anArgGrp);
+ myEdit1->setAlignment( Qt::AlignLeft );
+
+ new QLabel(myMode == CUT ? tr("TOOL_OBJECT") :tr("OBJECT_2"), anArgGrp);
+ myBtn2 = new QPushButton(anArgGrp);
+ myEdit2 = new QLineEdit(anArgGrp);
+ myEdit2->setAlignment( Qt::AlignLeft );
+
+ myEdit1->setReadOnly(true);
+ myEdit2->setReadOnly(true);
+
+ QPixmap aPix (SMESH::GetResourceMgr( mySMESHGUI )->loadPixmap("SMESH", tr("ICON_SELECT")));
+ myBtn1->setPixmap(aPix);
+ myBtn2->setPixmap(aPix);
+