Graphics/UMLItem.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1112
8a7d1b9d18db
--- a/Graphics/UMLItem.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/Graphics/UMLItem.py	Fri Mar 11 16:51:57 2011 +0100
@@ -12,11 +12,12 @@
 
 import Preferences
 
+
 class UMLItem(QGraphicsRectItem):
     """
     Class implementing the UMLItem base class.
     """
-    def __init__(self, x = 0, y = 0, rounded = False, parent = None):
+    def __init__(self, x=0, y=0, rounded=False, parent=None):
         """
         Constructor
         
@@ -125,7 +126,7 @@
             self.shouldAdjustAssociations = True
         return QGraphicsItem.itemChange(self, change, value)
         
-    def paint(self, painter, option, widget = None):
+    def paint(self, painter, option, widget=None):
         """
         Public method to paint the item in local coordinates.
         

eric ide

mercurial