If you only need it in the QML based UI it is probably indeed easier to just stick with the QVariantMap.

Otherwise you'll need to create a model, etc.

Cheers,
_