PDA

View Full Version : QListView - setCurrentIndex()



Tomasz
29th December 2010, 11:43
Hello!

I've got problem using 'setCurrentIndex()' slot of 'QListView'. I'd like to select specyfic row from list. Argument of 'setCurrentIndex()' is 'QModelIndex'. I can't find here any function to select specyfic row. How can I use It to select specyfic row from QListView?

thanks in advance
best regards
Tomasz

high_flyer
29th December 2010, 11:48
you probably need QListWidget, and not QListView.