DEPRECATED The DtUserInterfaceAssembler builds parts of a window from it's list of builders.
|
| virtual | ~DtUserInterfaceAssembler () |
| |
| virtual bool | destroyBuilder (const std::string &builderName, DtUserInterfaceBuilder *builder) |
| |
| virtual DtUserInterfaceBuilder * | findMenuBuilder (const std::string &builderName) const |
| |
| virtual void | registerMenuBuilder (const std::string &builderName, DtUserInterfaceBuilder *builder, int modeFlags) |
| |
| virtual DtUserInterfaceBuilder * | findMenuItemBuilder (const std::string &builderName) const |
| |
| virtual void | registerMenuItemBuilder (const std::string &builderName, DtUserInterfaceBuilder *builder, int modeFlags) |
| |
| virtual DtUserInterfaceBuilder * | findWidgetBuilder (const std::string &builderName) const |
| |
| virtual void | registerWidgetBuilder (const std::string &builderName, DtUserInterfaceBuilder *builder, int modeFlags) |
| |
| virtual void | assemble (DtDe &de, DtDeMainWindow &mainWindow) |
| |
| virtual void | createControlBefore (const std::string &control, const std::string &before) |
| |
| virtual void | createControlAfter (const std::string &control, const std::string &after) |
| |
| virtual void | removeControlCreationOrder (const std::string &control) |
| |
| virtual void | setMasterModeAssembleList (const BuilderList &builderList) |
| |
| virtual const BuilderList & | masterModeAssembleList () const |
| |
| virtual void | setSlaveModeAssembleList (const BuilderList &builderList) |
| |
| virtual const BuilderList & | slaveModeAssembleList () const |
| |
| | DtVirtualBaseClass () |
| |
| virtual | ~DtVirtualBaseClass () |
| |
| virtual makVrv::DtUserInterfaceAssembler::~DtUserInterfaceAssembler |
( |
| ) |
|
|
virtual |
| makVrv::DtUserInterfaceAssembler::DtUserInterfaceAssembler |
( |
| ) |
|
|
protected |
Get the instance for this assembler. Creates this assembler if one doesn't exist (lazy creation).
| virtual bool makVrv::DtUserInterfaceAssembler::destroyBuilder |
( |
const std::string & |
builderName, |
|
|
DtUserInterfaceBuilder * |
builder |
|
) |
| |
|
virtual |
Remove and destroy a menu build previously registered. If the pointer is null or has not been registered no action is taken.
- Return values
-
| true | if the builder was destroyed. |
| false | if no action was taken. |
| virtual DtUserInterfaceBuilder* makVrv::DtUserInterfaceAssembler::findMenuBuilder |
( |
const std::string & |
builderName | ) |
const |
|
virtual |
Find a menu builder with the given name, if no builder is found than a null pointer is returned.
| virtual void makVrv::DtUserInterfaceAssembler::registerMenuBuilder |
( |
const std::string & |
builderName, |
|
|
DtUserInterfaceBuilder * |
builder, |
|
|
int |
modeFlags |
|
) |
| |
|
virtual |
Set the menu builder instance with a given name. If one exists, it is deleted and the newer one is added.
| virtual DtUserInterfaceBuilder* makVrv::DtUserInterfaceAssembler::findMenuItemBuilder |
( |
const std::string & |
builderName | ) |
const |
|
virtual |
Find a menu item builder with the given name, if no builder is found than a null pointer is returned.
| virtual void makVrv::DtUserInterfaceAssembler::registerMenuItemBuilder |
( |
const std::string & |
builderName, |
|
|
DtUserInterfaceBuilder * |
builder, |
|
|
int |
modeFlags |
|
) |
| |
|
virtual |
Set the menu item builder instance with a given name. If one exists, it is deleted and the newer one is added.
| virtual DtUserInterfaceBuilder* makVrv::DtUserInterfaceAssembler::findWidgetBuilder |
( |
const std::string & |
builderName | ) |
const |
|
virtual |
Find a widget builder with the given name, if no builder is found than a null pointer is returned.
| virtual void makVrv::DtUserInterfaceAssembler::registerWidgetBuilder |
( |
const std::string & |
builderName, |
|
|
DtUserInterfaceBuilder * |
builder, |
|
|
int |
modeFlags |
|
) |
| |
|
virtual |
Set the widget builder instance with a given name. If one exists, it is deleted and the newer one is added.
| virtual void makVrv::DtUserInterfaceAssembler::assemble |
( |
DtDe & |
de, |
|
|
DtDeMainWindow & |
mainWindow |
|
) |
| |
|
virtual |
Uses the builders to construct the assembly. First builds menu's, then menu items, then widgets.
| virtual void makVrv::DtUserInterfaceAssembler::createControlBefore |
( |
const std::string & |
control, |
|
|
const std::string & |
before |
|
) |
| |
|
virtual |
Creates this control before the specified control. If a control order currently exists, replaces with this one.
| virtual void makVrv::DtUserInterfaceAssembler::createControlAfter |
( |
const std::string & |
control, |
|
|
const std::string & |
after |
|
) |
| |
|
virtual |
Creates this control after the specified control. If a control order currently exists, replaces with this one.
| virtual void makVrv::DtUserInterfaceAssembler::removeControlCreationOrder |
( |
const std::string & |
control | ) |
|
|
virtual |
Removes any creation order for the specified control.
| virtual void makVrv::DtUserInterfaceAssembler::setMasterModeAssembleList |
( |
const BuilderList & |
builderList | ) |
|
|
virtual |
Set the list of builders to actually assemble on the master.
| virtual const BuilderList& makVrv::DtUserInterfaceAssembler::masterModeAssembleList |
( |
| ) |
const |
|
virtual |
Get the list of builders that are going to be assembled on the master.
| virtual void makVrv::DtUserInterfaceAssembler::setSlaveModeAssembleList |
( |
const BuilderList & |
builderList | ) |
|
|
virtual |
Set the list of builders to actually assemble on the slave.
| virtual const BuilderList& makVrv::DtUserInterfaceAssembler::slaveModeAssembleList |
( |
| ) |
const |
|
virtual |
Get the list of builders that are going to be assembled on the slave.
Static creator function. This class is 'lazily created' when needed. Creation happens during the first call to instance().
Iterates through myMenuBuilderMap calling build() on each of the builders.
Iterates through myMenuItemBuilderMap calling build() on each of the builders.
Iterates through myWidgetBuilderMap calling build() on each of the builders.
Builds the widget, and connects the logic to the activate/ deactivate slots.
| virtual void makVrv::DtUserInterfaceAssembler::mapNameToMode |
( |
const std::string & |
name, |
|
|
int |
modeFlags |
|
) |
| |
|
protectedvirtual |
Puts the builder name to into the correct mode maps so that during calls to assemble the correct widgets for the mode are built.
Returns the order in which widget elements should be created, based on the supplied list.
| BuilderMap makVrv::DtUserInterfaceAssembler::myMenuBuilderMap |
|
protected |
| BuilderMap makVrv::DtUserInterfaceAssembler::myMenuItemBuilderMap |
|
protected |
| BuilderMap makVrv::DtUserInterfaceAssembler::myWidgetBuilderMap |
|
protected |
| BuilderList makVrv::DtUserInterfaceAssembler::myMasterModeList |
|
protected |
| BuilderList makVrv::DtUserInterfaceAssembler::mySlaveModeList |
|
protected |
The documentation for this class was generated from the following file: