135 |
135 |
136 E5WheelTabBar.mousePressEvent(self, evt) |
136 E5WheelTabBar.mousePressEvent(self, evt) |
137 |
137 |
138 def event(self, evt): |
138 def event(self, evt): |
139 """ |
139 """ |
140 Protected method to handle event. |
140 Public method to handle event. |
141 |
141 |
142 This event handler just handles the tooltip event and passes the |
142 This event handler just handles the tooltip event and passes the |
143 handling of all others to the superclass. |
143 handling of all others to the superclass. |
144 |
144 |
145 @param evt reference to the event to be handled (QEvent) |
145 @param evt reference to the event to be handled (QEvent) |
153 |
153 |
154 return E5WheelTabBar.event(self, evt) |
154 return E5WheelTabBar.event(self, evt) |
155 |
155 |
156 def tabRemoved(self, index): |
156 def tabRemoved(self, index): |
157 """ |
157 """ |
158 Protected slot to handle the removal of a tab. |
158 Public slot to handle the removal of a tab. |
159 |
159 |
160 @param index index of the removed tab (integer) |
160 @param index index of the removed tab (integer) |
161 """ |
161 """ |
162 if Preferences.getHelp("ShowPreview"): |
162 if Preferences.getHelp("ShowPreview"): |
163 if self.__previewPopup is not None: |
163 if self.__previewPopup is not None: |