Nesta página

QHelpContentItem Class

A classe QHelpContentItem fornece um item para uso com o ` QHelpContentModel`. Mais...

Cabeçalho: #include <QHelpContentItem>
CMake: find_package(Qt6 REQUIRED COMPONENTS Help)
target_link_libraries(mytarget PRIVATE Qt6::Help)
qmake: QT += help

Funções públicas

~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

Descrição detalhada

Documentação das funções de membro

[noexcept] QHelpContentItem::~QHelpContentItem()

Exclui o item do conteúdo da ajuda.

QHelpContentItem *QHelpContentItem::child(int row) const

Retorna o item filho do item de conteúdo na URL fornecida row.

Veja também parent().

int QHelpContentItem::childCount() const

Retorna o número de itens filhos.

int QHelpContentItem::childPosition(QHelpContentItem *child) const

Retorna a posição de um determinado ` child`.

QHelpContentItem *QHelpContentItem::parent() const

Retorna o item de conteúdo pai.

int QHelpContentItem::row() const

Retorna a linha deste item a partir da visualização de seus pais.

QString QHelpContentItem::title() const

Retorna o título do item de conteúdo.

QUrl QHelpContentItem::url() const

Retorna a URL deste item de conteúdo.

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