• PySide 模块
  • PySide.QtHelp
  • 内容表

    上一话题

    PySide.QtHelp

    下一话题

    QHelpContentItem

    QHelpSearchQuery

    详细描述

    PySide.QtHelp.QHelpSearchQuery class contains the field name and the associated search term

    PySide.QtHelp.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.

    class PySide.QtHelp. QHelpSearchQuery
    class PySide.QtHelp. QHelpSearchQuery ( field , wordList )
    class PySide.QtHelp. QHelpSearchQuery ( QHelpSearchQuery )
    参数:

    Constructs a new empty PySide.QtHelp.QHelpSearchQuery .

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

    PySide.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 a field only provided in use with clucene. Terms should be split in separate words and passed to the search engine.
    QHelpSearchQuery.WITHOUT a field only provided in use with clucene. Terms should be split in separate words and passed to the search engine.
    QHelpSearchQuery.PHRASE a field only provided in use with clucene. Terms should not be split in separate words.
    QHelpSearchQuery.ALL a field only provided in use with clucene. Terms should be split in separate words and passed to the search engine
    QHelpSearchQuery.ATLEAST a field only provided in use with clucene. Terms should be split in separate words and passed to the search engine
    PySide.QtHelp.QHelpSearchQuery. wordList
    PySide.QtHelp.QHelpSearchQuery. fieldName