Plugins/DocumentationPlugins/Ericapi/EricapiExecDialog.py

changeset 1131
7781e396c903
parent 1112
8a7d1b9d18db
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
31 Constructor 31 Constructor
32 32
33 @param cmdname name of the ericapi generator (string) 33 @param cmdname name of the ericapi generator (string)
34 @param parent parent widget of this dialog (QWidget) 34 @param parent parent widget of this dialog (QWidget)
35 """ 35 """
36 QDialog.__init__(self, parent) 36 super().__init__(parent)
37 self.setModal(True) 37 self.setModal(True)
38 self.setupUi(self) 38 self.setupUi(self)
39 39
40 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) 40 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False)
41 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) 41 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)

eric ide

mercurial