1
0

qml: switch to QtQuick Controls

This commit is contained in:
Sander van Grieken
2021-04-05 12:24:45 +02:00
parent d195fce82d
commit e534c5d834
13 changed files with 388 additions and 316 deletions

View File

@@ -0,0 +1,32 @@
import QtQuick 2.6
import QtQuick.Layouts 1.0
import QtQuick.Controls 2.0
Item {
property string title: 'Wallets'
ListView {
width: parent.width
height: 200
model: Daemon.activeWallets
delegate: Item {
width: ListView.view.width
RowLayout {
x: 20
spacing: 20
Image {
source: "../../../gui/kivy/theming/light/wallet.png"
}
Label {
font.pointSize: 13
text: model.display
}
}
}
}
}