Helpviewer/HelpIndexWidget.py

changeset 5587
ea526b78ee6c
parent 5389
9b1c800daff3
child 6048
82ad8ec9548c
equal deleted inserted replaced
5586:0e5421d679e7 5587:ea526b78ee6c
120 dlg = HelpTopicDialog(self, keyword, links) 120 dlg = HelpTopicDialog(self, keyword, links)
121 if dlg.exec_() == QDialog.Accepted: 121 if dlg.exec_() == QDialog.Accepted:
122 link = dlg.link() 122 link = dlg.link()
123 return link 123 return link
124 124
125 def __filterIndices(self, filter): 125 def __filterIndices(self, filterStr):
126 """ 126 """
127 Private slot to filter the indices according to the given filter. 127 Private slot to filter the indices according to the given filter.
128 128
129 @param filter filter to be used (string) 129 @param filterStr filter to be used (string)
130 """ 130 """
131 if '*' in filter: 131 if '*' in filterStr:
132 self.__index.filterIndices(filter, filter) 132 self.__index.filterIndices(filterStr, filterStr)
133 else: 133 else:
134 self.__index.filterIndices(filter) 134 self.__index.filterIndices(filterStr)
135 135
136 def __enableSearchEdit(self): 136 def __enableSearchEdit(self):
137 """ 137 """
138 Private slot to enable the search edit. 138 Private slot to enable the search edit.
139 """ 139 """

eric ide

mercurial