![]() |
VR-Forces 4.0.4 Class Documentation
|
This is the Qt specific implementation of the page assembler. More...

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. | |
| DtPageCreator * | findPageCreator (const std::string &pageClassName) const |
| Find a page creator, based upon it's page class name. | |
Static Public Member Functions | |
| static DtQtPageAssembler & | instance (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. | |
| QWidget * | mainWindow () |
Protected Attributes | |
| PageCreatorMap | myPageCreatorMap |
| QWidget * | myMainWindowCache |
Friends | |
| class | DtQtPageAssemblerCreator |
This is the Qt specific implementation of the page assembler.
Actual page creators must be registered with the page assembler.
typedef boost::unordered_map<std::string,DtPageCreator*> makVrv::DtQtPageAssembler::PageCreatorMap [protected] |
| virtual makVrv::DtQtPageAssembler::~DtQtPageAssembler | ( | ) | [virtual] |
DTOR.
| makVrv::DtQtPageAssembler::DtQtPageAssembler | ( | DtDe & | de | ) | [protected] |
Ctor is protected to ensure the class is created using the Creator.
| static DtQtPageAssembler& makVrv::DtQtPageAssembler::instance | ( | DtDe & | de | ) | [static] |
Get an instance of the Qt page Assembler.
Reimplemented from makVrv::DtPageAssembler.
| void makVrv::DtQtPageAssembler::registerPageCreator | ( | DtPageCreator * | creator | ) |
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.
| QWidget* makVrv::DtQtPageAssembler::mainWindow | ( | ) | [protected] |
friend class DtQtPageAssemblerCreator [friend] |
QWidget* makVrv::DtQtPageAssembler::myMainWindowCache [protected] |