Not widget, but item - yes.
You only paint the inactive state. In the editing state the delegate returns a real widget.Do I have to paint my icons, text labels, editor fields ?
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?There must be an way, instead "manually painting" the widgets, or ?
Why should the model care about the span? It's just a set of data.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?
Bookmarks