- {
- QLabel* aLabel = new QLabel(myGroupBox);
-
- myXSpin = new ModuleBase_LabelValue(myGroupBox, tr("X"));
- //ModuleBase_ParamSpinBox(myGroupBox);
- //myXSpin->setAcceptVariables(aAcceptVariables);
- //myXSpin->setMinimum(-DBL_MAX);
- //myXSpin->setMaximum(DBL_MAX);
- //myXSpin->setToolTip(tr("X"));
- aGroupLay->addWidget(myXSpin, 0, 1);
-
- //connect(myXSpin, SIGNAL(textChanged(const QString&)), this, SIGNAL(valuesModified()));
- //myXSpin->setValueEnabled(isValueEnabled());
- }
- {
- //QLabel* aLabel = new QLabel(myGroupBox);
- //aLabel->setText(tr("Y "));
- //aGroupLay->addWidget(aLabel, 1, 0);
-
- myYSpin = new ModuleBase_LabelValue(myGroupBox, tr("Y"));
- //ModuleBase_ParamSpinBox(myGroupBox);
- //myYSpin = new ModuleBase_ParamSpinBox(myGroupBox);
- //myYSpin->setAcceptVariables(aAcceptVariables);
- //myYSpin->setMinimum(-DBL_MAX);
- //myYSpin->setMaximum(DBL_MAX);
- //myYSpin->setToolTip(tr("Y"));
- aGroupLay->addWidget(myYSpin, 1, 1);
-
- //connect(myYSpin, SIGNAL(textChanged(const QString&)), this, SIGNAL(valuesModified()));
- //myYSpin->setValueEnabled(isValueEnabled());
- }
+
+ myXSpin = new ModuleBase_LabelValue(myGroupBox, tr("X"));
+ aGroupLay->addWidget(myXSpin, 0, 1);
+ myYSpin = new ModuleBase_LabelValue(myGroupBox, tr("Y"));
+ aGroupLay->addWidget(myYSpin, 1, 1);
+