内容表

上一话题

QHelpSearchEngine

下一话题

QHelpSearchQueryWidget

QHelpSearchQuery

QHelpSearchQuery class contains the field name and the associated search term. 更多

Inheritance diagram of PySide2.QtHelp.QHelpSearchQuery

详细描述

QHelpSearchQuery class contains the field name and the associated search term. Depending on the field the search term might get split up into separate terms to be parsed differently by the search engine.

注意

This class has been deprecated in favor of QString .

class QHelpSearchQuery

QHelpSearchQuery(field, wordList_ )

QHelpSearchQuery(QHelpSearchQuery)

param wordList_

字符串列表

param field

FieldName

param QHelpSearchQuery

QHelpSearchQuery

Constructs a new empty QHelpSearchQuery .

构造新 QHelpSearchQuery and initializes it with the given field and wordList .

PySide2.QtHelp.QHelpSearchQuery. FieldName

This enum type specifies the field names that are handled by the search engine.

常量

描述

QHelpSearchQuery.DEFAULT

the default field provided by the search widget, several terms should be split and stored in the word list except search terms enclosed in quotes.

QHelpSearchQuery.FUZZY

Terms should be split in separate words and passed to the search engine.

QHelpSearchQuery.WITHOUT

Terms should be split in separate words and passed to the search engine.

QHelpSearchQuery.PHRASE

Terms should not be split in separate words.

QHelpSearchQuery.ALL

Terms should be split in separate words and passed to the search engine

QHelpSearchQuery.ATLEAST

Terms should be split in separate words and passed to the search engine

PySide2.QtHelp.QHelpSearchQuery. fieldName
PySide2.QtHelp.QHelpSearchQuery. wordList