diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-19 18:42:31 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-04-19 18:42:31 +0800 |
commit | 53962d923fd225c155502a5cfc805a0c464781e3 (patch) | |
tree | ebaf3c2dddb1acc927f9ef5adefc4077dec9ae29 /Friends.ui.qml |
Friends draft
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 + } +*/ + } + } +} |