Auf dieser Seite

QHelpContentItem Class

Die Klasse „QHelpContentItem“ stellt ein Element zur Verwendung mit „ QHelpContentModel “ bereit. Mehr...

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

Öffentliche Funktionen

~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

Ausführliche Beschreibung

Dokumentation der Mitgliedsfunktionen

[noexcept] QHelpContentItem::~QHelpContentItem()

Löscht den Hilfeintrag.

QHelpContentItem *QHelpContentItem::child(int row) const

Gibt das untergeordnete Element des Inhaltselements in der angegebenen row zurück.

Siehe auch parent().

int QHelpContentItem::childCount() const

Gibt die Anzahl der untergeordneten Elemente zurück.

int QHelpContentItem::childPosition(QHelpContentItem *child) const

Gibt die Position eines bestimmten „ child “ zurück.

QHelpContentItem *QHelpContentItem::parent() const

Gibt das übergeordnete Inhaltselement zurück.

int QHelpContentItem::row() const

Gibt die Zeile dieses Elements aus der übergeordneten Ansicht zurück.

QString QHelpContentItem::title() const

Gibt den Titel des Inhaltselements zurück.

QUrl QHelpContentItem::url() const

Gibt die URL dieses Inhaltselements zurück.

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