The QHelpIndexModel class provides a model that supplies index keywords to views. More...
Header: | #include <QHelpIndexModel> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Help) target_link_libraries(mytarget PRIVATE Qt6::Help) |
qmake: | QT += help |
Inherits: | QStringListModel |
void | createIndex(const QString &customFilterName) |
QModelIndex | filter(const QString &filter, const QString &wildcard = QString()) |
QHelpEngineCore * | helpEngine() const |
bool | isCreatingIndex() const |
void | indexCreated() |
void | indexCreationStarted() |
[signal]
void QHelpIndexModel::indexCreated()This signal is emitted when the index has been created.
[signal]
void QHelpIndexModel::indexCreationStarted()This signal is emitted when the creation of a new index has started. The current index is invalid from this point on until the signal indexCreated() is emitted.
See also isCreatingIndex().
Creates a new index by querying the help system for keywords for the specified customFilterName.
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.
[since 5.15]
QHelpEngineCore *QHelpIndexModel::helpEngine() constReturns the associated help engine that manages this model.
This function was introduced in Qt 5.15.
Returns true if the index is currently built up, otherwise false.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: