169 ' "{0}" + this.value.substring(this.selectionEnd); this.value =' |
169 ' "{0}" + this.value.substring(this.selectionEnd); this.value =' |
170 ' newVal;'.format(info)) |
170 ' newVal;'.format(info)) |
171 |
171 |
172 def viewKeyPressEvent(self, view, evt): |
172 def viewKeyPressEvent(self, view, evt): |
173 """ |
173 """ |
174 Public method to handle key press events we are interested in. |
174 Protected method to handle key press events we are interested in. |
175 |
175 |
176 @param view reference to the view (HelpBrowser) |
176 @param view reference to the view (HelpBrowser) |
177 @param evt reference to the key event (QKeyEvent) |
177 @param evt reference to the key event (QKeyEvent) |
178 @return flag indicating handling of the event (boolean) |
178 @return flag indicating handling of the event (boolean) |
179 """ |
179 """ |