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 #19207: planes of imported STEP not usable
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetLabelValue.cpp
diff --git
a/src/ModuleBase/ModuleBase_WidgetLabelValue.cpp
b/src/ModuleBase/ModuleBase_WidgetLabelValue.cpp
index 83dc65f57068644313d1bbc314cdd56acd632fdf..9576ce91d4f5f8b641d318b4ac70f4bffdd0fa5a 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetLabelValue.cpp
+++ b/
src/ModuleBase/ModuleBase_WidgetLabelValue.cpp
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-20
19
CEA/DEN, EDF R&D
+// Copyright (C) 2014-20
20
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
@@
-36,9
+36,9
@@
ModuleBase_WidgetLabelValue::ModuleBase_WidgetLabelValue(QWidget* theParent,
aLayout->setContentsMargins(0, 0, 0, 0);
aLayout->setSpacing(0);
aLayout->setContentsMargins(0, 0, 0, 0);
aLayout->setSpacing(0);
- QString aText =
QString::fromStdString
(theData->widgetLabel());
+ QString aText =
translate
(theData->widgetLabel());
QString aLabelIcon = QString::fromStdString(theData->widgetIcon());
QString aLabelIcon = QString::fromStdString(theData->widgetIcon());
- QString aToolTip =
QString::fromStdString
(theData->widgetTooltip());
+ QString aToolTip =
translate
(theData->widgetTooltip());
myLabel = new ModuleBase_LabelValue(theParent, aText, aToolTip, aLabelIcon);
bool isOk;
myLabel = new ModuleBase_LabelValue(theParent, aText, aToolTip, aLabelIcon);
bool isOk;