chore: add object names for Messaging settings page
Added object names for Messaging settings page. I need them for tests
This commit is contained in:
parent
01e38c7c25
commit
3d408e4966
|
@ -101,6 +101,7 @@ SettingsContentBase {
|
||||||
StatusListItem {
|
StatusListItem {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
title: qsTr("Allow show GIF previews")
|
title: qsTr("Allow show GIF previews")
|
||||||
|
objectName: "MessagingView_AllowShowGifs_StatusListItem"
|
||||||
components: [
|
components: [
|
||||||
StatusSwitch {
|
StatusSwitch {
|
||||||
id: showGifPreviewsSwitch
|
id: showGifPreviewsSwitch
|
||||||
|
@ -136,6 +137,7 @@ SettingsContentBase {
|
||||||
Layout.leftMargin: Style.current.padding
|
Layout.leftMargin: Style.current.padding
|
||||||
Layout.rightMargin: Style.current.padding
|
Layout.rightMargin: Style.current.padding
|
||||||
label: qsTr("Always ask")
|
label: qsTr("Always ask")
|
||||||
|
objectName: "MessagingView_AlwaysAsk_RadioButton"
|
||||||
group: urlUnfurlingGroup
|
group: urlUnfurlingGroup
|
||||||
checked: root.messagingStore.privacyModule.urlUnfurlingMode === Constants.UrlUnfurlingModeAlwaysAsk
|
checked: root.messagingStore.privacyModule.urlUnfurlingMode === Constants.UrlUnfurlingModeAlwaysAsk
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
@ -149,6 +151,7 @@ SettingsContentBase {
|
||||||
Layout.leftMargin: Style.current.padding
|
Layout.leftMargin: Style.current.padding
|
||||||
Layout.rightMargin: Style.current.padding
|
Layout.rightMargin: Style.current.padding
|
||||||
label: qsTr("Always show previews")
|
label: qsTr("Always show previews")
|
||||||
|
objectName: "MessagingView_AlwaysShow_RadioButton"
|
||||||
group: urlUnfurlingGroup
|
group: urlUnfurlingGroup
|
||||||
checked: root.messagingStore.privacyModule.urlUnfurlingMode === Constants.UrlUnfurlingModeEnableAll
|
checked: root.messagingStore.privacyModule.urlUnfurlingMode === Constants.UrlUnfurlingModeEnableAll
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
@ -162,6 +165,7 @@ SettingsContentBase {
|
||||||
Layout.leftMargin: Style.current.padding
|
Layout.leftMargin: Style.current.padding
|
||||||
Layout.rightMargin: Style.current.padding
|
Layout.rightMargin: Style.current.padding
|
||||||
label: qsTr("Never show previews")
|
label: qsTr("Never show previews")
|
||||||
|
objectName: "MessagingView_NeverShow_RadioButton"
|
||||||
group: urlUnfurlingGroup
|
group: urlUnfurlingGroup
|
||||||
checked: root.messagingStore.privacyModule.urlUnfurlingMode === Constants.UrlUnfurlingModeDisableAll
|
checked: root.messagingStore.privacyModule.urlUnfurlingMode === Constants.UrlUnfurlingModeDisableAll
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
|
Loading…
Reference in New Issue