Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Exposing model to a loaded component
Lammonaaf last edited by Lammonaaf
Let's say we have a ListModel (or any other valid model) with some elements. Text role of such model is exposed to a comboBox, alowing to select one item at a time. Now I'm struggling to implement a component which will display (and allow modification) of a selected model element. The key requirement here is to receive update signals but it would be great to be able just assign new values to model's properties, just like within a ListView. The solution with filtered (one item at a time) ListView works, but is pretty ugly. Is there any "single item view" or how can I implement my own?