47 (string) |
47 (string) |
48 @keyparam saveFilters filename filter string (string) |
48 @keyparam saveFilters filename filter string (string) |
49 @keyparam showInput flag indicating to show the input widgets (bool) |
49 @keyparam showInput flag indicating to show the input widgets (bool) |
50 @keyparam parent parent widget (QWidget) |
50 @keyparam parent parent widget (QWidget) |
51 """ |
51 """ |
52 super(DjangoDialog, self).__init__(parent) |
52 super().__init__(parent) |
53 self.setupUi(self) |
53 self.setupUi(self) |
54 |
54 |
55 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
55 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
56 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
56 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
57 self.buttonBox.button(QDialogButtonBox.Save).setEnabled(False) |
57 self.buttonBox.button(QDialogButtonBox.Save).setEnabled(False) |