aboutsummaryrefslogtreecommitdiff
path: root/src/qt/sendcoinsentry.cpp
AgeCommit message (Collapse)Author
2014-07-23ui: Make sure sendcoinsentry signals only connected onceWladimir J. van der Laan
Move signal connections to constructor where possible.
2014-07-23qt: Use fixed-point arithmetic in amount spinboxWladimir J. van der Laan
Fixes various issues and cleans up code - Fixes issue #4500: Amount widget +/- has floating point rounding artifacts - Amount box can now be emptied again, without clearing to 0 Also aligns the amount to the right, as in other places.
2014-03-12[Qt] Fill in label from address book also for URIsCozz Lovan
2014-01-29[Qt] extend validate line edit and btc address validatorPhilip Kaufmann
- remove btc address length from address validator - add an optional btc address check in validated line edit that defaults to off and is used in GUIUtil::setupAddressWidget() - an isAcceptable() check is added to validated line edit on focus out which only kicks in, when a validator is used with that widget - remove an isAcceptable() check from sendcoinsentry.cpp - remove obsolete attributes from ui files, which are set by calling GUIUtil::setupAddressWidget() - move some more things to GUIUtil::setupAddressWidget() and remove them from normal code e.g. placeholder text
2014-01-21[Qt] Show and store message of normal bitcoin:URICozz Lovan
2014-01-02ui: Better tab order in send coins entryWladimir J. van der Laan
Pressing <tab> after entering a label now brings the focus to the address entry, instead of the row of buttons. In my experience this is more useful, as I usually want to paste an address after entering the label. The buttons are mostly useless anyway: - Choosing a previously used address should be discouraged - When I'm already using the keyboard the 'paste address' button is useless - just use the Ctrl-V. Maybe it would be an idea to remove it completely - I usually don't want to remove the entry I'm typing now! So makes sense to have it at the end of the tab chain.
2013-12-01Fix a rare crash on Mac OS X, by removing a setFocus on the payTo field that ↵Ryan Niebur
was not necessary, as the field still receives focus without it.
2013-11-24[Qt] allow deletion of payment-requests in sendcoinsPhilip Kaufmann
- this adds a delete button for insecure and secure payment requests in the sendcoins dialog - it also enables the delete button even for single and empty entries, as this is much easier to handle and doesn't need to special case single entries - big parts of the ui file were changed, because I copied the delete button and had to delete the layout too and created it from scratch (which seems to cleanup the rows and colums in the layout also, which is nice IMHO)
2013-11-18Coincontrol cleanup (e.g. add missing license)Philip Kaufmann
- add missing license headers - make compatible with Qt5 - enforce header cleanup style - small code style cleanups - rename Coin Control dialog into Coin Control Address Selection - use default font for the windows labels (no monospace)
2013-11-14Coin Control FeaturesCozz Lovan
2013-11-10Cleanup code using forward declarations.Brandon Dahler
Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
2013-11-06Merge pull request #3145Wladimir J. van der Laan
395d0d5 rework an ugly hack in processPaymentRequest() (Philip Kaufmann) 952d2cd make processPaymentRequest() use a single SendCoinsRecipient (Philip Kaufmann) 983cef4 payment-request UI: use SendCoinsRecipient.message for memo (Philip Kaufmann) c6c97e0 [Qt] Rework of payment request UI (mainly for insecure pr) (Philip Kaufmann)
2013-11-04qt: add license header to source filesWladimir J. van der Laan
Closes #839
2013-10-31payment-request UI: use SendCoinsRecipient.message for memoPhilip Kaufmann
2013-10-31[Qt] Rework of payment request UI (mainly for insecure pr)Philip Kaufmann
- this shows insecure (unsecured) payment requests in a new yellowish colored UI (based on the secure payment request UI) instead of our normal payment UI - allows us to receive paymentACK messages for insecure payment requests - allows us to handle expirations for insecure payment request - changed walletmodel, so that all types of payment requests don't touch the addressbook
2013-10-23qt: rework "receive coins" workflowWladimir J. van der Laan
2013-10-16add SendCoinsEntry::updateLabel() functionPhilip Kaufmann
- makes the code for updating a label reusable - no functional changes
2013-10-15make BitcoinAmountField::setReadOnly() usablePhilip Kaufmann
- use it for secure payment-requests (this change allows a copy&paste of the amount and looks a little nicer than just a disabled GUI element)
2013-10-11sendcoinsentry: small clear() and setValue() changesPhilip Kaufmann
- clear(): clear all UI elements (for secure and insecure payments) - setValue(): only modify UI elements, which need to be set (for secure or insecure payments)
2013-10-01Bitcoin-Qt: translation fixes in sendcoinsPhilip Kaufmann
- remove some unneeded translatable strings from sendcoinsentry.ui file and rename some elements for better readability - optimize string prorcessing in SendCoinsDialog::on_sendButton_clicked() - make all UI labels for secure payments plain text and move the settings to sendcoinsentry.ui file - remove unneeded button and default button definiton from warning message boxes - remove fixed font-size when sending coins to an address with label and use monospace font for addresses
2013-08-22Payment Protocol: X509-validated payment requestsGavin Andresen
Add support for a Payment Protocol to Bitcoin-Qt. Payment messages are protocol-buffer encoded and communicated over http(s), so this adds a dependency on the Google protocol buffer library, and requires Qt with OpenSSL support.
2013-08-22Reject dust amounts during validationGavin Andresen
Replaces the validation check for "amount == 0" with an isDust check, so very small output amounts are caught before the wallet is unlocked, a transaction is created, etc.
2013-03-18Bitcoin-Qt: add "send coins" to context menu in addressbookPhilip Kaufmann
- allows to directly select an address from the addressbook, chose "send coins" from the context menu, which sends you to sendcoins tab and fills in the selected address
2013-03-17Bitcoin-Qt: massive header and cpp cleanupPhilip Kaufmann
- try to enforce the same style to all Qt related files - remove unneeded includes from the files - add missing Q_OBJECT, QT_BEGIN_NAMESPACE / QT_END_NAMESPACE - prepares for a pull-req to include Qt5 compatibility
2012-09-21enhance Qt5 compatibilityPhilip Kaufmann
- replace Q_WS_MAC (not supported anymore in Qt5) with Q_OS_MAC (supported in Qt4/5)
2012-06-17add the slot updateDisplayUnit() to overviewpage, sendcoinsdialog, ↵Philip Kaufmann
sendcoinsentry and connect it to displayUnitChanged() - this ensures all fields in the GUI, who use a display unit are imediately updated, when the user changes this setting in the optionsdialog / ensure used fields init with the current set display unit
2012-05-07Move back setPlaceholderText to code, from xml, as this broke building with ↵Wladimir J. van der Laan
Qt 4.6
2012-05-04move label placeholdertext from sendcoinsentry.cpp to ui-filePhilip Kaufmann
2012-04-13Set label when selecting an address that already has a label. Fixes #1080.Wladimir J. van der Laan
2012-03-18Make the sendcoins dialog use the configured unit type, even on the first ↵Joel Kaartinen
attempt.
2012-02-17Only fill in label from address book, if no label is filled in yet, fixes #840Wladimir J. van der Laan
2012-01-05Automatically refocus on new SendCoinsEntrys and scroll to them.Matt Corallo
2011-11-08Add robustness against null modelsWladimir J. van der Laan
2011-10-09Improved Mac experience; QDoubleSpinBox for BitcoinAmountFieldp2k
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.
2011-08-07don't include <QDebug>Wladimir J. van der Laan
2011-08-07Accept "bitcoin:" URL drops from browsersWladimir J. van der Laan
2011-07-29Full support for other units, add configuration option for default unit ↵Wladimir J. van der Laan
(used when displaying amounts)
2011-07-26allow multiple units in bitcoin amount widget (for example, for sending) ↵Wladimir J. van der Laan
using a combobox
2011-07-25preparations for multiple unit (uBTC, mBTC, BTC) support, fix amount entry issueWladimir J. van der Laan
2011-07-22fix clear() (clear red/invalid status)Wladimir J. van der Laan
2011-07-16add sendmany supportWladimir J. van der Laan