Results 1 to 3 of 3

Thread: Advanced use of QUiLoader

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2009
    Location
    Vienna, Austria
    Posts
    57
    Thanks
    24
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Advanced use of QUiLoader

    I'm aware that this is a cross post but I'm not sure what is the appropriate forum.

    I would need to load some ui resources converted from an other application (the ui files are generated form a 3rd party dialog editor) and use the QUiLoader to load the resources and manipulate the creation of widgets by overwriting the QUiLoader::createWidget method.

    I actually need to create some "special" widgets based on some dynamic properties that are added to the ui file but unfortunately the QUiLoader::createWidget method does not seem to offer any information about the properties in the ui file.

    I came only up with a very ugly way to solve this until now (create a temporary parent first to get the dynamic properties, delete it and then start again with the real parent widget) and would be most interested to hear how the Qt gurus would solve this (not so untypical) problem.

    Thank you in advance!
    Last edited by doberkofler; 28th October 2009 at 16:51.

Similar Threads

  1. Advanced use of QUiLoader
    By doberkofler in forum Newbie
    Replies: 0
    Last Post: 27th October 2009, 21:02
  2. slightly more advanced QRubberBand
    By momesana in forum Qt Programming
    Replies: 0
    Last Post: 4th November 2008, 01:00
  3. Trouble with QUiLoader in MSVC++
    By WinchellChung in forum Newbie
    Replies: 1
    Last Post: 20th February 2008, 15:25
  4. Qt advanced plugin system(qtaps)
    By hotsherbert in forum Qt-based Software
    Replies: 16
    Last Post: 25th March 2007, 22:33
  5. Replies: 13
    Last Post: 1st October 2006, 17:02

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.