editor.common.icon_cache
This module provide theme related icon/pixmap cache toolkit.
Module Contents
- editor.common.icon_cache.getEmptyIcon()[source]
Get empty icon, which means
QIcon()
.- Returns:
empty icon object.
- Return type:
QIcon
- editor.common.icon_cache.getThemeIcon(path)[source]
Get icon cache of certain path.
- Parameters:
path (str) – Icon path, related to theme folder.
- Returns:
Icon object of path.
- Return type:
QIcon