changeset 33 | 3e2da88830cd |
parent 30 | 5dc02b23752f |
--- a/examples/declarative/ui-components/spinner/main.qml Tue Jul 06 15:10:48 2010 +0300 +++ b/examples/declarative/ui-components/spinner/main.qml Wed Aug 18 10:37:55 2010 +0300 @@ -43,8 +43,10 @@ Rectangle { width: 240; height: 320 + Column { y: 20; x: 20; spacing: 20 + Spinner { id: spinner width: 200; height: 240 @@ -53,6 +55,7 @@ itemHeight: 30 delegate: Text { font.pixelSize: 25; text: index; height: 30 } } + Text { text: "Current item index: " + spinner.currentIndex } } }