Feathercoin QT, I need to make some changes to it
-
My Feathercoin-QT, I use it have a high frequency every day. But I must make some changes to it.
-
transactionview no total. It is very frustrating collar. So I add total for it. I can see Total of different Type and Prefix. C:-)
-
overviewpage is too monotonous, I added a LOGO.
I think to commit them to Github.
1. src\qt\transactionview.cpp
void TransactionView::showTotal()
{
float fTotal=0;
for (int i=0;i
{
fTotal+=transactionProxyModel->data(transactionProxyModel->index(i,4)).toFloat();
}
totalWidget->setText(dateWidget->currentText()+" “+typeWidget->currentText()+”:“+QObject::tr(”%1").arg(fTotal)+" FTC");
}
2. src\qt\bitcoin.qrc and src\qt\forms\overviewpage.ui
:/images/wallet_bg
-
-
Yes, do that.
Are there changes to the language files needed, for example to add the string ‘total’ or ‘Daily total’ ?
-
Are there changes to the language files needed, for example to add the string ‘total’ or ‘Daily total’ ?
I find language files had changed , bitcoin_zh_CN.ts had changed from Bitcoin 0.8.6. I had translated it and commit to Github.
You can compile the file:
lrelease -verbose bitcoin_zh_CN.ts -qm bitcoin_zh_CN.qm