QCompressedHelpInfo

The QCompressedHelpInfo class provides access to the details about a compressed help file. More

Inheritance diagram of PySide2.QtHelp.QCompressedHelpInfo

New in version 5.13.

Synopsis

Functions

Static functions

Detailed Description

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.

class PySide2.QtHelp.QCompressedHelpInfo

PySide2.QtHelp.QCompressedHelpInfo(other)

param other:

PySide2.QtHelp.QCompressedHelpInfo

Constructs empty information about a compressed help file.

PySide2.QtHelp.QCompressedHelpInfo.component()
Return type:

str

Returns the component of the compressed help file.

static PySide2.QtHelp.QCompressedHelpInfo.fromCompressedHelpFile(documentationFileName)
Parameters:

documentationFileName – str

Return type:

PySide2.QtHelp.QCompressedHelpInfo

Returns the QCompressedHelpInfo instance for the documentationFileName of the existing qch file.

PySide2.QtHelp.QCompressedHelpInfo.isNull()
Return type:

bool

Returns true if the info is invalid, otherwise returns false .

PySide2.QtHelp.QCompressedHelpInfo.namespaceName()
Return type:

str

Returns the namespace name of the compressed help file.

PySide2.QtHelp.QCompressedHelpInfo.swap(other)
Parameters:

otherPySide2.QtHelp.QCompressedHelpInfo

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

PySide2.QtHelp.QCompressedHelpInfo.version()
Return type:

PySide2.QtCore.QVersionNumber

Returns the version of the compressed help file.