このページでは

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.