Results 1 to 8 of 8

Thread: Create a dialog on the fly dynamically based on an input xml file

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    511
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Create a dialog on the fly dynamically based on an input xml file

    Hi, I would try it like this:
    - create a new widget with a QGridLayout
    - loop over all labels, create a new QLabel for each label, and put it into first column of the layout
    - loop over all lineedits, create a new QLineEdit for each lineedit, and put it into the second column of the layout

    Hope this helps,

    Ginsengelf

  2. The following user says thank you to Ginsengelf for this useful post:

    franco.amato (26th November 2021)

Similar Threads

  1. Replies: 1
    Last Post: 12th March 2015, 06:41
  2. Replies: 0
    Last Post: 25th March 2014, 06:24
  3. Replies: 7
    Last Post: 5th February 2014, 11:20
  4. Replies: 3
    Last Post: 19th October 2011, 13:08
  5. Replies: 2
    Last Post: 28th September 2010, 10:34

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.