From 53962d923fd225c155502a5cfc805a0c464781e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Wed, 19 Apr 2023 18:42:31 +0800 Subject: Friends draft --- Friends.ui.qml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Friends.ui.qml (limited to 'Friends.ui.qml') 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 + } +*/ + } + } +} -- cgit v1.2.3