X-Git-Url: https://www.flypig.org.uk/git/?p=harbour-pedalo.git;a=blobdiff_plain;f=qml%2Fpages%2FTheRules.qml;fp=qml%2Fpages%2FTheRules.qml;h=8a5cdc25d00a887c2d2f5a5dc619bbc8cdffb8ff;hp=0000000000000000000000000000000000000000;hb=ac8b7885c6787ad72b5cf8d422c8e5c8ec0e18fb;hpb=cb84c4b2580c93fc4dbe6361f3cc1034f7bad431
diff --git a/qml/pages/TheRules.qml b/qml/pages/TheRules.qml
new file mode 100644
index 0000000..8a5cdc2
--- /dev/null
+++ b/qml/pages/TheRules.qml
@@ -0,0 +1,63 @@
+import QtQuick 2.0
+import Sailfish.Silica 1.0
+
+Page {
+ id: rulesPage
+
+ // The effective value will be restricted by ApplicationWindow.allowedOrientations
+ allowedOrientations: Orientation.All
+
+ VerticalScrollDecorator {}
+
+ SilicaFlickable {
+ anchors.fill: parent
+ contentHeight: rulesColumn.height + Theme.paddingLarge
+ flickableDirection: Flickable.VerticalFlick
+
+ Column {
+ id: rulesColumn
+ width: parent.width - 2 * Theme.horizontalPageMargin
+ anchors.horizontalCenter: parent.horizontalCenter
+
+ PageHeader {
+ id: headerItem
+ title: qsTr("The Pedalo Rules")
+ }
+
+ Label {
+ id: rulestext
+ width: parent.width
+ wrapMode: Text.WrapAtWordBoundaryOrAnywhere
+ textFormat: TextEdit.RichText
+ horizontalAlignment: Text.AlignLeft
+ font.pixelSize: Theme.fontSizeSmall
+ text: "
+To get an accurate reflection of your relative speed, it's important to follow some common-sense rules.
+
+
+On each journey keep a mental note of how many pedalos you overtake (overtakees), and how many other pedalos overtake you (overtakers). Enter these numbers in the app at the end of your journey.
+
+
+To keep track of these numbers in a sensible way:
+
+