- GroupCoordinates = new QGroupBox(this, "GroupCoordinates");
- GroupCoordinates->setTitle(tr("SMESH_COORDINATES" ));
- GroupCoordinates->setColumnLayout(0, Qt::Vertical);
- GroupCoordinates->layout()->setSpacing(0);
- GroupCoordinates->layout()->setMargin(0);
- GroupCoordinatesLayout = new QGridLayout(GroupCoordinates->layout());
- GroupCoordinatesLayout->setAlignment(Qt::AlignTop);
- GroupCoordinatesLayout->setSpacing(6);
- GroupCoordinatesLayout->setMargin(11);
-
- TextLabel_X = new QLabel(GroupCoordinates, "TextLabel_X");
- TextLabel_X->setSizePolicy( QSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed ) );
- TextLabel_X->setText(tr("SMESH_X" ));
- GroupCoordinatesLayout->addWidget(TextLabel_X, 0, 0);
-
- TextLabel_Y = new QLabel(GroupCoordinates, "TextLabel_Y");
- //TextLabel_Y->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
- TextLabel_Y->setSizePolicy( QSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed ) );
- TextLabel_Y->setText(tr("SMESH_Y" ));
- GroupCoordinatesLayout->addWidget(TextLabel_Y, 0, 2);
-
- TextLabel_Z = new QLabel(GroupCoordinates, "TextLabel_Z");
- //TextLabel_Z->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
- TextLabel_Z->setSizePolicy( QSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed ) );
- TextLabel_Z->setText(tr("SMESH_Z" ));
- GroupCoordinatesLayout->addWidget(TextLabel_Z, 0, 4);
-
- SpinBox_X = new SMESHGUI_SpinBox(GroupCoordinates, "SpinBox_X");
- GroupCoordinatesLayout->addWidget(SpinBox_X, 0, 1);
-
- SpinBox_Y = new SMESHGUI_SpinBox(GroupCoordinates, "SpinBox_Y");
- GroupCoordinatesLayout->addWidget(SpinBox_Y, 0, 3);
-
- SpinBox_Z = new SMESHGUI_SpinBox(GroupCoordinates, "SpinBox_Z");
- GroupCoordinatesLayout->addWidget(SpinBox_Z, 0, 5);
-
- SMESHGUI_NodesDlgLayout->addWidget(GroupCoordinates, 1, 0);