mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 20:20:02 +00:00
Remove debugging leftovers from transfer page
This commit is contained in:
parent
d654ec1647
commit
0b9e89691d
1 changed files with 0 additions and 121 deletions
|
@ -201,10 +201,6 @@ Rectangle {
|
||||||
LineEditMulti{
|
LineEditMulti{
|
||||||
id: addressLine
|
id: addressLine
|
||||||
spacing: 0
|
spacing: 0
|
||||||
// @TODO:
|
|
||||||
// - fix wrong copy @ receive.qml
|
|
||||||
// - resolve button click @ multiline @ transfer.qml
|
|
||||||
|
|
||||||
inputLabelText: qsTr("<style type='text/css'>a {text-decoration: none; color: #858585; font-size: 14px;}</style>\
|
inputLabelText: qsTr("<style type='text/css'>a {text-decoration: none; color: #858585; font-size: 14px;}</style>\
|
||||||
Address <font size='2'> ( </font> <a href='#'>Address book</a><font size='2'> )</font>")
|
Address <font size='2'> ( </font> <a href='#'>Address book</a><font size='2'> )</font>")
|
||||||
+ translationManager.emptyString
|
+ translationManager.emptyString
|
||||||
|
@ -244,123 +240,6 @@ Rectangle {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ColumnLayout {
|
|
||||||
// spacing: 0
|
|
||||||
// Rectangle{
|
|
||||||
// id: inputLabelRect
|
|
||||||
// color: "transparent"
|
|
||||||
// Layout.fillWidth: true
|
|
||||||
// height: inputLabel.height + 10
|
|
||||||
|
|
||||||
// Text {
|
|
||||||
// id: inputLabel
|
|
||||||
// anchors.top: parent.top
|
|
||||||
// anchors.left: parent.left
|
|
||||||
// font.family: Style.fontRegular.name
|
|
||||||
// font.pixelSize: 16 * scaleRatio
|
|
||||||
// font.bold: labelFontBold
|
|
||||||
// textFormat: Text.RichText
|
|
||||||
// color: Style.defaultFontColor
|
|
||||||
// onLinkActivated: { appWindow.showPageRequest("AddressBook") }
|
|
||||||
// text: qsTr("<style type='text/css'>a {text-decoration: none; color: #858585; font-size: 14px;}</style>\
|
|
||||||
// Address <font size='2'> ( </font> <a href='#'>Address book</a><font size='2'> )</font>")
|
|
||||||
// + translationManager.emptyString
|
|
||||||
// }
|
|
||||||
|
|
||||||
// Rectangle{
|
|
||||||
// id: resolveButton
|
|
||||||
// color: "#808080"
|
|
||||||
// radius: 3
|
|
||||||
// height: 20
|
|
||||||
// width: resolveButtonText.width + 8
|
|
||||||
// anchors.right: copyButton.left
|
|
||||||
// anchors.rightMargin: 6
|
|
||||||
// visible: isValidOpenAliasAddress(addressLine.text)
|
|
||||||
|
|
||||||
// Text {
|
|
||||||
// id: resolveButtonText
|
|
||||||
// anchors.verticalCenter: parent.verticalCenter
|
|
||||||
// anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
// font.family: Style.fontRegular.name
|
|
||||||
// font.pixelSize: 12
|
|
||||||
// font.bold: true
|
|
||||||
// text: qsTr("Resolve") + translationManager.emptyString
|
|
||||||
// color: "black"
|
|
||||||
// }
|
|
||||||
|
|
||||||
// MouseArea {
|
|
||||||
// cursorShape: Qt.PointingHandCursor
|
|
||||||
// anchors.fill: parent
|
|
||||||
// hoverEnabled: true
|
|
||||||
// onClicked: {
|
|
||||||
// var result = walletManager.resolveOpenAlias(addressLine.text)
|
|
||||||
// if (result) {
|
|
||||||
// var parts = result.split("|")
|
|
||||||
// if (parts.length == 2) {
|
|
||||||
// var address_ok = walletManager.addressValid(parts[1], appWindow.persistentSettings.testnet)
|
|
||||||
// if (parts[0] === "true") {
|
|
||||||
// if (address_ok) {
|
|
||||||
// addressLine.text = parts[1]
|
|
||||||
// addressLine.cursorPosition = 0
|
|
||||||
// }
|
|
||||||
// else
|
|
||||||
// oa_message(qsTr("No valid address found at this OpenAlias address"))
|
|
||||||
// } else if (parts[0] === "false") {
|
|
||||||
// if (address_ok) {
|
|
||||||
// addressLine.text = parts[1]
|
|
||||||
// addressLine.cursorPosition = 0
|
|
||||||
// oa_message(qsTr("Address found, but the DNSSEC signatures could not be verified, so this address may be spoofed"))
|
|
||||||
// } else {
|
|
||||||
// oa_message(qsTr("No valid address found at this OpenAlias address, but the DNSSEC signatures could not be verified, so this may be spoofed"))
|
|
||||||
// }
|
|
||||||
// } else {
|
|
||||||
// oa_message(qsTr("Internal error"))
|
|
||||||
// }
|
|
||||||
// } else {
|
|
||||||
// oa_message(qsTr("Internal error"))
|
|
||||||
// }
|
|
||||||
// } else {
|
|
||||||
// oa_message(qsTr("No address found"))
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// onEntered: {
|
|
||||||
// resolveButton.color = "#707070";
|
|
||||||
// resolveButtonText.opacity = 0.8;
|
|
||||||
// }
|
|
||||||
// onExited: {
|
|
||||||
// resolveButtonText.opacity = 1.0;
|
|
||||||
// resolveButton.color = "#808080";
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
// InputMulti {
|
|
||||||
// id: addressLine
|
|
||||||
// readOnly: false
|
|
||||||
// addressValidation: true
|
|
||||||
// anchors.top: inputLabelRect.bottom
|
|
||||||
// placeholderText: "4..."
|
|
||||||
// Layout.fillWidth: true
|
|
||||||
|
|
||||||
// Rectangle {
|
|
||||||
// color: "transparent"
|
|
||||||
// border.width: 1
|
|
||||||
// border.color: {
|
|
||||||
// if(addressLine.error && addressLine.text !== ""){
|
|
||||||
// return Qt.rgba(255, 0, 0, 0.45);
|
|
||||||
// } else if(addressLine.activeFocus){
|
|
||||||
// return Qt.rgba(255, 255, 255, 0.35);
|
|
||||||
// } else {
|
|
||||||
// return Qt.rgba(255, 255, 255, 0.25);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// radius: 4
|
|
||||||
// anchors.fill: parent
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
StandardButton {
|
StandardButton {
|
||||||
id: qrfinderButton
|
id: qrfinderButton
|
||||||
text: qsTr("QR Code") + translationManager.emptyString
|
text: qsTr("QR Code") + translationManager.emptyString
|
||||||
|
|
Loading…
Reference in a new issue