QHelpIndexWidget Class

Die Klasse QHelpIndexWidget stellt eine Listenansicht zur Verfügung, die die QHelpIndexModel anzeigt. Mehr...

Kopfzeile: #include <QHelpIndexWidget>
CMake: find_package(Qt6 REQUIRED COMPONENTS Help)
target_link_libraries(mytarget PRIVATE Qt6::Help)
qmake: QT += help
Vererbungen: QListView

Öffentliche Slots

void activateCurrentItem()
void filterIndices(const QString &filter, const QString &wildcard = {})

Signale

void documentActivated(const QHelpLink &document, const QString &keyword)
void documentsActivated(const QList<QHelpLink> &documents, const QString &keyword)

Detaillierte Beschreibung

Dokumentation der Mitgliederfunktionen

[slot] void QHelpIndexWidget::activateCurrentItem()

Aktiviert das aktuelle Element, was schließlich zum Aussenden eines linkActivated()- oder linksActivated()-Signals führen wird.

[signal] void QHelpIndexWidget::documentActivated(const QHelpLink &document, const QString &keyword)

Dieses Signal wird ausgegeben, wenn ein Element aktiviert wird und die zugehörige document angezeigt werden soll. Um zu wissen, wo der Link hingehört, wird die keyword als zweiter Parameter angegeben.

[signal] void QHelpIndexWidget::documentsActivated(const QList<QHelpLink> &documents, const QString &keyword)

Dieses Signal wird ausgegeben, wenn das Element, das die keyword repräsentiert, aktiviert wird und das Element mehr als ein Dokument zugeordnet hat. Die documents besteht aus den Dokumententiteln und ihren URLs.

[slot] void QHelpIndexWidget::filterIndices(const QString &filter, const QString &wildcard = {})

Filtert die Indizes nach filter oder wildcard. Der Eintrag mit der besten Übereinstimmung wird als aktueller Eintrag festgelegt.

Siehe auch QHelpIndexModel::filter().

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