summaryrefslogtreecommitdiff
path: root/pages/EmailForm.ui.qml
blob: 498aa6a423342fc676b642812ff7e329adaa8abe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import QtQuick 2.12
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.12

Rectangle {
    width: 363
    height: 628
    color: "#f44236"
    border.width: 0

    property alias phoneTextField: phoneTextField
    property alias passwordTextField: passwordTextField
    property alias loginButton: loginButton
    property alias laterButton: laterButton

    Label {
        x: 124
        y: 177
        width: 116
        height: 17
        text: qsTr("E-mail")
        anchors.horizontalCenter: parent.horizontalCenter
    }

    RowLayout {
        x: 34
        y: 411
        width: loginButton.width
        height: loginButton.height
        anchors.bottom: passwordTextField.top
        anchors.horizontalCenter: parent.horizontalCenter

        Label {
            id: prefixLabel
            text: "+62"
        }

        TextField {
            id: phoneTextField
            width: 303
            Layout.fillWidth: true
            placeholderText: "812345678"
        }
    }

    TextField {
        id: passwordTextField
        x: 34
        y: 468
        width: loginButton.width
        height: loginButton.height
        anchors.bottom: loginButton.top
        anchors.horizontalCenter: parent.horizontalCenter
        echoMode: TextInput.Password
        placeholderText: qsTr("Kata Sandi")
    }

    Button {
        id: loginButton
        x: 34
        y: 525
        width: 296
        height: 57
        text: qsTr("Masuk")
        anchors.bottomMargin: -2
        anchors.bottom: laterButton.top
        anchors.horizontalCenterOffset: 0
        anchors.horizontalCenter: parent.horizontalCenter
    }

    Button {
        id: laterButton
        x: 41
        y: 580
        text: qsTr("NANTI SAJA")
        anchors.bottom: parent.bottom
        anchors.bottomMargin: 0
        anchors.left: parent.left
        anchors.leftMargin: 41
    }
}