aboutsummaryrefslogtreecommitdiff
path: root/src/qt/forms
diff options
context:
space:
mode:
authorp2k <patrick.p2k.schneider@gmail.com>2011-10-07 13:21:45 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-10-09 21:19:44 +0200
commit527137e3ee542da5ecd4d04364fac0eb0067a2a4 (patch)
treee3ef2f32ef2d23e8d54175703fa3e36cd3ca0c1a /src/qt/forms
parentd934e7e3ddd7d919e58f76705439cdb15c745951 (diff)
downloadbitcoin-527137e3ee542da5ecd4d04364fac0eb0067a2a4.tar.xz
Improved Mac experience; QDoubleSpinBox for BitcoinAmountField
Now it can't be told if this is was a Windows App before. All Mac design principles are fulfilled and some cosmetics have been applied to suit the native look and feel. The biggest change there is the proper use of the Dock icon which takes the role of the Tray icon on Mac. The QDoubleSpinBox improves entering of Bitcoin amounts, no two separate fields are required anymore. All functionality and validation effects have been retained; pressing the comma key will be internally translated to a period to keep it consistent throughout the application and eases entering in countries which use the comma as decimal separator. Additionally, Notificator now supports Growl, Mac's native notification system. This is provided via Apple Script in order to avoid linking to Growl on compile time. Other changes involve encapsulation of Toolbar and Menubar creation, loading of Qt's own translation and some clean up.
Diffstat (limited to 'src/qt/forms')
-rw-r--r--src/qt/forms/sendcoinsdialog.ui3
-rw-r--r--src/qt/forms/sendcoinsentry.ui17
2 files changed, 4 insertions, 16 deletions
diff --git a/src/qt/forms/sendcoinsdialog.ui b/src/qt/forms/sendcoinsdialog.ui
index f9dd02fef5..e5e19e1015 100644
--- a/src/qt/forms/sendcoinsdialog.ui
+++ b/src/qt/forms/sendcoinsdialog.ui
@@ -58,9 +58,6 @@
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
- <property name="spacing">
- <number>6</number>
- </property>
<item>
<widget class="QPushButton" name="addButton">
<property name="toolTip">
diff --git a/src/qt/forms/sendcoinsentry.ui b/src/qt/forms/sendcoinsentry.ui
index 13593c2c1e..0297d17f15 100644
--- a/src/qt/forms/sendcoinsentry.ui
+++ b/src/qt/forms/sendcoinsentry.ui
@@ -83,7 +83,7 @@
</widget>
</item>
<item row="3" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_3">
+ <layout class="QHBoxLayout" name="payToLayout">
<property name="spacing">
<number>0</number>
</property>
@@ -98,7 +98,7 @@
</widget>
</item>
<item>
- <widget class="QPushButton" name="addressBookButton">
+ <widget class="QToolButton" name="addressBookButton">
<property name="toolTip">
<string>Choose adress from address book</string>
</property>
@@ -112,16 +112,10 @@
<property name="shortcut">
<string>Alt+A</string>
</property>
- <property name="autoDefault">
- <bool>false</bool>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
</widget>
</item>
<item>
- <widget class="QPushButton" name="pasteButton">
+ <widget class="QToolButton" name="pasteButton">
<property name="toolTip">
<string>Paste address from clipboard</string>
</property>
@@ -135,13 +129,10 @@
<property name="shortcut">
<string>Alt+P</string>
</property>
- <property name="autoDefault">
- <bool>false</bool>
- </property>
</widget>
</item>
<item>
- <widget class="QPushButton" name="deleteButton">
+ <widget class="QToolButton" name="deleteButton">
<property name="toolTip">
<string>Remove this recipient</string>
</property>