Subject: Re: QTreeView setFirstColumnSpanned?
amit.k.chaudhuri at gmail.com
Tue Jun 11 10:51:01 PDT 2013
No please don't use as is - I may discover my ideas don't work as hoped, or
as Linus says, perhaps there's a much better way.
On Tue, Jun 11, 2013 at 2:45 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the subsurface