QFileIconProvider Class
The QFileIconProvider class provides file icons for the QFileSystemModel class. More...
Header: | #include <QFileIconProvider> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Widgets) target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
qmake: | QT += widgets |
Inherits: | QAbstractFileIconProvider |
Public Functions
QFileIconProvider() | |
virtual | ~QFileIconProvider() |
Reimplemented Public Functions
virtual QIcon | icon(QAbstractFileIconProvider::IconType type) const override |
virtual QIcon | icon(const QFileInfo &info) const override |
Member Function Documentation
QFileIconProvider::QFileIconProvider()
Constructs a file icon provider.
[virtual noexcept]
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.
© 2024 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.