Nesta página

QFileIconProvider Class

A classe `QFileIconProvider` fornece ícones de arquivos para a classe ` QFileSystemModel `. Mais...

Cabeçalho: #include <QFileIconProvider>
CMake: find_package(Qt6 REQUIRED COMPONENTS Widgets)
target_link_libraries(mytarget PRIVATE Qt6::Widgets)
qmake: QT += widgets
Herdado de: QAbstractFileIconProvider

Funções públicas

Funções públicas reimplementadas

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

Descrição detalhada

Documentação das funções de membro

QFileIconProvider::QFileIconProvider()

Cria um provedor de ícones de arquivo.

[virtual noexcept] QFileIconProvider::~QFileIconProvider()

Destrói o provedor de ícones de arquivos.

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

Reimplementa: ` QAbstractFileIconProvider::icon(QAbstractFileIconProvider::IconType type) 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.