Subject: Re: QTreeView setFirstColumnSpanned?

Linus Torvalds torvalds at linux-foundation.org
Tue Jun 11 12:51:05 PDT 2013


On Tue, Jun 11, 2013 at 12:48 PM, Amit Chaudhuri
<amit.k.chaudhuri at gmail.com> 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


More information about the subsurface mailing list