64 Public slot to show the dialog. |
64 Public slot to show the dialog. |
65 """ |
65 """ |
66 self.gsbGroupBox.setChecked(self.__enabled) |
66 self.gsbGroupBox.setChecked(self.__enabled) |
67 self.gsbApiKeyEdit.setText(self.__apiKey) |
67 self.gsbApiKeyEdit.setText(self.__apiKey) |
68 self.gsbFilterPlatformCheckBox.setChecked(self.__filterPlatform) |
68 self.gsbFilterPlatformCheckBox.setChecked(self.__filterPlatform) |
|
69 # TODO: add text to label to indicate Update API only |
69 self.gsbAutoUpdateCheckBox.setChecked(self.__automaticUpdate) |
70 self.gsbAutoUpdateCheckBox.setChecked(self.__automaticUpdate) |
70 |
71 # TODO: add checkbox to enable the Lookup API |
|
72 |
|
73 # TODO: enable the cache buttons group box only on Update API |
71 self.__updateCacheButtons() |
74 self.__updateCacheButtons() |
72 |
75 |
73 super(SafeBrowsingDialog, self).show() |
76 super(SafeBrowsingDialog, self).show() |
74 |
77 |
75 @pyqtSlot() |
78 @pyqtSlot() |