Graphics/UMLGraphicsView.py

changeset 51
7d80b0f20ca6
parent 13
1af94a91f439
child 96
9624a110667d
--- a/Graphics/UMLGraphicsView.py	Tue Jan 12 17:55:24 2010 +0000
+++ b/Graphics/UMLGraphicsView.py	Tue Jan 12 18:04:41 2010 +0000
@@ -4,7 +4,7 @@
 #
 
 """
-Module implementing a subclass of E4GraphicsView for our diagrams.
+Module implementing a subclass of E5GraphicsView for our diagrams.
 """
 
 import sys
@@ -12,7 +12,7 @@
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
-from E4Graphics.E4GraphicsView import E4GraphicsView
+from E5Graphics.E5GraphicsView import E5GraphicsView
 
 from .UMLItem import UMLItem
 from .UMLSceneSizeDialog import UMLSceneSizeDialog
@@ -23,9 +23,9 @@
 
 import Preferences
 
-class UMLGraphicsView(E4GraphicsView):
+class UMLGraphicsView(E5GraphicsView):
     """
-    Class implementing a specialized E4GraphicsView for our diagrams.
+    Class implementing a specialized E5GraphicsView for our diagrams.
     
     @signal relayout() emitted to indicate a relayout of the diagram
         is requested
@@ -39,7 +39,7 @@
         @param parent parent widget of the view (QWidget)
         @param name name of the view widget (string)
         """
-        E4GraphicsView.__init__(self, scene, parent)
+        E5GraphicsView.__init__(self, scene, parent)
         if name:
             self.setObjectName(name)
         
@@ -485,4 +485,4 @@
                           (itemrect.y() + itemrect.height() // 2)
             item.moveBy(xOffset, yOffset)
         
-        self.scene().update()
+        self.scene().update()
\ No newline at end of file

eric ide

mercurial