Sur cette page

QHelpEngine Class

La classe QHelpEngine permet d'accéder au contenu et aux index du moteur d'aide. Plus d'informations...

En-tête : #include <QHelpEngine>
CMake : find_package(Qt6 REQUIRED COMPONENTS Help)
target_link_libraries(mytarget PRIVATE Qt6::Help)
qmake : QT += help
Héritages : QHelpEngineCore

Fonctions publiques

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

Description détaillée

Documentation des fonctions membres

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

Construit un nouveau moteur d'aide avec l'adresse parent. Le moteur d'aide utilise les informations stockées dans le fichier collectionFile pour fournir de l'aide. Si le fichier de collecte n'existe pas encore, il sera créé.

[virtual noexcept] QHelpEngine::~QHelpEngine()

Détruit l'objet moteur d'aide.

QHelpContentModel *QHelpEngine::contentModel() const

Renvoie le modèle de contenu.

QHelpContentWidget *QHelpEngine::contentWidget()

Renvoie le widget de contenu.

QHelpIndexModel *QHelpEngine::indexModel() const

Renvoie le modèle d'index.

QHelpIndexWidget *QHelpEngine::indexWidget()

Renvoie le widget d'index.

QHelpSearchEngine *QHelpEngine::searchEngine()

Renvoie le moteur de recherche par défaut.

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