ACF $AcfVersion:0$
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) override
 Initialize the application object.
 
virtual QStringList GetApplicationArguments () const override
 Get the command line arguments of this application.
 
- Public Member Functions inherited from icomp::CComponentBase
 CComponentBase ()
 Create component and assign it to specific context.
 
virtual const icomp::IComponentGetParentComponent (bool ownerOnly=false) const override
 Get parent of this component.
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="") override
 Get access to specified component interface.
 
virtual IComponentContextSharedPtr GetComponentContext () const override
 Get access to component context describing all application-specified component information loaded from components registry.
 
virtual void SetComponentContext (const IComponentContextSharedPtr &contextPtr, const icomp::IComponent *parentPtr, bool isParentOwner) override
 Set component context of this component.
 
- 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.
 
virtual QString GetHelpText () const =0
 Get information about the possible command line arguments of this application.
 

Protected Member Functions

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

Protected Attributes

imod::TModelWrap< RuntimeStatus > m_runtimeStatus
 
bool m_useSplashScreen
 
istd::CGeneralTimeStamp m_splashScreenTimer
 
istd::TDelPtr< QApplication > m_applicationPtr
 
QStringList m_applicationArguments
 
QByteArray m_appStyle
 
QString m_styleSheetFile
 
QTimer m_splashTimer
 

Additional Inherited Members

- Static Protected Member Functions inherited from icomp::CComponentBase
static const icomp::IRealComponentStaticInfoInitStaticInfo (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 34 of file CApplicationCompBase.h.

Member Typedef Documentation

◆ BaseClass

Definition at line 41 of file CApplicationCompBase.h.

Constructor & Destructor Documentation

◆ CApplicationCompBase()

iqtgui::CApplicationCompBase::CApplicationCompBase ( )

Member Function Documentation

◆ ApplyStyleSheet()

void iqtgui::CApplicationCompBase::ApplyStyleSheet ( )
protected

◆ GetApplicationArguments()

virtual QStringList iqtgui::CApplicationCompBase::GetApplicationArguments ( ) const
overridevirtual

Get the command line arguments of this application.

Implements ibase::IApplication.

◆ GetQtApplication()

QApplication * iqtgui::CApplicationCompBase::GetQtApplication ( ) const
protected

◆ HideSplashScreen()

void iqtgui::CApplicationCompBase::HideSplashScreen ( )
protected

◆ InitializeApplication()

virtual bool iqtgui::CApplicationCompBase::InitializeApplication ( int  argc,
char **  argv 
)
overridevirtual

Initialize the application object.

Implements ibase::IApplication.

Reimplemented in iqtgui::CGuiApplicationComp.

◆ InitializeComponentApplication()

void iqtgui::CApplicationCompBase::InitializeComponentApplication ( )
protected

◆ InitializeComponents()

void iqtgui::CApplicationCompBase::InitializeComponents ( )
protected

◆ OnComponentCreated()

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

Reimplemented from icomp::CComponentBase.

◆ TryShowSplashScreen()

bool iqtgui::CApplicationCompBase::TryShowSplashScreen ( )
protected

Member Data Documentation

◆ m_applicationArguments

QStringList iqtgui::CApplicationCompBase::m_applicationArguments
protected

Definition at line 117 of file CApplicationCompBase.h.

◆ m_applicationPtr

istd::TDelPtr<QApplication> iqtgui::CApplicationCompBase::m_applicationPtr
protected

Definition at line 115 of file CApplicationCompBase.h.

◆ m_appStyle

QByteArray iqtgui::CApplicationCompBase::m_appStyle
protected

Definition at line 119 of file CApplicationCompBase.h.

◆ m_runtimeStatus

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

Definition at line 100 of file CApplicationCompBase.h.

◆ m_splashScreenTimer

istd::CGeneralTimeStamp iqtgui::CApplicationCompBase::m_splashScreenTimer
protected

Definition at line 113 of file CApplicationCompBase.h.

◆ m_splashTimer

QTimer iqtgui::CApplicationCompBase::m_splashTimer
protected

Definition at line 122 of file CApplicationCompBase.h.

◆ m_styleSheetFile

QString iqtgui::CApplicationCompBase::m_styleSheetFile
protected

Definition at line 120 of file CApplicationCompBase.h.

◆ m_useSplashScreen

bool iqtgui::CApplicationCompBase::m_useSplashScreen
protected

Definition at line 112 of file CApplicationCompBase.h.


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