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

该变量包含链接的目标 URL。

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