Public Types | Public Member Functions | Protected Member Functions | List of all members
iwiz::CWizardDocumentComp Class Reference

Component implementation of a wizard controller. More...

#include <CWizardDocumentComp.h>

Inheritance diagram for iwiz::CWizardDocumentComp:
iprm::CParamsManagerComp iwiz::IParamsManagerWizard iprm::CParamsManagerCompBase iwiz::IWizardNavigationController iprm::IParamsManager iprm::CParamsManagerCompBaseAttr iprm::IParamsManager iprm::IOptionsManager istd::IChangeable iprm::ISelectionParam icomp::CComponentBase iprm::ISelectionParam iprm::IOptionsList iprm::ISelectionParam istd::IPolymorphic iser::ISerializable icomp::IComponent iser::ISerializable istd::IChangeable iser::ISerializable istd::IChangeable istd::IPolymorphic istd::IChangeable istd::IPolymorphic istd::IChangeable istd::IPolymorphic istd::IPolymorphic istd::IPolymorphic

Public Types

typedef iprm::CParamsManagerComp BaseClass
 
- Public Types inherited from iprm::CParamsManagerComp
typedef CParamsManagerCompBase BaseClass
 

Public Member Functions

virtual bool IsPageSelectionAllowed (int pageIndex) const
 Check, if selection of some wizard page is allowed. More...
 
virtual bool IsFinishAllowed () const
 Check, if finish is allowed for this wizard. More...
 
virtual int GetPrevPageIndex () const
 Get the ID of the previous wizard page. More...
 
virtual int GetNextPageIndex () const
 Get the ID of the next wizard page. More...
 
virtual bool DoWizardFinish ()
 Do finish action by wizard. More...
 
virtual bool SetSelectedOptionIndex (int index)
 
virtual bool Serialize (iser::IArchive &archive)
 
- Public Member Functions inherited from iprm::CParamsManagerComp
bool SetSetsCount (int count)
 
virtual const IOptionsListGetParamsTypeConstraints () const
 
virtual int GetOptionOperationFlags (int index=-1) const
 
virtual bool SetOptionEnabled (int index, bool isEnabled=true)
 
virtual bool RemoveOption (int index)
 
virtual bool InsertOption (const QString &optionName, const QByteArray &optionId, const QString &optionDescription=QString(), int index=-1)
 
virtual bool SwapOptions (int index1, int index2)
 
virtual bool SetOptionName (int optionIndex, const QString &optionName)
 
virtual bool SetOptionDescription (int optionIndex, const QString &optionDescription)
 
- Public Member Functions inherited from icomp::IComponent
virtual const ICompositeComponentGetParentComponent (bool ownerOnly=false) const =0
 
virtual void * GetInterface (const istd::CClassInfo &interfaceType, const QByteArray &subId="")=0
 
virtual const IComponentContextGetComponentContext () const =0
 
virtual void SetComponentContext (const icomp::IComponentContext *contextPtr, const ICompositeComponent *parentPtr, bool isParentOwner)=0
 
- Public Member Functions inherited from iprm::IParamsManager
virtual int GetIndexOperationFlags (int index=-1) const =0
 
virtual int GetParamsSetsCount () const =0
 
virtual int InsertParamsSet (int typeIndex=-1, int index=-1)=0
 
virtual bool RemoveParamsSet (int index)=0
 
virtual bool SwapParamsSet (int index1, int index2)=0
 
virtual IParamsSetGetParamsSet (int index) const =0
 
virtual IParamsSetCreateParameterSet (int typeIndex=-1, int index=-1) const =0
 
virtual QString GetParamsSetName (int index) const =0
 
virtual bool SetParamsSetName (int index, const QString &name)=0
 
virtual QString GetParamsSetDescription (int index) const =0
 
virtual void SetParamsSetDescription (int index, const QString &description)=0
 
- Public Member Functions inherited from iprm::IOptionsManager
virtual const IOptionsListGetSelectionConstraints () const =0
 
virtual int GetSelectedOptionIndex () const =0
 
virtual ISelectionParamGetSubselection (int index) const =0
 

Protected Member Functions

virtual bool SerializeParamSets (iser::IArchive &archive)
 
virtual void OnComponentCreated ()
 
- Protected Member Functions inherited from iprm::CParamsManagerComp
virtual bool IsParameterCreationSupported () const
 
virtual int GetCreatedParamsSetsCount () const
 
virtual iprm::IParamsSetCreateParamsSetInstance (int typeIndex=-1) const
 
virtual void OnComponentDestroyed ()
 

Detailed Description

Component implementation of a wizard controller.

Definition at line 20 of file CWizardDocumentComp.h.

Member Typedef Documentation

Definition at line 25 of file CWizardDocumentComp.h.

Member Function Documentation

virtual bool iwiz::CWizardDocumentComp::DoWizardFinish ( )
virtual

Do finish action by wizard.

Implements iwiz::IWizardNavigationController.

virtual int iwiz::CWizardDocumentComp::GetNextPageIndex ( ) const
virtual

Get the ID of the next wizard page.

Implements iwiz::IWizardNavigationController.

virtual int iwiz::CWizardDocumentComp::GetPrevPageIndex ( ) const
virtual

Get the ID of the previous wizard page.

Implements iwiz::IWizardNavigationController.

virtual bool iwiz::CWizardDocumentComp::IsFinishAllowed ( ) const
virtual

Check, if finish is allowed for this wizard.

Implements iwiz::IWizardNavigationController.

virtual bool iwiz::CWizardDocumentComp::IsPageSelectionAllowed ( int  pageIndex) const
virtual

Check, if selection of some wizard page is allowed.

It is used to avoid trying switch to inactive pages.

Parameters
pageIndexindex of page. It has the same interpretation as e.g. index in iprm::IParamsManager::GetParamsSet or index in iprm::IOptionsList::GetOptionName.

Implements iwiz::IParamsManagerWizard.

virtual void iwiz::CWizardDocumentComp::OnComponentCreated ( )
protectedvirtual

Reimplemented from iprm::CParamsManagerComp.

virtual bool iwiz::CWizardDocumentComp::Serialize ( iser::IArchive archive)
virtual

Reimplemented from iprm::CParamsManagerComp.

virtual bool iwiz::CWizardDocumentComp::SerializeParamSets ( iser::IArchive archive)
protectedvirtual
virtual bool iwiz::CWizardDocumentComp::SetSelectedOptionIndex ( int  index)
virtual

Implements iprm::IOptionsManager.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy