Nesta página

QHelpContentWidget Class

A classe QHelpContentWidget oferece uma visualização em árvore para exibir itens do modelo de conteúdo de ajuda. Mais...

Cabeçalho: #include <QHelpContentWidget>
CMake: find_package(Qt6 REQUIRED COMPONENTS Help)
target_link_libraries(mytarget PRIVATE Qt6::Help)
qmake: QT += help
Herdado de: QTreeView

Funções públicas

QModelIndex indexOf(const QUrl &link)

Sinais

void linkActivated(const QUrl &link)

Descrição detalhada

Documentação das funções de membro

QModelIndex QHelpContentWidget::indexOf(const QUrl &link)

Retorna o índice do item de conteúdo com o link. Se tal item não existir, é retornado um índice inválido.

[signal] void QHelpContentWidget::linkActivated(const QUrl &link)

Esse sinal é emitido quando um item de conteúdo é ativado e o “ link ” associado a ele deve ser exibido.

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