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.