Hi Lorenzo,
You're absolutely right. The problem is in your component definition.
qx:component has only one child which actually defines basic behavior
of your component.
So, if you are creating a simple panel which extends composite layout
class you should use qx:composite under your qx:component.
Like:
<qx:component ...>
<qx:composite ...>
[...]
It gives qxtransformer information how to process your custom
component when it finds such component in xml.
Because it knows how to process qx:composite but knows nothing about
ds_windows:MainWindow in simple words.
Search for "behavior-element" in our wiki for more information.
Cheers,
Siarhei