En esta página

QFileIconProvider Class

La clase QFileIconProvider proporciona iconos de archivos para la clase QFileSystemModel. Más...

Cabecera: #include <QFileIconProvider>
CMake: find_package(Qt6 REQUIRED COMPONENTS Widgets)
target_link_libraries(mytarget PRIVATE Qt6::Widgets)
qmake: QT += widgets
Hereda: QAbstractFileIconProvider

Funciones Públicas

Funciones públicas reimplementadas

virtual QIcon icon(QAbstractFileIconProvider::IconType type) const override
virtual QIcon icon(const QFileInfo &info) const override

Descripción Detallada

Documentación de las funciones

QFileIconProvider::QFileIconProvider()

Crea un proveedor de iconos de archivos.

[virtual noexcept] QFileIconProvider::~QFileIconProvider()

Destruye el proveedor de iconos de archivo.

[override virtual] QIcon QFileIconProvider::icon(QAbstractFileIconProvider::IconType type) const

Reimplementa: QAbstractFileIconProvider::icon(QAbstractFileIconProvider::IconType tipo) const.

[override virtual] QIcon QFileIconProvider::icon(const QFileInfo &info) const

Reimplementa: QAbstractFileIconProvider::icon(const QFileInfo &info) const.

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