Tasks/TaskViewer.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2409
df3820f08247
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
9 Tasks can be defined manually or automatically. Automatically 9 Tasks can be defined manually or automatically. Automatically
10 generated tasks are derived from a comment with a special 10 generated tasks are derived from a comment with a special
11 introductory text. This text is configurable. 11 introductory text. This text is configurable.
12 """ 12 """
13 13
14 from __future__ import unicode_literals # __IGNORE_WARNING__
15
14 import os 16 import os
15 import fnmatch 17 import fnmatch
16 18
17 from PyQt4.QtCore import pyqtSignal, Qt 19 from PyQt4.QtCore import pyqtSignal, Qt
18 from PyQt4.QtGui import QHeaderView, QLineEdit, QTreeWidget, QDialog, QInputDialog, \ 20 from PyQt4.QtGui import QHeaderView, QLineEdit, QTreeWidget, QDialog, QInputDialog, \
44 Constructor 46 Constructor
45 47
46 @param parent the parent (QWidget) 48 @param parent the parent (QWidget)
47 @param project reference to the project object 49 @param project reference to the project object
48 """ 50 """
49 super().__init__(parent) 51 super(TaskViewer, self).__init__(parent)
50 52
51 self.setRootIsDecorated(False) 53 self.setRootIsDecorated(False)
52 self.setItemsExpandable(False) 54 self.setItemsExpandable(False)
53 self.setSortingEnabled(True) 55 self.setSortingEnabled(True)
54 56

eric ide

mercurial