KDE Namespace
Icon GUI utilities. More...
- Header:
#include <KDE> - CMake:
find_package(KF6 REQUIRED COMPONENTS IconThemes)
target_link_libraries(mytarget PRIVATE KF6::IconThemes)
Detailed Description
Function Documentation
QIcon icon(const QString &iconName, KIconLoader *iconLoader = nullptr)
Returns a QIcon with an appropriate KIconEngine to perform loading and rendering. KIcons thus adhere to KDE style and effect standards.
QIcon icon(const QString &iconName, const KIconColors &colors, KIconLoader *iconLoader = nullptr)
Returns a QIcon with an appropriate KIconEngine to perform loading and rendering. KIcons thus adhere to KDE style and effect standards.
QIcon icon(const QString &iconName, const QStringList &overlays, KIconLoader *iconLoader = nullptr)
Returns a QIcon for the given icon, with additional overlays.