blob: d3dc2ab57886b93fbe696ea2e25a30008b440101 (
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
|
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import Bootstrap 5.3
Flickable {
contentHeight: container.height + 28
ColumnLayout {
id: container
anchors {
top: parent.top
topMargin: 28
left: parent.left
leftMargin: 20
right: parent.right
rightMargin: 20
}
Label {
text: qsTr("Friends")
Bootstrap.heading: 2
Layout.bottomMargin: 28
}
ListView {
id: list
interactive: false
model: ListModel {
ListElement {
image: "https://offsetcode.com/themes/messenger/2.2.0/assets/img/avatars/6.jpg"
name: "Bill Marrow"
status: qsTr("last seen 3 days ago")
}
}
/*
delegate: Card {
width: list.width
}
*/
}
}
}
|