mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 08:17:59 +00:00
Donate to Monero feature
This commit is contained in:
parent
b7b1221221
commit
b22fb24e47
1 changed files with 29 additions and 18 deletions
|
@ -381,27 +381,38 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
|
||||
// Copy info to clipboard
|
||||
MoneroComponents.StandardButton {
|
||||
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;
|
||||
RowLayout {
|
||||
spacing: 20;
|
||||
|
||||
data += "\nWallet creation height: ";
|
||||
if(currentWallet)
|
||||
data += currentWallet.walletCreationHeight;
|
||||
MoneroComponents.StandardButton {
|
||||
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 log path: " + walletLogPath;
|
||||
data += "\nWallet mode: " + walletModeString;
|
||||
data += "\nGraphics: " + isOpenGL ? "OpenGL" : "Low graphics mode";
|
||||
data += "\nWallet creation height: ";
|
||||
if(currentWallet)
|
||||
data += currentWallet.walletCreationHeight;
|
||||
|
||||
console.log("Copied to clipboard");
|
||||
clipboard.setText(data);
|
||||
appWindow.showStatusMessage(qsTr("Copied to clipboard"), 3);
|
||||
data += "\nWallet log path: " + walletLogPath;
|
||||
data += "\nWallet mode: " + walletModeString;
|
||||
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 a new issue