Qt-interest Archive, May 2008
Stylesheet background drawing in animated QTreeView
Message 1 in thread
Hi,
I am experimenting a bit with some options to make my application look
visually more appealing. Because I am not really fond of the white
background of my tree views, I thought I'd applly a subtle gradient to them
using a style sheet. This works very well.
However, if you turn on QTreeView's animation, it turns out that Qt is not
drawing the background beneath the item that is currently expanded but
instead used a white background. Instead of the animation making the tree
look more smooth, it makes it look really ugly because you get a half-white
background during the animation.
Is this intended behaviour? Is there a way to work around this?
Yours,
André
--
[ signature omitted ]