From 3f19365d2a559b30b607436ad2c5e6d7198ff343 Mon Sep 17 00:00:00 2001 From: crowning- Date: Sun, 12 Jul 2015 20:04:52 +0200 Subject: [PATCH 1/2] Minor Coincontrol-Dialog enhancements --- src/qt/coincontroldialog.cpp | 8 +++++--- src/qt/forms/coincontroldialog.ui | 6 +++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/qt/coincontroldialog.cpp b/src/qt/coincontroldialog.cpp index df357b22e..ad6b3c7fd 100644 --- a/src/qt/coincontroldialog.cpp +++ b/src/qt/coincontroldialog.cpp @@ -129,7 +129,7 @@ CoinControlDialog::CoinControlDialog(QWidget *parent) : ui->treeWidget->setColumnWidth(COLUMN_AMOUNT, 100); ui->treeWidget->setColumnWidth(COLUMN_LABEL, 170); ui->treeWidget->setColumnWidth(COLUMN_ADDRESS, 190); - ui->treeWidget->setColumnWidth(COLUMN_DARKSEND_ROUNDS, 120); + ui->treeWidget->setColumnWidth(COLUMN_DARKSEND_ROUNDS, 88); ui->treeWidget->setColumnWidth(COLUMN_DATE, 80); ui->treeWidget->setColumnWidth(COLUMN_CONFIRMATIONS, 100); ui->treeWidget->setColumnWidth(COLUMN_PRIORITY, 100); @@ -778,6 +778,7 @@ void CoinControlDialog::updateView() // amount itemOutput->setText(COLUMN_AMOUNT, BitcoinUnits::format(nDisplayUnit, out.tx->vout[out.i].nValue)); + itemOutput->setToolTip(COLUMN_AMOUNT, BitcoinUnits::format(nDisplayUnit, out.tx->vout[out.i].nValue)); itemOutput->setText(COLUMN_AMOUNT_INT64, strPad(QString::number(out.tx->vout[out.i].nValue), 15, " ")); // padding so that sorting works correctly // date @@ -790,8 +791,8 @@ void CoinControlDialog::updateView() CTxIn vin = CTxIn(out.tx->GetHash(), out.i); int rounds = GetInputDarksendRounds(vin); - if(rounds >= 0) itemOutput->setText(COLUMN_DARKSEND_ROUNDS, strPad(QString::number(rounds), 15, " ")); - else itemOutput->setText(COLUMN_DARKSEND_ROUNDS, strPad(QString(tr("n/a")), 15, " ")); + if(rounds >= 0) itemOutput->setText(COLUMN_DARKSEND_ROUNDS, strPad(QString::number(rounds), 11, " ")); + else itemOutput->setText(COLUMN_DARKSEND_ROUNDS, strPad(QString(tr("n/a")), 11, " ")); // confirmations @@ -831,6 +832,7 @@ void CoinControlDialog::updateView() dPrioritySum = dPrioritySum / (nInputSum + 78); itemWalletAddress->setText(COLUMN_CHECKBOX, "(" + QString::number(nChildren) + ")"); itemWalletAddress->setText(COLUMN_AMOUNT, BitcoinUnits::format(nDisplayUnit, nSum)); + itemWalletAddress->setToolTip(COLUMN_AMOUNT, BitcoinUnits::format(nDisplayUnit, nSum)); itemWalletAddress->setText(COLUMN_AMOUNT_INT64, strPad(QString::number(nSum), 15, " ")); itemWalletAddress->setText(COLUMN_PRIORITY, CoinControlDialog::getPriorityLabel(dPrioritySum, mempoolEstimatePriority)); itemWalletAddress->setText(COLUMN_PRIORITY_INT64, strPad(QString::number((int64_t)dPrioritySum), 20, " ")); diff --git a/src/qt/forms/coincontroldialog.ui b/src/qt/forms/coincontroldialog.ui index 90a0cffe7..c78a2d20a 100644 --- a/src/qt/forms/coincontroldialog.ui +++ b/src/qt/forms/coincontroldialog.ui @@ -6,7 +6,7 @@ 0 0 - 1000 + 954 500 @@ -431,7 +431,7 @@ false - 12 + 13 true @@ -461,7 +461,7 @@ - Darksend Rounds + DS Rounds From 9b170483b721952b8e904ff5531dcd403f8970fb Mon Sep 17 00:00:00 2001 From: crowning- Date: Sun, 12 Jul 2015 20:23:38 +0200 Subject: [PATCH 2/2] Minor Options-Dialog enhancements --- src/qt/forms/optionsdialog.ui | 2 +- src/qt/forms/rpcconsole.ui | 0 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 src/qt/forms/optionsdialog.ui mode change 100755 => 100644 src/qt/forms/rpcconsole.ui diff --git a/src/qt/forms/optionsdialog.ui b/src/qt/forms/optionsdialog.ui old mode 100755 new mode 100644 index 02cdb1c02..fd0115762 --- a/src/qt/forms/optionsdialog.ui +++ b/src/qt/forms/optionsdialog.ui @@ -225,7 +225,7 @@ - If you disable the spending of unconfirmed change, the change from a transaction cannot be used until that transaction has at least one confirmation. This also affects how your balance is computed. + <html><head/><body><p>If you disable the spending of unconfirmed change, the change from a transaction</p><p>cannot be used until that transaction has at least one confirmation.</p><p>This also affects how your balance is computed.</p></body></html> &Spend unconfirmed change diff --git a/src/qt/forms/rpcconsole.ui b/src/qt/forms/rpcconsole.ui old mode 100755 new mode 100644