Yes, for this part there is no problem.

Problem arise when I want to serialialize/deserialize data with pointers (for example, to child objects). QDataStream does not handle pointers... ((
In QtDesigner, trolltech uses special c++ code generator (for example, ui4.cpp/ui4.h), which generates ser/deser code for QWidget -derived classes to xml Dom. Is there any same kind of tool?

How to make serialialize/deserialize of QObject derives?