MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / getIcon

Method getIcon

src/Gui/ViewProviderPyImp.cpp:794–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792}
793
794Py::Object ViewProviderPy::getIcon() const
795{
796 PythonWrapper wrap;
797 wrap.loadGuiModule();
798 wrap.loadWidgetsModule();
799 QIcon icon = getViewProviderPtr()->getIcon();
800 return wrap.fromQIcon(new QIcon(icon));
801}
802
803Py::Long ViewProviderPy::getDefaultMode() const
804{

Callers

nothing calls this directly

Calls 3

loadGuiModuleMethod · 0.80
loadWidgetsModuleMethod · 0.80
fromQIconMethod · 0.80

Tested by

no test coverage detected