15 |
15 |
16 from .HelpSnap import renderTabPreview |
16 from .HelpSnap import renderTabPreview |
17 |
17 |
18 import Preferences |
18 import Preferences |
19 |
19 |
|
20 |
20 class HelpTabBar(E5WheelTabBar): |
21 class HelpTabBar(E5WheelTabBar): |
21 """ |
22 """ |
22 Class implementing the tab bar of the web browser. |
23 Class implementing the tab bar of the web browser. |
23 """ |
24 """ |
24 def __init__(self, parent = None): |
25 def __init__(self, parent=None): |
25 """ |
26 """ |
26 Constructor |
27 Constructor |
27 |
28 |
28 @param parent reference to the parent widget (HelpTabWidget) |
29 @param parent reference to the parent widget (HelpTabWidget) |
29 """ |
30 """ |
134 |
135 |
135 def event(self, evt): |
136 def event(self, evt): |
136 """ |
137 """ |
137 Protected method to handle event. |
138 Protected method to handle event. |
138 |
139 |
139 This event handler just handles the tooltip event and passes the |
140 This event handler just handles the tooltip event and passes the |
140 handling of all others to the superclass. |
141 handling of all others to the superclass. |
141 |
142 |
142 @param evt reference to the event to be handled (QEvent) |
143 @param evt reference to the event to be handled (QEvent) |
143 @return flag indicating, if the event was handled (boolean) |
144 @return flag indicating, if the event was handled (boolean) |
144 """ |
145 """ |