1 // This example demonstrates how item positioning
2 // changes in right-to-left layout direction
13 objectName: "itemModel"
16 height: view.height; width: 100; color: "#FFFEF0"
17 Text { objectName: "text1"; text: "index: " + parent.VisualItemModel.index; font.bold: true; anchors.centerIn: parent }
21 height: view.height; width: 200; color: "#F0FFF7"
22 Text { objectName: "text2"; text: "index: " + parent.VisualItemModel.index; font.bold: true; anchors.centerIn: parent }
26 height: view.height; width: 240; color: "#F4F0FF"
27 Text { objectName: "text3"; text: "index: " + parent.VisualItemModel.index; font.bold: true; anchors.centerIn: parent }
35 anchors.bottomMargin: 30
37 highlightRangeMode: "StrictlyEnforceRange"
38 orientation: ListView.Horizontal
39 flickDeceleration: 2000
40 layoutDirection: Qt.RightToLeft