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
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to