QHelpIndexWidget Class
La clase QHelpIndexWidget proporciona una vista de lista que muestra el QHelpIndexModel. Más...
| Cabecera: | #include <QHelpIndexWidget> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Help)target_link_libraries(mytarget PRIVATE Qt6::Help) |
| qmake: | QT += help |
| Hereda: | QListView |
Ranuras públicas
| void | activateCurrentItem() |
| void | filterIndices(const QString &filter, const QString &wildcard = {}) |
Señales
| void | documentActivated(const QHelpLink &document, const QString &keyword) |
| void | documentsActivated(const QList<QHelpLink> &documents, const QString &keyword) |
Documentación de las funciones de los miembros
[slot] void QHelpIndexWidget::activateCurrentItem()
Activa el elemento actual, lo que eventualmente resultará en la emisión de una señal linkActivated() o linksActivated().
[signal] void QHelpIndexWidget::documentActivated(const QHelpLink &document, const QString &keyword)
Esta señal se emite cuando se activa un elemento y debe mostrarse su document asociado. Para saber a qué enlace pertenece, se da el keyword como segundo parámetro.
[signal] void QHelpIndexWidget::documentsActivated(const QList<QHelpLink> &documents, const QString &keyword)
Esta señal se emite cuando el elemento que representa a keyword se activa y el elemento tiene más de un documento asociado. El documents consiste en los títulos de los documentos y sus URL.
[slot] void QHelpIndexWidget::filterIndices(const QString &filter, const QString &wildcard = {})
Filtra los índices según filter o wildcard. El elemento con la mejor coincidencia se establece como elemento actual.
Véase también QHelpIndexModel::filter().
© 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.