PDA

View Full Version : Creating Labels & Radioboxes dynamically



premroxx
8th September 2012, 20:57
Hello,
I am trying to dynamically create a series of labels & radioboxes(the label & radiobox are next to each other). I know how to create a label & radiobox dynamically. but how do I create them in that layout?

Prem

Zlatomir
9th September 2012, 00:24
You don't create them in the layout, you create them dynamically and then add them to the layout using addWidget (http://doc.qt.nokia.com/4.7-snapshot/qlayout.html#addWidget)