40 |
40 |
41 @param parent The parent widget of this dialog. (QWidget) |
41 @param parent The parent widget of this dialog. (QWidget) |
42 @param name The name of this dialog. (string) |
42 @param name The name of this dialog. (string) |
43 @param modal Flag indicating a modal dialog. (boolean) |
43 @param modal Flag indicating a modal dialog. (boolean) |
44 """ |
44 """ |
45 QDialog.__init__(self, parent) |
45 super().__init__(parent) |
46 if name: |
46 if name: |
47 self.setObjectName(name) |
47 self.setObjectName(name) |
48 self.setModal(modal) |
48 self.setModal(modal) |
49 self.setupUi(self) |
49 self.setupUi(self) |
50 |
50 |