QHelpContentWidget Class

The QHelpContentWidget class provides a tree view for displaying help content model items. More...

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

Public Functions

QModelIndex indexOf(const QUrl &link)

Signals

void linkActivated(const QUrl &link)

Detailed Description

Member Function Documentation

QModelIndex QHelpContentWidget::indexOf(const QUrl &link)

Returns the index of the content item with the link. An invalid index is returned if no such an item exists.

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

This signal is emitted when a content item is activated and its associated link should be shown.

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