Generate a form from an XML file.
Hi all,
I would like to generate a form(i.e. dialogue) based on an XML file. The xml file will include the name of the widget the type and the position. Is that possible?
How can I assign these attributes. Do i have to use a loop?
An small example to demonstrate the principles will be great.
Many thanks in advance.
Re: Generate a form from an XML file.
A UI file that is generated when we design a form using Qt designer is basically an XML file which is used by the Qt application called uic to generate C++ code which is then compiled to get the executable.
Maybe you can also design and code along the same lines.