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
optim eciture
[tools/eficas.git]
/
InterfaceQT4
/
monWidgetVide.py
diff --git
a/InterfaceQT4/monWidgetVide.py
b/InterfaceQT4/monWidgetVide.py
index 99f3d46a7b6aff8048624f0e41c2edb3e6ff55b8..39c3dd4a43c5a533f3fec39e0fe271c0853b5f70 100644
(file)
--- a/
InterfaceQT4/monWidgetVide.py
+++ b/
InterfaceQT4/monWidgetVide.py
@@
-26,14
+26,15
@@
from Extensions.i18n import tr
from .feuille import Feuille
from desWidgetVide import Ui_WidgetVide
from .feuille import Feuille
from desWidgetVide import Ui_WidgetVide
-from .politiquesValidation import PolitiqueUnique
class MonWidgetVide (Ui_WidgetVide,Feuille):
def __init__(self,node,monSimpDef,nom,objSimp,parentQt,commande):
class MonWidgetVide (Ui_WidgetVide,Feuille):
def __init__(self,node,monSimpDef,nom,objSimp,parentQt,commande):
+
Feuille.__init__(self,node,monSimpDef,nom,objSimp,parentQt,commande)
Feuille.__init__(self,node,monSimpDef,nom,objSimp,parentQt,commande)
- self.politique=PolitiqueUnique(self.node,self.editor)
-
+ t=self.node.item.object.definition.type[0].__name__
+ self.lineEditVal.setText('Attend un objet de type '+t+'. Il faut en créer')
+ self.parentQt.commandesLayout.insertWidget(-1,self)
#PN il faut remplir le type
#PN il faut remplir le type