#include <FormFactory.h>
Inheritance diagram for GUI::FormFactory:
Public Member Functions | |
virtual WidgetBase * | create (ModelBase *model_ptr) |
Create a new instance of form widget, the form widget is a top level widget. | |
virtual WidgetBase * | create (ModelBase *model_ptr, WidgetContainer *container_ptr) |
Create a new instance of form widget, child of the WidgetContainer. |
WidgetBase * GUI::FormFactory::create | ( | ModelBase * | model_ptr, | |
WidgetContainer * | container_ptr | |||
) | [virtual] |
Create a new instance of form widget, child of the WidgetContainer.
Call this member throw always an exception, a form widget is a top level widget
model_ptr | pointer to the object model, can not be NULL | |
container_ptr | pointer to the WidgetContainer, can not be NULL |
Implements GUI::FactoryBase.
WidgetBase * GUI::FormFactory::create | ( | ModelBase * | model_ptr | ) | [virtual] |
Create a new instance of form widget, the form widget is a top level widget.
This method create a form wiget and the relative controller for events handling, than register the controller in the EventsDispatcher object.
model_ptr | pointer to the object model, can not be NULL |
Implements GUI::FactoryBase.