6#include <QtGui/QPixmap>
9#include <imtloggui/CEventFactoryCompBase.h>
16class CGeneralEventFactoryComp:
public CEventFactoryCompBase
19 typedef CEventFactoryCompBase BaseClass;
21 I_BEGIN_COMPONENT(CGeneralEventFactoryComp)
22 I_ASSIGN(m_iconSizeAttrPtr,
"IconSize",
"Size of icons",
true, 24);
26 virtual IEventItem* CreateInstance(
const ilog::IMessageConsumer::MessagePtr& messagePtr)
const override;
29 I_ATTR(
int, m_iconSizeAttrPtr);
32 mutable QPixmap m_noneIcon;
33 mutable QPixmap m_okIcon;
34 mutable QPixmap m_warningIcon;
35 mutable QPixmap m_errorIcon;
36 mutable QPixmap m_invalidIcon;