//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
ModuleBase_WidgetPointInput::ModuleBase_WidgetPointInput(QWidget* theParent,
ModuleBase_IWorkshop* theWorkshop,
ModuleBase_WidgetPointInput::ModuleBase_WidgetPointInput(QWidget* theParent,
ModuleBase_IWorkshop* theWorkshop,
if (aAttr.get()) {
if (aAttr->isInitialized()) {
if (myXSpin->hasVariable() || myYSpin->hasVariable() || myZSpin->hasVariable()) {
if (aAttr.get()) {
if (aAttr->isInitialized()) {
if (myXSpin->hasVariable() || myYSpin->hasVariable() || myZSpin->hasVariable()) {
if (aXText == ERR_STRING) {
aAttr->setExpressionError(0, "Parameter cannot be created");
aAttr->setExpressionInvalid(0, true);
updateObject(myFeature);
return false;
}
if (aXText == ERR_STRING) {
aAttr->setExpressionError(0, "Parameter cannot be created");
aAttr->setExpressionInvalid(0, true);
updateObject(myFeature);
return false;
}
if (aYText == ERR_STRING) {
aAttr->setExpressionError(1, "Parameter cannot be created");
aAttr->setExpressionInvalid(1, true);
updateObject(myFeature);
return false;
}
if (aYText == ERR_STRING) {
aAttr->setExpressionError(1, "Parameter cannot be created");
aAttr->setExpressionInvalid(1, true);
updateObject(myFeature);
return false;
}
if (aZText == ERR_STRING) {
aAttr->setExpressionError(2, "Parameter cannot be created");
aAttr->setExpressionInvalid(2, true);
if (aZText == ERR_STRING) {
aAttr->setExpressionError(2, "Parameter cannot be created");
aAttr->setExpressionInvalid(2, true);
AttributePointPtr aAttr = std::dynamic_pointer_cast<GeomDataAPI_Point>(attribute());
if (aAttr.get()) {
if (aAttr->isInitialized()) {
AttributePointPtr aAttr = std::dynamic_pointer_cast<GeomDataAPI_Point>(attribute());
if (aAttr.get()) {
if (aAttr->isInitialized()) {