aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-30 20:20:46 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-30 20:20:46 +0200
commitc16eb949450a573baf4c5f868f58d870b3b34ab2 (patch)
treebf55e431d3c544485b9f3ac1136c8d3aa6ac17d6 /src/qt
parentd61b7d13e4b5ac7bcb864bc9ff8fdb2ee17b0126 (diff)
add icons to address book dialog buttons
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoin.qrc4
-rw-r--r--src/qt/forms/addressbookdialog.ui22
-rw-r--r--src/qt/res/icons/edit.pngbin0 -> 1627 bytes
-rw-r--r--src/qt/res/icons/editdelete.pngbin0 -> 1368 bytes
4 files changed, 23 insertions, 3 deletions
diff --git a/src/qt/bitcoin.qrc b/src/qt/bitcoin.qrc
index fc35f89532..2dfc7dd987 100644
--- a/src/qt/bitcoin.qrc
+++ b/src/qt/bitcoin.qrc
@@ -1,5 +1,5 @@
<RCC>
- <qresource prefix="/icons">
+ <qresource prefix="/icons" lang="edit">
<file alias="address-book">res/icons/address-book.png</file>
<file alias="bitcoin">res/icons/bitcoin.png</file>
<file alias="quit">res/icons/quit.png</file>
@@ -24,6 +24,8 @@
<file alias="add">res/icons/add.png</file>
<file alias="bitcoin_testnet">res/icons/bitcoin_testnet.png</file>
<file alias="toolbar_testnet">res/icons/toolbar_testnet.png</file>
+ <file alias="edit">res/icons/edit.png</file>
+ <file alias="editdelete">res/icons/editdelete.png</file>
</qresource>
<qresource prefix="/images">
<file alias="about">res/images/about.png</file>
diff --git a/src/qt/forms/addressbookdialog.ui b/src/qt/forms/addressbookdialog.ui
index 0427789687..40ade40a39 100644
--- a/src/qt/forms/addressbookdialog.ui
+++ b/src/qt/forms/addressbookdialog.ui
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>591</width>
+ <width>620</width>
<height>347</height>
</rect>
</property>
@@ -115,6 +115,10 @@
<property name="text">
<string>&amp;New Address...</string>
</property>
+ <property name="icon">
+ <iconset resource="../bitcoin.qrc">
+ <normaloff>:/icons/add</normaloff>:/icons/add</iconset>
+ </property>
</widget>
</item>
<item>
@@ -125,6 +129,10 @@
<property name="text">
<string>&amp;Copy to Clipboard</string>
</property>
+ <property name="icon">
+ <iconset resource="../bitcoin.qrc">
+ <normaloff>:/icons/editcopy</normaloff>:/icons/editcopy</iconset>
+ </property>
</widget>
</item>
<item>
@@ -135,6 +143,10 @@
<property name="text">
<string>&amp;Edit...</string>
</property>
+ <property name="icon">
+ <iconset resource="../bitcoin.qrc">
+ <normaloff>:/icons/edit</normaloff>:/icons/edit</iconset>
+ </property>
</widget>
</item>
<item>
@@ -145,6 +157,10 @@
<property name="text">
<string>&amp;Delete</string>
</property>
+ <property name="icon">
+ <iconset resource="../bitcoin.qrc">
+ <normaloff>:/icons/editdelete</normaloff>:/icons/editdelete</iconset>
+ </property>
</widget>
</item>
<item>
@@ -164,6 +180,8 @@
</item>
</layout>
</widget>
- <resources/>
+ <resources>
+ <include location="../bitcoin.qrc"/>
+ </resources>
<connections/>
</ui>
diff --git a/src/qt/res/icons/edit.png b/src/qt/res/icons/edit.png
new file mode 100644
index 0000000000..1d69145151
--- /dev/null
+++ b/src/qt/res/icons/edit.png
Binary files differ
diff --git a/src/qt/res/icons/editdelete.png b/src/qt/res/icons/editdelete.png
new file mode 100644
index 0000000000..945d221eea
--- /dev/null
+++ b/src/qt/res/icons/editdelete.png
Binary files differ