QCompressedHelpInfoclass provides access to the details about a compressed help file. 更多 …
New in version 5.13.
def
fromCompressedHelpFile
(documentationFileName)
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 iscomponent()andversion()provides version information.另请参阅
QCompressedHelpInfo
¶
QCompressedHelpInfo(other)
- param other
Constructs empty information about a compressed help file.
PySide2.QtHelp.QCompressedHelpInfo.
component
(
)
¶
unicode
Returns the component of the compressed help file.
PySide2.QtHelp.QCompressedHelpInfo.
fromCompressedHelpFile
(
documentationFileName
)
¶
documentationFileName – unicode
返回
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.