v29.4-roots.3 · Commit 27: [PATCH 27/30] docs(wallet): document advanced privacy tools
src/qt/sweepdialog.cpp
Before: src/qt/sweepdialog.cpp · After: src/qt/sweepdialog.cpp
File metadata
index 1d04cf13c2ca0db845eedb56dfd911708879e769..b3b34e5dc8f50739b02c7d5490481fa6c73ad4da 100644
Download original patch · Release notes
Diff rows 1–26 of 26. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
src/qt/sweepdialog.cpp
CHANGED
|
@@ -46,7 +46,7 @@ SweepDialog::SweepDialog(WalletModel* wallet_model, QWidget* parent)
|
|
| 46 |
setWindowTitle(tr("Sweep Private Key"));
|
| 47 |
setModal(true);
|
| 48 |
auto* layout = new QVBoxLayout(this);
|
| 49 |
-
auto* warning = new QLabel(tr("A private key is a bearer secret. It is used only for this sweep and is never saved in this wallet."), this);
|
| 50 |
warning->setWordWrap(true);
|
| 51 |
layout->addWidget(warning);
|
| 52 |
auto* form = new QFormLayout;
|
|
@@ -64,7 +64,7 @@ SweepDialog::SweepDialog(WalletModel* wallet_model, QWidget* parent)
|
|
| 64 |
m_destination = new QLineEdit(this);
|
| 65 |
m_destination->setObjectName("sweepDestination");
|
| 66 |
m_destination->setAccessibleName(tr("Destination address"));
|
| 67 |
-
m_destination->setAccessibleDescription(tr("A destination address controlled by the selected wallet."));
|
| 68 |
form->addRow(tr("Private key:"), m_private_key);
|
| 69 |
form->addRow(QString{}, reveal);
|
| 70 |
form->addRow(tr("Destination:"), m_destination);
|
|
@@ -83,8 +83,8 @@ SweepDialog::SweepDialog(WalletModel* wallet_model, QWidget* parent)
|
|
| 83 |
m_broadcast->setEnabled(false);
|
| 84 |
m_preview->setAccessibleName(tr("Preview sweep"));
|
| 85 |
m_broadcast->setAccessibleName(tr("Broadcast sweep"));
|
| 86 |
-
m_preview->setAccessibleDescription(tr("Scan for eligible coins and create a transaction preview without broadcasting."));
|
| 87 |
-
m_broadcast->setAccessibleDescription(tr("Broadcast the currently displayed sweep transaction. This cannot be undone."));
|
| 88 |
layout->addWidget(buttons);
|
| 89 |
setTabOrder(m_private_key, reveal);
|
| 90 |
setTabOrder(reveal, m_destination);
|
|
|
|
| 46 |
setWindowTitle(tr("Sweep Private Key"));
|
| 47 |
setModal(true);
|
| 48 |
auto* layout = new QVBoxLayout(this);
|
| 49 |
+
auto* warning = new QLabel(tr("A private key is a bearer secret. It is used only for this sweep and is never saved in this wallet. Keep an independent backup until the transaction confirms."), this);
|
| 50 |
warning->setWordWrap(true);
|
| 51 |
layout->addWidget(warning);
|
| 52 |
auto* form = new QFormLayout;
|
|
|
|
| 64 |
m_destination = new QLineEdit(this);
|
| 65 |
m_destination->setObjectName("sweepDestination");
|
| 66 |
m_destination->setAccessibleName(tr("Destination address"));
|
| 67 |
+
m_destination->setAccessibleDescription(tr("A spendable destination address controlled by the selected wallet. Watch-only and private-key-disabled wallets are not eligible."));
|
| 68 |
form->addRow(tr("Private key:"), m_private_key);
|
| 69 |
form->addRow(QString{}, reveal);
|
| 70 |
form->addRow(tr("Destination:"), m_destination);
|
|
|
|
| 83 |
m_broadcast->setEnabled(false);
|
| 84 |
m_preview->setAccessibleName(tr("Preview sweep"));
|
| 85 |
m_broadcast->setAccessibleName(tr("Broadcast sweep"));
|
| 86 |
+
m_preview->setAccessibleDescription(tr("Scan eligible supported coins and create a transaction preview without broadcasting. Review its fee, destination, and Replace-By-Fee state."));
|
| 87 |
+
m_broadcast->setAccessibleDescription(tr("Broadcast the currently displayed sweep transaction. This cannot be undone and may fail if chain state or fees changed."));
|
| 88 |
layout->addWidget(buttons);
|
| 89 |
setTabOrder(m_private_key, reveal);
|
| 90 |
setTabOrder(reveal, m_destination);
|