Re: [PyQt] QTreeWidget/View: reimplementing drawTree()

2011-04-01 Thread Phil Thompson
On Fri, 1 Apr 2011 09:59:50 -0700 (PDT), James Polk wrote: > Hi Phil,...thanks for your email.. > > mmm,..how'bout drawBranch()...is that re-implementable? > > To explain a bit more,...the problem I'm having is that the "tree > lines/branches" > that display in the Tree view are taking the color

[PyQt] QTreeWidget/View: reimplementing drawTree()

2011-04-01 Thread James Polk
del/view items, (Kudos to Pete ;-) it doesn't appear such a delegate is able to handle the actual line tree/branches Any thoughts? Thanks! -Jim --- On Fri, 4/1/11, Phil Thompson wrote: From: Phil Thompson Subject: Re: [PyQt] QTreeWidget/View: reimplementing drawTre

Re: [PyQt] QTreeWidget/View: reimplementing drawTree()

2011-04-01 Thread Phil Thompson
On Thu, 31 Mar 2011 16:09:16 -0700 (PDT), James Polk wrote: > I need to change/assign a unique color to the tree and branches of a > QTreeWidget. > It appears I need to reimplement the drawTree() function.  While I've > implemented > a treeview delegate before, this is unique enough (at least to m

[PyQt] QTreeWidget/View: reimplementing drawTree()

2011-03-31 Thread James Polk
I need to change/assign a unique color to the tree and branches of a QTreeWidget. It appears I need to reimplement the drawTree() function.  While I've implemented a treeview delegate before, this is unique enough (at least to me) to have me a but stumped on syntax.  I've searched high and low f