eric6/Graphics/UMLDialog.py

changeset 8218
7c09585bd960
parent 8205
4a0f1f896341
child 8257
28146736bbfc
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
41 @param parent parent widget of the dialog (QWidget) 41 @param parent parent widget of the dialog (QWidget)
42 @param initBuilder flag indicating to initialize the diagram 42 @param initBuilder flag indicating to initialize the diagram
43 builder (boolean) 43 builder (boolean)
44 @keyparam kwargs diagram specific data 44 @keyparam kwargs diagram specific data
45 """ 45 """
46 super(UMLDialog, self).__init__(parent) 46 super().__init__(parent)
47 self.setObjectName("UMLDialog") 47 self.setObjectName("UMLDialog")
48 48
49 self.__diagramType = diagramType 49 self.__diagramType = diagramType
50 self.__project = project 50 self.__project = project
51 51
140 @param fromFile flag indicating, that the diagram was loaded 140 @param fromFile flag indicating, that the diagram was loaded
141 from file (boolean) 141 from file (boolean)
142 """ 142 """
143 if not fromFile and self.builder: 143 if not fromFile and self.builder:
144 self.builder.buildDiagram() 144 self.builder.buildDiagram()
145 super(UMLDialog, self).show() 145 super().show()
146 146
147 def __relayout(self): 147 def __relayout(self):
148 """ 148 """
149 Private method to relayout the diagram. 149 Private method to relayout the diagram.
150 """ 150 """

eric ide

mercurial