|qmake:||QT += help|
|void||createIndex(const QString &customFilterName)|
|QModelIndex||filter(const QString &filter, const QString &wildcard = QString())|
- 14 public functions inherited from QStringListModel
- 7 public functions inherited from QAbstractListModel
- 43 public functions inherited from QAbstractItemModel
- 34 public functions inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 2 public slots inherited from QAbstractItemModel
- 1 public slot inherited from QObject
- 1 public variable inherited from QStringListModel
- 1 public variable inherited from QAbstractListModel
- 1 public variable inherited from QAbstractItemModel
- 1 public variable inherited from QObject
- 2 static public members inherited from QStringListModel
- 2 static public members inherited from QAbstractListModel
- 2 static public members inherited from QAbstractItemModel
- 10 static public members inherited from QObject
- 19 protected functions inherited from QAbstractItemModel
- 9 protected functions inherited from QObject
- 1 protected slot inherited from QAbstractItemModel
- 2 protected variables inherited from QObject
The QHelpIndexModel class provides a model that supplies index keywords to views.
Member Function Documentation
void QHelpIndexModel::createIndex(const QString &customFilterName)
Creates a new index by querying the help system for keywords for the specified customFilterName.
QModelIndex QHelpIndexModel::filter(const QString &filter, const QString &wildcard = QString())
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.
This signal is emitted when the index has been created.
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().
Returns true if the index is currently built up, otherwise false.
© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.