I'm trying to implement 'blinking row background' in QTableView. I initially wanted to implement this by:
- Using QTimeLine class to emit periodical updates for the QTableView
- Sub-classing QStyledItemDelegate and re-implementing initStyleOption method by first calling its base class version and then amending QStyleOptionViewItemV4::backgroundBrush property
The problem I have is the QTableView is customized by style sheets. So the style class implementation does not use QStyleOptionViewItemV4::backgroundBrush property when its drawing the background.
What would be a proper approach for me to use in this case?
Bookmarks