25 """ |
25 """ |
26 Constructor |
26 Constructor |
27 |
27 |
28 @param parent reference to the parent widget (QWidget) |
28 @param parent reference to the parent widget (QWidget) |
29 """ |
29 """ |
30 QDialog.__init__(self, parent) |
30 super().__init__(parent) |
31 self.setupUi(self) |
31 self.setupUi(self) |
32 |
32 |
33 self.databaseEnabledCheckBox.setChecked( |
33 self.databaseEnabledCheckBox.setChecked( |
34 Preferences.getHelp("OfflineStorageDatabaseEnabled")) |
34 Preferences.getHelp("OfflineStorageDatabaseEnabled")) |
35 self.databaseQuotaSpinBox.setValue( |
35 self.databaseQuotaSpinBox.setValue( |