56 if sliding: |
56 if sliding: |
57 self.__topWidget = parent |
57 self.__topWidget = parent |
58 |
58 |
59 self.findHistory = vm.getSRHistory("search") |
59 self.findHistory = vm.getSRHistory("search") |
60 if replace: |
60 if replace: |
61 from .Ui_ReplaceWidget import Ui_ReplaceWidget |
61 from .Ui_ReplaceWidget import Ui_ReplaceWidget # __IGNORE_WARNING_I101__ |
62 |
62 |
63 self.replaceHistory = vm.getSRHistory("replace") |
63 self.replaceHistory = vm.getSRHistory("replace") |
64 self.ui = Ui_ReplaceWidget() |
64 self.ui = Ui_ReplaceWidget() |
65 whatsThis = self.tr( |
65 whatsThis = self.tr( |
66 """<b>Find and Replace</b> |
66 """<b>Find and Replace</b> |
69 The search string might be a regular expression. In a regular expression, |
69 The search string might be a regular expression. In a regular expression, |
70 special characters interpreted are:</p> |
70 special characters interpreted are:</p> |
71 """ |
71 """ |
72 ) |
72 ) |
73 else: |
73 else: |
74 from .Ui_SearchWidget import Ui_SearchWidget |
74 from .Ui_SearchWidget import Ui_SearchWidget # __IGNORE_WARNING_I101__ |
75 |
75 |
76 self.ui = Ui_SearchWidget() |
76 self.ui = Ui_SearchWidget() |
77 whatsThis = self.tr( |
77 whatsThis = self.tr( |
78 """<b>Find</b> |
78 """<b>Find</b> |
79 <p>This dialog is used to find some text. By checking the various checkboxes, |
79 <p>This dialog is used to find some text. By checking the various checkboxes, |