Public Types | Signals | Public Member Functions | Protected Slots | Protected Member Functions | List of all members
iqtgui::CSplashScreenGuiComp Class Reference

Splash screen component. More...

#include <CSplashScreenGuiComp.h>

Inheritance diagram for iqtgui::CSplashScreenGuiComp:
iqtgui::TDesignerGuiCompBase< Ui::CSplashScreenGuiComp, QSplashScreen > ilog::IMessageConsumer iqtgui::TGuiComponentBase< QSplashScreen > istd::IPolymorphic iqtgui::CGuiComponentBase ibase::TLocalizableWrap< icomp::CComponentBase > iqtgui::IGuiObject icomp::CComponentBase istd::IPolymorphic icomp::IComponent istd::IPolymorphic

Public Types

typedef TDesignerGuiCompBase
< Ui::CSplashScreenGuiComp,
QSplashScreen > 
BaseClass
 
- Public Types inherited from iqtgui::TGuiComponentBase< QSplashScreen >
typedef CGuiComponentBase BaseClass
 
- Public Types inherited from iqtgui::CGuiComponentBase
typedef icomp::CComponentBase BaseClass
 
- Public Types inherited from ibase::TLocalizableWrap< icomp::CComponentBase >
typedef icomp::CComponentBase BaseClass
 
- Public Types inherited from ilog::IMessageConsumer
typedef istd::TSmartPtr< const
istd::IInformationProvider
MessagePtr
 

Signals

void EmitAddMessage (const MessagePtr &messagePtr)
 

Public Member Functions

 CSplashScreenGuiComp ()
 
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 iqtgui::TGuiComponentBase< QSplashScreen >
 TGuiComponentBase ()
 
virtual QSplashScreen * GetQtWidget () const
 
- Public Member Functions inherited from iqtgui::CGuiComponentBase
 I_REGISTER_SUBELEMENT_INTERFACE_T (VisualStatus, IVisualStatus, ExtractVisualStatus)
 
 I_REGISTER_SUBELEMENT_INTERFACE_T (VisualStatus, istd::IChangeable, ExtractVisualStatus)
 
 I_REGISTER_SUBELEMENT_INTERFACE_T (VisualStatus, imod::IModel, ExtractVisualStatus)
 
 CGuiComponentBase ()
 
bool IsGuiShown () const
 
virtual bool IsGuiCreated () const
 Inform if GUI was initilized. More...
 
virtual bool CreateGui (QWidget *parentPtr)
 Initialize GUI and connect it to the parent. More...
 
virtual bool DestroyGui ()
 Release GUI and disconnect it from parent. More...
 
virtual QWidget * GetWidget () const
 Get access to internal QWidget object. More...
 
virtual void OnTryClose (bool *ignoredPtr=NULL)
 Called on trying to close application. More...
 
- Public Member Functions inherited from ibase::TLocalizableWrap< icomp::CComponentBase >
 TLocalizableWrap ()
 
virtual void EnableLocalization (bool enableLocalization=true)
 If enabled, listen to the language change event from the application context. 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

void OnAddMessage (const MessagePtr &messagePtr)
 

Protected Member Functions

virtual void OnGuiCreated ()
 Called just after GUI is initialized. More...
 
virtual void OnGuiRetranslate ()
 Called from widget event filter when GUI should be retranslated. More...
 
- Protected Member Functions inherited from iqtgui::CGuiComponentBase
virtual void OnGuiShown ()
 Called from widget event filter when slave widget is shown. More...
 
virtual void OnGuiHidden ()
 Called from widget event filter when slave widget is hidden. More...
 
virtual bool OnKeyPressed (QKeyEvent *event)
 Called from widget event filter when key is pressed. More...
 
virtual void OnRetranslate ()
 Called when non-GUI elements (like commands) should be retranslated. More...
 
virtual void OnGuiDestroyed ()
 Called just before GUI is released. More...
 
void SetStatusIcon (const QIcon &icon)
 Set status icon;. More...
 
void SetStatusText (const QString &text)
 Set status text;. More...
 
virtual void OnLanguageChanged ()
 
virtual bool eventFilter (QObject *sourcePtr, QEvent *eventPtr)
 
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())
 
- Protected Attributes inherited from iqtgui::CGuiComponentBase
imod::TModelWrap< VisualStatusm_visualStatus
 

Detailed Description

Splash screen component.

This component allows to create splash screen with additionally information about version, copyright an so on.

Definition at line 30 of file CSplashScreenGuiComp.h.

Member Typedef Documentation

typedef TDesignerGuiCompBase<Ui::CSplashScreenGuiComp, QSplashScreen> iqtgui::CSplashScreenGuiComp::BaseClass

Definition at line 36 of file CSplashScreenGuiComp.h.

Constructor & Destructor Documentation

iqtgui::CSplashScreenGuiComp::CSplashScreenGuiComp ( )

Member Function Documentation

virtual void iqtgui::CSplashScreenGuiComp::AddMessage ( const MessagePtr messagePtr)
virtual

Adds a message item to the container.

Implements ilog::IMessageConsumer.

void iqtgui::CSplashScreenGuiComp::EmitAddMessage ( const MessagePtr messagePtr)
signal
virtual bool iqtgui::CSplashScreenGuiComp::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.

void iqtgui::CSplashScreenGuiComp::OnAddMessage ( const MessagePtr messagePtr)
protectedslot
virtual void iqtgui::CSplashScreenGuiComp::OnGuiCreated ( )
protectedvirtual

Called just after GUI is initialized.

Reimplemented from iqtgui::CGuiComponentBase.

virtual void iqtgui::CSplashScreenGuiComp::OnGuiRetranslate ( )
protectedvirtual

Called from widget event filter when GUI should be retranslated.

Reimplemented from iqtgui::TDesignerGuiCompBase< Ui::CSplashScreenGuiComp, QSplashScreen >.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy