Bumped cpatch level, entering Beta
[quandoparte] / application / resources / harmattan / qml / AboutPage.qml
1 import QtQuick 1.1
2 import com.nokia.meego 1.0
3 import "uiconstants.js" as UiConstants
4
5 Page {
6     anchors.fill: parent
7
8     tools: ToolBarLayout {
9         id: toolBar
10         ToolIcon { iconId: "icon-m-toolbar-back"; onClicked: pageStack.pop(); }
11     }
12     PageHeader {
13         id: header
14         anchors.top: parent.top
15         selectedIndex: settings.showArrivalsPreferred ? 1 : 0
16         options: ListModel {
17             id: dialogOptions
18             ListElement {
19                 name: QT_TR_NOOP("About Quando Parte")
20             }
21         }
22     }
23     Label {
24         anchors {
25             top: header.bottom;
26             left: parent.left;
27             right: parent.right;
28             margins: UiConstants.DefaultMargin
29         }
30         text: qsTr("<h2><a href='http://quandoparte.garage.maemo.org'>" +
31                    "Quando Parte" + "</a></h2>" +"<p style='font-size:small;'>version " + settings.versionString +
32                    "</p>" +
33                    "<p>Copyright (c) 2010, 2011</p>" +
34                    "<p>Luciano Montanaro (<a href='mailto:mikelima@cirulla.net'>mikelima@cirulla.net</a>)</p>" +
35                    "<p>Licensed under the GNU Public License v2 or above</p>" +
36                    "<p/><p>Station geolocation data from " +
37                    "<a href='http://www.openstreetmap.org'>OpenStreetMap</a></p>" +
38                    "<p>Realtime train data from " +
39                    "<a href='http://mobile.viaggiatreno.it'>Viaggiatreno</a></p>");
40         onLinkActivated: Qt.openUrlExternally(link)
41     }
42     LabelStyle {
43         id: labelStyle
44     }
45  }