QHelpFilterDataclass provides details for the filters used byQHelpFilterEngine. 更多 …
New in version 5.13.
def
__eq__
(other)
def
components
()
def
setComponents
(components)
def
setVersions
(versions)
def
swap
(other)
def
versions
()
By using
setComponents()you may constrain the search results to documents that belong only to components specified on the given list. By usingsetVersions()you may constrain the search results to documents that belong only to versions specified on the given list.另请参阅
QHelpFilterData
¶
QHelpFilterData(other)
- param other
Constructs the empty filter.
PySide2.QtHelp.QHelpFilterData.
components
(
)
¶
字符串列表
Returns the component list that is used for filtering the search results.
另请参阅
PySide2.QtHelp.QHelpFilterData.
__eq__
(
other
)
¶
other
–
QHelpFilterData
bool
PySide2.QtHelp.QHelpFilterData.
setComponents
(
components
)
¶
components – 字符串列表
Specifies the component list that is used for filtering the search results. Only results from components in the list
components
shall be returned.
另请参阅
PySide2.QtHelp.QHelpFilterData.
setVersions
(
versions
)
¶
versions –
Specifies the version list that is used for filtering the search results. Only results from versions in the list
versions
shall be returned.
另请参阅
PySide2.QtHelp.QHelpFilterData.
swap
(
other
)
¶
other
–
QHelpFilterData
Swaps the filter
other
with this filter. This operation is very fast and never fails.
PySide2.QtHelp.QHelpFilterData.
versions
(
)
¶
Returns the version list that is used for filtering the search results.
另请参阅