Quote Originally Posted by starcontrol View Post
So I have to implement the delegates paint() function to render my widget ?
Not widget, but item - yes.

Do I have to paint my icons, text labels, editor fields ?
You only paint the inactive state. In the editing state the delegate returns a real widget.

There must be an way, instead "manually painting" the widgets, or ?
I think you have to define what you mean by "widget". Icon is not a widget. Text is not a widget. So, what is a widget according to your definition?

I have to create spans inside my table view, these spans will have to contain what I described before. The QTableView has an method setSpan(), but how can I check in my custom view from my custom model, where it has to paint the spans?
Why should the model care about the span? It's just a set of data.