Test(Community) Object names added (#12127)

This commit is contained in:
Vladimir Druzhinin 2023-09-12 10:55:40 +02:00 committed by GitHub
parent 93a69893d9
commit 29665956f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 3 deletions

View File

@ -197,6 +197,7 @@ Item {
text: qsTr("Invite people")
icon.name: "share-ios"
enabled: communityData.canManageUsers && adminPopupMenu.showInviteButton
objectName: "invitePeople"
onTriggered: {
Global.openInviteFriendsToCommunityPopup(root.communityData,
root.communitySectionModule,
@ -276,6 +277,7 @@ Item {
text: qsTr("Invite people")
icon.name: "share-ios"
enabled: communityData.canManageUsers
objectName: "invitePeople"
onTriggered: {
Global.openInviteFriendsToCommunityPopup(root.communityData,
root.communitySectionModule,

View File

@ -114,6 +114,7 @@ StatusListView {
moreMenu.close()
root.inviteFriends(model)
}
objectName: "invitePeople"
}
StatusAction {
text: qsTr("Edit Shared Addresses")

View File

@ -495,6 +495,7 @@ Item {
text: qsTr("Invite People")
icon.name: "share-ios"
enabled: model.canManageUsers
objectName: "invitePeople"
onTriggered: {
popups.openInviteFriendsToCommunityPopup(model,
communityContextMenu.chatCommunitySectionModule,

View File

@ -144,7 +144,7 @@ Control {
StatusBaseText {
Layout.fillWidth: true
objectName: "communityName"
text: d.communityName
font.weight: Font.Bold
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
@ -154,7 +154,7 @@ Control {
StatusBaseText {
Layout.fillWidth: true
objectName: "communityDescription"
text: d.communityDescription
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
color: Theme.palette.directColor1
@ -162,7 +162,7 @@ Control {
StatusBaseText {
Layout.fillWidth: true
objectName: "communityMembers"
text: qsTr("%n member(s)", "", d.communityNbMembers)
font.pixelSize: 13
font.weight: Font.Medium