QHelpEngine Class

Die Klasse QHelpEngine ermöglicht den Zugriff auf die Inhalte und Indizes der Hilfemaschine. Mehr...

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

Öffentliche Funktionen

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

Detaillierte Beschreibung

Dokumentation der Mitgliedsfunktionen

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

Konstruiert eine neue Hilfe-Engine mit der angegebenen parent. Die Hilfe-Engine verwendet die in collectionFile gespeicherten Informationen, um Hilfe zu leisten. Wenn die Sammlungsdatei noch nicht existiert, wird sie erstellt.

[virtual noexcept] QHelpEngine::~QHelpEngine()

Zerstört das Help-Engine-Objekt.

QHelpContentModel *QHelpEngine::contentModel() const

Gibt das Inhaltsmodell zurück.

QHelpContentWidget *QHelpEngine::contentWidget()

Gibt das Inhalts-Widget zurück.

QHelpIndexModel *QHelpEngine::indexModel() const

Gibt das Indexmodell zurück.

QHelpIndexWidget *QHelpEngine::indexWidget()

Gibt das Index-Widget zurück.

QHelpSearchEngine *QHelpEngine::searchEngine()

Gibt die Standardsuchmaschine zurück.

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