Auf dieser Seite

QHelpContentWidget Class

Die Klasse „QHelpContentWidget“ stellt eine Baumansicht zur Darstellung von Elementen des Hilfeinhaltsmodells bereit. Mehr...

Kopfzeile: #include <QHelpContentWidget>
CMake: find_package(Qt6 REQUIRED COMPONENTS Help)
target_link_libraries(mytarget PRIVATE Qt6::Help)
qmake: QT += help
Erbt von: QTreeView

Öffentliche Funktionen

QModelIndex indexOf(const QUrl &link)

Signale

void linkActivated(const QUrl &link)

Ausführliche Beschreibung

Dokumentation der Mitgliedsfunktionen

QModelIndex QHelpContentWidget::indexOf(const QUrl &link)

Gibt den Index des Inhaltselements mit dem Attribut „ link “ zurück. Wenn kein solches Element vorhanden ist, wird ein ungültiger Index zurückgegeben.

[signal] void QHelpContentWidget::linkActivated(const QUrl &link)

Dieses Signal wird ausgesendet, wenn ein Inhaltselement aktiviert wird und die zugehörige Seite „ link “ angezeigt werden soll.

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