![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Message container displaying messages as log list. More...
#include <CMessageBoxComp.h>
Public Types | |
typedef icomp::CComponentBase | BaseClass |
Signals | |
void | EmitAddMessage () |
Public Member Functions | |
CMessageBoxComp () | |
bool | IsMessageSupported (int messageCategory=-1, int messageId=-1, const QByteArray *senderIdPtr=nullptr) const override |
Check if some messge is supported. | |
void | AddMessage (const MessagePtr &messagePtr) override |
Adds a message item to the container. | |
![]() | |
CComponentBase () | |
Create component and assign it to specific context. | |
CComponentBase (const CComponentBase &)=delete | |
CComponentBase & | operator= (const CComponentBase &)=delete |
virtual const ICompositeComponent * | GetParentComponent (bool ownerOnly=false) const |
Get parent of this component. | |
virtual void * | GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="") |
Get access to specified component interface. | |
virtual const IComponentContext * | GetComponentContext () const |
Get access to component context describing all application-specified component information loaded from components registry. | |
virtual void | SetComponentContext (const IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner) |
Set component context of this component. | |
![]() |
Protected Slots | |
virtual void | OnAddMessage () |
Protected Member Functions | |
QIcon | GetCategoryIcon (int category) const |
Get icons corresponding to specified information category. | |
void | OnComponentCreated () override |
![]() | |
bool | IsComponentActive () const |
Check if component is active. | |
virtual void | OnComponentDestroyed () |
virtual const IRealComponentStaticInfo & | GetComponentStaticInfo () const =0 |
Get access to static info of this component. | |
Additional Inherited Members | |
![]() | |
static const IRealComponentStaticInfo & | InitStaticInfo (IComponent *componentPtr) |
static QByteArray | GetComponentId (const IComponentContext *componentContextPtr, const QByteArray &contextId=QByteArray()) |
Message container displaying messages as log list.
Definition at line 29 of file CMessageBoxComp.h.
Definition at line 37 of file CMessageBoxComp.h.
iloggui::CMessageBoxComp::CMessageBoxComp | ( | ) |
|
overridevirtual |
Adds a message item to the container.
Implements ilog::IMessageConsumer.
|
signal |
|
protected |
Get icons corresponding to specified information category.
|
overridevirtual |
Check if some messge is supported.
messageCategory | category of message or -1 if undefined, |
messageId | ID of message as defined in istd::IInformationProvider or -1 if undefined. |
senderId | optional ID identifying the sender object. |
Implements ilog::IMessageConsumer.
|
protectedvirtualslot |
|
overrideprotectedvirtual |
Reimplemented from icomp::CComponentBase.
© Witold Gantzke and Kirill Lepskiy