QHelpSearchResultWidget Class
QHelpSearchResultWidget 类提供了一个显示搜索结果的文本浏览器。更多
Header: | #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。
[signal]
void QHelpSearchResultWidget::requestShowLink(const QUrl &link)
当一个项目被激活并应显示其相关的link 时,就会发出该信号。
© 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.