@Joel-Bodenmann said:

How can I make this work with my own delegates?

each index can max only have 1 delegate. Thus you need to merge the code into your own delegate.
Since you also receive a QModelIndex in the most methods of the delegate you need to check the column there.