- GroupButtons = new QGroupBox(this, "GroupButtons");
- GroupButtons->setGeometry(QRect(10, 10, 281, 48));
- GroupButtons->setTitle(tr("" ));
- GroupButtons->setColumnLayout(0, Qt::Vertical);
- GroupButtons->layout()->setSpacing(0);
- GroupButtons->layout()->setMargin(0);
- GroupButtonsLayout = new QGridLayout(GroupButtons->layout());
- GroupButtonsLayout->setAlignment(Qt::AlignTop);
- GroupButtonsLayout->setSpacing(6);
- GroupButtonsLayout->setMargin(11);
- buttonCancel = new QPushButton(GroupButtons, "buttonCancel");
- buttonCancel->setText(tr("SMESH_BUT_CLOSE" ));
- buttonCancel->setAutoDefault(TRUE);
- GroupButtonsLayout->addWidget(buttonCancel, 0, 3);
- buttonApply = new QPushButton(GroupButtons, "buttonApply");
- buttonApply->setText(tr("SMESH_BUT_APPLY" ));
- buttonApply->setAutoDefault(TRUE);
- GroupButtonsLayout->addWidget(buttonApply, 0, 1);
- QSpacerItem* spacer_9 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
- GroupButtonsLayout->addItem(spacer_9, 0, 2);
- buttonOk = new QPushButton(GroupButtons, "buttonOk");
- buttonOk->setText(tr("SMESH_BUT_OK" ));
- buttonOk->setAutoDefault(TRUE);
- buttonOk->setDefault(TRUE);
- GroupButtonsLayout->addWidget(buttonOk, 0, 0);
- SMESHGUI_NodesDlgLayout->addWidget(GroupButtons, 2, 0);
+ GroupCoordinates = new QGroupBox( tr( "SMESH_COORDINATES" ), this );
+ QHBoxLayout* GroupCoordinatesLayout = new QHBoxLayout(GroupCoordinates);
+ GroupCoordinatesLayout->setSpacing(SPACING);
+ GroupCoordinatesLayout->setMargin(MARGIN);
+
+ TextLabel_X = new QLabel( tr( "SMESH_X" ), GroupCoordinates );
+ SpinBox_X = new SMESHGUI_SpinBox( GroupCoordinates );
+
+ TextLabel_Y = new QLabel( tr( "SMESH_Y" ), GroupCoordinates );
+ SpinBox_Y = new SMESHGUI_SpinBox( GroupCoordinates );
+
+ TextLabel_Z = new QLabel( tr( "SMESH_Z" ), GroupCoordinates );
+ SpinBox_Z = new SMESHGUI_SpinBox( GroupCoordinates );
+
+ GroupCoordinatesLayout->addWidget( TextLabel_X );
+ GroupCoordinatesLayout->addWidget( SpinBox_X );
+ GroupCoordinatesLayout->addWidget( TextLabel_Y);
+ GroupCoordinatesLayout->addWidget( SpinBox_Y );
+ GroupCoordinatesLayout->addWidget( TextLabel_Z );
+ GroupCoordinatesLayout->addWidget( SpinBox_Z );