first working showing post

This commit is contained in:
Jeena 2015-01-30 17:36:51 +01:00
parent 0405a8ba39
commit cc59671ff4
6 changed files with 22 additions and 7 deletions

View file

@ -4,7 +4,7 @@ Item {
property ListView listView
height: column.height + 10
width: listView.parent.width
width: parent.parent.parent.width
Rectangle {
anchors.fill: parent
@ -16,6 +16,7 @@ Item {
Column {
id: column
width: parent.width
Row {
spacing: 10
@ -51,7 +52,7 @@ Item {
MouseArea {
anchors.fill: parent
onClicked: {
listView.currentIndex = index
parent.parent.parent.currentIndex = index
}
}
}