Add Pedalo Rules for viewing in the app
[harbour-pedalo.git] / qml / pages / TheRules.qml
1 import QtQuick 2.0
2 import Sailfish.Silica 1.0
3
4 Page {
5     id: rulesPage
6
7     // The effective value will be restricted by ApplicationWindow.allowedOrientations
8     allowedOrientations: Orientation.All
9
10     VerticalScrollDecorator {}
11
12     SilicaFlickable {
13         anchors.fill: parent
14         contentHeight: rulesColumn.height + Theme.paddingLarge
15         flickableDirection: Flickable.VerticalFlick
16
17         Column {
18             id: rulesColumn
19             width: parent.width - 2 * Theme.horizontalPageMargin
20             anchors.horizontalCenter: parent.horizontalCenter
21
22             PageHeader {
23                 id: headerItem
24                 title: qsTr("The Pedalo Rules")
25             }
26
27             Label {
28                 id: rulestext
29                 width: parent.width
30                 wrapMode: Text.WrapAtWordBoundaryOrAnywhere
31                 textFormat: TextEdit.RichText
32                 horizontalAlignment: Text.AlignLeft
33                 font.pixelSize: Theme.fontSizeSmall
34                 text: "
35 To get an accurate reflection of your relative speed, it's important to follow some common-sense rules.
36 <br/>
37 <br/>
38 On each journey keep a mental note of how many pedalos you overtake (<i>overtakees</i>), and how many other pedalos overtake you (<i>overtakers</i>). Enter these numbers in the app at the end of your journey.
39 <br/>
40 <br/>
41 To keep track of these numbers in a sensible way:
42 <br/>
43 <ol>
44 <li>Remember two numbers: how many pedalos you overtake, and how many pedalos overtake you.</li>
45 <li>Don't count any overtakes that happen when you're at a junction, or slowing down for a junction.</li>
46 <li>Only count overtakes with pedalos that are travelling on the same route and in the same direction as you.</li>
47 <li>If you overtake a pedalo and add one to your <i>overtakees</i> value, but they then overtake you back, subtract it from your <i>overtakees</i> value, rather than adding it to your <i>overtakers<i> value.</li>
48 <li>Similarly if it happens the other way around.</li>
49 </ol>
50 <br/>
51 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.
52 <br/>
53 <br/>
54 Stay safe and cycle considerately!
55 "
56             }
57         }
58     }
59
60
61 }
62
63