Browse Source

paper cash icons

pull/29/head
orignal 7 years ago
parent
commit
7b0188d49b
  1. 2
      src/qt/bitcoingui.cpp
  2. 4
      src/qt/paperwallet.qrc
  3. 2
      src/qt/res/html/paperwallet.html
  4. BIN
      src/qt/res/icons/cash.png
  5. BIN
      src/qt/res/icons/cash_print.png

2
src/qt/bitcoingui.cpp

@ -260,7 +260,7 @@ void BitcoinGUI::createActions()
connect(verifyMessageAction, SIGNAL(triggered()), this, SLOT(gotoVerifyMessageTab())); connect(verifyMessageAction, SIGNAL(triggered()), this, SLOT(gotoVerifyMessageTab()));
#ifdef USE_QRCODE #ifdef USE_QRCODE
printPaperWalletAction = new QAction(QIcon(":/icons/key"), tr("&Print paper wallet..."), this); printPaperWalletAction = new QAction(QIcon(":/icons/cash"), tr("&Print paper wallet..."), this);
printPaperWalletAction->setIconVisibleInMenu(true); printPaperWalletAction->setIconVisibleInMenu(true);
printPaperWalletAction->setStatusTip(tr("Generate new address and print")); printPaperWalletAction->setStatusTip(tr("Generate new address and print"));
connect(printPaperWalletAction, SIGNAL(triggered()), walletFrame, SLOT(printPaperWallet())); connect(printPaperWalletAction, SIGNAL(triggered()), walletFrame, SLOT(printPaperWallet()));

4
src/qt/paperwallet.qrc

@ -2,4 +2,8 @@
<qresource prefix="/html"> <qresource prefix="/html">
<file alias="paperwallet">res/html/paperwallet.html</file> <file alias="paperwallet">res/html/paperwallet.html</file>
</qresource> </qresource>
<qresource prefix="/icons">
<file alias="cash">res/icons/cash.png</file>
<file alias="cash_print">res/icons/cash_print.png</file>
</qresource>
</RCC> </RCC>

2
src/qt/res/html/paperwallet.html

@ -55,7 +55,7 @@
<tr> <tr>
<td width="200"> <td width="200">
<div style="display: inline-block;"> <div style="display: inline-block;">
<img src=":/icons/gostcoin" width="107" height="107"> <img src=":/icons/cash_print" width="160" height="107">
</div> </div>
</td> </td>
<td> <td>

BIN
src/qt/res/icons/cash.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
src/qt/res/icons/cash_print.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Loading…
Cancel
Save