QHelpIndexModel

The QHelpIndexModel class provides a model that supplies index keywords to views. More

Inheritance diagram of PySide6.QtHelp.QHelpIndexModel

Synopsis

Functions

Signals

Detailed Description

class PySide6.QtHelp.QHelpIndexModel
PySide6.QtHelp.QHelpIndexModel.createIndex(customFilterName)
Parameters

customFilterName – str

Creates a new index by querying the help system for keywords for the specified customFilterName.

PySide6.QtHelp.QHelpIndexModel.filter(filter[, wildcard=""])
Parameters
  • filter – str

  • wildcard – str

Return type

PySide6.QtCore.QModelIndex

Filters the indices and returns the model index of the best matching keyword. In a first step, only the keywords containing filter are kept in the model’s index list. Analogously, if wildcard is not empty, only the keywords matched are left in the index list. In a second step, the best match is determined and its index model returned. When specifying a wildcard expression, the filter string is used to search for the best match.

PySide6.QtHelp.QHelpIndexModel.helpEngine()
Return type

PySide6.QtHelp.QHelpEngineCore

Returns the associated help engine that manages this model.

PySide6.QtHelp.QHelpIndexModel.indexCreated()
PySide6.QtHelp.QHelpIndexModel.indexCreationStarted()
PySide6.QtHelp.QHelpIndexModel.isCreatingIndex()
Return type

bool

Returns true if the index is currently built up, otherwise false.