~ubuntu-branches/ubuntu/precise/navit/precise

« back to all changes in this revision

Viewing changes to navit/gui/qml/skins/navit/PagePoi.qml

  • Committer: Bazaar Package Importer
  • Author(s): Gilles Filippini
  • Date: 2010-07-27 22:36:40 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100727223640-jlgmnnwtx2siv1pr
Tags: 0.2.0~svn3501+dfsg.1-1
* New upstream snapshot:
  + Support for autoloaded plugins
  + Many memory leaks fixed
* Refresh patches

* New patch path_max to try fixing the FTBFS on hurd-i386. 

* debian/control: bumped Standards-Version to 3.9.1 (no change needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import Qt 4.6
 
1
import Qt 4.7
 
2
import "pagenavigation.js" as Navit
2
3
 
3
4
Rectangle {
4
5
    id: page
66
67
    
67
68
    Component.onCompleted: pageOpen();    
68
69
    
69
 
    opacity: Behavior {
 
70
    Behavior on opacity {
70
71
        NumberAnimation { id: opacityAnimation; duration: 300; alwaysRunToEnd: true }
71
72
    }
72
73
 
122
123
                 Text { id: txtItemDist; text: itemDistance; color: "White"; anchors.leftMargin: 5; anchors.left: txtItemName.right;anchors.top: txtItemName.top }
123
124
                 Text { id: txtItemDirect; text: itemDirection; color: "White"; anchors.leftMargin: 5; anchors.left: txtItemDist.right;anchors.top: txtItemDist.top }
124
125
             }
125
 
             MouseRegion {
 
126
             MouseArea {
126
127
                        id:delegateMouse
127
128
                        anchors.fill: parent
128
 
                        onClicked: { point.setNewPoint(itemValue); gui.returnSource="/main.qml"; gui.setPage("PageNavigate.qml"); }
 
129
                        onClicked: { point.setNewPoint(itemValue); gui.returnSource="/main.qml"; Navit.load("PageNavigate.qml"); }
129
130
             }
130
131
         }
131
132
     }
140
141
    ListSelector { 
141
142
        id:layoutList; text: ""
142
143
        anchors.top: distanceSlider.bottom;
143
 
        anchors.left: parent.left; anchors.leftMargin: 3
 
144
        anchors.left: parent.left;
144
145
        anchors.topMargin: gui.height/16; anchors.leftMargin: gui.width/32
145
146
        width: page.width; height: page.height*0.25
146
147
    }