Transparency in Table/Tree View/WIdget with setAlternatingRowColors and Delegate
Solved
General and Desktop
-
@mrjj Yeah :) I finally got it working with your help.
The trick is to first add the View as a parent for the DelgateEditor.
Now we still get the overlap. However now when you remove painter->setClipRect(option.rect); from paint() is does not paint into neighboring cells any more, so you do not need that line of code anymore and without that line of code the problem is gone :)Thanks again for all the help, I never would have come up with that idea. (And I still don't get why it did not work in the first place)