Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Feathercoin QT, I need to make some changes to it

    Technical Development
    2
    3
    1156
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • lizhi
      lizhi last edited by

      My Feathercoin-QT, I use it have a high frequency every day. But I must make some changes to it.

      1. transactionview no total. It is very frustrating collar. So I add total for it. I can see Total of different Type and Prefix. C:-)

      2. overviewpage is too monotonous, I added a LOGO.

      I think to commit them to Github.

      1. src\qt\transactionview.cpp

      800px-Edit_2.jpg

      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

      800px-Edit_1.jpg

                :/images/wallet_bg
      
      1 Reply Last reply Reply Quote 0
      • Wellenreiter
        Wellenreiter Moderators last edited by

        Yes, do that.

        Are there changes to the language files needed, for example to add the string ‘total’ or ‘Daily total’ ?

        Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
        Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

        1 Reply Last reply Reply Quote 0
        • lizhi
          lizhi last edited by

          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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post