Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue #3052: Conflicting constraint after trim ellipse
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetPointInput.cpp
diff --git
a/src/ModuleBase/ModuleBase_WidgetPointInput.cpp
b/src/ModuleBase/ModuleBase_WidgetPointInput.cpp
index 11b96c37c5d1005aa46b27ba63066fc747681985..ca7c3c055209afb2a4ecff874246bb7de8230777 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetPointInput.cpp
+++ b/
src/ModuleBase/ModuleBase_WidgetPointInput.cpp
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-201
7
CEA/DEN, EDF R&D
+// Copyright (C) 2014-201
9
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
//
// 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
//
// 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<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#include "ModuleBase_WidgetPointInput.h"
//
#include "ModuleBase_WidgetPointInput.h"
@@
-61,7
+60,7
@@
ModuleBase_WidgetPointInput::ModuleBase_WidgetPointInput(QWidget* theParent,
myXSpin = new ModuleBase_ParamSpinBox(this);
myXSpin->setAcceptVariables(aAcceptVariables);
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"));
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 = 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"));
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 = 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"));
myZSpin->setValue(myDefaultValue[2]);
QLabel* aZLbl = new QLabel(this);
aZLbl->setPixmap(QPixmap(":pictures/z_size.png"));