Salome HOME
projects
/
tools
/
eficas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pour V1 Carmel
[tools/eficas.git]
/
InterfaceQT4
/
monWidgetFact.py
diff --git
a/InterfaceQT4/monWidgetFact.py
b/InterfaceQT4/monWidgetFact.py
index 7e536d1ed03f268ebcac0f28e2be3fde7760bfbf..28d17ddfb5891a64cf1682827cb3fabe6afd4308 100644
(file)
--- a/
InterfaceQT4/monWidgetFact.py
+++ b/
InterfaceQT4/monWidgetFact.py
@@
-29,16
+29,15
@@
from Extensions.i18n import tr
class MonWidgetFact(Ui_WidgetFact,Groupe):
"""
"""
class MonWidgetFact(Ui_WidgetFact,Groupe):
"""
"""
- def __init__(self,node,editor,parentQt,definition, obj, niveau):
+ def __init__(self,node,editor,parentQt,definition, obj, niveau
,commande
):
#print "init de Fact"
#print "init de Fact"
- Groupe.__init__(self,node,editor,parentQt, definition,obj,niveau)
+ Groupe.__init__(self,node,editor,parentQt, definition,obj,niveau
,commande
)
labeltext,fonte,couleur = self.node.item.GetLabelText()
labeltext,fonte,couleur = self.node.item.GetLabelText()
- #self.groupBox.setTitle(labeltext)
- self.GroupBox.setText(labeltext)
+ self.GroupBox.setText(tr(labeltext))
self.GroupBox.setTextInteractionFlags(Qt.TextSelectableByMouse)
self.parentQt.commandesLayout.insertWidget(-1,self)
self.GroupBox.setTextInteractionFlags(Qt.TextSelectableByMouse)
self.parentQt.commandesLayout.insertWidget(-1,self)
- def focusInEvent(self,event):
- print "je passe dans focusInEvent"
-
self.afficheOptionnel()
+
#
def focusInEvent(self,event):
+
#
print "je passe dans focusInEvent"
+
# if self.editor.code != "CARMELCND" :
self.afficheOptionnel()