1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: ModuleBase_IconFactory.cpp
4 // Created: 28 Jul 2015
5 // Author: Vitaly SMETANNIKOV
8 #include "ModuleBase_IconFactory.h"
10 ModuleBase_IconFactory* MYIconFactory = 0;
13 ModuleBase_IconFactory::ModuleBase_IconFactory()
18 void ModuleBase_IconFactory::setFactory(ModuleBase_IconFactory* theFactory)
22 MYIconFactory = theFactory;
25 ModuleBase_IconFactory* ModuleBase_IconFactory::get()
28 MYIconFactory = new ModuleBase_IconFactory();
33 QIcon ModuleBase_IconFactory::getIcon(ObjectPtr theIcon)