adsfolio.gui.search_completion
Suggest field names and values while the user types a search query.
- class adsfolio.gui.search_completion.SearchCompleter(line_edit, values)[source]
Bases:
PySide6.QtCore.QObjectShow a popup of completions for the term under the cursor.
A word without a colon gets field-name suggestions:
fsuggestsfirst_author:andfilename:. Afterauthor:,first_author:,journal:, oryear:, values supplies the suggestions. Choosing a suggestion replaces only that term.- Parameters:
- staticMetaObject = PySide6.QtCore.QMetaObject("SearchCompleter" inherits "QObject": )