4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing the multi project browser. |
7 Module implementing the multi project browser. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
9 |
11 |
10 from PyQt4.QtCore import Qt |
12 from PyQt4.QtCore import Qt |
11 from PyQt4.QtGui import QListWidget, QListWidgetItem, QDialog, QMenu |
13 from PyQt4.QtGui import QListWidget, QListWidgetItem, QDialog, QMenu |
12 |
14 |
13 from E5Gui.E5Application import e5App |
15 from E5Gui.E5Application import e5App |
24 Constructor |
26 Constructor |
25 |
27 |
26 @param project reference to the multi project object |
28 @param project reference to the multi project object |
27 @param parent parent widget (QWidget) |
29 @param parent parent widget (QWidget) |
28 """ |
30 """ |
29 super().__init__(parent) |
31 super(MultiProjectBrowser, self).__init__(parent) |
30 self.multiProject = multiProject |
32 self.multiProject = multiProject |
31 |
33 |
32 self.setWindowIcon(UI.PixmapCache.getIcon("eric.png")) |
34 self.setWindowIcon(UI.PixmapCache.getIcon("eric.png")) |
33 self.setAlternatingRowColors(True) |
35 self.setAlternatingRowColors(True) |
34 |
36 |