eric6/Graphics/UMLItem.py

changeset 7525
6d1f954947bc
parent 7360
9190402e4505
child 7529
2b8a0d8ba12a
equal deleted inserted replaced
7524:282680dae446 7525:6d1f954947bc
52 @keyparam parent reference to the parent object (QGraphicsItem) 52 @keyparam parent reference to the parent object (QGraphicsItem)
53 """ 53 """
54 super(UMLItem, self).__init__(parent) 54 super(UMLItem, self).__init__(parent)
55 self.model = model 55 self.model = model
56 56
57 # TODO: set pen according to user selected color
57 self.font = Preferences.getGraphics("Font") 58 self.font = Preferences.getGraphics("Font")
58 self.margin = 5 59 self.margin = 5
59 self.associations = [] 60 self.associations = []
60 self.shouldAdjustAssociations = False 61 self.shouldAdjustAssociations = False
61 self.__id = -1 62 self.__id = -1

eric ide

mercurial