[Qt-interest] programmatically select multiple items in a listwidget

Christopher Evans chrisevans at ilm.com
Wed Jul 15 18:18:28 CEST 2009


I am 'repainting' or 'refilling' a multi-select list widget, however, I 
would like the same items selected.

I have a single updateList() fn, and I am just updating the text, should 
I just make an updateListText() fn and call it a day?

I see setCurrentItem, and selectedItems.  I do not see anything like 
setCurrentItems.

Thanks,

CE




More information about the Qt-interest-old mailing list