[Qt-interest] Graphic Interface from XML
Yves Bailly
yves.bailly at sescoi.fr
Wed Jan 28 12:37:30 CET 2009
Hello Brian,
Brian Rep wrote:
> I'm researching ways on how to create a dynamic interface using XML. I
> know QT has a XML capabilities, but are they think ed in this way?
>
> I want for example, from a XML file that may contain QT specific tags
> (if they exist) I want to automatically parse them (is there already
> some mechanism that does this?) and create Labels and set them in the
> proper positions (maybe after that add spacers and layouts) and also
> include along the information to be filled in those labels (this
> information will dynamic, not just the label name) which means some
> information will not be QT specific.
>
> I hope I was clear in this example, and I want to know if this kind of
> thing is already supported by QT, if yes, can some one point me to
> some examples and documentation (it will do QT or QT-Jambi)?
Have a look at QtDesigner, more precisely the documentation
<where_is_your_qt_doc>/html/designer-using-a-component.html#run-time-form-processing
...and the class QUiLoader. It might answer to most of your concerns.
Hope this helps.
--
/- Yves Bailly - Software developper -\
\- Sescoi France http://www.sescoi.fr -/
"The possible is done. The impossible is being done. For miracles,
thanks to allow a little delay."
More information about the Qt-interest-old
mailing list