Results 1 to 2 of 2

Thread: Dynamic gui.

  1. #1
    Join Date
    May 2011
    Posts
    120
    Thanks
    9
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Dynamic gui.

    Hi all
    i have to create a dynamic gui , i have no idea how to start it. I have .xml file on which i have to create gui. In this file i have the information like no of rooms , no of devices in rooms etc and on these no of rooms and devices i have to create frames and buttons and arrange them in layout. How i should start to create it.
    One another question is that what will be better having all information in one file or in many files.

    Thanks in advance.

  2. #2
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    131
    Thanks
    11
    Thanked 16 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Dynamic gui.

    You could simply create a content handler (see QXmlDefaultHandler) with and QXmlSimpleReader run trough it and create the object you need.

Similar Threads

  1. Translate my app (dynamic)
    By liran ritkop in forum Qt Programming
    Replies: 6
    Last Post: 31st March 2011, 10:25
  2. Replies: 1
    Last Post: 20th January 2011, 17:17
  3. Dynamic linking on Mac OS X
    By Vnuce in forum Newbie
    Replies: 6
    Last Post: 19th October 2009, 13:31
  4. dynamic text?
    By vonCZ in forum Newbie
    Replies: 2
    Last Post: 20th June 2007, 11:41
  5. dynamic qscrollarea
    By hijinks in forum Qt Programming
    Replies: 3
    Last Post: 26th September 2006, 16:48

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.