821 self.viewmanager.searchPrevAct.alternateShortcut()) |
821 self.viewmanager.searchPrevAct.alternateShortcut()) |
822 self.findPrevAct.setShortcutContext(Qt.WidgetShortcut) |
822 self.findPrevAct.setShortcutContext(Qt.WidgetShortcut) |
823 |
823 |
824 def show(self, text=''): |
824 def show(self, text=''): |
825 """ |
825 """ |
826 Overridden slot from QWidget. |
826 Public slot to show the widget. |
827 |
827 |
828 @param text text to be shown in the findtext edit (string) |
828 @param text text to be shown in the findtext edit (string) |
829 """ |
829 """ |
830 if self.replace: |
830 if self.replace: |
831 self.__showReplace(text) |
831 self.__showReplace(text) |
954 """ |
954 """ |
955 self.__searchReplaceWidget.updateSelectionCheckBox(editor) |
955 self.__searchReplaceWidget.updateSelectionCheckBox(editor) |
956 |
956 |
957 def show(self, text=''): |
957 def show(self, text=''): |
958 """ |
958 """ |
959 Overridden slot from QWidget. |
959 Public slot to show the widget. |
960 |
960 |
961 @param text text to be shown in the findtext edit (string) |
961 @param text text to be shown in the findtext edit (string) |
962 """ |
962 """ |
963 self.__searchReplaceWidget.show(text) |
963 self.__searchReplaceWidget.show(text) |
964 super(SearchReplaceSlidingWidget, self).show() |
964 super(SearchReplaceSlidingWidget, self).show() |