PySide6.QtHelp.QHelp引擎¶
- class QHelpEngine¶
QHelpEngine类提供了对帮助引擎内容和索引的访问。更多…概要¶
方法¶
def
__init__()def
contentModel()def
contentWidget()def
indexModel()def
indexWidget()def
searchEngine()
注意
本文档可能包含从C++自动翻译到Python的代码片段。我们始终欢迎对代码片段翻译的贡献。如果您发现翻译问题,您也可以通过在我们的https:/bugreports.qt.io/projects/PYSIDE上创建工单来告知我们。
详细描述¶
使用给定的
parent构造一个新的帮助引擎。帮助引擎使用存储在collectionFile中的信息来提供帮助。如果集合文件尚不存在,它将被创建。- contentModel()¶
- Return type:
返回内容模型。
- contentWidget()¶
- Return type:
返回内容小部件。
- indexModel()¶
- Return type:
返回索引模型。
- indexWidget()¶
- Return type:
返回索引小部件。
- searchEngine()¶
- Return type:
返回默认的搜索引擎。