2
* uNav http://launchpad.net/unav
3
* Copyright (C) 2015-2016 Marcos Alvarez Costales https://launchpad.net/~costales
4
* This code is based on Podbird app code
6
* uNav is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 3 of the License, or
9
* (at your option) any later version.
11
* uNav is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
18
import Ubuntu.Components 1.3
29
bottom: introductionText.top
30
bottomMargin: units.gu(3)
31
horizontalCenter: parent.horizontalCenter
33
fillMode: Image.PreserveAspectFit
34
source: Qt.resolvedUrl("img/5.png")
39
anchors.centerIn: parent
40
elide: Text.ElideRight
43
text: i18n.tr("Simulate a route")
44
horizontalAlignment: Text.AlignHCenter
46
wrapMode: Text.WordWrap
52
top: introductionText.bottom
57
topMargin: units.gu(4)
59
wrapMode: Text.WordWrap
60
horizontalAlignment: Text.AlignHCenter
61
text: i18n.tr("Set an origin: Click on map and click on simulate icon\n\nSet a destination: Then, click on map and click the same icon again")
62
onLinkActivated: Qt.openUrlExternally(link)