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: +
+
    +
  1. Remember two numbers: how many pedalos you overtake, and how many pedalos overtake you.
  2. +
  3. Don't count any overtakes that happen when you're at a junction, or slowing down for a junction.
  4. +
  5. Only count overtakes with pedalos that are travelling on the same route and in the same direction as you.
  6. +
  7. If you overtake a pedalo and add one to your overtakees value, but they then overtake you back, subtract it from your overtakees value, rather than adding it to your overtakers value.
  8. +
  9. Similarly if it happens the other way around.
  10. +
+
+The master rule is that, whatever approach you use, be consistent and apply the same rules in the same way for people you overtake as you do for people who overtake you. +
+
+Stay safe and cycle considerately! +" + } + } + } + + +} + +