moment/harmonyqml/components/SidePane/RoomList.qml

15 lines
312 B
QML
Raw Normal View History

import QtQuick 2.7
import QtQuick.Layouts 1.3
import "../Base"
2019-05-14 03:15:03 +10:00
HListView {
property string userId: ""
property string category: ""
id: roomList
spacing: accountList.spacing
model:
Backend.accounts.get(userId).roomCategories.get(category).sortedRooms
delegate: RoomDelegate {}
}