Debugger/ExceptionsFilterDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2988
f53c03574697
child 3145
a9de05d4a22f
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
33 33
34 self.exceptionList.addItems(excList) 34 self.exceptionList.addItems(excList)
35 35
36 if ignore: 36 if ignore:
37 self.setWindowTitle(self.trUtf8("Ignored Exceptions")) 37 self.setWindowTitle(self.trUtf8("Ignored Exceptions"))
38 self.exceptionList.setToolTip(self.trUtf8("List of ignored exceptions")) 38 self.exceptionList.setToolTip(
39 self.trUtf8("List of ignored exceptions"))
39 40
40 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) 41 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok)
41 42
42 @pyqtSlot() 43 @pyqtSlot()
43 def on_exceptionList_itemSelectionChanged(self): 44 def on_exceptionList_itemSelectionChanged(self):
44 """ 45 """
45 Private slot to handle the change of the selection. 46 Private slot to handle the change of the selection.
46 """ 47 """
47 self.deleteButton.setEnabled(len(self.exceptionList.selectedItems()) > 0) 48 self.deleteButton.setEnabled(
49 len(self.exceptionList.selectedItems()) > 0)
48 50
49 @pyqtSlot() 51 @pyqtSlot()
50 def on_deleteButton_clicked(self): 52 def on_deleteButton_clicked(self):
51 """ 53 """
52 Private slot to delete the currently selected exception of the listbox. 54 Private slot to delete the currently selected exception of the listbox.

eric ide

mercurial