diff options
Diffstat (limited to 'Friends.ui.qml')
-rw-r--r-- | Friends.ui.qml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Friends.ui.qml b/Friends.ui.qml new file mode 100644 index 0000000..d3dc2ab --- /dev/null +++ b/Friends.ui.qml @@ -0,0 +1,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 + } +*/ + } + } +} |