[Qt-interest] Emphasizing "current item" in subclass of QAbstractItemView

Davor J. DavorJ at live.com
Wed Mar 31 08:35:09 CEST 2010


By default, there is some barely visible dotted rectangle around the 
QItemSelectionModel::currentIndex (). Has anyone suggestions how to change 
this efficiently. (i.e. I think adjusting the model data with setData() and 
Qt::FontRole or Qt::BackgroundRole or something similar isn't the right way 
to do this.) So has anyone any other suggestions?

Kind regards,
Davor





More information about the Qt-interest-old mailing list