このページでは

QFileIconProvider Class

QFileIconProviderクラスは、QFileSystemModel クラスにファイルアイコンを提供します。詳細...

ヘッダー: #include <QFileIconProvider>
CMake: find_package(Qt6 REQUIRED COMPONENTS Widgets)
target_link_libraries(mytarget PRIVATE Qt6::Widgets)
qmake: QT += widgets
継承元: QAbstractFileIconProvider

パブリック関数

再実装されたパブリック関数

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

詳細な説明

メンバー関数のドキュメント

QFileIconProvider::QFileIconProvider()

ファイルアイコンプロバイダを構築します。

[virtual noexcept] 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 を再実装します。

© 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.