Hi,
I have need to reference an item (for dynamic creation of an object) and a
model (for that items contents) from a ListElement.
When I try and add a property that isn't a basic QML type, it tells me 'no way
Jose'.
Is there a recommended way of doing something like this?
Component {
id: locationPref
RadioGroup {
}
}
ListModel {
id: locations
ListElement { name: "home" }
ListElement { name: "mars" }
ListElement { name: "europe" }
ListElement { name: "next door" }
}
ListModel {
id: filteritems
ListElement { name: "location"; selected: false; model: locations;
delegate: locationPref }
}
Again, apologies for the colors.
Alan
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-qml