QHelpContentWidget 类提供用于显示帮助内容模型项的树视图。 更多...
头: | #include <QHelpContentWidget> |
CMake: |
find_package(Qt6 COMPONENTS Help REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Help) |
qmake: | QT += help |
继承: | QTreeView |
QModelIndex | indexOf (const QUrl & link ) |
void | linkActivated (const QUrl & link ) |
[signal]
void
QHelpContentWidget::
linkActivated
(const
QUrl
&
link
)
This signal is emitted when a content item is activated and its associated link should be shown.
Returns the index of the content item with the link . An invalid index is returned if no such an item exists.