本页内容

QHelpLink Struct

QHelpLink 结构体提供了与帮助链接相关的数据。更多内容...

头文件: #include <QHelpLink>
CMake: find_package(Qt6 REQUIRED COMPONENTS Help)
target_link_libraries(mytarget PRIVATE Qt6::Help)
qmake: QT += help

公共变量

QString title
QUrl url

详细说明

QHelpLink 对象是一个描述文档文件链接的数据对象。该帮助链接的描述包含文档标题和文档的 URL。

另请参阅 QHelpEngineCore 。

成员变量文档

QString QHelpLink::title

该变量存储了链接的标题。

QUrl QHelpLink::url

该变量保存了链接的目标网址。

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