|
static void | AddIconEngine (NDEVRIconEngine *engine) |
|
static void | addIconTheme (const IconThemeSettings &theme) |
|
static void | AddResolver (PixmapResolver *resolver) |
|
static QImage | AutoCrop (const QImage &pixmap, int margin=0, bool preserve_ratio=false) |
|
static QImage | CleanupImageForIcon (const QImage &image) |
|
static void | ClearWindowIcon (QWidget *widget) |
|
static Buffer< std::pair< LABColor, LABColor > > | ConvertColorPalette (const Buffer< std::pair< RGBColor, RGBColor > > &palette) |
|
static void | ConvertColorTheme (const Buffer< std::pair< LABColor, LABColor > > &color, QImage &image, bool preserve_brightness, bool preserve_alpha) |
|
static void | ConvertColorTheme (const Buffer< std::pair< RGBColor, RGBColor > > &colors, const Buffer< File > &in, const File &out_location, bool preserve_brightness, bool preserve_alpha, Log *log=nullptr) |
|
static void | ConvertColorTheme (const Buffer< std::pair< RGBColor, RGBColor > > &colors, const File &in_location, const File &out_location, bool preserve_brightness, bool preserve_alpha, Log *log=nullptr) |
|
static const QPixmap & | disabledPixmap (const String &icon_name) |
|
static const IconThemeSettings & | EffectiveIconTheme () |
|
static QImage | FillBackground (const QImage &pixmap, RGBColor color) |
|
static void | GetIconResource (const std::function< void(const String &, const QIcon &)> &on_finished, const String &icon, const IconThemeSettings &theme, QIcon::Mode mode=QIcon::Mode::Normal) |
|
static void | GetIconResource (const std::function< void(const String &, const QIcon &)> &on_finished, const String &icon, QIcon::Mode mode=QIcon::Mode::Normal) |
|
static QIcon | GetIconResourceBlocking (const String &icon, const IconThemeSettings &theme, QIcon::Mode mode=QIcon::Mode::Normal) |
|
static QIcon | GetIconResourceBlocking (const String &icon, QIcon::Mode mode=QIcon::Mode::Normal) |
|
static void | GetPixmapResource (const std::function< void(const String &, const QPixmap &)> &on_finished, const String &pixmap, QIcon::Mode mode=QIcon::Mode::Normal, const QSize &requested_size=QSize()) |
|
static String | GetSVGPath (const String &icon, const IconThemeSettings &theme) |
|
static String | IconCacheLocation (const String &icon, const IconThemeSettings &theme) |
|
static const Buffer< IconThemeSettings > & | iconThemes () |
|
static String | ImageCacheLocation (const String &icon) |
|
static QPixmap | LocalPixmapResource (const String &pixmap, QIcon::Mode mode=QIcon::Mode::Normal, const QSize &requested_size=QSize()) |
|
static IconThemeSettings | NDEVRIconTheme () |
|
static constexpr const char * | NDEVRThemeLocation () |
|
static IconThemeSettings | OutlineIconTheme () |
|
static void | PostIconResourceLoad (const String &id) |
|
static void | SetLightingTheme (const IconThemeSettings &theme) |
|
static void | SetOverrideTheme (IconThemeSettings *theme) |
|
static void | SetWindowIcon (const String &s, QWidget *widget) |
|
Manages all Icons and Pixmaps used by the UI in the NDEVR Engine. Icons may be fetched remotely so callbacks are used to specify the action to take when the resouce is retrieved.