13 from .UMLGraphicsView import UMLGraphicsView |
13 from .UMLGraphicsView import UMLGraphicsView |
14 |
14 |
15 import UI.Config |
15 import UI.Config |
16 import UI.PixmapCache |
16 import UI.PixmapCache |
17 |
17 |
|
18 |
18 class UMLDialog(QMainWindow): |
19 class UMLDialog(QMainWindow): |
19 """ |
20 """ |
20 Class implementing a dialog showing UML like diagrams. |
21 Class implementing a dialog showing UML like diagrams. |
21 """ |
22 """ |
22 def __init__(self, diagramName = "Unnamed", parent = None, name = None): |
23 def __init__(self, diagramName="Unnamed", parent=None, name=None): |
23 """ |
24 """ |
24 Constructor |
25 Constructor |
25 |
26 |
26 @param parent parent widget of the view (QWidget) |
27 @param parent parent widget of the view (QWidget) |
27 @param name name of the view widget (string) |
28 @param name name of the view widget (string) |