QHelpContentItem 类

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

详细描述

成员函数文档编制

QHelpContentItem:: ~QHelpContentItem ()

Destroys the help content item.

QHelpContentItem *QHelpContentItem:: child ( int row ) const

Returns the child of the content item in the give row .

另请参阅 parent ().

int QHelpContentItem:: childCount () const

返回子级项数。

int QHelpContentItem:: childPosition ( QHelpContentItem * child ) const

Returns the position of a given child .

QHelpContentItem *QHelpContentItem:: parent () const

Returns the parent content item.

int QHelpContentItem:: row () const

Returns the row of this item from its parents view.

QString QHelpContentItem:: title () const

Returns the title of the content item.

QUrl QHelpContentItem:: url () const

Returns the URL of this content item.