Qt-interest Archive, December 2007
FW: dump widgets on screen to xml
Message 1 in thread
I am searching to find a way to output an xml representation of all of the widgets on the current screen. I have pondered two options so far:
1. Manually build a QDomEntity as I build the screens and then write this to an outfile using save. This seems to be tedious and I was hoping to make this "dump" function less intrusive to the code.
2. Using something like KDE's UI Recovery toolkit which takes code and recreates .ui (XML) files. I would prefer not to use a third party solution and only want the XML for the current visible screen and not the entire application.
Does anyone have a better idea or solution to doing this?
Thanks!
Alecia
--
[ signature omitted ]