4#ifndef QHELPINDEXWIDGET_H
5#define QHELPINDEXWIDGET_H
7#include <QtHelp/qhelp_global.h>
9#include <QtCore/qstringlistmodel.h>
10#include <QtCore/qurl.h>
12#include <QtWidgets/qlistview.h>
26 void createIndexForCurrentFilter();
27 void createIndex(
const QString &customFilterName);
28 QModelIndex filter(
const QString &filter,
const QString &wildcard = {});
30 bool isCreatingIndex()
const;
31 QHelpEngineCore *helpEngine()
const;
34 void indexCreationStarted();
41 QHelpIndexModel(QHelpEngineCore *helpEngine);
44 QHelpIndexModelPrivate *d;
45 friend class QHelpEnginePrivate;
51 Q_MOC_INCLUDE(<QtHelp/qhelplink.h>)
54#if QT_DEPRECATED_SINCE(5
, 15
)
55 QT_DEPRECATED_X(
"Use documentActivated() instead")
56 void linkActivated(
const QUrl &link,
const QString &keyword);
57 QT_DEPRECATED_X(
"Use documentsActivated() instead")
58 void linksActivated(
const QMultiMap<QString, QUrl> &links,
const QString &keyword);
60 void documentActivated(
const QHelpLink &document,
const QString &keyword);
61 void documentsActivated(
const QList<QHelpLink> &documents,
const QString &keyword);
64 void filterIndices(
const QString &filter,
const QString &wildcard = {});
65 void activateCurrentItem();
68 void showLink(
const QModelIndex &index);
72 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.