chore(@qml): add object names for memberListItem and checkBox
This commit is contained in:
parent
d6d546739d
commit
1b2f4f3c94
|
@ -81,6 +81,7 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
delegate: StatusMemberListItem {
|
delegate: StatusMemberListItem {
|
||||||
|
objectName: "statusMemberListItem-%1".arg(model.compressedPubKey)
|
||||||
width: contactListView.availableWidth
|
width: contactListView.availableWidth
|
||||||
pubKey: model.isEnsVerified ? "" : model.compressedPubKey
|
pubKey: model.isEnsVerified ? "" : model.compressedPubKey
|
||||||
isContact: model.isContact
|
isContact: model.isContact
|
||||||
|
@ -101,6 +102,7 @@ Item {
|
||||||
|
|
||||||
StatusCheckBox {
|
StatusCheckBox {
|
||||||
id: contactCheckbox
|
id: contactCheckbox
|
||||||
|
objectName: "contactCheckbox-%1".arg(model.displayName)
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
checked: root.pubKeys.indexOf(model.pubKey) > -1
|
checked: root.pubKeys.indexOf(model.pubKey) > -1
|
||||||
|
|
|
@ -34,6 +34,7 @@ Item {
|
||||||
}
|
}
|
||||||
|
|
||||||
delegate: StatusMemberListItem {
|
delegate: StatusMemberListItem {
|
||||||
|
objectName: "statusMemberListItem-%1".arg(model.compressedPubKey)
|
||||||
width: contactGridView.cellWidth
|
width: contactGridView.cellWidth
|
||||||
pubKey: model.isEnsVerified ? "" : model.compressedPubKey
|
pubKey: model.isEnsVerified ? "" : model.compressedPubKey
|
||||||
isContact: model.isContact
|
isContact: model.isContact
|
||||||
|
|
Loading…
Reference in New Issue