Subject: Re: QTreeView setFirstColumnSpanned?

Dirk Hohndel dirk at hohndel.org
Tue Jun 11 06:45:01 PDT 2013


On Tue, 2013-06-11 at 08:13 +0100, Amit Chaudhuri wrote:
> Ok... tiny bit more progress in thinking if not in code.
> 
> 
> [And Linus - I see what you mean about drawRow]
> 
> 
> The actual painting probably gets done by a delegate (sub-class of
> QStyledItemDelegate probably). It is possible to set this in a row or
> column basis - row looks like what we need.
> 
> 
> That sub-class needs a paint method and maybe a private helper to
> compose our text and embellish it.
> 
> 
> I think we can use Linus' patch to get us to the right place and state
> to set up the relevant delegate.  I ought to have the delegate in
> place this evening UK time.  Anyone with time before then is welcome,
> as ever...

So you are saying I should apply Linus' patch as is and you'll clean up
from there?

/D




More information about the subsurface mailing list