Delegate troubles



  • Hi everyone,

    I am unable to properly implement my own custom MVC pattern. Please find a full description of the problem here:

    Click!

    Thanks in advance for any help 😊



  • First suspect: the model.

    Whenever you reimplement QAbstractItemModel you should run it through the model test.
    The first thing that pops up is that parent() always returns a valid index making it an infinite depth tree


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.