blob: 1e5ec9d0c96caff1d0cecce995d583ebc375852e (
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
|
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
Flickable {
contentHeight: form.height
ListView {
id: form
interactive: false
anchors {
top: parent.top
left: parent.left
right: parent.right
}
model: ListModel {
ListElement {
label: qsTr("Email address *")
icon: "Bootstrap/icons/envelope-fill.svg"
placeholder: qsTr("E-mail")
}
ListElement {
label: qsTr("Password *")
icon: "Font-Awesome/svgs/solid/lock.svg"
placeholder: qsTr("password")
}
}
delegate: ColumnLayout {
width: form.width
Label {
text: label
}
TextField {
placeholderText: placeholder
Layout.fillWidth: true
}
}
}
}
|