Sur cette page

QFileIconProvider Class

La classe QFileIconProvider fournit des icônes de fichiers pour la classe QFileSystemModel. Plus d'informations...

En-tête : #include <QFileIconProvider>
CMake : find_package(Qt6 REQUIRED COMPONENTS Widgets)
target_link_libraries(mytarget PRIVATE Qt6::Widgets)
qmake : QT += widgets
Héritages : QAbstractFileIconProvider

Fonctions publiques

Fonctions publiques réimplémentées

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

Description détaillée

Documentation des fonctions membres

QFileIconProvider::QFileIconProvider()

Construit un fournisseur d'icônes de fichiers.

[virtual noexcept] QFileIconProvider::~QFileIconProvider()

Détruit le fournisseur d'icônes de fichiers.

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

Réimplémente : QAbstractFileIconProvider::icon(QAbstractFileIconProvider::IconType type) const.

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

Réimplémente : 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.