Ok, You have to use QtQuick `ListView` type for list in that order and `Image` type of placing image before the list.
Here’s the general code:
Rectangle {
ListModel {
id : newModel
ListElement {name: "TextMate"}
ListElement {name: "TextMate"}
ListElement {name: "Activity Monitor"}
}
Component {
id: newDelegate
Text {
// Define text property
}
}
ListView {
model: newModel
delegate: newDelegate // It refers to delegate above
width: parent.width
height: parent.height
}
}
↧