Hi, here is my qml code...please help me...
Component{
id:slidesdelegate
Item {
id: sdelegate
height: scolumn.height +10
width: sdelegate.ListView.view.width
Column{
id:scolumn
width: parent.width-40;
Text {
id: description
text: model.title
}
Rectangle {
id:viewimages
height: 20
width: 70
color: "#000000"
Text {
id: backtext
text: "View Images"
color: "#ffffff"
}
MouseArea {
id:view
anchors.fill: parent
onClicked: {
slidesView.viewImagesClicked(index);
}
}
}
ListView {
id: insidelist
model: insidemodel
delegate: Text {
id: insidetext
text: name
}
}
}
Rectangle {
width: parent.width; height: 2; color: "#000000"
anchors.bottom: slidesdelegate.bottom
}
}
}
Bookmarks