1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: PartSet_IconFactory.h
4 // Created: 28 Jul 2015
5 // Author: Vitaly SMETANNIKOV
7 #ifndef PartSet_IconFactory_H
8 #define PartSet_IconFactory_H
11 #include <ModuleBase_IconFactory.h>
12 #include <Events_Listener.h>
17 /**\class PartSet_IconFactory
19 * \brief This is a class is redefined in order to provide
20 * icons of objects for object browser specific for PartSetModule
22 class PARTSET_EXPORT PartSet_IconFactory : public ModuleBase_IconFactory, public Events_Listener
26 PartSet_IconFactory();
28 /// Returns Icon for the given object
29 /// \param theObj an object
30 virtual QIcon getIcon(ObjectPtr theObj);
32 /// Event Listener method
33 /// \param theMessage an event message
34 virtual void processEvent(const std::shared_ptr<Events_Message>& theMessage);
37 static QMap<QString, QString> myIcons;