Обсуждение: Emphasizing "current item" in subclass of QAbstractItemView

Поиск
Список
Период
Сортировка

Emphasizing "current item" in subclass of QAbstractItemView

От
"Davor J."
Дата:
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