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
/
compobloc.py
diff --git
a/InterfaceQT4/compobloc.py
b/InterfaceQT4/compobloc.py
index cd1c1e2918961423764ecea7d37cb8b990ea80a1..a4ad962777c48abf6198681f4c80c5e6a07e5781 100644
(file)
--- a/
InterfaceQT4/compobloc.py
+++ b/
InterfaceQT4/compobloc.py
@@
-18,13
+18,13
@@
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-from PyQt4 import *
-from
PyQt4.QtGui import *
+
+from
__future__ import absolute_import
from Editeur import Objecttreeitem
from Editeur import Objecttreeitem
-import compofact
-import browser
-import typeNode
+
from .
import compofact
+
from .
import browser
+
from .
import typeNode
class Node(browser.JDCNode,typeNode.PopUpMenuNodeMinimal):
class Node(browser.JDCNode,typeNode.PopUpMenuNodeMinimal):
@@
-41,7
+41,7
@@
class Node(browser.JDCNode,typeNode.PopUpMenuNodeMinimal):
maCommande=commande
if hasattr(parentQt,'niveau'): self.niveau=parentQt.niveau+1
else : self.niveau=1
maCommande=commande
if hasattr(parentQt,'niveau'): self.niveau=parentQt.niveau+1
else : self.niveau=1
- from monWidgetBloc import MonWidgetBloc
+ from
.
monWidgetBloc import MonWidgetBloc
widget=MonWidgetBloc(self,self.editor,parentQt,maDefinition,monObjet,self.niveau,maCommande)
widget=MonWidgetBloc(self,self.editor,parentQt,maDefinition,monObjet,self.niveau,maCommande)