Like this:
property Component baseDelegate: Item {
}
property Component textDelegate: baseDelegate {
}
property Component imageDelegate: baseDelegate {
}
.....
Currently it doesn't work, but maybe there are some tricks to achieve
behaviour like this without moving baseDelegate to 'BaseDelegate.qml'.
And yes, I'm aware of composition, but the question is about
inheritance.
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest