RefactoringRope/HelpDialog.py

changeset 46
a726d19facfc
parent 43
39924831c795
child 50
a29c3d2e6dc0
child 55
d501156be247
equal deleted inserted replaced
45:c840c6f95cea 46:a726d19facfc
8 """ 8 """
9 9
10 from PyQt4.QtGui import QDialog, QDialogButtonBox, QTextDocument, QTextCursor 10 from PyQt4.QtGui import QDialog, QDialogButtonBox, QTextDocument, QTextCursor
11 11
12 from Ui_HelpDialog import Ui_HelpDialog 12 from Ui_HelpDialog import Ui_HelpDialog
13 from SearchDialog import SearchDialog
14 13
15 import Globals 14 import Globals
16 15
17 16
18 class HelpDialog(QDialog, Ui_HelpDialog): 17 class HelpDialog(QDialog, Ui_HelpDialog):
55 54
56 @param button button that was clicked (QAbstractButton) 55 @param button button that was clicked (QAbstractButton)
57 """ 56 """
58 if button == self.searchButton: 57 if button == self.searchButton:
59 if self.__searchDlg is None: 58 if self.__searchDlg is None:
59 from SearchDialog import SearchDialog
60 self.__searchDlg = SearchDialog(self) 60 self.__searchDlg = SearchDialog(self)
61 self.__searchDlg.showFind() 61 self.__searchDlg.showFind()
62 62
63 def findNextPrev(self, txt, case, word, backwards): 63 def findNextPrev(self, txt, case, word, backwards):
64 """ 64 """

eric ide

mercurial