QFileIconProvider Class
La classe `QFileIconProvider` fournit des icônes de fichiers à la classe ` QFileSystemModel `. En savoir plus...
| En-tête : | #include <QFileIconProvider> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS Widgets) target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
| qmake : | QT += widgets |
| Hérite de : | QAbstractFileIconProvider |
Fonctions publiques
| QFileIconProvider() | |
| virtual | ~QFileIconProvider() |
Fonctions publiques réimplémentées
| virtual QIcon | icon(QAbstractFileIconProvider::IconType type) const override |
| virtual QIcon | icon(const QFileInfo &info) const override |
Documentation des fonctions membres
QFileIconProvider::QFileIconProvider()
Crée un fournisseur d'icônes de fichiers.
[virtual noexcept] QFileIconProvider::~QFileIconProvider()
Supprime 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.