Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

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

Reimplemented Public Functions

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

Detailed Description

Member Function Documentation

QFileIconProvider::QFileIconProvider()

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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded