diff options
author | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-08-31 11:43:57 +0700 |
---|---|---|
committer | Anatasof Wirapraja <anatasof.wirapraja@gmail.com> | 2019-08-31 11:43:57 +0700 |
commit | ca698a94c93278d80bef3a93196f8289546b47da (patch) | |
tree | 3671e140f41d248c4c47b4b33a6e6b67870daed6 | |
parent | ad60582e10a261507a410f6ead189856d7b8cc2f (diff) |
add pages/CreateProfile
-rw-r--r-- | kelakon.qrc | 2 | ||||
-rw-r--r-- | pages/CreateProfile.qml | 14 | ||||
-rw-r--r-- | pages/CreateProfileForm.ui.qml | 52 |
3 files changed, 68 insertions, 0 deletions
diff --git a/kelakon.qrc b/kelakon.qrc index 2a691a0..aa1ace5 100644 --- a/kelakon.qrc +++ b/kelakon.qrc @@ -15,5 +15,7 @@ <file>pages/ExistingLoginForm.ui.qml</file> <file>pages/ConfirmPassword.qml</file> <file>pages/ConfirmPasswordForm.ui.qml</file> + <file>pages/CreateProfile.qml</file> + <file>pages/CreateProfileForm.ui.qml</file> </qresource> </RCC> 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} +} + ##^##*/ |