Turn View into a QObject
That way we can use it directly from QML. Still needs the relevant parts exported as properties/invokables though.