30514fb7db
To make the models update correctly in QML: - ListModel and _QtModel merged - Return a ListModelMap QObject from properties instead of a DefaultDict → QVariantMap
12 lines
209 B
QML
12 lines
209 B
QML
import QtQuick 2.7
|
|
import QtQuick.Controls 2.2
|
|
import QtQuick.Layouts 1.4
|
|
|
|
ListView {
|
|
id: "accountList"
|
|
spacing: 8
|
|
model: Backend.models.accounts
|
|
delegate: AccountDelegate {}
|
|
clip: true
|
|
}
|