本页内容

QHelpSearchResultWidget Class

QHelpSearchResultWidget 类提供了一个文本浏览器来显示搜索结果。更多内容...

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

公共函数

virtual ~QHelpSearchResultWidget() override
QUrl linkAt(const QPoint &point)

信号

void requestShowLink(const QUrl &link)

详细说明

成员函数文档

[override virtual noexcept] QHelpSearchResultWidget::~QHelpSearchResultWidget()

删除搜索结果小部件。

QUrl QHelpSearchResultWidget::linkAt(const QPoint &point)

返回point 处该项目所拥有的 URL 的引用;如果该位置不存在该项目,则返回一个空 URL。

当某个项目被激活且应显示其关联的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.