4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing the exceptions filter dialog. |
7 Module implementing the exceptions filter dialog. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
9 |
11 |
10 from PyQt4.QtCore import pyqtSlot |
12 from PyQt4.QtCore import pyqtSlot |
11 from PyQt4.QtGui import QDialog, QDialogButtonBox |
13 from PyQt4.QtGui import QDialog, QDialogButtonBox |
12 |
14 |
13 from .Ui_ExceptionsFilterDialog import Ui_ExceptionsFilterDialog |
15 from .Ui_ExceptionsFilterDialog import Ui_ExceptionsFilterDialog |
23 |
25 |
24 @param excList list of exceptions to be edited (list of strings) |
26 @param excList list of exceptions to be edited (list of strings) |
25 @param ignore flag indicating the ignore exceptions mode (boolean) |
27 @param ignore flag indicating the ignore exceptions mode (boolean) |
26 @param parent the parent widget (QWidget) |
28 @param parent the parent widget (QWidget) |
27 """ |
29 """ |
28 super().__init__(parent) |
30 super(ExceptionsFilterDialog, self).__init__(parent) |
29 self.setupUi(self) |
31 self.setupUi(self) |
30 self.setModal(True) |
32 self.setModal(True) |
31 |
33 |
32 self.exceptionList.addItems(excList) |
34 self.exceptionList.addItems(excList) |
33 |
35 |