aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qml/pages/AboutPage.qml31
-rw-r--r--qml/pages/SelectQuantityPage.qml11
2 files changed, 37 insertions, 5 deletions
diff --git a/qml/pages/AboutPage.qml b/qml/pages/AboutPage.qml
new file mode 100644
index 0000000..0810846
--- /dev/null
+++ b/qml/pages/AboutPage.qml
@@ -0,0 +1,31 @@
+import QtQuick 2.0
+import Sailfish.Silica 1.0
+import "helpers.js" as H
+
+Page {
+ id: page
+
+ SilicaFlickable {
+ anchors.fill: parent
+
+ Column {
+ width: parent.width
+ spacing: Theme.paddingLarge
+
+ PageHeader {
+ title: "About"
+ }
+
+ TextArea {
+ readOnly: true
+ width: parent.width
+ horizontalAlignment: TextEdit.AlignHCenter
+ text: "Unit Master\nCopyright 2013 Oskari Timperi\n\nThe
+application icon is derived from the Meanicons Icon Set\n(http://www.meanicons.com/)."
+ }
+ }
+
+ }
+}
+
+
diff --git a/qml/pages/SelectQuantityPage.qml b/qml/pages/SelectQuantityPage.qml
index b39f08a..4e1456d 100644
--- a/qml/pages/SelectQuantityPage.qml
+++ b/qml/pages/SelectQuantityPage.qml
@@ -34,11 +34,12 @@ Page {
}
VerticalScrollDecorator {}
-// PullDownMenu {
-// MenuItem {
-// text: "About"
-// }
-// }
+ PullDownMenu {
+ MenuItem {
+ text: "About"
+ onClicked: pageStack.push(Qt.resolvedUrl("AboutPage.qml"))
+ }
+ }
}
}