Results 1 to 2 of 2

Thread: Adding multiple widgets to in a list in another interface

  1. #1
    Join Date
    May 2012
    Posts
    21
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Adding multiple widgets to in a list in another interface

    I am currently working on an interface with a couple of labels, QLineEdits and pushbutton. So far I've created a horizontal widget with labels, QListEdits and pushbutton in horizontal grid. In another Form, I've added a QListWidget so that I can add multiple of these widgets in it with a for-loop, I'm not sure how should I go about implementing the multiples of these widgets in the same format into a list, I was hoping that someone could assist me on this.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Adding multiple widgets to in a list in another interface

    A QListWidget is not a list of widgets, but a widget that shows a list of entries.

    If you want a scrollable area that contains widgets have a look at QScrollArea

    Cheers,
    _

Similar Threads

  1. Replies: 1
    Last Post: 23rd April 2011, 17:33
  2. Replies: 5
    Last Post: 18th April 2010, 23:31
  3. Replies: 12
    Last Post: 22nd March 2009, 11:22
  4. Replies: 0
    Last Post: 18th March 2009, 06:33
  5. multiple page linear interface
    By ahkv9 in forum Qt Programming
    Replies: 3
    Last Post: 17th April 2007, 19:44

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.