+++ /dev/null
-import Qt 4.7
-
-ListView {
- anchors.fill: parent
- anchors.margins: 5
- spacing: 5
- focus: true
-}
-// Component {
-// id: friendListDelegate_
-
-// Rectangle {
-// id: listItem
-// width: parent.width
-// height: col.height + 8
-//// color: listItem.ListView.isCurrentItem ? "red" : "lightsteelblue"
-// color: "lightsteelblue"
-// radius: 10
-// border { color: "black"; width: 2 }
-// clip: true
-
-// MouseArea {
-// anchors.fill: parent
-// onClicked: listItem.state == 'expanded' ? listItem.state = '' : listItem.state = 'expanded'
-// }
-
-// Image {
-// id: image
-// source: imageUrl
-// anchors.top: parent.top
-// anchors.topMargin: 5
-// anchors.left: parent.left
-// anchors.leftMargin: 7
-// }
-
-// Column {
-// id: col
-// x: image.x + image.width + 7
-// width: parent.width - x - 7
-// y: 3
-// Text { text: '<b>' + name + '</b> ' }
-// Text {
-// id: msg;
-// text: message;
-// font.pixelSize: 16;
-// clip: true;
-// elide: Text.ElideRight
-// anchors.left: parent.left;
-// anchors.right: parent.right}
-// }
-
-// states: [
-// State {
-// name: "expanded"
-// PropertyChanges {
-// target: msg
-// wrapMode: Text.Wrap
-// elide: Text.ElideNone
-// }
-// }
-// ]
-
-// transitions: [
-// Transition {
-// from: ""
-// to: "expanded"
-// NumberAnimation { properties: "height"; duration: 100 }
-// reversible: true
-// }
-// ]
-// }
-// }
-
}
}
}
-
- ListView {
+ Item {
anchors { left: parent.left; right: parent.right; top: routeTo.bottom; bottom: parent.bottom }
-
- anchors.margins: 5
- spacing: 5
-
- model: routingModel
- delegate: RoutingDelegate {}
- focus: true
- clip: true
+ ListBase {
+ model: routingModel
+ delegate: RoutingDelegate {}
+ }
}
+
// states: [
// State {
// name: "potrait"
<file>res/friends/jussi.jpg</file>
<file>res/friends/katri.jpg</file>
<file>res/friends/pekka.jpg</file>
- <file>List.qml</file>
<file>Map.qml</file>
<file>res/gps_position.png</file>
<file>res/gps_position_dir.png</file>
<file>ProfileView.qml</file>
<file>RoutingView.qml</file>
<file>LocationsView.qml</file>
+ <file>ListBase.qml</file>
</qresource>
</RCC>