From 07249a836f8e7015a73de8e2865773d5b926d338 Mon Sep 17 00:00:00 2001 From: Konstantin Akimov Date: Wed, 25 May 2022 22:12:40 +0700 Subject: [PATCH] feat(qt): UI fixes for window "Wallet Repair" (#4846) * Qt: fix layout of components on "Wallet Repair" window * Qt: refactor ui xml config It orders components accordingly their positions on windows and fixes space indentation --- src/qt/forms/debugwindow.ui | 418 +++++++++++++++--------------------- 1 file changed, 170 insertions(+), 248 deletions(-) diff --git a/src/qt/forms/debugwindow.ui b/src/qt/forms/debugwindow.ui index af9718e562..b04d64509d 100644 --- a/src/qt/forms/debugwindow.ui +++ b/src/qt/forms/debugwindow.ui @@ -1390,255 +1390,177 @@ - - - - 10 - 100 - 301 - 23 - + + + 12 - - - 180 - 23 - - - - Rescan blockchain files 1 - - - - - - 10 - 150 - 301 - 23 - - - - - 180 - 23 - - - - Rescan blockchain files 2 - - - - - - 10 - 200 - 301 - 23 - - - - - 180 - 23 - - - - Recover transactions 1 - - - - - - 10 - 250 - 301 - 23 - - - - - 180 - 23 - - - - Recover transactions 2 - - - - - - 10 - 300 - 301 - 23 - - - - - 180 - 23 - - - - Upgrade wallet format - - - - - - 10 - 30 - 711 - 41 - - - - The buttons below will restart the wallet with command-line options to repair the wallet, fix issues with corrupt blockchain files or missing/obsolete transactions. - - - true - - - - - - 330 - 90 - 411 - 41 - - - - -rescan=1: Rescan the block chain for missing wallet transactions starting from wallet creation time. - - - true - - - - - - 330 - 140 - 411 - 41 - - - - -rescan=2: Rescan the block chain for missing wallet transactions starting from genesis block. - - - true - - - - - - 330 - 190 - 411 - 41 - - - - -zapwallettxes=1: Recover transactions from blockchain (keep meta-data, e.g. account owner). - - - true - - - - - - 330 - 240 - 411 - 41 - - - - -zapwallettxes=2: Recover transactions from blockchain (drop meta-data). - - - true - - - - - - 330 - 290 - 411 - 41 - - - - -upgradewallet: Upgrade wallet to latest format on startup. (Note: this is NOT an update of the wallet itself!) - - - true - - - - - - 10 - 10 - 711 - 16 - - - - Wallet repair options. - - - true - - - - - - 10 - 350 - 301 - 23 - - - - Rebuild index - - - - - - 330 - 340 - 411 - 41 - - - - -reindex: Rebuild block chain index from current blk000??.dat files. - - - true - - - - - - 10 - 70 - 731 - 21 - - - - Wallet Path - - + + + + Wallet repair options. + + + true + + + + + + + The buttons below will restart the wallet with command-line options to repair the wallet, fix issues with corrupt blockchain files or missing/obsolete transactions. + + + true + + + + + + + Wallet Path + + + + + + + + 180 + 23 + + + + Rescan blockchain files 1 + + + + + + + -rescan=1: Rescan the block chain for missing wallet transactions starting from wallet creation time. + + + true + + + + + + + + 180 + 23 + + + + Rescan blockchain files 2 + + + + + + + -rescan=2: Rescan the block chain for missing wallet transactions starting from genesis block. + + + true + + + + + + + + 180 + 23 + + + + Recover transactions 1 + + + + + + + -zapwallettxes=1: Recover transactions from blockchain (keep meta-data, e.g. account owner). + + + true + + + + + + + + 180 + 23 + + + + Recover transactions 2 + + + + + + + -zapwallettxes=2: Recover transactions from blockchain (drop meta-data). + + + true + + + + + + + + 180 + 23 + + + + Upgrade wallet format + + + + + + + -upgradewallet: Upgrade wallet to latest format on startup. (Note: this is NOT an update of the wallet itself!) + + + true + + + + + + + Rebuild index + + + + + + + -reindex: Rebuild block chain index from current blk000??.dat files. + + + true + + + + + + + Qt::Vertical + + + +