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

giverow 内のコンテンツ・アイテムの子を返します。

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 を返します。

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