mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
commit
9d48f96fc8
@ -381,27 +381,38 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Copy info to clipboard
|
RowLayout {
|
||||||
MoneroComponents.StandardButton {
|
spacing: 20;
|
||||||
small: true
|
|
||||||
text: qsTr("Copy to clipboard") + translationManager.emptyString
|
|
||||||
onClicked: {
|
|
||||||
var data = "";
|
|
||||||
data += "GUI version: " + Version.GUI_VERSION + " (Qt " + qtRuntimeVersion + ")";
|
|
||||||
data += "\nEmbedded Monero version: " + Version.GUI_MONERO_VERSION;
|
|
||||||
data += "\nWallet path: " + walletLocation.walletPath;
|
|
||||||
|
|
||||||
data += "\nWallet creation height: ";
|
MoneroComponents.StandardButton {
|
||||||
if(currentWallet)
|
small: true
|
||||||
data += currentWallet.walletCreationHeight;
|
text: qsTr("Copy to clipboard") + translationManager.emptyString
|
||||||
|
onClicked: {
|
||||||
|
var data = "";
|
||||||
|
data += "GUI version: " + Version.GUI_VERSION + " (Qt " + qtRuntimeVersion + ")";
|
||||||
|
data += "\nEmbedded Monero version: " + Version.GUI_MONERO_VERSION;
|
||||||
|
data += "\nWallet path: " + walletLocation.walletPath;
|
||||||
|
|
||||||
data += "\nWallet log path: " + walletLogPath;
|
data += "\nWallet creation height: ";
|
||||||
data += "\nWallet mode: " + walletModeString;
|
if(currentWallet)
|
||||||
data += "\nGraphics: " + isOpenGL ? "OpenGL" : "Low graphics mode";
|
data += currentWallet.walletCreationHeight;
|
||||||
|
|
||||||
console.log("Copied to clipboard");
|
data += "\nWallet log path: " + walletLogPath;
|
||||||
clipboard.setText(data);
|
data += "\nWallet mode: " + walletModeString;
|
||||||
appWindow.showStatusMessage(qsTr("Copied to clipboard"), 3);
|
data += "\nGraphics: " + isOpenGL ? "OpenGL" : "Low graphics mode";
|
||||||
|
|
||||||
|
console.log("Copied to clipboard");
|
||||||
|
clipboard.setText(data);
|
||||||
|
appWindow.showStatusMessage(qsTr("Copied to clipboard"), 3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
MoneroComponents.StandardButton {
|
||||||
|
small: true
|
||||||
|
text: qsTr("Donate to Monero") + translationManager.emptyString
|
||||||
|
onClicked: {
|
||||||
|
middlePanel.sendTo("888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H", "", "Donation to Monero Core Team");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user