Public Types | Signals | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
iloggui::CMessageBoxComp Class Reference

Message container displaying messages as log list. More...

#include <CMessageBoxComp.h>

Inheritance diagram for iloggui::CMessageBoxComp:
icomp::CComponentBase ilog::IMessageConsumer icomp::IComponent istd::IPolymorphic istd::IPolymorphic

Public Types

typedef icomp::CComponentBase BaseClass
 
- Public Types inherited from ilog::IMessageConsumer
typedef istd::TSmartPtr< const
istd::IInformationProvider
MessagePtr
 

Signals

void EmitAddMessage ()
 

Public Member Functions

 CMessageBoxComp ()
 
virtual bool IsMessageSupported (int messageCategory=-1, int messageId=-1, const istd::IInformationProvider *messagePtr=NULL) const
 Check if some messge is supported. More...
 
virtual void AddMessage (const MessagePtr &messagePtr)
 Adds a message item to the container. More...
 
- Public Member Functions inherited from icomp::CComponentBase
 CComponentBase ()
 Create component and assign it to specific context. More...
 
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const
 Get parent of this component. More...
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")
 Get access to specified component interface. More...
 
virtual const IComponentContextGetComponentContext () const
 Get access to component context describing all application-specified component information loaded from components registry. More...
 
virtual void SetComponentContext (const icomp::IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)
 Set component context of this component. More...
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Protected Slots

virtual void OnAddMessage ()
 

Protected Member Functions

QIcon GetCategoryIcon (int category) const
 Get icons corresponding to specified information category. More...
 
virtual void OnComponentCreated ()
 
- Protected Member Functions inherited from icomp::CComponentBase
bool IsComponentActive () const
 Check if component is active. More...
 
virtual void OnComponentDestroyed ()
 
virtual const
icomp::IRealComponentStaticInfo
GetComponentStaticInfo () const =0
 Get access to static info of this component. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from icomp::CComponentBase
static const
icomp::IRealComponentStaticInfo
InitStaticInfo (IComponent *componentPtr)
 
static QByteArray GetComponentId (const icomp::IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray())
 

Detailed Description

Message container displaying messages as log list.

Definition at line 29 of file CMessageBoxComp.h.

Member Typedef Documentation

Definition at line 37 of file CMessageBoxComp.h.

Constructor & Destructor Documentation

iloggui::CMessageBoxComp::CMessageBoxComp ( )

Member Function Documentation

virtual void iloggui::CMessageBoxComp::AddMessage ( const MessagePtr messagePtr)
virtual

Adds a message item to the container.

Implements ilog::IMessageConsumer.

void iloggui::CMessageBoxComp::EmitAddMessage ( )
signal
QIcon iloggui::CMessageBoxComp::GetCategoryIcon ( int  category) const
protected

Get icons corresponding to specified information category.

virtual bool iloggui::CMessageBoxComp::IsMessageSupported ( int  messageCategory = -1,
int  messageId = -1,
const istd::IInformationProvider messagePtr = NULL 
) const
virtual

Check if some messge is supported.

Parameters
messageCategorycategory of message or -1 if undefined,
See Also
istd::IInformationProvider::InformationCategory.
Parameters
messageIdID of message as defined in istd::IInformationProvider or -1 if undefined.
messagePtroptional message object, or NULL if undefined. Please note, this object will not be stored by receiver.

Implements ilog::IMessageConsumer.

virtual void iloggui::CMessageBoxComp::OnAddMessage ( )
protectedvirtualslot
virtual void iloggui::CMessageBoxComp::OnComponentCreated ( )
protectedvirtual

Reimplemented from icomp::CComponentBase.


The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy