QHelpContentWidget 类

QHelpContentWidget 类提供用于显示帮助内容模型项的树视图。 更多...

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

公共函数

QModelIndex indexOf (const QUrl & link )

信号

void linkActivated (const QUrl & link )

详细描述

成员函数文档编制

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.