Nesta página

QHelpEngine Class

A classe QHelpEngine permite acessar o conteúdo e os índices do mecanismo de ajuda. Saiba mais...

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

Funções públicas

QHelpEngine(const QString &collectionFile, QObject *parent = nullptr)
virtual ~QHelpEngine()
QHelpContentModel *contentModel() const
QHelpContentWidget *contentWidget()
QHelpIndexModel *indexModel() const
QHelpIndexWidget *indexWidget()
QHelpSearchEngine *searchEngine()

Descrição detalhada

Documentação das funções de membro

[explicit] QHelpEngine::QHelpEngine(const QString &collectionFile, QObject *parent = nullptr)

Cria um novo mecanismo de ajuda com o arquivo de coleção de ajuda especificado ( parent). O mecanismo de ajuda utiliza as informações armazenadas no arquivo de coleção de ajuda ( collectionFile ) para fornecer ajuda. Se o arquivo de coleção ainda não existir, ele será criado.

[virtual noexcept] QHelpEngine::~QHelpEngine()

Destrói o objeto do mecanismo de ajuda.

QHelpContentModel *QHelpEngine::contentModel() const

Retorna o modelo de conteúdo.

QHelpContentWidget *QHelpEngine::contentWidget()

Retorna o widget de conteúdo.

QHelpIndexModel *QHelpEngine::indexModel() const

Retorna o modelo de índice.

QHelpIndexWidget *QHelpEngine::indexWidget()

Retorna o widget de índice.

QHelpSearchEngine *QHelpEngine::searchEngine()

Retorna o mecanismo de busca padrão.

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