QHelpContentModel#
The QHelpContentModel
class provides a model that supplies content to views. More…
Synopsis#
Functions#
def
contentItemAt
(index)def
createContents
(customFilterName)def
isCreatingContents
()
Signals#
def
contentsCreated
()def
contentsCreationStarted
()
Detailed Description#
- class PySide6.QtHelp.QHelpContentModel#
- PySide6.QtHelp.QHelpContentModel.contentItemAt(index)#
- Parameters
index –
PySide6.QtCore.QModelIndex
- Return type
Returns the help content item at the model index position index
.
- PySide6.QtHelp.QHelpContentModel.contentsCreated()#
This signal is emitted when the contents have been created.
- PySide6.QtHelp.QHelpContentModel.contentsCreationStarted()#
This signal is emitted when the creation of the contents has started. The current contents are invalid from this point on until the signal contentsCreated()
is emitted.
See also
- PySide6.QtHelp.QHelpContentModel.createContents(customFilterName)#
- Parameters
customFilterName – str
Creates new contents by querying the help system for contents specified for the customFilterName
.
- PySide6.QtHelp.QHelpContentModel.isCreatingContents()#
- Return type
bool
Returns true if the contents are currently rebuilt, otherwise false.