- Anonymous
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
realthunder | wmayer | master | 2019-09-02 02:42:46 | master 250906d5 |
Changeset | Gui: improve Gui.addIcon(), add Gui.isIconCached() The motivation of this patch is to make it easy for Python workbench cache its own icons (possibly generated at runtime), saving the trouble of pre-compiling the icons as binary resources. * Gui.addIcon() now support a third argument as format. Default format is 'XPM' as before. The intention is to allow user to cache other format of icon image, like 'PNG'. * ViewProviderPythonFeature::getIcon() now checks if the given string argument is a key to a cached icon. |
|||
mod - src/Gui/Application.h | Diff File | |||
mod - src/Gui/ApplicationPy.cpp | Diff File | |||
mod - src/Gui/ViewProviderPythonFeature.cpp | Diff File |