Auf dieser Seite

QHelpEngine Class

Die Klasse „QHelpEngine“ ermöglicht den Zugriff auf Inhalte und Indizes der Hilfe-Engine. Mehr...

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

Öffentliche Funktionen

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

Ausführliche Beschreibung

Dokumentation der Mitgliedsfunktionen

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

Erstellt eine neue Hilfe-Engine mit dem angegebenen „ parent “. Die Hilfe-Engine nutzt die in der „ collectionFile “ gespeicherten Informationen, um Hilfe bereitzustellen. Falls die Sammlungsdatei noch nicht existiert, wird sie angelegt.

[virtual noexcept] QHelpEngine::~QHelpEngine()

Löscht das Hilfe-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 Standard-Suchmaschine zurück.

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