[Interest] How to provide a component to a QML item?
Jason H
jhihn at gmx.com
Tue Dec 20 01:30:31 CET 2016
I've got a situation where I have a variety of items ("screens" in a stackView) where they have a similar structure, but the content differs.
Example:
Screen {
Column {
StandardScreenContent { }
ScreenSpecificContent{ }
}
}
But I'd like to do it like:
StandardScreenWithSpecificContent {
/* implied StandardScreenContent */
delegate: {
Column {
/* screen specific content*/
}
}
}
This is a limited example, so it may not make a lot of sense in this context but I think that illustrates my intent. How can I accomplish it?
More information about the Interest
mailing list