IconProvider — The singleton providing access to the Serna icons.
class IconProvider: # Pixmap type, when pixmap is used as enabled/disabled icon. enum PixmapClass { ENABLED_PIXMAP, DISABLED_PIXMAP }; # public static functions QPixmap getPixmap(const SString &, PixmapClass = ENABLED_PIXMAP) QIcon getIcon(const SString &) QPixmap readPixmap(const SString &)
IconProvider
public static functionsGet the pixmap (icon) by name. Note that for accessing icons defined in plug-ins name must be of the form <plugin-name>:<icon-name>. If the name specified without prefix, then it is taken from the central Serna icons repository.
Get the icon set by name. Naming rules are the same as with getPixmap().
Read the pixmap from specified URL. Pixmap is not cached.