このページでは

QHelpIndexWidget Class

QHelpIndexWidget クラスは、QHelpIndexModel を表示するリストビューを提供します。詳細...

ヘッダー: #include <QHelpIndexWidget>
CMake: find_package(Qt6 REQUIRED COMPONENTS Help)
target_link_libraries(mytarget PRIVATE Qt6::Help)
qmake: QT += help
継承元: QListView

パブリックスロット

void activateCurrentItem()
void filterIndices(const QString &filter, const QString &wildcard = {})

シグナル

void documentActivated(const QHelpLink &document, const QString &keyword)
void documentsActivated(const QList<QHelpLink> &documents, const QString &keyword)

詳細な説明

メンバ関数のドキュメント

[slot] void QHelpIndexWidget::activateCurrentItem()

現在の項目をアクティブにし、最終的に linkActivated() または linksActivated() シグナルが発信されるようになります。

[signal] void QHelpIndexWidget::documentActivated(const QHelpLink &document, const QString &keyword)

このシグナルは、アイテムがアクティブになり、それに関連付けられたdocument を表示すべきときに発火します。リンクがどのアイテムに属するかを特定するために、2番目のパラメータとしてkeyword が渡されます。

[signal] void QHelpIndexWidget::documentsActivated(const QList<QHelpLink> &documents, const QString &keyword)

このシグナルは、keyword を表すアイテムがアクティブになり、そのアイテムに関連付けられたドキュメントが複数ある場合に発せられます。documents には、ドキュメントのタイトルとそのURLが含まれます。

[slot] void QHelpIndexWidget::filterIndices(const QString &filter, const QString &wildcard = {})

filter またはwildcard に基づいてインデックスをフィルタリングします。最も一致度の高い項目が現在の項目として設定されます。

QHelpIndexModel::filter()も参照してください 。

© 2026 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.