eric6/Graphics/UMLItem.py

changeset 7532
1358e9d67a1c
parent 7529
2b8a0d8ba12a
child 7780
41420f82c0ac
equal deleted inserted replaced
7531:052d00bae388 7532:1358e9d67a1c
67 self._colors = (QColor(Qt.black), QColor(Qt.white)) 67 self._colors = (QColor(Qt.black), QColor(Qt.white))
68 else: 68 else:
69 self._colors = colors 69 self._colors = colors
70 self.setPen(QPen(self._colors[0])) 70 self.setPen(QPen(self._colors[0]))
71 71
72 # TODO: set pen according to user selected color
73 self.font = Preferences.getGraphics("Font") 72 self.font = Preferences.getGraphics("Font")
74 self.margin = 5 73 self.margin = 5
75 self.associations = [] 74 self.associations = []
76 self.shouldAdjustAssociations = False 75 self.shouldAdjustAssociations = False
77 self.__id = -1 76 self.__id = -1

eric ide

mercurial