Improved Mac experience; QDoubleSpinBox for BitcoinAmountField
authorp2k <patrick.p2k.schneider@gmail.com>
Fri, 7 Oct 2011 11:21:45 +0000 (13:21 +0200)
committerWladimir J. van der Laan <laanwj@gmail.com>
Sun, 9 Oct 2011 19:19:44 +0000 (21:19 +0200)
commit527137e3ee542da5ecd4d04364fac0eb0067a2a4
treee3ef2f32ef2d23e8d54175703fa3e36cd3ca0c1a
parentd934e7e3ddd7d919e58f76705439cdb15c745951
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.
18 files changed:
bitcoin-qt.pro
src/qt/addressbookpage.cpp
src/qt/bitcoin.cpp
src/qt/bitcoinamountfield.cpp
src/qt/bitcoinamountfield.h
src/qt/bitcoingui.cpp
src/qt/bitcoingui.h
src/qt/forms/sendcoinsdialog.ui
src/qt/forms/sendcoinsentry.ui
src/qt/macdockiconhandler.h [new file with mode: 0644]
src/qt/macdockiconhandler.mm [new file with mode: 0644]
src/qt/notificator.cpp
src/qt/notificator.h
src/qt/optionsdialog.cpp
src/qt/overviewpage.cpp
src/qt/sendcoinsdialog.cpp
src/qt/sendcoinsentry.cpp
src/qt/transactionview.cpp