Factory: all widgets are registered through this factory
It is needed for external instance, like XMLWidget.
Bases: object
Widget factory. Designed to register all the PyMT widget, and get them from a limited context (like eval)
Get a widget from database
Add a widget into our database