5#ifndef QHELPINDEXWIDGET_H
6#define QHELPINDEXWIDGET_H
8#include <QtHelp/qhelp_global.h>
10#include <QtCore/qstringlistmodel.h>
11#include <QtCore/qurl.h>
13#include <QtWidgets/qlistview.h>
27 void createIndexForCurrentFilter();
28 void createIndex(
const QString &customFilterName);
29 QModelIndex filter(
const QString &filter,
const QString &wildcard = {});
31 bool isCreatingIndex()
const;
32 QHelpEngineCore *helpEngine()
const;
35 void indexCreationStarted();
42 QHelpIndexModel(QHelpEngineCore *helpEngine);
45 QHelpIndexModelPrivate *d;
46 friend class QHelpEnginePrivate;
52 Q_MOC_INCLUDE(<QtHelp/qhelplink.h>)
55#if QT_DEPRECATED_SINCE(5
, 15
)
56 QT_DEPRECATED_X(
"Use documentActivated() instead")
57 void linkActivated(
const QUrl &link,
const QString &keyword);
58 QT_DEPRECATED_X(
"Use documentsActivated() instead")
59 void linksActivated(
const QMultiMap<QString, QUrl> &links,
const QString &keyword);
61 void documentActivated(
const QHelpLink &document,
const QString &keyword);
62 void documentsActivated(
const QList<QHelpLink> &documents,
const QString &keyword);
65 void filterIndices(
const QString &filter,
const QString &wildcard = {});
66 void activateCurrentItem();
69 void showLink(
const QModelIndex &index);
73 friend class QHelpEngine;
QHelpSearchEngine * searchEngine
QHelpIndexWidget * indexWidget
QHelpContentModel * contentModel
QHelpEnginePrivate(QHelpEngineCore *helpEngineCore)
QHelpEngineCore * m_helpEngineCore
bool m_isApplyCurrentFilterScheduled
QHelpIndexModel * indexModel
QHelpContentWidget * contentWidget
The QHelpEngine class provides access to contents and indices of the help engine.
The QHelpFilterEngine class provides a filtered view of the help contents.
The QHelpIndexModel class provides a model that supplies index keywords to views.
Combined button and popup list for selecting options.