QHelpContentWidget Class
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)
返回具有link 的内容项的索引。如果不存在此类项,则返回一个无效索引。
[signal] void QHelpContentWidget::linkActivated(const QUrl &link)
当某个内容项被激活且应显示其关联的link 时,会发出此信号。
© 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.