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 가 제공됩니다.

[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.