289 @pyqtSlot(QListWidgetItem, QListWidgetItem) |
289 @pyqtSlot(QListWidgetItem, QListWidgetItem) |
290 def on_allowedHostsList_currentItemChanged(self, current, previous): |
290 def on_allowedHostsList_currentItemChanged(self, current, previous): |
291 """ |
291 """ |
292 Private method to set the state of the edit and delete button. |
292 Private method to set the state of the edit and delete button. |
293 |
293 |
294 @param current new current item (QListWidgetItem) |
294 @param current new current item |
295 @param previous previous current item (QListWidgetItem) |
295 @type QListWidgetItem |
|
296 @param previous previous current item |
|
297 @type QListWidgetItem |
296 """ |
298 """ |
297 self.editAllowedHostButton.setEnabled(current is not None) |
299 self.editAllowedHostButton.setEnabled(current is not None) |
298 self.deleteAllowedHostButton.setEnabled(current is not None) |
300 self.deleteAllowedHostButton.setEnabled(current is not None) |
299 |
301 |
300 @pyqtSlot() |
302 @pyqtSlot() |
483 def create(dlg): # noqa: U100 |
485 def create(dlg): # noqa: U100 |
484 """ |
486 """ |
485 Module function to create the configuration page. |
487 Module function to create the configuration page. |
486 |
488 |
487 @param dlg reference to the configuration dialog |
489 @param dlg reference to the configuration dialog |
488 @return reference to the instantiated page (ConfigurationPageBase) |
490 @type ConfigurationDialog |
|
491 @return reference to the instantiated page |
|
492 @rtype ConfigurationPageBase |
489 """ |
493 """ |
490 return DebuggerGeneralPage() |
494 return DebuggerGeneralPage() |
491 |
495 |
492 |
496 |
493 # |
497 # |