Tasks/TaskFilterConfigDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing the task filter configuration dialog. 7 Module implementing the task filter configuration dialog.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtGui import QDialog 12 from PyQt4.QtGui import QDialog
11 13
12 from .Task import Task 14 from .Task import Task
13 15
23 Constructor 25 Constructor
24 26
25 @param taskFilter the task filter object to be configured 27 @param taskFilter the task filter object to be configured
26 @param parent the parent widget (QWidget) 28 @param parent the parent widget (QWidget)
27 """ 29 """
28 super().__init__(parent) 30 super(TaskFilterConfigDialog, self).__init__(parent)
29 self.setupUi(self) 31 self.setupUi(self)
30 32
31 self.typeCombo.addItem("", Task.TypeNone) 33 self.typeCombo.addItem("", Task.TypeNone)
32 self.typeCombo.addItem(self.trUtf8("Bugfix"), Task.TypeFixme) 34 self.typeCombo.addItem(self.trUtf8("Bugfix"), Task.TypeFixme)
33 self.typeCombo.addItem(self.trUtf8("Warning"), Task.TypeWarning) 35 self.typeCombo.addItem(self.trUtf8("Warning"), Task.TypeWarning)

eric ide

mercurial