Helpviewer/HelpIndexWidget.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 window for showing the QtHelp index. 7 Module implementing a window for showing the QtHelp index.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtCore import pyqtSignal, Qt, QUrl, QEvent 12 from PyQt4.QtCore import pyqtSignal, Qt, QUrl, QEvent
11 from PyQt4.QtGui import QWidget, QVBoxLayout, QLabel, QLineEdit, QMenu, QDialog 13 from PyQt4.QtGui import QWidget, QVBoxLayout, QLabel, QLineEdit, QMenu, QDialog
12 14
13 15
30 32
31 @param engine reference to the help engine (QHelpEngine) 33 @param engine reference to the help engine (QHelpEngine)
32 @param mainWindow reference to the main window object (QMainWindow) 34 @param mainWindow reference to the main window object (QMainWindow)
33 @param parent reference to the parent widget (QWidget) 35 @param parent reference to the parent widget (QWidget)
34 """ 36 """
35 super().__init__(parent) 37 super(HelpIndexWidget, self).__init__(parent)
36 38
37 self.__engine = engine 39 self.__engine = engine
38 self.__mw = mainWindow 40 self.__mw = mainWindow
39 41
40 self.__searchEdit = None 42 self.__searchEdit = None

eric ide

mercurial