SelectBasePointButton->setPixmap(selectImage);
XLab = new QLabel(tr("SMESH_X"), BasePointGrp);
+ XLab->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
XSpin = new SMESHGUI_SpinBox(BasePointGrp);
YLab = new QLabel(tr("SMESH_Y"), BasePointGrp);
+ YLab->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
YSpin = new SMESHGUI_SpinBox(BasePointGrp);
ZLab = new QLabel(tr("SMESH_Z"), BasePointGrp);
+ ZLab->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
ZSpin = new SMESHGUI_SpinBox(BasePointGrp);
// layouting
myId->setValidator(new SMESHGUI_IdValidator(this, "validator", 1));
QGroupBox* aCoordGrp = new QGroupBox(1, Qt::Vertical, tr("SMESH_COORDINATES"), aFrame);
- new QLabel(tr("SMESH_X"), aCoordGrp);
+ QLabel* aXLabel = new QLabel(tr("SMESH_X"), aCoordGrp);
+ aXLabel->setSizePolicy( QSizePolicy( QSizePolicy::Fixed, QSizePolicy::Fixed ) );
myX = new SMESHGUI_SpinBox(aCoordGrp);
- new QLabel(tr("SMESH_Y"), aCoordGrp);
+
+ QLabel* aYLabel = new QLabel(tr("SMESH_Y"), aCoordGrp);
+ aYLabel->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
myY = new SMESHGUI_SpinBox(aCoordGrp);
- new QLabel(tr("SMESH_Z"), aCoordGrp);
+
+ QLabel* aZLabel = new QLabel(tr("SMESH_Z"), aCoordGrp);
+ aZLabel->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
myZ = new SMESHGUI_SpinBox(aCoordGrp);
myX->RangeStepAndValidator(COORD_MIN, COORD_MAX, 25.0, 3);
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->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->setText(tr("SMESH_Z" ));
GroupCoordinatesLayout->addWidget(TextLabel_Z, 0, 4);
GroupAxisLayout->addWidget(SelectPointButton, 0, 1);
TextLabelX = new QLabel(GroupAxis, "TextLabelX");
+ TextLabelX->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelX->setText(tr("SMESH_X"));
GroupAxisLayout->addWidget(TextLabelX, 0, 2);
GroupAxisLayout->addWidget(SpinBox_X, 0, 3);
TextLabelY = new QLabel(GroupAxis, "TextLabelY");
+ TextLabelY->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelY->setText(tr("SMESH_Y"));
GroupAxisLayout->addWidget(TextLabelY, 0, 4);
GroupAxisLayout->addWidget(SpinBox_Y, 0, 5);
TextLabelZ = new QLabel(GroupAxis, "TextLabelZ");
+ TextLabelZ->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelZ->setText(tr("SMESH_Z"));
GroupAxisLayout->addWidget(TextLabelZ, 0, 6);
GroupAxisLayout->addWidget(SelectVectorButton, 1, 1);
TextLabelDX = new QLabel(GroupAxis, "TextLabelDX");
+ TextLabelDX->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelDX->setText(tr("SMESH_DX"));
GroupAxisLayout->addWidget(TextLabelDX, 1, 2);
GroupAxisLayout->addWidget(SpinBox_DX, 1, 3);
TextLabelDY = new QLabel(GroupAxis, "TextLabelDY");
+ TextLabelDY->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelDY->setText(tr("SMESH_DY"));
GroupAxisLayout->addWidget(TextLabelDY, 1, 4);
GroupAxisLayout->addWidget(SpinBox_DY, 1, 5);
TextLabelDZ = new QLabel(GroupAxis, "TextLabelDZ");
+ TextLabelDZ->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelDZ->setText(tr("SMESH_DZ"));
GroupAxisLayout->addWidget(TextLabelDZ, 1, 6);
GroupAxisLayout->addWidget(SelectPointButton, 0, 1);
TextLabelX = new QLabel(GroupAxis, "TextLabelX");
+ TextLabelX->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelX->setText(tr("SMESH_X"));
GroupAxisLayout->addWidget(TextLabelX, 0, 2);
GroupAxisLayout->addWidget(SpinBox_X, 0, 3);
TextLabelY = new QLabel(GroupAxis, "TextLabelY");
+ TextLabelY->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelY->setText(tr("SMESH_Y"));
GroupAxisLayout->addWidget(TextLabelY, 0, 4);
GroupAxisLayout->addWidget(SpinBox_Y, 0, 5);
TextLabelZ = new QLabel(GroupAxis, "TextLabelZ");
+ TextLabelZ->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelZ->setText(tr("SMESH_Z"));
GroupAxisLayout->addWidget(TextLabelZ, 0, 6);
GroupAxisLayout->addWidget(SelectVectorButton, 1, 1);
TextLabelDX = new QLabel(GroupAxis, "TextLabelDX");
+ TextLabelDX->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelDX->setText(tr("SMESH_DX"));
GroupAxisLayout->addWidget(TextLabelDX, 1, 2);
GroupAxisLayout->addWidget(SpinBox_DX, 1, 3);
TextLabelDY = new QLabel(GroupAxis, "TextLabelDY");
+ TextLabelDY->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelDY->setText(tr("SMESH_DY"));
GroupAxisLayout->addWidget(TextLabelDY, 1, 4);
GroupAxisLayout->addWidget(SpinBox_DY, 1, 5);
TextLabelDZ = new QLabel(GroupAxis, "TextLabelDZ");
+ TextLabelDZ->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelDZ->setText(tr("SMESH_DZ"));
GroupAxisLayout->addWidget(TextLabelDZ, 1, 6);
GroupMirrorLayout->addWidget(SelectPointButton, 0, 1);
TextLabelX = new QLabel(GroupMirror, "TextLabelX");
+ TextLabelX->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelX->setText(tr("SMESH_X"));
GroupMirrorLayout->addWidget(TextLabelX, 0, 2);
GroupMirrorLayout->addWidget(SpinBox_X, 0, 3);
TextLabelY = new QLabel(GroupMirror, "TextLabelY");
+ TextLabelY->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelY->setText(tr("SMESH_Y"));
GroupMirrorLayout->addWidget(TextLabelY, 0, 4);
GroupMirrorLayout->addWidget(SpinBox_Y, 0, 5);
TextLabelZ = new QLabel(GroupMirror, "TextLabelZ");
+ TextLabelZ->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabelZ->setText(tr("SMESH_Z"));
GroupMirrorLayout->addWidget(TextLabelZ, 0, 6);
GroupArgumentsLayout->addWidget(SelectButton1, 2, 1);
TextLabel1_1 = new QLabel(GroupArguments, "TextLabel1_1");
+ TextLabel1_1->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
GroupArgumentsLayout->addWidget(TextLabel1_1, 2, 2);
SpinBox1_1 = new SMESHGUI_SpinBox(GroupArguments, "SpinBox1_1");
GroupArgumentsLayout->addWidget(SpinBox1_1, 2, 3);
TextLabel1_2 = new QLabel(GroupArguments, "TextLabel1_2");
+ TextLabel1_2->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
GroupArgumentsLayout->addWidget(TextLabel1_2, 2, 4);
SpinBox1_2 = new SMESHGUI_SpinBox(GroupArguments, "SpinBox1_2");
GroupArgumentsLayout->addWidget(SpinBox1_2, 2, 5);
TextLabel1_3 = new QLabel(GroupArguments, "TextLabel1_3");
+ TextLabel1_3->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
GroupArgumentsLayout->addWidget(TextLabel1_3, 2, 6);
SpinBox1_3 = new SMESHGUI_SpinBox(GroupArguments, "SpinBox1_3");
GroupArgumentsLayout->addWidget(SelectButton2, 3, 1);
TextLabel2_1 = new QLabel(GroupArguments, "TextLabel2_1");
+ TextLabel2_1->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabel2_1->setText(tr("SMESH_X" ));
GroupArgumentsLayout->addWidget(TextLabel2_1, 3, 2);
GroupArgumentsLayout->addWidget(SpinBox2_1, 3, 3);
TextLabel2_2 = new QLabel(GroupArguments, "TextLabel2_2");
+ TextLabel2_2->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabel2_2->setText(tr("SMESH_Y" ));
GroupArgumentsLayout->addWidget(TextLabel2_2, 3, 4);
GroupArgumentsLayout->addWidget(SpinBox2_2, 3, 5);
TextLabel2_3 = new QLabel(GroupArguments, "TextLabel2_3");
+ TextLabel2_3->setAlignment( Qt::AlignRight | Qt::AlignVCenter | Qt::ExpandTabs );
TextLabel2_3->setText(tr("SMESH_Z"));
GroupArgumentsLayout->addWidget(TextLabel2_3, 3, 6);