QHelpContentItem Class
QHelpContentItem 类提供了一个可用于QHelpContentModel 的项目。更多内容...
| 头文件: | #include <QHelpContentItem> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Help) target_link_libraries(mytarget PRIVATE Qt6::Help) |
| qmake: | QT += help |
公共函数
| ~QHelpContentItem() | |
| QHelpContentItem * | child(int row) const |
| int | childCount() const |
| int | childPosition(QHelpContentItem *child) const |
| QHelpContentItem * | parent() const |
| int | row() const |
| QString | title() const |
| QUrl | url() const |
成员函数文档
[noexcept] QHelpContentItem::~QHelpContentItem()
删除该帮助内容条目。
QHelpContentItem *QHelpContentItem::child(int row) const
返回给定row 中内容项的子项。
另请参阅 parent()。
int QHelpContentItem::childCount() const
返回子项的数量。
int QHelpContentItem::childPosition(QHelpContentItem *child) const
返回给定child 的位置。
QHelpContentItem *QHelpContentItem::parent() const
返回父内容项。
int QHelpContentItem::row() const
返回该项在其父视图中的行。
QString QHelpContentItem::title() const
返回内容项的标题。
QUrl QHelpContentItem::url() const
返回此内容项的 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.