VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends
makVrv::DtQtPageAssembler Class Reference

This is the Qt specific implementation of the page assembler. More...

Inheritance diagram for makVrv::DtQtPageAssembler:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~DtQtPageAssembler ()
 DTOR.
void registerPageCreator (DtPageCreator *creator)
 Register a page creator, the page creator will create pages when assembling.
void unregisterPageCreator (DtPageCreator *creator, bool deleteCreator=true)
 Register a page creator.
DtPageCreatorfindPageCreator (const std::string &pageClassName) const
 Find a page creator, based upon it's page class name.

Static Public Member Functions

static DtQtPageAssemblerinstance (DtDe &de)
 Get an instance of the Qt page Assembler.

Protected Types

typedef boost::unordered_map
< std::string, DtPageCreator * > 
PageCreatorMap

Protected Member Functions

 DtQtPageAssembler (DtDe &de)
 Ctor is protected to ensure the class is created using the Creator.
virtual void assembleCollection (const DtPagePath &pagePath, const DtUnicode &pageTitle, const DtPageConfiguration::PageCollectionState &pageState)
 Assemble a page item from the path.
virtual void assemblePage (const DtPagePath &pagePath)
 Assemble a page from the path.
virtual void updatePage (const DtPagePath &pagePath, const DtPageConfiguration::PageCollectionState &state)
 Update the page with the state information provided by argument.
virtual void tabify (const DtPagePath &pagePath1, const DtPagePath &pagePath2)
 Tabifies the pages represented by the page paths provided in the arguments.
virtual void setSelectedPage (const DtPagePath &pPath)
 If the page is tabbed, sets it as the currently selected page.
QWidgetmainWindow ()

Protected Attributes

PageCreatorMap myPageCreatorMap
QWidgetmyMainWindowCache

Friends

class DtQtPageAssemblerCreator

Detailed Description

This is the Qt specific implementation of the page assembler.

Actual page creators must be registered with the page assembler.

Examples

Member Typedef Documentation

typedef boost::unordered_map<std::string,DtPageCreator*> makVrv::DtQtPageAssembler::PageCreatorMap [protected]

Constructor & Destructor Documentation

DTOR.

Ctor is protected to ensure the class is created using the Creator.


Member Function Documentation

Get an instance of the Qt page Assembler.

Reimplemented from makVrv::DtPageAssembler.

Register a page creator, the page creator will create pages when assembling.

void makVrv::DtQtPageAssembler::unregisterPageCreator ( DtPageCreator creator,
bool  deleteCreator = true 
)

Register a page creator.

DtPageCreator* makVrv::DtQtPageAssembler::findPageCreator ( const std::string &  pageClassName) const

Find a page creator, based upon it's page class name.

virtual void makVrv::DtQtPageAssembler::assembleCollection ( const DtPagePath pagePath,
const DtUnicode pageTitle,
const DtPageConfiguration::PageCollectionState pageState 
) [protected, virtual]

Assemble a page item from the path.

Reimplemented from makVrv::DtPageAssembler.

Reimplemented in makVrf::makVrfGuiObjectInformationQt::DtInformationPageAssembler.

virtual void makVrv::DtQtPageAssembler::assemblePage ( const DtPagePath pagePath) [protected, virtual]

Assemble a page from the path.

Reimplemented from makVrv::DtPageAssembler.

Reimplemented in makVrf::makVrfGuiObjectInformationQt::DtInformationPageAssembler.

virtual void makVrv::DtQtPageAssembler::updatePage ( const DtPagePath pagePath,
const DtPageConfiguration::PageCollectionState state 
) [protected, virtual]

Update the page with the state information provided by argument.

Reimplemented from makVrv::DtPageAssembler.

virtual void makVrv::DtQtPageAssembler::tabify ( const DtPagePath pagePath1,
const DtPagePath pagePath2 
) [protected, virtual]

Tabifies the pages represented by the page paths provided in the arguments.

Reimplemented from makVrv::DtPageAssembler.

virtual void makVrv::DtQtPageAssembler::setSelectedPage ( const DtPagePath pPath) [protected, virtual]

If the page is tabbed, sets it as the currently selected page.

Reimplemented from makVrv::DtPageAssembler.


Friends And Related Function Documentation

friend class DtQtPageAssemblerCreator [friend]

Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)