ViewManager/BookmarkedFilesDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3060
5883ce99ee12
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a configuration dialog for the bookmarked files menu. 7 Module implementing a configuration dialog for the bookmarked files menu.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtCore import QFileInfo, Qt, pyqtSlot 12 from PyQt4.QtCore import QFileInfo, Qt, pyqtSlot
11 from PyQt4.QtGui import QListWidgetItem, QColor, QDialog 13 from PyQt4.QtGui import QListWidgetItem, QColor, QDialog
12 14
13 from E5Gui.E5Completers import E5FileCompleter 15 from E5Gui.E5Completers import E5FileCompleter
27 Constructor 29 Constructor
28 30
29 @param bookmarks list of bookmarked files (list of strings) 31 @param bookmarks list of bookmarked files (list of strings)
30 @param parent parent widget (QWidget) 32 @param parent parent widget (QWidget)
31 """ 33 """
32 super().__init__(parent) 34 super(BookmarkedFilesDialog, self).__init__(parent)
33 self.setupUi(self) 35 self.setupUi(self)
34 36
35 self.fileCompleter = E5FileCompleter(self.fileEdit) 37 self.fileCompleter = E5FileCompleter(self.fileEdit)
36 38
37 self.bookmarks = bookmarks[:] 39 self.bookmarks = bookmarks[:]

eric ide

mercurial