That's because those widgets are not related to the model in any way.
You can render the looks of spinbox into the cell using QStyle API.Another way to solve this problem is to use "setItemDelegate" method and using spinBox
as a delegate. What I don't like here is that when you click in a cell, your widget
will become visible and as soon as cell lost it's focus, delegate widgets become invisible.
Is there a any way I keep the the widget visible all the time and delegate technique?
Bookmarks