Wait a minute, I think I misunderstood the problem. You want to paint a single background image for the tree view, right? Then forget about drawRow() and custom delegate. How do you calculate imageLeftMargin and imageTopMargin?
Wait a minute, I think I misunderstood the problem. You want to paint a single background image for the tree view, right? Then forget about drawRow() and custom delegate. How do you calculate imageLeftMargin and imageTopMargin?
Last edited by jpn; 24th December 2008 at 14:29. Reason: updated contents
J-P Nurmi
Bookmarks