eric6/Graphics/UMLDialog.py

branch
maintenance
changeset 8043
0acf98cd089a
parent 7924
8a96736d465e
parent 7923
91e843545d9a
child 8176
31965986ecd1
equal deleted inserted replaced
7991:866adc8c315b 8043:0acf98cd089a
37 @param diagramType type of the diagram (one of ApplicationDiagram, 37 @param diagramType type of the diagram (one of ApplicationDiagram,
38 ClassDiagram, ImportsDiagram, NoDiagram, PackageDiagram) 38 ClassDiagram, ImportsDiagram, NoDiagram, PackageDiagram)
39 @param project reference to the project object (Project) 39 @param project reference to the project object (Project)
40 @param path file or directory path to build the diagram from (string) 40 @param path file or directory path to build the diagram from (string)
41 @param parent parent widget of the dialog (QWidget) 41 @param parent parent widget of the dialog (QWidget)
42 @keyparam 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(UMLDialog, self).__init__(parent)
47 self.setObjectName("UMLDialog") 47 self.setObjectName("UMLDialog")
135 135
136 def show(self, fromFile=False): 136 def show(self, fromFile=False):
137 """ 137 """
138 Public method to show the dialog. 138 Public method to show the dialog.
139 139
140 @keyparam 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(UMLDialog, self).show()

eric ide

mercurial