PDA

View Full Version : Adding multiple widgets to in a list in another interface



ashboi
19th October 2013, 04:43
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.

anda_skoa
19th October 2013, 14:39
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,
_