<!-- Copyright (C) 2014-20xx CEA/DEN, EDF R&D -->
<source>
- <doublevalue id="x" label="X:" icon=":pictures/x_point.png" tooltip="X coordinate" default="0"/>
- <doublevalue id="y" label="Y:" icon=":pictures/y_point.png" tooltip="Y coordinate" default="0"/>
- <doublevalue id="z" label="Z:" icon=":pictures/z_point.png" tooltip="Z coordinate" default="0"/>
+ <doublevalue id="x" label="X:" tooltip="X coordinate" default="0"/>
+ <doublevalue id="y" label="Y:" tooltip="Y coordinate" default="0"/>
+ <doublevalue id="z" label="Z:" tooltip="Z coordinate" default="0"/>
</source>
QGridLayout* aGroupLay = new QGridLayout(myGroupBox);
ModuleBase_Tools::adjustMargins(aGroupLay);
+ aGroupLay->setSpacing(2);
aGroupLay->setColumnStretch(1, 1);
{
QLabel* aLabel = new QLabel(myGroupBox);
- aLabel->setText(tr("X"));
- aLabel->setPixmap(QPixmap(":pictures/x_point.png"));
+ aLabel->setText(tr("X:"));
aGroupLay->addWidget(aLabel, 0, 0);
myXSpin = new ModuleBase_ParamSpinBox(myGroupBox);
}
{
QLabel* aLabel = new QLabel(myGroupBox);
- aLabel->setText(tr("Y"));
- aLabel->setPixmap(QPixmap(":pictures/y_point.png"));
+ aLabel->setText(tr("Y:"));
aGroupLay->addWidget(aLabel, 1, 0);
myYSpin = new ModuleBase_ParamSpinBox(myGroupBox);