Currently I'm working on a multi column TreeWidget, with a custom highlight style set with style sheets.
Qt Code:
border: 2px solid #fff; } border: 2px solid #fff; }To copy to clipboard, switch view to plain text mode
Problem is, that the style is applied to all colums of a row, each cell got a border. But I only want to whole row to be bordered, not each row cell.
Does anybody have an idea how to achieve this with style sheets? Or do I have to use a custom ItemDelegate for this?
Edit: Forgot to mention: Each row is a single QTreeWidgetItem, while each column is simply set with SetText(0,...), SetText(1,...)...
Bookmarks