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 """ |