WebBrowser/QtHelp/HelpIndexWidget.py

changeset 5605
1950fe1a32c4
parent 5389
9b1c800daff3
child 6048
82ad8ec9548c
equal deleted inserted replaced
5604:b047181a4a33 5605:1950fe1a32c4
128 dlg = HelpTopicDialog(self, keyword, links) 128 dlg = HelpTopicDialog(self, keyword, links)
129 if dlg.exec_() == QDialog.Accepted: 129 if dlg.exec_() == QDialog.Accepted:
130 link = dlg.link() 130 link = dlg.link()
131 return link 131 return link
132 132
133 def __filterIndices(self, filter): 133 def __filterIndices(self, indexFilter):
134 """ 134 """
135 Private slot to filter the indices according to the given filter. 135 Private slot to filter the indexes according to the given filter.
136 136
137 @param filter filter to be used (string) 137 @param indexFilter filter to be used (string)
138 """ 138 """
139 if '*' in filter: 139 if '*' in indexFilter:
140 self.__index.filterIndices(filter, filter) 140 self.__index.filterIndices(indexFilter, indexFilter)
141 else: 141 else:
142 self.__index.filterIndices(filter) 142 self.__index.filterIndices(indexFilter)
143 143
144 def __enableSearchEdit(self): 144 def __enableSearchEdit(self):
145 """ 145 """
146 Private slot to enable the search edit. 146 Private slot to enable the search edit.
147 """ 147 """

eric ide

mercurial