Found a solution in this thread; add a clause to your model's data() routine that returns the item's data in editable form when called with a Qt::EditRole.
Found a solution in this thread; add a clause to your model's data() routine that returns the item's data in editable form when called with a Qt::EditRole.
fede (15th March 2011), jkrienert (14th March 2015), Meladi (4th June 2014), ZyntaxError (11th July 2013)
@SixDegrees:
Understandable that since this thread is old an answer to this request might go unspoken.
-Yet, do you have any example of the implementation you mentioned regarding the data() function in the model?
[currently experiencing a similar problem where the cell contents are deleted upon selection rather then inherently editable.
Bookmarks