2024-04-10 20:56:10 +00:00
|
|
|
/////////////////////////////////////////////////////
|
|
|
|
// WalletConnect POC - to remove this file
|
|
|
|
/////////////////////////////////////////////////////
|
|
|
|
|
2023-12-06 14:01:25 +00:00
|
|
|
import QtQuick 2.15
|
|
|
|
import QtQuick.Controls 2.15
|
|
|
|
|
|
|
|
import StatusQ.Components 0.1
|
|
|
|
import StatusQ.Controls 0.1
|
|
|
|
|
|
|
|
import utils 1.0
|
|
|
|
|
|
|
|
import "../../../Profile/controls"
|
|
|
|
|
|
|
|
ListView {
|
|
|
|
id: root
|
|
|
|
|
|
|
|
property ButtonGroup buttonGroup
|
|
|
|
|
|
|
|
signal accountSelected(string address)
|
|
|
|
|
|
|
|
delegate: WalletAccountDelegate {
|
|
|
|
implicitWidth: root.width
|
|
|
|
nextIconVisible: false
|
|
|
|
|
|
|
|
account: model
|
|
|
|
totalCount: ListView.view.count
|
|
|
|
|
|
|
|
components: StatusRadioButton {
|
|
|
|
ButtonGroup.group: root.buttonGroup
|
|
|
|
onClicked: {
|
|
|
|
root.accountSelected(model.address)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|