diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-06-26 23:09:41 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-06-26 23:09:41 +0200 |
commit | 7aff3d5852d263adb2b1b6ae608d29e91c2d2833 (patch) | |
tree | ef873c2994bfeb95e1a69aeaf4335c2ff4c766dd /src/qt | |
parent | 34fa178243d462fa8ed8978227626bcd0c622d82 (diff) |
add icons to "New..." and "Copy to clipboard" buttons
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/bitcoin.qrc | 1 | ||||
-rw-r--r-- | src/qt/bitcoingui.cpp | 2 | ||||
-rw-r--r-- | src/qt/res/icons/add.png | bin | 0 -> 1279 bytes |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/bitcoin.qrc b/src/qt/bitcoin.qrc index 663eb4869d..2e4cbbb5bd 100644 --- a/src/qt/bitcoin.qrc +++ b/src/qt/bitcoin.qrc @@ -21,6 +21,7 @@ <file alias="receiving_addresses">res/icons/receive.png</file> <file alias="editpaste">res/icons/editpaste.png</file> <file alias="editcopy">res/icons/editcopy.png</file> + <file alias="add">res/icons/add.png</file> </qresource> <qresource prefix="/images"> <file alias="about">res/images/about.png</file> diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 24311bfd29..c8230a92b5 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -82,8 +82,10 @@ BitcoinGUI::BitcoinGUI(QWidget *parent): QPushButton *button_new = new QPushButton(tr("&New...")); button_new->setToolTip(tr("Create new receiving address")); + button_new->setIcon(QIcon(":/icons/add")); QPushButton *button_clipboard = new QPushButton(tr("&Copy to clipboard")); button_clipboard->setToolTip(tr("Copy current receiving address to the system clipboard")); + button_clipboard->setIcon(QIcon(":/icons/editcopy")); hbox_address->addWidget(button_new); hbox_address->addWidget(button_clipboard); diff --git a/src/qt/res/icons/add.png b/src/qt/res/icons/add.png Binary files differnew file mode 100644 index 0000000000..f98e2a8ca7 --- /dev/null +++ b/src/qt/res/icons/add.png |