Project/NewDialogClassDialog.py

changeset 1131
7781e396c903
parent 1112
8a7d1b9d18db
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
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

eric ide

mercurial