I'm developing a Qt / QML based application that uses global configuration profiles, which the user can save and load. Almost all screens are affected by what is the currently selected configuration profile.
I have doubts about how to design this in Qt / QML. Should I implement this in the model, possibly creating an "itemSelected" property and then some methods to read and edit it? Should I simply maintain an index reference in QML? What is considered a good practice in this case?