mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 19:32:03 +02:00
Turn the SharedRing page black
This commit is contained in:
parent
fb6b467dcb
commit
011e301324
@ -467,7 +467,7 @@ Rectangle {
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.leftMargin: 16
|
anchors.leftMargin: 16
|
||||||
color: "#505050"
|
color: "#313131"
|
||||||
height: 1
|
height: 1
|
||||||
}
|
}
|
||||||
// ------------- Shared RingDB tab ---------------
|
// ------------- Shared RingDB tab ---------------
|
||||||
|
@ -37,7 +37,7 @@ import moneroComponents.Clipboard 1.0
|
|||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|
||||||
color: "#F0EEEE"
|
color: "transparent"
|
||||||
|
|
||||||
Clipboard { id: clipboard }
|
Clipboard { id: clipboard }
|
||||||
|
|
||||||
@ -90,6 +90,7 @@ Rectangle {
|
|||||||
"This database is meant for use by Monero wallets as well as wallets from Monero clones which reuse the Monero keys.") + translationManager.emptyString
|
"This database is meant for use by Monero wallets as well as wallets from Monero clones which reuse the Monero keys.") + translationManager.emptyString
|
||||||
wrapMode: Text.Wrap
|
wrapMode: Text.Wrap
|
||||||
Layout.fillWidth: true;
|
Layout.fillWidth: true;
|
||||||
|
color: Style.defaultFontColor
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
@ -117,6 +118,7 @@ Rectangle {
|
|||||||
sharedRingDBDialog.icon = StandardIcon.Information
|
sharedRingDBDialog.icon = StandardIcon.Information
|
||||||
sharedRingDBDialog.open()
|
sharedRingDBDialog.open()
|
||||||
}
|
}
|
||||||
|
color: Style.defaultFontColor
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
@ -140,11 +142,8 @@ Rectangle {
|
|||||||
id: selectBlackballFileButton
|
id: selectBlackballFileButton
|
||||||
anchors.rightMargin: 17 * scaleRatio
|
anchors.rightMargin: 17 * scaleRatio
|
||||||
text: qsTr("Select") + translationManager.emptyString
|
text: qsTr("Select") + translationManager.emptyString
|
||||||
shadowReleasedColor: "#FF4304"
|
|
||||||
shadowPressedColor: "#B32D00"
|
|
||||||
releasedColor: "#FF6C3C"
|
|
||||||
pressedColor: "#FF4304"
|
|
||||||
enabled: true
|
enabled: true
|
||||||
|
small: true
|
||||||
onClicked: {
|
onClicked: {
|
||||||
loadBlackballFileDialog.open()
|
loadBlackballFileDialog.open()
|
||||||
}
|
}
|
||||||
@ -172,10 +171,7 @@ Rectangle {
|
|||||||
id: loadBlackballFileButton
|
id: loadBlackballFileButton
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
text: qsTr("Load") + translationManager.emptyString
|
text: qsTr("Load") + translationManager.emptyString
|
||||||
shadowReleasedColor: "#FF4304"
|
small: true
|
||||||
shadowPressedColor: "#B32D00"
|
|
||||||
releasedColor: "#FF6C3C"
|
|
||||||
pressedColor: "#FF4304"
|
|
||||||
enabled: !!appWindow.currentWallet
|
enabled: !!appWindow.currentWallet
|
||||||
onClicked: appWindow.currentWallet.blackballOutputs(walletManager.urlToLocalPath(loadBlackballFileDialog.fileUrl), true)
|
onClicked: appWindow.currentWallet.blackballOutputs(walletManager.urlToLocalPath(loadBlackballFileDialog.fileUrl), true)
|
||||||
}
|
}
|
||||||
@ -209,10 +205,7 @@ Rectangle {
|
|||||||
StandardButton {
|
StandardButton {
|
||||||
id: blackballButton
|
id: blackballButton
|
||||||
text: qsTr("Blackball") + translationManager.emptyString
|
text: qsTr("Blackball") + translationManager.emptyString
|
||||||
shadowReleasedColor: "#FF4304"
|
small: true
|
||||||
shadowPressedColor: "#B32D00"
|
|
||||||
releasedColor: "#FF6C3C"
|
|
||||||
pressedColor: "#FF4304"
|
|
||||||
enabled: !!appWindow.currentWallet && validHex32(blackballOutputLine.text)
|
enabled: !!appWindow.currentWallet && validHex32(blackballOutputLine.text)
|
||||||
onClicked: appWindow.currentWallet.blackballOutput(blackballOutputLine.text)
|
onClicked: appWindow.currentWallet.blackballOutput(blackballOutputLine.text)
|
||||||
}
|
}
|
||||||
@ -221,10 +214,7 @@ Rectangle {
|
|||||||
id: unblackballButton
|
id: unblackballButton
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
text: qsTr("Unblackball") + translationManager.emptyString
|
text: qsTr("Unblackball") + translationManager.emptyString
|
||||||
shadowReleasedColor: "#FF4304"
|
small: true
|
||||||
shadowPressedColor: "#B32D00"
|
|
||||||
releasedColor: "#FF6C3C"
|
|
||||||
pressedColor: "#FF4304"
|
|
||||||
enabled: !!appWindow.currentWallet && validHex32(blackballOutputLine.text)
|
enabled: !!appWindow.currentWallet && validHex32(blackballOutputLine.text)
|
||||||
onClicked: appWindow.currentWallet.unblackballOutput(blackballOutputLine.text)
|
onClicked: appWindow.currentWallet.unblackballOutput(blackballOutputLine.text)
|
||||||
}
|
}
|
||||||
@ -255,6 +245,7 @@ Rectangle {
|
|||||||
sharedRingDBDialog.icon = StandardIcon.Information
|
sharedRingDBDialog.icon = StandardIcon.Information
|
||||||
sharedRingDBDialog.open()
|
sharedRingDBDialog.open()
|
||||||
}
|
}
|
||||||
|
color: Style.defaultFontColor
|
||||||
}
|
}
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
@ -281,10 +272,7 @@ Rectangle {
|
|||||||
StandardButton {
|
StandardButton {
|
||||||
id: getRingButton
|
id: getRingButton
|
||||||
text: qsTr("Get Ring") + translationManager.emptyString
|
text: qsTr("Get Ring") + translationManager.emptyString
|
||||||
shadowReleasedColor: "#FF4304"
|
small: true
|
||||||
shadowPressedColor: "#B32D00"
|
|
||||||
releasedColor: "#FF6C3C"
|
|
||||||
pressedColor: "#FF4304"
|
|
||||||
enabled: !!appWindow.currentWallet && validHex32(keyImageLine.text)
|
enabled: !!appWindow.currentWallet && validHex32(keyImageLine.text)
|
||||||
onClicked: {
|
onClicked: {
|
||||||
var ring = appWindow.currentWallet.getRing(keyImageLine.text)
|
var ring = appWindow.currentWallet.getRing(keyImageLine.text)
|
||||||
@ -322,7 +310,7 @@ Rectangle {
|
|||||||
id: setRingRelative
|
id: setRingRelative
|
||||||
checked: true
|
checked: true
|
||||||
text: qsTr("Relative") + translationManager.emptyString
|
text: qsTr("Relative") + translationManager.emptyString
|
||||||
checkedIcon: "../images/checkedVioletIcon.png"
|
checkedIcon: "../images/checkedBlackIcon.png"
|
||||||
uncheckedIcon: "../images/uncheckedIcon.png"
|
uncheckedIcon: "../images/uncheckedIcon.png"
|
||||||
}
|
}
|
||||||
LineEdit {
|
LineEdit {
|
||||||
@ -344,10 +332,6 @@ Rectangle {
|
|||||||
StandardButton {
|
StandardButton {
|
||||||
id: setRingButton
|
id: setRingButton
|
||||||
text: qsTr("Set Ring") + translationManager.emptyString
|
text: qsTr("Set Ring") + translationManager.emptyString
|
||||||
shadowReleasedColor: "#FF4304"
|
|
||||||
shadowPressedColor: "#B32D00"
|
|
||||||
releasedColor: "#FF6C3C"
|
|
||||||
pressedColor: "#FF4304"
|
|
||||||
enabled: !!appWindow.currentWallet && validHex32(keyImageLine.text) && validRing(setRingLine.text.trim(), setRingRelative.checked)
|
enabled: !!appWindow.currentWallet && validHex32(keyImageLine.text) && validRing(setRingLine.text.trim(), setRingRelative.checked)
|
||||||
onClicked: {
|
onClicked: {
|
||||||
var outs = setRingLine.text.trim()
|
var outs = setRingLine.text.trim()
|
||||||
@ -360,7 +344,7 @@ Rectangle {
|
|||||||
id: segregatePreForkOutputs
|
id: segregatePreForkOutputs
|
||||||
checked: persistentSettings.segregatePreForkOutputs
|
checked: persistentSettings.segregatePreForkOutputs
|
||||||
text: qsTr("I intend to spend on key-reusing fork(s)") + translationManager.emptyString
|
text: qsTr("I intend to spend on key-reusing fork(s)") + translationManager.emptyString
|
||||||
checkedIcon: "../images/checkedVioletIcon.png"
|
checkedIcon: "../images/checkedBlackIcon.png"
|
||||||
uncheckedIcon: "../images/uncheckedIcon.png"
|
uncheckedIcon: "../images/uncheckedIcon.png"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
persistentSettings.segregatePreForkOutputs = segregatePreForkOutputs.checked
|
persistentSettings.segregatePreForkOutputs = segregatePreForkOutputs.checked
|
||||||
@ -373,7 +357,7 @@ Rectangle {
|
|||||||
id: keyReuseMitigation2
|
id: keyReuseMitigation2
|
||||||
checked: persistentSettings.keyReuseMitigation2
|
checked: persistentSettings.keyReuseMitigation2
|
||||||
text: qsTr("I might want to spend on key-reusing fork(s)") + translationManager.emptyString
|
text: qsTr("I might want to spend on key-reusing fork(s)") + translationManager.emptyString
|
||||||
checkedIcon: "../images/checkedVioletIcon.png"
|
checkedIcon: "../images/checkedBlackIcon.png"
|
||||||
uncheckedIcon: "../images/uncheckedIcon.png"
|
uncheckedIcon: "../images/uncheckedIcon.png"
|
||||||
onClicked: {
|
onClicked: {
|
||||||
persistentSettings.keyReuseMitigation2 = keyReuseMitigation2.checked
|
persistentSettings.keyReuseMitigation2 = keyReuseMitigation2.checked
|
||||||
|
Loading…
Reference in New Issue
Block a user