diff --git a/src/dialog/WalletInfoDialog.cpp b/src/dialog/WalletInfoDialog.cpp index b84d1db9..fac1766b 100644 --- a/src/dialog/WalletInfoDialog.cpp +++ b/src/dialog/WalletInfoDialog.cpp @@ -19,11 +19,22 @@ WalletInfoDialog::WalletInfoDialog(QSharedPointer ctx, QWidget *pare ui->label_netType->setText(Utils::QtEnumToString(m_ctx->wallet->nettype())); ui->label_seedType->setText(m_ctx->wallet->getCacheAttribute("feather.seed").isEmpty() ? "25 word" : "14 word"); ui->label_viewOnly->setText(m_ctx->wallet->viewOnly() ? "True" : "False"); - ui->label_path->setText(m_ctx->wallet->keysPath()); + ui->label_keysFile->setText(m_ctx->wallet->keysPath()); + ui->label_cacheFile->setText(m_ctx->wallet->cachePath()); ui->label_cacheSize->setText(QString("%1 MB").arg(QString::number(cache.size() / 1e6, 'f', 2))); connect(ui->btn_openWalletDir, &QPushButton::clicked, this, &WalletInfoDialog::openWalletDir); + ui->label_keysFileLabel->setHelpText("The \"keys file\" stores the wallet keys and wallet settings. " + "It is encrypted with the wallet password (if set).\n\n" + "Your funds will be irreversibly lost if you delete this file " + "without having a backup of your mnemonic seed or private keys."); + + ui->label_cacheFileLabel->setHelpText("The \"cache file\" stores transaction data, contacts, address labels, " + "block hashes, the 14-word seed (if applicable), and other miscellaneous information. " + "It is encrypted with the wallet password (if set).\n\n" + "Warning: Transaction keys and the 14-word seed CANNOT be recovered if this file is deleted."); + this->adjustSize(); } diff --git a/src/dialog/WalletInfoDialog.ui b/src/dialog/WalletInfoDialog.ui index 8b1f0d54..9fd06224 100644 --- a/src/dialog/WalletInfoDialog.ui +++ b/src/dialog/WalletInfoDialog.ui @@ -85,14 +85,31 @@ - + - Path: + Keys file: - + + + TextLabel + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse + + + + + + + Cache size: + + + + + TextLabel @@ -102,20 +119,17 @@ - + - Cache size: + Cache file: - + TextLabel - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse - @@ -143,6 +157,13 @@ + + + HelpLabel + QLabel +
components.h
+
+