* Edit post
* Delete post
* Report this post
* Reply with quote
QT: editable tableview header issue.
Postby Raschko » Sun Feb 27, 2011 12:11 pm
For clarity: python 2.7 + PySide bindings.
Delving into modelview programming became complicated after seeing few explanations of the structure involving an editable model; Perusing through forums, source and documentation is only leading me so far.
My issue currently is trying to edit a tableview header (subclass) entry using a custom delegate.
I've seen implementations using an mousedoubleclicked event, which seems to be a good start.
However, understanding is null in regards to a models "index" function, let alone QModelindex.
Could anyone shed some light on index / createIndex?
* aside from the text mention in the docs of course*
Thank you.
Bookmarks