Results 1 to 4 of 4

Thread: XUL in Qt

  1. #1
    Join Date
    Feb 2010
    Posts
    99
    Thanks
    31
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default XUL in Qt

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: XUL in Qt

    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...

  3. The following user says thank you to wysota for this useful post:

    dpatel (28th April 2010)

  4. #3
    Join Date
    Apr 2010
    Location
    Rostov-na-Donu, Russia
    Posts
    153
    Thanks
    2
    Thanked 26 Times in 23 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: XUL in Qt

    QUILoader loads xml-files, produced with QtDesigner, and builds a form

  5. The following user says thank you to borisbn for this useful post:

    dpatel (28th April 2010)

  6. #4
    Join Date
    May 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: XUL in Qt

    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.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.