Florian, actually the qmlRegisterExtendedType works on Flickable, you don't need to provide any additional property. See Image extension you provided for scaling images in toolkit :)
The problem is, that even if you extend Flickable, it won't get to ListView or GridView. using the parameterless qmlRegisterExtendedType function nothing will work, and using the (uri, major, minot, qmlName) works only if qmlName is set to Flickable, doesn't work if set to QQuickFlickable. More, you can extend only types which are exported from QtQuick privates, i.e. we cannot extend QQuickListView or the intermediate QQuickItemView class, neither of those have export declspecs.
I'll dig in further, maybe I find a better approach for the problem. Otherwise we have to provide separate UbuntuXXXX types for all. We have UbuntuListView, so we'd need UbuntuFlickable and UbuntuGridView. Also UbuntuPathView would be needed.
Florian, actually the qmlRegisterExte ndedType works on Flickable, you don't need to provide any additional property. See Image extension you provided for scaling images in toolkit :)
The problem is, that even if you extend Flickable, it won't get to ListView or GridView. using the parameterless qmlRegisterExte ndedType function nothing will work, and using the (uri, major, minot, qmlName) works only if qmlName is set to Flickable, doesn't work if set to QQuickFlickable. More, you can extend only types which are exported from QtQuick privates, i.e. we cannot extend QQuickListView or the intermediate QQuickItemView class, neither of those have export declspecs.
I'll dig in further, maybe I find a better approach for the problem. Otherwise we have to provide separate UbuntuXXXX types for all. We have UbuntuListView, so we'd need UbuntuFlickable and UbuntuGridView. Also UbuntuPathView would be needed.