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

    上一话题

    QHelpSearchResultWidget

    下一话题

    QHelpContentWidget

    QHelpSearchQueryWidget

    概要

    信号

    详细描述

    PySide.QtHelp.QHelpSearchQueryWidget class provides a simple line edit or an advanced widget to enable the user to input a search term in a standardized input mask.
    class PySide.QtHelp. QHelpSearchQueryWidget ( [ parent=None ] )
    参数: parent PySide.QtGui.QWidget

    Constructs a new search query widget with the given parent .

    PySide.QtHelp.QHelpSearchQueryWidget. collapseExtendedSearch ( )

    Collapses the search query widget so that only the default search field is shown.

    PySide.QtHelp.QHelpSearchQueryWidget. expandExtendedSearch ( )

    Expands the search query widget so that the extended search fields are shown.

    PySide.QtHelp.QHelpSearchQueryWidget. query ( )
    返回类型:

    Returns a list of queries to use in combination with the search engines search( QList < PySide.QtHelp.QHelpSearchQuery > &queryList) function.

    PySide.QtHelp.QHelpSearchQueryWidget. search ( )
    PySide.QtHelp.QHelpSearchQueryWidget. setQuery ( queryList )
    参数: queryList