From d83fbc52dfbab3b5c3d572deb929d3c6792719db Mon Sep 17 00:00:00 2001 From: lurchi Date: Mon, 6 Feb 2017 16:09:59 +0100 Subject: remove qml-material --- .../third_party/qml-material/demo/FormsDemo.qml | 142 --------------------- 1 file changed, 142 deletions(-) delete mode 100644 prototype_2016/third_party/qml-material/demo/FormsDemo.qml (limited to 'prototype_2016/third_party/qml-material/demo/FormsDemo.qml') diff --git a/prototype_2016/third_party/qml-material/demo/FormsDemo.qml b/prototype_2016/third_party/qml-material/demo/FormsDemo.qml deleted file mode 100644 index 4a764c8..0000000 --- a/prototype_2016/third_party/qml-material/demo/FormsDemo.qml +++ /dev/null @@ -1,142 +0,0 @@ -import QtQuick 2.4 -import QtQuick.Layouts 1.1 -import Material 0.2 -import Material.ListItems 0.1 as ListItem -import Material.Extras 0.1 - -Item { - View { - anchors.centerIn: parent - - width: dp(350) - height: column.implicitHeight + dp(32) - - elevation: 1 - radius: dp(2) - - ColumnLayout { - id: column - - anchors { - fill: parent - topMargin: dp(16) - bottomMargin: dp(16) - } - - Label { - id: titleLabel - - anchors { - left: parent.left - right: parent.right - margins: dp(16) - } - - style: "title" - text: "Edit shipping info" - } - - Item { - Layout.fillWidth: true - Layout.preferredHeight: dp(8) - } - - ListItem.Standard { - action: Icon { - anchors.centerIn: parent - name: "action/account_circle" - } - - content: TextField { - anchors.centerIn: parent - width: parent.width - - text: "Alex Nelson" - } - } - - ListItem.Standard { - action: Icon { - anchors.centerIn: parent - name: "maps/place" - } - - content: TextField { - anchors.centerIn: parent - width: parent.width - - text: "100 Main Street" - } - } - - ListItem.Standard { - action: Item {} - - content: RowLayout { - anchors.centerIn: parent - width: parent.width - - TextField { - Layout.alignment: Qt.AlignVCenter - Layout.preferredWidth: 0.4 * parent.width - - text: "New York" - } - - MenuField { - Layout.alignment: Qt.AlignVCenter - Layout.preferredWidth: 0.2 * parent.width - - model: ["NY", "NC", "ND"] - } - - TextField { - Layout.alignment: Qt.AlignVCenter - Layout.preferredWidth: 0.3 * parent.width - - text: "10011" - } - } - } - - ListItem.Standard { - action: Icon { - anchors.centerIn: parent - name: "communication/email" - } - - content: TextField { - anchors.centerIn: parent - width: parent.width - - placeholderText: "Email" - } - } - - Item { - Layout.fillWidth: true - Layout.preferredHeight: dp(8) - } - - RowLayout { - Layout.alignment: Qt.AlignRight - spacing: dp(8) - - anchors { - right: parent.right - margins: dp(16) - } - - Button { - text: "Cancel" - textColor: Theme.primaryColor - } - - Button { - text: "Done" - textColor: Theme.primaryColor - } - } - } - } -} -- cgit v1.2.3