]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Modify name of parameters
authorvsv <vitaly.smetannikov@opencascade.com>
Fri, 17 Apr 2015 07:50:04 +0000 (10:50 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Fri, 17 Apr 2015 07:50:04 +0000 (10:50 +0300)
src/XGUI/XGUI_PartDataModel.cpp

index 5ab5798468bb0bd2c999ddb1bc255a94e696fcf7..bbf0ef9fcc1afa8f45ece496083184ab2d82692b 100644 (file)
@@ -53,7 +53,7 @@ QVariant XGUI_TopDataModel::data(const QModelIndex& theIndex, int theRole) const
             AttributeDoublePtr aValueAttribute = aParam->data()->real(ModelAPI_ResultParameter::VALUE());
             QString aVal = QString::number(aValueAttribute->value());
             QString aTitle = QString(aObject->data()->name().c_str());
-            return aTitle + "=" + aVal;
+            return aTitle + " = " + aVal;
           }
         }
           break;
@@ -285,7 +285,7 @@ QVariant XGUI_PartDataModel::data(const QModelIndex& theIndex, int theRole) cons
             AttributeDoublePtr aValueAttribute = aParam->data()->real(ModelAPI_ResultParameter::VALUE());
             QString aVal = QString::number(aValueAttribute->value());
             QString aTitle = QString(aObject->data()->name().c_str());
-            return aTitle + "=" + aVal;
+            return aTitle + " = " + aVal;
           }
         }
           break;