[Qt-interest] Graphic Interface from XML
Scott Aron Bloom
Scott.Bloom at sabgroup.com
Wed Jan 28 16:49:35 CET 2009
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of Brian Rep
> Sent: 2009-01-28 03:20
> To: qt-interest at trolltech.com
> Subject: [Qt-interest] Graphic Interface from XML
>
> Hello
>
> 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)?
>
> Thank you
> Brian
[Scott Aron Bloom]
The .ui format IS xml...
And can be dynamically loaded at runtime
QT Ships with examples showing this (they put the .ui in the resource
file though for convienence)
Scott
More information about the Qt-interest-old
mailing list