Graphics/UMLClassDiagramBuilder.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2402
304fcefd3b04
child 2602
affc66a603c7
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog showing a UML like class diagram. 7 Module implementing a dialog showing a UML like class diagram.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 import itertools 12 import itertools
11 13
12 from PyQt4.QtGui import QGraphicsTextItem 14 from PyQt4.QtGui import QGraphicsTextItem
13 15
29 @param view reference to the view object (UMLGraphicsView) 31 @param view reference to the view object (UMLGraphicsView)
30 @param project reference to the project object (Project) 32 @param project reference to the project object (Project)
31 @param file file name of a python module to be shown (string) 33 @param file file name of a python module to be shown (string)
32 @keyparam noAttrs flag indicating, that no attributes should be shown (boolean) 34 @keyparam noAttrs flag indicating, that no attributes should be shown (boolean)
33 """ 35 """
34 super().__init__(dialog, view, project) 36 super(UMLClassDiagramBuilder, self).__init__(dialog, view, project)
35 self.setObjectName("UMLClassDiagramBuilder") 37 self.setObjectName("UMLClassDiagramBuilder")
36 38
37 self.file = file 39 self.file = file
38 self.noAttrs = noAttrs 40 self.noAttrs = noAttrs
39 41

eric ide

mercurial