I've made a list displayed on Tab Page, its suppose display a Subtitled List Item: conversation (An item that displays Icon + Text), I've got a button that allows the user to change the text of that List item:
conversation.text : ""
however, whenever I'm using it, Qt displays an error stating that "conversation is not defined" when clearly I have defined it underneath, but for some reason the button is not being able to access or see it, so is there anyway to overcome this?
ListView {
id: conversationList
anchors.fill: parent
model: 1
delegate:
ListItem.Subtitled {
id: conversation
icon: Qt.resolvedUrl("avatar_contacts_list.png")
}
}
thankyou :)