raschko 0 Newbie Poster

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.