[Qt-interest] QComboBox list items

Robert Hairgrove evorgriahr at hispeed.ch
Sat Jan 17 12:31:01 CET 2009


Is there a built-in way to fetch all the string items in a combo box or 
list view without iterating through all the indexes? For example, I can 
call addItems() and pass a QStringList, and the list is populated. I 
would like to be able to do the opposite (i.e., read all the items at 
once by calling a function which returns a QStringList).

Seems like it would make things a little more orthogonal if there were 
such a function.



More information about the Qt-interest-old mailing list