Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ListView {
- id: list_view
- anchors.fill: parent
- model: productlist
- delegate:
- Rectangle{
- height: 20
- width: 200
- color: "#CCCCCC"
- Text {
- text: "stub" //list_view.currentItem.data.display_name
- }
- }
- Component.onCompleted: {
- console.log("qml:");
- for(var propertyName in productlist) {
- console.log("productlist["+propertyName+"]: "+productlist[propertyName]);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement