aboutsummaryrefslogtreecommitdiff
path: root/qml/pages/SelectQuantityPage.qml
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2013-12-07 17:33:25 +0200
committerOskari Timperi <oskari.timperi@iki.fi>2013-12-07 17:33:25 +0200
commitef5baad9ff47cfe32bb4f97368e0b3148765caa6 (patch)
tree87d59ecc69e7981489e16aeed62115b4a4927223 /qml/pages/SelectQuantityPage.qml
parent3aeb00f43988ae607082cdabe124b9d5e123e33c (diff)
downloadunitmaster-ef5baad9ff47cfe32bb4f97368e0b3148765caa6.tar.gz
unitmaster-ef5baad9ff47cfe32bb4f97368e0b3148765caa6.zip
shuffle stuff around and add directory for tests
Diffstat (limited to 'qml/pages/SelectQuantityPage.qml')
-rw-r--r--qml/pages/SelectQuantityPage.qml46
1 files changed, 0 insertions, 46 deletions
diff --git a/qml/pages/SelectQuantityPage.qml b/qml/pages/SelectQuantityPage.qml
deleted file mode 100644
index 4e1456d..0000000
--- a/qml/pages/SelectQuantityPage.qml
+++ /dev/null
@@ -1,46 +0,0 @@
-import QtQuick 2.0
-import Sailfish.Silica 1.0
-import "helpers.js" as H
-
-Page {
- id: page
-
- QuantityModel {
- id: quantityModel
- }
-
- SilicaListView {
- anchors.fill: parent
- model: quantityModel
- spacing: Theme.paddingLarge
- delegate: BackgroundItem {
- width: ListView.view.width
- Label {
- x: Theme.paddingLarge
- text: H.capitalize(title)
- anchors.verticalCenter: parent.verticalCenter
- }
- onClicked: {
- var props = {
- "first": true,
- "modelFilename": model,
- "quantityName": title
- };
- pageStack.push(Qt.resolvedUrl("QuantityPage.qml"), props);
- }
- }
- header: PageHeader {
- title: "Quantity"
- }
- VerticalScrollDecorator {}
-
- PullDownMenu {
- MenuItem {
- text: "About"
- onClicked: pageStack.push(Qt.resolvedUrl("AboutPage.qml"))
- }
- }
- }
-}
-
-