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
synchronisation avec Yoann
[tools/eficas.git]
/
InterfaceQT4
/
monWidgetVide.py
diff --git
a/InterfaceQT4/monWidgetVide.py
b/InterfaceQT4/monWidgetVide.py
index e6f346988ee0573538a7a45173e2956847eba821..39c3dd4a43c5a533f3fec39e0fe271c0853b5f70 100644
(file)
--- a/
InterfaceQT4/monWidgetVide.py
+++ b/
InterfaceQT4/monWidgetVide.py
@@
-18,23
+18,23
@@
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# Modules Python
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# Modules Python
-import string,types,os
+from __future__ import absolute_import
+import types,os
# Modules Eficas
# Modules Eficas
-from PyQt4.QtGui import *
-from PyQt4.QtCore import *
from Extensions.i18n import tr
from Extensions.i18n import tr
-from feuille import Feuille
+from
.
feuille import Feuille
from desWidgetVide import Ui_WidgetVide
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