PDA

View Full Version : Dynamic gui.



Niamita
2nd September 2011, 12:29
Hi all
i have to create a dynamic gui , i have no idea how to start it. I have .xml file on which i have to create gui. In this file i have the information like no of rooms , no of devices in rooms etc and on these no of rooms and devices i have to create frames and buttons and arrange them in layout. How i should start to create it.
One another question is that what will be better having all information in one file or in many files.

Thanks in advance.

nightghost
2nd September 2011, 15:15
You could simply create a content handler (see QXmlDefaultHandler) with and QXmlSimpleReader run trough it and create the object you need.