Hello all, I hope you can help me with this.

The situation is as follows: I have two widgets, a listView and a tableView. Both have their own models (listmodel and tablemodel - the data is not really related).
The listView is based on a QStringList filled with options, the user can add and remove as well.
The tableview shows the content of a file. The headers of its columns should all be comboboxes, in which you select which option from the listView is applicable to the column beneath it.

Is there an elegant/proper way to set the listmodel as the model for my ComboboxDelegates? Or is there perhaps a way to have a third model for the ComboBoxDelegates which synchronizes with the listmodel in real time?

Any help is appreciated.