Helpviewer/History/HistoryDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2403
e3d7a861547c
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog to manage history. 7 Module implementing a dialog to manage history.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtCore import pyqtSignal, Qt, QUrl 12 from PyQt4.QtCore import pyqtSignal, Qt, QUrl
11 from PyQt4.QtGui import QDialog, QFontMetrics, QMenu, QCursor, QApplication 13 from PyQt4.QtGui import QDialog, QFontMetrics, QMenu, QCursor, QApplication
12 14
13 from E5Gui.E5TreeSortFilterProxyModel import E5TreeSortFilterProxyModel 15 from E5Gui.E5TreeSortFilterProxyModel import E5TreeSortFilterProxyModel
32 Constructor 34 Constructor
33 35
34 @param parent reference to the parent widget (QWidget 36 @param parent reference to the parent widget (QWidget
35 @param manager reference to the history manager object (HistoryManager) 37 @param manager reference to the history manager object (HistoryManager)
36 """ 38 """
37 super().__init__(parent) 39 super(HistoryDialog, self).__init__(parent)
38 self.setupUi(self) 40 self.setupUi(self)
39 41
40 self.__historyManager = manager 42 self.__historyManager = manager
41 if self.__historyManager is None: 43 if self.__historyManager is None:
42 import Helpviewer.HelpWindow 44 import Helpviewer.HelpWindow

eric ide

mercurial