I am developing a Qt / QML based application that uses global configuration profiles, which can be saved and loaded by the user. Almost all screens are affected by the currently selected configuration profile.
I doubt how to conceive this in Qt / QML. Should I implement this in the model, possibly by creating an "itemSelected" property and some methods to read it and edit it? Should I just keep an index reference in QML? What is considered good practice in this case?