이 페이지에서

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()도 참조하십시오 .

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