X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetPointInput.cpp;h=ca7c3c055209afb2a4ecff874246bb7de8230777;hb=be64ac512378281d54e4a73e8edb68ae43d0c5a7;hp=11b96c37c5d1005aa46b27ba63066fc747681985;hpb=d4b0a5cb916f4eccf4a0bce02e43a54c7a67cb93;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetPointInput.cpp b/src/ModuleBase/ModuleBase_WidgetPointInput.cpp index 11b96c37c..ca7c3c055 100644 --- a/src/ModuleBase/ModuleBase_WidgetPointInput.cpp +++ b/src/ModuleBase/ModuleBase_WidgetPointInput.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2019 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -12,10 +12,9 @@ // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #include "ModuleBase_WidgetPointInput.h" @@ -61,7 +60,7 @@ ModuleBase_WidgetPointInput::ModuleBase_WidgetPointInput(QWidget* theParent, myXSpin = new ModuleBase_ParamSpinBox(this); myXSpin->setAcceptVariables(aAcceptVariables); - myXSpin->setToolTip("X coordinate"); + myXSpin->setToolTip(tr("X coordinate")); myXSpin->setValue(myDefaultValue[0]); QLabel* aXLbl = new QLabel(this); aXLbl->setPixmap(QPixmap(":pictures/x_size.png")); @@ -69,7 +68,7 @@ ModuleBase_WidgetPointInput::ModuleBase_WidgetPointInput(QWidget* theParent, myYSpin = new ModuleBase_ParamSpinBox(this); myYSpin->setAcceptVariables(aAcceptVariables); - myYSpin->setToolTip("Y coordinate"); + myYSpin->setToolTip(tr("Y coordinate")); myYSpin->setValue(myDefaultValue[1]); QLabel* aYLbl = new QLabel(this); aYLbl->setPixmap(QPixmap(":pictures/y_size.png")); @@ -77,7 +76,7 @@ ModuleBase_WidgetPointInput::ModuleBase_WidgetPointInput(QWidget* theParent, myZSpin = new ModuleBase_ParamSpinBox(this); myZSpin->setAcceptVariables(aAcceptVariables); - myZSpin->setToolTip("Z coordinate"); + myZSpin->setToolTip(tr("Z coordinate")); myZSpin->setValue(myDefaultValue[2]); QLabel* aZLbl = new QLabel(this); aZLbl->setPixmap(QPixmap(":pictures/z_size.png"));