How can I access QSortFilterProxyModel elements in QML outside of a ListView
<p>I have a <code>QSortFilterProxyModel</code> which is accessible from my QML code. I am using it in a <code>ListView</code> in my QML code, but I also would like to access the first element of it outside of my <code>ListView</code>.</p>

<p>Let's say I call my <code>QSortFilterProxyModel</code> <code>sortedObjects</code>. In the <code>ListView</code> I just pass it to the <code>model</code> property, like <code>model: sortedObjects</code> and then in the <code>delegate</code> property I can access it's roles, by the specified role names. How can I do this outside of a <code>ListView</code>? Something like <code>sortedObjects[0].someRoleName</code>.</p>