Debugger/ExceptionsFilterDialog.py

changeset 2988
f53c03574697
parent 2302
f29e9405c851
child 3057
10516539f238
child 3160
209a07d7e401
equal deleted inserted replaced
2987:c99695c0f13a 2988:f53c03574697
31 31
32 self.exceptionList.addItems(excList) 32 self.exceptionList.addItems(excList)
33 33
34 if ignore: 34 if ignore:
35 self.setWindowTitle(self.trUtf8("Ignored Exceptions")) 35 self.setWindowTitle(self.trUtf8("Ignored Exceptions"))
36 self.exceptionList.setToolTip(self.trUtf8("List of ignored exceptions")) 36 self.exceptionList.setToolTip(
37 self.trUtf8("List of ignored exceptions"))
37 38
38 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) 39 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok)
39 40
40 @pyqtSlot() 41 @pyqtSlot()
41 def on_exceptionList_itemSelectionChanged(self): 42 def on_exceptionList_itemSelectionChanged(self):
42 """ 43 """
43 Private slot to handle the change of the selection. 44 Private slot to handle the change of the selection.
44 """ 45 """
45 self.deleteButton.setEnabled(len(self.exceptionList.selectedItems()) > 0) 46 self.deleteButton.setEnabled(
47 len(self.exceptionList.selectedItems()) > 0)
46 48
47 @pyqtSlot() 49 @pyqtSlot()
48 def on_deleteButton_clicked(self): 50 def on_deleteButton_clicked(self):
49 """ 51 """
50 Private slot to delete the currently selected exception of the listbox. 52 Private slot to delete the currently selected exception of the listbox.

eric ide

mercurial