详细描述
PySide.QtHelp.QHelpIndexModel
class provides a model that supplies index keywords to views.
-
PySide.QtHelp.QHelpIndexModel.
createIndex
(
customFilterName
)
-
参数:
|
customFilterName
– unicode
|
Creates a new index by querying the help system for keywords for the specified
customFilterName
.
-
PySide.QtHelp.QHelpIndexModel.
filter
(
filter
[
,
wildcard=""
]
)
-
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.
-
PySide.QtHelp.QHelpIndexModel.
indexCreated
(
)
-
PySide.QtHelp.QHelpIndexModel.
indexCreationStarted
(
)
-
PySide.QtHelp.QHelpIndexModel.
insertIndices
(
)
-
PySide.QtHelp.QHelpIndexModel.
invalidateIndex
(
[
onShutDown=false
]
)
-
参数:
|
onShutDown
–
PySide.QtCore.bool
|
-
PySide.QtHelp.QHelpIndexModel.
isCreatingIndex
(
)
-
Returns true if the index is currently built up, otherwise false.
-
PySide.QtHelp.QHelpIndexModel.
linksForKeyword
(
keyword
)
-
参数:
|
keyword
– unicode
|
返回类型:
|
|
Returns all hits found for the
keyword
. A hit consists of the URL and the document title.