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 {
|
||||
id: symbolBox
|
||||
objectName: "symbolBox"
|
||||
|
||||
label: qsTr("Symbol")
|
||||
value: token.symbol
|
||||
|
@ -175,6 +176,7 @@ Control {
|
|||
|
||||
CustomPreviewBox {
|
||||
id: totalbox
|
||||
objectName: "totalBox"
|
||||
|
||||
label: qsTr("Total")
|
||||
value: token.infiniteSupply
|
||||
|
@ -189,6 +191,7 @@ Control {
|
|||
|
||||
CustomPreviewBox {
|
||||
id: remainingBox
|
||||
objectName: "remainingBox"
|
||||
|
||||
readonly property int remainingTokens: root.preview ? token.supply : token.remainingTokens
|
||||
|
||||
|
@ -208,12 +211,14 @@ Control {
|
|||
}
|
||||
|
||||
CustomPreviewBox {
|
||||
objectName: "transferableBox"
|
||||
visible: !root.isAssetPanel
|
||||
label: qsTr("Transferable")
|
||||
value: token.transferable ? qsTr("Yes") : qsTr("No")
|
||||
}
|
||||
|
||||
CustomPreviewBox {
|
||||
objectName: "destructibleBox"
|
||||
visible: !root.isAssetPanel
|
||||
|
||||
label: qsTr("Destructible")
|
||||
|
|
|
@ -48,6 +48,7 @@ StatusDialog {
|
|||
spacing: Style.current.padding
|
||||
rightButtons: ObjectModel {
|
||||
StatusButton {
|
||||
objectName: "cancelButton"
|
||||
text: qsTr("Cancel")
|
||||
type: StatusBaseButton.Type.Danger
|
||||
onClicked: {
|
||||
|
@ -56,6 +57,7 @@ StatusDialog {
|
|||
}
|
||||
}
|
||||
StatusButton {
|
||||
objectName: "signTransactionButton"
|
||||
enabled: root.errorText === "" && !root.isFeeLoading
|
||||
icon.name: "password"
|
||||
text: qsTr("Sign transaction")
|
||||
|
|
|
@ -426,6 +426,7 @@ SettingsContentBase {
|
|||
StatusSettingsLineButton {
|
||||
anchors.leftMargin: 0
|
||||
anchors.rightMargin: 0
|
||||
objectName: "manageCommunitiesOnTestnetButton"
|
||||
text: qsTr("Manage communities on testnet")
|
||||
isSwitch: true
|
||||
switchChecked: root.advancedStore.isManageCommunityOnTestModeEnabled
|
||||
|
|
Loading…
Reference in New Issue