In questa pagina

QHelpEngine Class

La classe QHelpEngine consente di accedere ai contenuti e agli indici del motore di guida. Per saperne di più...

Intestazione: #include <QHelpEngine>
CMake: find_package(Qt6 REQUIRED COMPONENTS Help)
target_link_libraries(mytarget PRIVATE Qt6::Help)
qmake: QT += help
Eredita da: QHelpEngineCore

Funzioni pubbliche

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

Descrizione dettagliata

Documentazione delle funzioni membro

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

Crea un nuovo motore di aiuto con l'parent specificato. Il motore di aiuto utilizza le informazioni memorizzate nel file collectionFile per fornire assistenza. Se il file di raccolta non esiste già, verrà creato.

[virtual noexcept] QHelpEngine::~QHelpEngine()

Elimina l'oggetto del motore di aiuto.

QHelpContentModel *QHelpEngine::contentModel() const

Restituisce il modello di contenuto.

QHelpContentWidget *QHelpEngine::contentWidget()

Restituisce il widget del contenuto.

QHelpIndexModel *QHelpEngine::indexModel() const

Restituisce il modello di indice.

QHelpIndexWidget *QHelpEngine::indexWidget()

Restituisce il widget dell'indice.

QHelpSearchEngine *QHelpEngine::searchEngine()

Restituisce il motore di ricerca predefinito.

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