29 @param defaultClassName proposed name for the new class (string) |
29 @param defaultClassName proposed name for the new class (string) |
30 @param defaultFile proposed name for the source file (string) |
30 @param defaultFile proposed name for the source file (string) |
31 @param defaultPath default path for the new file (string) |
31 @param defaultPath default path for the new file (string) |
32 @param parent parent widget if the dialog (QWidget) |
32 @param parent parent widget if the dialog (QWidget) |
33 """ |
33 """ |
34 QDialog.__init__(self, parent) |
34 super().__init__(parent) |
35 self.setupUi(self) |
35 self.setupUi(self) |
36 |
36 |
37 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
37 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
38 self.okButton.setEnabled(False) |
38 self.okButton.setEnabled(False) |
39 |
39 |