The QFileIconProvider class provides file icons for the QFileSystemModel 类。 更多...
头: | #include <QFileIconProvider> |
CMake: |
find_package(Qt6 COMPONENTS Widgets REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Widgets) |
qmake: | QT += widgets |
继承: | QAbstractFileIconProvider |
QFileIconProvider () | |
virtual | ~QFileIconProvider () |
virtual QIcon | icon (QAbstractFileIconProvider::IconType type ) const override |
virtual QIcon | icon (const QFileInfo & info ) const override |
构造文件图标提供程序。
[virtual]
QFileIconProvider::
~QFileIconProvider
()
销毁文件图标提供程序。
[override virtual]
QIcon
QFileIconProvider::
icon
(
QAbstractFileIconProvider::IconType
type
) const
重实现: QAbstractFileIconProvider::icon (QAbstractFileIconProvider::IconType type) const.
[override virtual]
QIcon
QFileIconProvider::
icon
(const
QFileInfo
&
info
) const
重实现: QAbstractFileIconProvider::icon (const QFileInfo &info) const.