import QtQuick 1.1
-import com.nokia.meego 1.0
+import com.nokia.meego 1.1
import "uiconstants.js" as UiConstants
Page {
tools: ToolBarLayout {
id: toolBar
- ToolIcon { iconId: "icon-m-toolbar-back"; onClicked: pageStack.pop(); }
+ ToolIcon {
+ iconId: "icon-m-toolbar-back" + (theme.inverted ? "-white": "")
+ onClicked: pageStack.pop()
+ }
}
PageHeader {
id: header
anchors.top: parent.top
selectedIndex: settings.showArrivalsPreferred ? 1 : 0
- options: ListModel {
- id: dialogOptions
- ListElement {
- name: QT_TR_NOOP("About Quando Parte")
- }
- }
+ options: [
+ qsTr("About Quando Parte")
+ ]
}
- Label {
+ Flickable {
anchors {
top: header.bottom;
left: parent.left;
right: parent.right;
- margins: UiConstants.DefaultMargins
+ margins: UiConstants.DefaultMargin
+ }
+ Label {
+ anchors {
+ top: parent.top;
+ left: parent.left;
+ right: parent.right;
+ margins: UiConstants.DefaultMargin
+ }
+ wrapMode: Text.WordWrap
+ textFormat: Text.RichText
+ text: qsTr("<h2><a href='http://quandoparte.garage.maemo.org'>" +
+ "Quando Parte" + "</a></h2>" +"<p style='font-size:small;'>version ") +
+ settings.versionString +
+ qsTr("</p>" +
+ "<p>Copyright (c) 2010, 2011, 2012, 2013</p>" +
+ "<p>Luciano Montanaro " +
+ "(<a href='mailto:mikelima@cirulla.net'>mikelima@cirulla.net</a>)</p>" +
+ "<p>Licensed under the GNU Public License v2 or above</p>" +
+ "<p/><p>Station geolocation data from " +
+ "<a href='http://www.openstreetmap.org'>OpenStreetMap</a></p>" +
+ "<p>Realtime train data from " +
+ "<a href='http://mobile.viaggiatreno.it'>Viaggiatreno</a></p>");
+ onLinkActivated: Qt.openUrlExternally(link)
+ }
+ LabelStyle {
+ id: labelStyle
}
- text: qsTr("<h2><a href='http://quandoparte.garage.maemo.org'>" +
- "Quando Parte" + "</a></h2>" +"<p style='font-size:small;'>version " + "0.4.80" +
- "</p>" +
- "<p>Copyright (c) 2010, 2011</p>" +
- "<p>Luciano Montanaro (<a href='mailto:mikelima@cirulla.net'>mikelima@cirulla.net</a>)</p>" +
- "<p>Licensed under the GNU Public License v2 or above</p>" +
- "<p/><p>Station geolocation data from " +
- "<a href='http://www.openstreetmap.org'>OpenStreetMap</a></p>" +
- "<p>Realtime train data from " +
- "<a href='http://mobile.viaggiatreno.it'>Viaggiatreno</a></p>");
- }
- LabelStyle {
- id: labelStyle
}
}