Merge pull request #425 from crowning-/UI_Enhancements
Minor Coincontrol-Dialog enhancements
This commit is contained in:
commit
1cbd0aace5
@ -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, " "));
|
||||
|
@ -6,7 +6,7 @@
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1000</width>
|
||||
<width>954</width>
|
||||
<height>500</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -431,7 +431,7 @@
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="columnCount">
|
||||
<number>12</number>
|
||||
<number>13</number>
|
||||
</property>
|
||||
<attribute name="headerShowSortIndicator" stdset="0">
|
||||
<bool>true</bool>
|
||||
@ -461,7 +461,7 @@
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string>Darksend Rounds</string>
|
||||
<string>DS Rounds</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
|
2
src/qt/forms/optionsdialog.ui
Executable file → Normal file
2
src/qt/forms/optionsdialog.ui
Executable file → Normal file
@ -225,7 +225,7 @@
|
||||
<item>
|
||||
<widget class="QCheckBox" name="spendZeroConfChange">
|
||||
<property name="toolTip">
|
||||
<string>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.</string>
|
||||
<string><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></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Spend unconfirmed change</string>
|
||||
|
0
src/qt/forms/rpcconsole.ui
Executable file → Normal file
0
src/qt/forms/rpcconsole.ui
Executable file → Normal file
Loading…
Reference in New Issue
Block a user