diff options
Diffstat (limited to 'rockwork/SettingsPage.qml')
| -rw-r--r-- | rockwork/SettingsPage.qml | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/rockwork/SettingsPage.qml b/rockwork/SettingsPage.qml deleted file mode 100644 index 153aaf4..0000000 --- a/rockwork/SettingsPage.qml +++ /dev/null @@ -1,80 +0,0 @@ -import QtQuick 2.4 -import QtQuick.Layouts 1.1 -import Ubuntu.Components 1.3 -import Ubuntu.Components.ListItems 1.3 - -Page { - id: root - title: i18n.tr("Settings") - - property var pebble: null - - ColumnLayout { - anchors.fill: parent - anchors.margins: units.gu(1) - spacing: units.gu(1) - - Label { - Layout.fillWidth: true - text: i18n.tr("Distance Units") - font.bold: true - } - - RowLayout { - Layout.fillWidth: true - CheckBox { - id: metricUnitsCheckbox - checked: !root.pebble.imperialUnits - onClicked: { - checked = true - root.pebble.imperialUnits = false; - imperialUnitsCheckBox.checked = false; - } - } - Label { - text: i18n.tr("Metric") - Layout.fillWidth: true - } - CheckBox { - id: imperialUnitsCheckBox - checked: root.pebble.imperialUnits - onClicked: { - checked = true - root.pebble.imperialUnits = true; - metricUnitsCheckbox.checked = false; - } - } - Label { - text: i18n.tr("Imperial") - Layout.fillWidth: true - } - } - ThinDivider {} - - Label { - text: i18n.tr("Calendar") - Layout.fillWidth: true - font.bold: true - } - RowLayout { - Layout.fillWidth: true - Label { - text: i18n.tr("Sync calendar to timeline") - Layout.fillWidth: true - } - Switch { - checked: root.pebble.calendarSyncEnabled - onClicked: { - root.pebble.calendarSyncEnabled = checked; - } - } - } - ThinDivider {} - - Item { - Layout.fillWidth: true - Layout.fillHeight: true - } - } -} - |
