41 |
41 |
42 @param formName name of the file containing the form (string) |
42 @param formName name of the file containing the form (string) |
43 @param project reference to the project object |
43 @param project reference to the project object |
44 @param parent parent widget if the dialog (QWidget) |
44 @param parent parent widget if the dialog (QWidget) |
45 """ |
45 """ |
46 QDialog.__init__(self, parent) |
46 super().__init__(parent) |
47 self.setupUi(self) |
47 self.setupUi(self) |
48 |
48 |
49 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
49 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
50 |
50 |
51 self.slotsView.header().hide() |
51 self.slotsView.header().hide() |