The QFileIconProvider class provides file icons for the QFileSystemModel class. More...
Header: | #include <QFileIconProvider> |
CMake: | find_package(Qt6 COMPONENTS Widgets REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
qmake: | QT += widgets |
Inherits: | QAbstractFileIconProvider |
QFileIconProvider() | |
virtual | ~QFileIconProvider() |
virtual QIcon | icon(QAbstractFileIconProvider::IconType type) const override |
virtual QIcon | icon(const QFileInfo &info) const override |
Constructs a file icon provider.
[virtual]
QFileIconProvider::~QFileIconProvider()
Destroys the file icon provider.
[override virtual]
QIcon QFileIconProvider::icon(QAbstractFileIconProvider::IconType type) const
Reimplements: QAbstractFileIconProvider::icon(QAbstractFileIconProvider::IconType type) const.
[override virtual]
QIcon QFileIconProvider::icon(const QFileInfo &info) const
Reimplements: QAbstractFileIconProvider::icon(const QFileInfo &info) const.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qfileiconprovider.html