Hi,
Does anyone know about using XUL in Qt application to create GUI from configuration file.
I want to create GUI from xml based file rather than using QtDesigner. Is there any other way of doing it less painfully
Thanks
Hi,
Does anyone know about using XUL in Qt application to create GUI from configuration file.
I want to create GUI from xml based file rather than using QtDesigner. Is there any other way of doing it less painfully
Thanks
Designer generates an xml file to describe the ui as well
In general you can either use xslt to transform xul into some other form (like Designer's ui files) or you can implement an xml parser that will read your definition of the ui from the xml file and generate objects from it. Or you can wait until my doctoral dissertation is complete but that's still a year or so...
dpatel (28th April 2010)
QUILoader loads xml-files, produced with QtDesigner, and builds a form
dpatel (28th April 2010)
The last few weeks I've been also thinking that an implementation of XUL in Qt might be really cool. Today I thought about making a start on designing such an implementation but first due diligence requires that a web search for an existing project that might do this.
Bingo.
http://github.com/pinkboi/libqtxul
It looks like the project is in early stage. A lot of the XUL rendering works and a QtXUL app renders the XUL quite faithfully as the same XUL file does in FireFox. It appears though that input isn't yet connected up with signals and slots. Nevertheless, the libqtxul project looks promising.
Bookmarks