diff -r 1b59c4ba121e -r 8cd4d08fa9f6 Graphics/ModuleItem.py --- a/Graphics/ModuleItem.py Fri Mar 11 08:55:14 2011 +0100 +++ b/Graphics/ModuleItem.py Fri Mar 11 16:51:57 2011 +0100 @@ -12,6 +12,7 @@ from .UMLItem import UMLItem + class ModuleModel(object): """ Class implementing the module model. @@ -50,12 +51,13 @@ """ return self.name + class ModuleItem(UMLItem): """ Class implementing a module item. """ - def __init__(self, model = None, x = 0, y = 0, rounded = False, - parent = None, scene = None): + def __init__(self, model=None, x=0, y=0, rounded=False, + parent=None, scene=None): """ Constructor @@ -132,7 +134,7 @@ self.__createTexts() self.__calculateSize() - def paint(self, painter, option, widget = None): + def paint(self, painter, option, widget=None): """ Public method to paint the item in local coordinates.