内容表

上一话题

PySide2.QtHelp

下一话题

QHelpContentItem

QCompressedHelpInfo

QCompressedHelpInfo class provides access to the details about a compressed help file. 更多

Inheritance diagram of PySide2.QtHelp.QCompressedHelpInfo

New in version 5.13.

概要

函数

静态函数

详细描述

The detailed information about the compressed help file can be fetched by calling the fromCompressedHelpFile() static method, providing the path to the compressed help file.

The class provides access to various information about a compressed help file. The namespace associated with the given compressed help file is namespaceName() , the associated component name is component() and version() provides version information.

另请参阅

QHelpFilterEngine

class QCompressedHelpInfo

QCompressedHelpInfo(other)

param other

QCompressedHelpInfo

Constructs empty information about a compressed help file.

PySide2.QtHelp.QCompressedHelpInfo. component ( )
返回类型

unicode

Returns the component of the compressed help file.

static PySide2.QtHelp.QCompressedHelpInfo. fromCompressedHelpFile ( documentationFileName )
参数

documentationFileName – unicode

返回类型

QCompressedHelpInfo

返回 QCompressedHelpInfo instance for the documentationFileName of the existing qch file.

PySide2.QtHelp.QCompressedHelpInfo. isNull ( )
返回类型

bool

返回 true if the info is invalid, otherwise returns false .

PySide2.QtHelp.QCompressedHelpInfo. namespaceName ( )
返回类型

unicode

Returns the namespace name of the compressed help file.

PySide2.QtHelp.QCompressedHelpInfo. swap ( other )
参数

other QCompressedHelpInfo

Swaps the compressed help file other with this compressed help file. This operation is very fast and never fails.

PySide2.QtHelp.QCompressedHelpInfo. version ( )
返回类型

QVersionNumber

Returns the version of the compressed help file.