Helpviewer/AdBlock/AdBlockIcon.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 the AdBlock icon for the main window status bar. 7 Module implementing the AdBlock icon for the main window status bar.
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 QAction, QMenu 13 from PyQt4.QtGui import QAction, QMenu
12 14
13 from E5Gui.E5ClickableLabel import E5ClickableLabel 15 from E5Gui.E5ClickableLabel import E5ClickableLabel
23 """ 25 """
24 Constructor 26 Constructor
25 27
26 @param parent reference to the parent widget (HelpWindow) 28 @param parent reference to the parent widget (HelpWindow)
27 """ 29 """
28 super().__init__(parent) 30 super(AdBlockIcon, self).__init__(parent)
29 31
30 self.__mw = parent 32 self.__mw = parent
31 self.__menuAction = None 33 self.__menuAction = None
32 self.__enabled = False 34 self.__enabled = False
33 35

eric ide

mercurial