28 |
28 |
29 @param parent The parent widget of this dialog. (QWidget) |
29 @param parent The parent widget of this dialog. (QWidget) |
30 @param name The name of this dialog. (string) |
30 @param name The name of this dialog. (string) |
31 @param modal Flag indicating a modal dialog. (boolean) |
31 @param modal Flag indicating a modal dialog. (boolean) |
32 """ |
32 """ |
33 QDialog.__init__(self, parent) |
33 super().__init__(parent) |
34 if name: |
34 if name: |
35 self.setObjectName(name) |
35 self.setObjectName(name) |
36 self.setModal(modal) |
36 self.setModal(modal) |
37 self.setupUi(self) |
37 self.setupUi(self) |
38 |
38 |