Subject: Re: QTreeView setFirstColumnSpanned?

Tomaz Canabrava tcanabrava at
Tue Jun 11 13:42:53 PDT 2013

On Tue, Jun 11, 2013 at 5:41 PM, Tomaz Canabrava <tcanabrava at> wrote:
> On Tue, Jun 11, 2013 at 4:51 PM, Linus Torvalds
> <torvalds at> wrote:
>> On Tue, Jun 11, 2013 at 12:48 PM, Amit Chaudhuri
>> <amit.k.chaudhuri at> wrote:
>>> So, I think we can customise the text (etc.) in a given row, through a
>>> simple custom delegate class, as long as we can specify "this row - index X
>>> - is a trip row"
>> .. but if we could do that, then we wouldn't need to play any games to
>> begin with, because we could just use setFirstColumnSpanned().
>> The problem is exactly that the "trip row" is a property of the
>> *model*, not of the QTreeView.
>>                    Linus
> but we can test if index has children, if it does, trip.


I'm sorry I didn't had the time to look at this yet - I'm working like
crazy to implement a kick-ass Profile Planner with real time editing
on the canvas. I'll try to dig that as soon as I'm finished.


More information about the subsurface mailing list