mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-25 21:15:56 +00:00
Chore/add object name advanced settings, token preview boxes and sign transaction buttons (#14488)
* chore: added object name for manage community on testnet * chore: added object names for buttons in sign transactions popup * chore: added object names for preview boxes
This commit is contained in:
parent
6260519e66
commit
5f980a1a8f
@ -168,6 +168,7 @@ Control {
|
|||||||
|
|
||||||
CustomPreviewBox {
|
CustomPreviewBox {
|
||||||
id: symbolBox
|
id: symbolBox
|
||||||
|
objectName: "symbolBox"
|
||||||
|
|
||||||
label: qsTr("Symbol")
|
label: qsTr("Symbol")
|
||||||
value: token.symbol
|
value: token.symbol
|
||||||
@ -175,6 +176,7 @@ Control {
|
|||||||
|
|
||||||
CustomPreviewBox {
|
CustomPreviewBox {
|
||||||
id: totalbox
|
id: totalbox
|
||||||
|
objectName: "totalBox"
|
||||||
|
|
||||||
label: qsTr("Total")
|
label: qsTr("Total")
|
||||||
value: token.infiniteSupply
|
value: token.infiniteSupply
|
||||||
@ -189,6 +191,7 @@ Control {
|
|||||||
|
|
||||||
CustomPreviewBox {
|
CustomPreviewBox {
|
||||||
id: remainingBox
|
id: remainingBox
|
||||||
|
objectName: "remainingBox"
|
||||||
|
|
||||||
readonly property int remainingTokens: root.preview ? token.supply : token.remainingTokens
|
readonly property int remainingTokens: root.preview ? token.supply : token.remainingTokens
|
||||||
|
|
||||||
@ -208,12 +211,14 @@ Control {
|
|||||||
}
|
}
|
||||||
|
|
||||||
CustomPreviewBox {
|
CustomPreviewBox {
|
||||||
|
objectName: "transferableBox"
|
||||||
visible: !root.isAssetPanel
|
visible: !root.isAssetPanel
|
||||||
label: qsTr("Transferable")
|
label: qsTr("Transferable")
|
||||||
value: token.transferable ? qsTr("Yes") : qsTr("No")
|
value: token.transferable ? qsTr("Yes") : qsTr("No")
|
||||||
}
|
}
|
||||||
|
|
||||||
CustomPreviewBox {
|
CustomPreviewBox {
|
||||||
|
objectName: "destructibleBox"
|
||||||
visible: !root.isAssetPanel
|
visible: !root.isAssetPanel
|
||||||
|
|
||||||
label: qsTr("Destructible")
|
label: qsTr("Destructible")
|
||||||
|
@ -48,6 +48,7 @@ StatusDialog {
|
|||||||
spacing: Style.current.padding
|
spacing: Style.current.padding
|
||||||
rightButtons: ObjectModel {
|
rightButtons: ObjectModel {
|
||||||
StatusButton {
|
StatusButton {
|
||||||
|
objectName: "cancelButton"
|
||||||
text: qsTr("Cancel")
|
text: qsTr("Cancel")
|
||||||
type: StatusBaseButton.Type.Danger
|
type: StatusBaseButton.Type.Danger
|
||||||
onClicked: {
|
onClicked: {
|
||||||
@ -56,6 +57,7 @@ StatusDialog {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
StatusButton {
|
StatusButton {
|
||||||
|
objectName: "signTransactionButton"
|
||||||
enabled: root.errorText === "" && !root.isFeeLoading
|
enabled: root.errorText === "" && !root.isFeeLoading
|
||||||
icon.name: "password"
|
icon.name: "password"
|
||||||
text: qsTr("Sign transaction")
|
text: qsTr("Sign transaction")
|
||||||
|
@ -426,6 +426,7 @@ SettingsContentBase {
|
|||||||
StatusSettingsLineButton {
|
StatusSettingsLineButton {
|
||||||
anchors.leftMargin: 0
|
anchors.leftMargin: 0
|
||||||
anchors.rightMargin: 0
|
anchors.rightMargin: 0
|
||||||
|
objectName: "manageCommunitiesOnTestnetButton"
|
||||||
text: qsTr("Manage communities on testnet")
|
text: qsTr("Manage communities on testnet")
|
||||||
isSwitch: true
|
isSwitch: true
|
||||||
switchChecked: root.advancedStore.isManageCommunityOnTestModeEnabled
|
switchChecked: root.advancedStore.isManageCommunityOnTestModeEnabled
|
||||||
|
Loading…
x
Reference in New Issue
Block a user