Graphics/UMLDiagramBuilder.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing the UML diagram builder base class. 7 Module implementing the UML diagram builder base class.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtCore import QObject 12 from PyQt4.QtCore import QObject
11 13
12 14
13 class UMLDiagramBuilder(QObject): 15 class UMLDiagramBuilder(QObject):
20 22
21 @param dialog reference to the UML dialog (UMLDialog) 23 @param dialog reference to the UML dialog (UMLDialog)
22 @param view reference to the view object (UMLGraphicsView) 24 @param view reference to the view object (UMLGraphicsView)
23 @param project reference to the project object (Project) 25 @param project reference to the project object (Project)
24 """ 26 """
25 super().__init__(dialog) 27 super(UMLDiagramBuilder, self).__init__(dialog)
26 28
27 self.umlView = view 29 self.umlView = view
28 self.scene = self.umlView.scene() 30 self.scene = self.umlView.scene()
29 self.project = project 31 self.project = project
30 32

eric ide

mercurial