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 が表示されるべきときに発せられる。リンクがどこに属するかを知るために、keyword が2番目のパラメータとして与えられる。
[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()も参照してください 。
© 2025 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.