Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qhelpindexwidget.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QHELPINDEXWIDGET_H
6
#
define
QHELPINDEXWIDGET_H
7
8
#
include
<
QtHelp
/
qhelp_global
.
h
>
9
10
#
include
<
QtCore
/
qstringlistmodel
.
h
>
11
#
include
<
QtCore
/
qurl
.
h
>
12
13
#
include
<
QtWidgets
/
qlistview
.
h
>
14
15
QT_BEGIN_NAMESPACE
16
17
class
QHelpEngineCore;
18
class
QHelpEnginePrivate
;
19
class
QHelpIndexModelPrivate
;
20
struct
QHelpLink;
21
22
class
QHELP_EXPORT
QHelpIndexModel
:
public
QStringListModel
23
{
24
Q_OBJECT
25
26
public
:
27
void
createIndexForCurrentFilter();
28
void
createIndex(
const
QString &customFilterName);
29
QModelIndex filter(
const
QString &filter,
const
QString &wildcard = {});
30
31
bool
isCreatingIndex()
const
;
32
QHelpEngineCore *helpEngine()
const
;
33
34
Q_SIGNALS:
35
void
indexCreationStarted();
36
void
indexCreated();
37
38
private
Q_SLOTS:
39
void
insertIndices();
40
41
private
:
42
QHelpIndexModel(QHelpEngineCore *helpEngine);
43
~QHelpIndexModel();
44
45
QHelpIndexModelPrivate *d;
46
friend
class
QHelpEnginePrivate;
47
};
48
49
class
QHELP_EXPORT
QHelpIndexWidget
:
public
QListView
50
{
51
Q_OBJECT
52
Q_MOC_INCLUDE(<QtHelp/qhelplink.h>)
53
54
Q_SIGNALS:
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);
60
#
endif
61
void
documentActivated(
const
QHelpLink &document,
const
QString &keyword);
62
void
documentsActivated(
const
QList<QHelpLink> &documents,
const
QString &keyword);
63
64
public
Q_SLOTS:
65
void
filterIndices(
const
QString &filter,
const
QString &wildcard = {});
66
void
activateCurrentItem();
67
68
private
Q_SLOTS:
69
void
showLink(
const
QModelIndex &index);
70
71
private
:
72
QHelpIndexWidget();
73
friend
class
QHelpEngine;
74
};
75
76
QT_END_NAMESPACE
77
78
#
endif
// QHELPINDEXWIDGET_H
QHelpCollectionHandler
Definition
qhelpcollectionhandler_p.h:38
QHelpEnginePrivate
Definition
qhelpengine.cpp:16
QHelpEnginePrivate::searchEngine
QHelpSearchEngine * searchEngine
Definition
qhelpengine.cpp:26
QHelpEnginePrivate::indexWidget
QHelpIndexWidget * indexWidget
Definition
qhelpengine.cpp:24
QHelpEnginePrivate::contentModel
QHelpContentModel * contentModel
Definition
qhelpengine.cpp:20
QHelpEnginePrivate::QHelpEnginePrivate
QHelpEnginePrivate(QHelpEngineCore *helpEngineCore)
Definition
qhelpengine.cpp:32
QHelpEnginePrivate::m_helpEngineCore
QHelpEngineCore * m_helpEngineCore
Definition
qhelpengine.cpp:29
QHelpEnginePrivate::m_isApplyCurrentFilterScheduled
bool m_isApplyCurrentFilterScheduled
Definition
qhelpengine.cpp:28
QHelpEnginePrivate::indexModel
QHelpIndexModel * indexModel
Definition
qhelpengine.cpp:23
QHelpEnginePrivate::contentWidget
QHelpContentWidget * contentWidget
Definition
qhelpengine.cpp:21
QHelpEngine
The QHelpEngine class provides access to contents and indices of the help engine.
Definition
qhelpengine.h:20
QHelpFilterEnginePrivate
Definition
qhelpfilterengine.cpp:18
QHelpFilterEngine
The QHelpFilterEngine class provides a filtered view of the help contents.
Definition
qhelpfilterengine.h:23
QHelpIndexModelPrivate
Definition
qhelpindexwidget.cpp:16
QHelpIndexModel
The QHelpIndexModel class provides a model that supplies index keywords to views.
Definition
qhelpindexwidget.h:23
QHelpIndexWidget
\inmodule QtHelp
Definition
qhelpindexwidget.h:50
QMap
Definition
qmap.h:295
QVersionNumber
\inmodule QtCore
Definition
qversionnumber.h:33
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qttools
src
assistant
help
qhelpindexwidget.h
Generated on
for Qt by
1.18.0