diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/CreateProfile.qml | 14 | ||||
-rw-r--r-- | pages/CreateProfileForm.ui.qml | 52 |
2 files changed, 66 insertions, 0 deletions
diff --git a/pages/CreateProfile.qml b/pages/CreateProfile.qml new file mode 100644 index 0000000..77c1742 --- /dev/null +++ b/pages/CreateProfile.qml @@ -0,0 +1,14 @@ +import QtQuick 2.12 +import id.co.darapsa.kelakon.user 0.1 +import id.co.darapsa.kelakon.rtclient 0.1 + +CreateProfileForm { + width: stackView.width + height: stackView.height + } +} + +/*##^## Designer { + D{i:0;autoSize:true;height:480;width:640} +} + ##^##*/ diff --git a/pages/CreateProfileForm.ui.qml b/pages/CreateProfileForm.ui.qml new file mode 100644 index 0000000..3a34d36 --- /dev/null +++ b/pages/CreateProfileForm.ui.qml @@ -0,0 +1,52 @@ +import QtQuick 2.12 +import QtQuick.Layouts 1.3 +import QtQuick.Controls 2.12 +import QtQuick.Controls.Material 2.12 + +Rectangle { + id: rectangle + color: "#fff" + + ToolBar { + height: 48 + anchors.top: parent.top + anchors.topMargin: 0 + anchors.right: parent.right + anchors.rightMargin: 0 + anchors.left: parent.left + anchors.leftMargin: 0 + background: rectangle + + Rectangle { + color: "#fff" + } + + RowLayout { + anchors.fill: parent + + ToolButton { + icon.name: "back-icon" + icon.source: "/assets/arrow-back-24px.svg" + icon.color: "transparent" + } + Label { + id: title + text: qsTr("Create Profile") + font.family: "Google Sans" + font.pointSize: 20 + elide: Label.ElideRight + horizontalAlignment: Qt.AlignHCenter + verticalAlignment: Qt.AlignVCenter + Layout.fillWidth: true + } + } + } +} + + + + +/*##^## Designer { + D{i:0;autoSize:true;height:480;width:640}D{i:1;anchors_width:640} +} + ##^##*/ |