PDA

View Full Version : Listbox widget



awanish_jmi
24th July 2008, 18:22
hi all;
how can i store d listbox items in an array...is there any indexing of items in list box...??
i m using Qt 3 on linux...

thanks...

munna
25th July 2008, 06:41
QStringList itemList;

for(int i = 0; i < listBox.count(); i++)
{
itemList<<listBox.text(i);
}


Index starts from 0.