And one more question I'd like to ask. I don't know if this is the right topic so don't blame me too much
The problem is when I click on a row in my table widget it becomes highlighted but when I use delegates it is not. I've tried to do like this
but it didn't work the way I thought. Also I've tried to use setBackground with QPainter and that didn't work eitherQt Code:
if (table->currentRow() == index.row()) { painter->drawRect(opt.rect); }To copy to clipboard, switch view to plain text mode![]()
Bookmarks