Browse Source

Improve look/usablity of send coins dialog

0.8
Wladimir J. van der Laan 14 years ago
parent
commit
a404b1512a
  1. 3
      doc/assets-attribution.txt
  2. 2
      src/qt/bitcoin.qrc
  3. 2
      src/qt/bitcoingui.cpp
  4. 98
      src/qt/forms/sendcoinsdialog.ui
  5. BIN
      src/qt/res/icons/editcopy.png
  6. BIN
      src/qt/res/icons/editpaste.png

3
doc/assets-attribution.txt

@ -26,7 +26,8 @@ Site: https://forum.bitcoin.org/index.php?topic=15276.0 @@ -26,7 +26,8 @@ Site: https://forum.bitcoin.org/index.php?topic=15276.0
License: You are free to do with these icons as you wish, including selling,
copying, modifying etc.
Icon: src/qt/res/icons/configure.png, src/qt/res/icons/quit.png
Icon: src/qt/res/icons/configure.png, src/qt/res/icons/quit.png,
src/qt/res/icons/editcopy.png, src/qt/res/icons/editpaste.png
Designer: http://www.everaldo.com
Icon Pack: Crystal SVG
License: LGPL

2
src/qt/bitcoin.qrc

@ -19,6 +19,8 @@ @@ -19,6 +19,8 @@
<file alias="transaction_5">res/icons/clock5.png</file>
<file alias="options">res/icons/configure.png</file>
<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>
</qresource>
<qresource prefix="/images">
<file alias="about">res/images/about.png</file>

2
src/qt/bitcoingui.cpp

@ -93,7 +93,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent): @@ -93,7 +93,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
hbox_balance->addSpacing(5);/* Add some spacing between the label and the text */
labelBalance = new QLabel();
labelBalance->setFont(QFont("Monospace"));
labelBalance->setFont(QFont("Monospace", -1, QFont::Bold));
labelBalance->setToolTip(tr("Your current balance"));
hbox_balance->addWidget(labelBalance);
hbox_balance->addStretch(1);

98
src/qt/forms/sendcoinsdialog.ui

@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>736</width>
<height>149</height>
<height>193</height>
</rect>
</property>
<property name="windowTitle">
@ -16,65 +16,89 @@ @@ -16,65 +16,89 @@
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="5" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>&amp;Amount:</string>
<item row="3" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>0</number>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<item>
<widget class="QLineEdit" name="payTo">
<property name="toolTip">
<string>The address to send the payment to (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</string>
</property>
<property name="buddy">
<cstring>payAmount</cstring>
<property name="maxLength">
<number>34</number>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<item>
<widget class="QPushButton" name="addressBookButton">
<property name="toolTip">
<string>Look up adress in address book</string>
</property>
<property name="text">
<string>Pay &amp;To:</string>
<string/>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="icon">
<iconset resource="../bitcoin.qrc">
<normaloff>:/icons/address-book</normaloff>:/icons/address-book</iconset>
</property>
<property name="buddy">
<cstring>payTo</cstring>
<property name="shortcut">
<string>Alt+A</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="payTo">
<property name="toolTip">
<string>The address to send the payment to (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)</string>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="maxLength">
<number>34</number>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="2">
<item>
<widget class="QPushButton" name="pasteButton">
<property name="toolTip">
<string>Paste address from system clipboard</string>
</property>
<property name="text">
<string>&amp;Paste</string>
<string/>
</property>
<property name="icon">
<iconset resource="../bitcoin.qrc">
<normaloff>:/icons/editpaste</normaloff>:/icons/editpaste</iconset>
</property>
<property name="shortcut">
<string>Alt+P</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QPushButton" name="addressBookButton">
<property name="toolTip">
<string>Look up adress in address book</string>
</layout>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>A&amp;mount:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>payAmount</cstring>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Address &amp;Book...</string>
<string>Pay &amp;To:</string>
</property>
<property name="autoDefault">
<bool>false</bool>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="buddy">
<cstring>payTo</cstring>
</property>
</widget>
</item>
@ -91,7 +115,7 @@ @@ -91,7 +115,7 @@
</widget>
</item>
<item row="5" column="1">
<widget class="BitcoinAmountField" name="payAmount" native="true"/>
<widget class="BitcoinAmountField" name="payAmount"/>
</item>
<item row="4" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_2">
@ -101,7 +125,7 @@ @@ -101,7 +125,7 @@
<string>Add specified destination address to address book</string>
</property>
<property name="text">
<string>Add to address book as</string>
<string>A&amp;dd to address book as</string>
</property>
</widget>
</item>
@ -187,7 +211,7 @@ @@ -187,7 +211,7 @@
<customwidgets>
<customwidget>
<class>BitcoinAmountField</class>
<extends>QWidget</extends>
<extends>QLineEdit</extends>
<header>bitcoinamountfield.h</header>
<container>1</container>
</customwidget>
@ -197,8 +221,8 @@ @@ -197,8 +221,8 @@
<tabstop>addToAddressBook</tabstop>
<tabstop>addAsLabel</tabstop>
<tabstop>payAmount</tabstop>
<tabstop>pasteButton</tabstop>
<tabstop>addressBookButton</tabstop>
<tabstop>pasteButton</tabstop>
<tabstop>sendButton</tabstop>
<tabstop>buttonBox</tabstop>
</tabstops>

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 879 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Loading…
Cancel
Save