Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
iqtgui::CApplicationCompBase Class Reference

Standard component for a Qt based GUI application. More...

#include <CApplicationCompBase.h>

Inheritance diagram for iqtgui::CApplicationCompBase:
icomp::CComponentBase ibase::IApplication icomp::IComponent istd::IPolymorphic istd::IPolymorphic iqtgui::CDialogApplicationComp iqtgui::CGuiApplicationComp

Public Types

typedef icomp::CComponentBase BaseClass

Public Member Functions

 CApplicationCompBase ()
virtual bool InitializeApplication (int argc, char **argv)
 Initialize the application object. More...
virtual QStringList GetApplicationArguments () const
 Get the command line arguments of this application. 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 ()
- Public Member Functions inherited from ibase::IApplication
virtual int Execute (int argc, char **argv)=0
 Start execution loop of the application. More...
virtual QString GetHelpText () const =0
 Get information about the possible command line arguments of this application. More...

Protected Member Functions

QApplication * GetQtApplication () const
bool TryShowSplashScreen ()
void HideSplashScreen ()
void InitializeComponentApplication ()
void ApplyStyleSheet ()
virtual void OnComponentCreated ()
- Protected Member Functions inherited from icomp::CComponentBase
bool IsComponentActive () const
 Check if component is active. More...
virtual void OnComponentDestroyed ()
virtual const
GetComponentStaticInfo () const =0
 Get access to static info of this component. More...

Protected Attributes

imod::TModelWrap< RuntimeStatus > m_runtimeStatus

Additional Inherited Members

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

Detailed Description

Standard component for a Qt based GUI application.

You have several attributes to control the appearance and decoration of the application window, you can define the splash screen and set some information about your application.

Definition at line 33 of file CApplicationCompBase.h.

Member Typedef Documentation

Definition at line 38 of file CApplicationCompBase.h.

Constructor & Destructor Documentation

iqtgui::CApplicationCompBase::CApplicationCompBase ( )

Member Function Documentation

void iqtgui::CApplicationCompBase::ApplyStyleSheet ( )
virtual QStringList iqtgui::CApplicationCompBase::GetApplicationArguments ( ) const

Get the command line arguments of this application.

Implements ibase::IApplication.

QApplication* iqtgui::CApplicationCompBase::GetQtApplication ( ) const
void iqtgui::CApplicationCompBase::HideSplashScreen ( )
virtual bool iqtgui::CApplicationCompBase::InitializeApplication ( int  argc,
char **  argv 

Initialize the application object.

Implements ibase::IApplication.

Reimplemented in iqtgui::CGuiApplicationComp.

void iqtgui::CApplicationCompBase::InitializeComponentApplication ( )
virtual void iqtgui::CApplicationCompBase::OnComponentCreated ( )

Reimplemented from icomp::CComponentBase.

bool iqtgui::CApplicationCompBase::TryShowSplashScreen ( )

Member Data Documentation

imod::TModelWrap<RuntimeStatus> iqtgui::CApplicationCompBase::m_runtimeStatus

Definition at line 95 of file CApplicationCompBase.h.

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy