aboutsummaryrefslogtreecommitdiff
path: root/src/qt/sendcoinsdialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'upstream/master'Roy Badami2014-07-071-26/+13
|\ | | | | | | | | | | Conflicts: src/qt/overviewpage.cpp src/qt/transactiondesc.cpp
| * Watchonly balances are shown separately in gui.JaSK2014-07-021-4/+9
| |
| * [Qt] Remove CENT-fee-rule from coin control completelyCozz Lovan2014-06-081-2/+2
| |
| * [Qt] ensure payment request network matches client networkPhilip Kaufmann2014-05-061-20/+2
| | | | | | | | | | | | | | | | | | | | - replaces checks in SendCoinsDialog::handlePaymentRequest() that belong to PaymentServer (normal URIs are special cased, as only an isValid check is done on BTC addresses) - prevents the client to handle payment requests that do not match the clients network and shows an error instead (mainly a problem with drag&drop payment requests onto the client window) - includes some small comment changes also
* | Implement SI-style (thin space) thoudands separatorRoy Badami2014-05-171-4/+4
|/
* Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron2014-02-091-1/+1
| | | | | | in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does.
* qt: Fix tab order in send and receive tabWladimir J. van der Laan2014-01-291-3/+4
|
* [Qt] extend validate line edit and btc address validatorPhilip Kaufmann2014-01-291-7/+2
| | | | | | | | | | | | | - 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
* [Qt] Fix coin control labels updateCozz Lovan2014-01-271-0/+3
|
* [Qt] coin control change address handling updatePhilip Kaufmann2013-12-201-28/+29
| | | | | | | | | - re-work change address handling so that default is CNoDestination(), until a verified and known change address was entered (easier code flow) - add a missing NULL pointer check for adresstablemodel - add a missing text when opening coin control address selection for priority and ensure the label is black - add a missing . at the end of a sentence
* qt: status WalletModel::Aborted is no longer usedWladimir J. van der Laan2013-12-161-2/+1
| | | | | Aborting transactions happens in the GUI now as it should, not the backend.
* [Qt] fix possibilty to delete last sendcoins entryPhilip Kaufmann2013-12-111-4/+6
| | | | | - hide the entry about to be deleted, and if it is the last entry add a new one, so that we always have one entry in our list
* qt: use deleteLater to remove send entriesWladimir J. van der Laan2013-12-041-2/+2
| | | | | | Use deleteLater() instead of delete, as it is not allowed to delete widgets directly in an event handler. Should solve the MacOSX random crashes on send with coincontrol.
* [Qt] coin-control features GUI cleanup 2Philip Kaufmann2013-12-021-6/+15
| | | | | | | | | - remove monospace labels from sendcoinsdialog also - use a validated line edit for the change address - add a tooltip to change address switch - ensure we have a valid change address in CoinControlDialog::coinControl->destChange or just CNoDestination() - some small ui file changes
* [Qt] allow deletion of payment-requests in sendcoinsPhilip Kaufmann2013-11-241-21/+12
| | | | | | | | | | | | - 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)
* Merge pull request #3273Wladimir J. van der Laan2013-11-221-4/+11
|\ | | | | | | fb0507f qt: show all units in send confirmation (Wladimir J. van der Laan)
| * qt: show all units in send confirmationWladimir J. van der Laan2013-11-171-4/+11
| | | | | | | | | | | | | | | | Make users accustomed to the other subdivision units (mBTC, muBTC) by showing the total amount in all units in the confirmation dialog. This was recently raised on the mailing list and could be a preparation for switching over the default unit eventually.
* | Coincontrol cleanup (e.g. add missing license)Philip Kaufmann2013-11-181-4/+3
|/ | | | | | | | | - 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)
* Coin Control FeaturesCozz Lovan2013-11-141-1/+211
|
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-4/+5
| | | | | | | | | 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.
* Merge pull request #3145Wladimir J. van der Laan2013-11-061-3/+7
|\ | | | | | | | | | | | | 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)
| * [Qt] Rework of payment request UI (mainly for insecure pr)Philip Kaufmann2013-10-311-3/+7
| | | | | | | | | | | | | | | | | | | | - 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
* | qt: add license header to source filesWladimir J. van der Laan2013-11-041-0/+4
|/ | | | Closes #839
* [Qt] sendcoinsdialog: convert QMessageBox usage to message()Philip Kaufmann2013-10-301-51/+57
| | | | | | | | | | | | - add new processSendCoinsReturn() function, which parses the status of WalletModel::SendCoinsReturn and generates a pair consisting of a message and message flags - result is we only need one emit message() call - this change ensures that the GUI is shown for warnings/errors in sendcoinsdialog, because of message() taking care of that for modal messages - changes 2 warning message into error messages and removed "Error:" in front of the actual error message string
* [Qt] additional small fixes for #3099 (new receive flow)Philip Kaufmann2013-10-261-1/+0
| | | | | | | | | - remove 2 unneeded windowTitle attributes, which bloat our translations - cleanup some unneeded .cpp/.h includes and class usages - use a more generic string for clearing sendcoinsdialog and requestpaymentdialog - edit 2 strings in BitcoinGUI and replace "edit" with "show" as this seems more clear in the context where it is used
* sendcoinsdialog: display real failed address stringPhilip Kaufmann2013-10-111-2/+1
| | | | | - display the real string (faulty address), which causes the valid address check to fail, instead of a stringified "nonsense" CBitcoinAddress
* Bitcoin-Qt: translation fixes in sendcoinsPhilip Kaufmann2013-10-011-42/+43
| | | | | | | | | | | | - 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
* qt: Display txfee in first sendCoinsDialog message boxJonas Schnelli2013-08-311-16/+65
| | | | Signed-off-by: Jonas Schnelli <[email protected]>
* qt: Use GUIUtil::HtmlEscape to escape HTMLWladimir J. van der Laan2013-08-301-10/+2
| | | | This is why we created this function. Avoids some #ifdef.
* Bitcoin-Qt: fixes for using display unit from optionsPhilip Kaufmann2013-08-291-14/+10
| | | | | | | - extend PaymentServer with setOptionsModel() and rework initNetManager() to make use of that - fix all other places in the code to use display unit from options and no hard-coded unit
* Bitcoin-Qt: extend some checks for valid model pointersPhilip Kaufmann2013-08-231-7/+8
|
* Payment Protocol: X509-validated payment requestsGavin Andresen2013-08-221-11/+36
| | | | | | | | 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.
* Qt5 compatibilityWladimir J. van der Laan2013-06-011-0/+4
| | | | | | | | | | | | This commit squashes all the changes in the Qt5 branch relative to master. Backward compatibility with Qt4 is retained. Original authors: - Philip Kaufmann <[email protected]> - Jonas Schnelli <[email protected]>
* Bitcoin-Qt: only use qApp for Q(Core)Application::instance()Philip Kaufmann2013-04-021-1/+1
|
* Bitcoin-Qt: add "send coins" to context menu in addressbookPhilip Kaufmann2013-03-181-0/+20
| | | | | | - 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
* Bitcoin-Qt: massive header and cpp cleanupPhilip Kaufmann2013-03-171-1/+1
| | | | | | | - 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
* fix some double-spaces in stringsPhilip Kaufmann2012-10-251-1/+1
| | | | | - remove some unneeded stuff in sendcoinsentry.ui - harmonize some "Error:"-messages
* enhance Qt5 compatibilityPhilip Kaufmann2012-09-211-1/+1
| | | | | - replace Q_WS_MAC (not supported anymore in Qt5) with Q_OS_MAC (supported in Qt4/5)
* Fix Qt test cases by moving address checks to parseBitcoinURIMatt Corallo2012-08-071-0/+4
| | | | | Makes sense in case bitcoin URIs eventually allow invalid addresses as a part of some larger future payment scheme.
* TypoMichael Ford2012-07-261-1/+1
|
* add the slot updateDisplayUnit() to overviewpage, sendcoinsdialog, ↵Philip Kaufmann2012-06-171-3/+13
| | | | 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
* URI-handling code update: added safety checks and tray-notificationsPhilip Kaufmann2012-06-141-5/+7
|
* Added 'immature balance' for miners. Only displayed if the balance is ↵sje3972012-05-251-3/+4
| | | | | | | | | | | | | | | | | | | | | greater than zero. This adds a field labelled 'Immature' in the overview section under the 'unconfirmed' field, which shows mined income that has not yet matured (which is currently not displayed anywhere, even though the transactions exist in the transaction list). To do that I added a 'GetImmatureBalance' method to the wallet, and connected that through to the GUI as per the 'GetBalance' and 'GetUnconfirmedBalance' methods. I did a small 'no-op' change to make the code in adjacent functions a little more readable (imo); it was a change I had made in my repo earlier...but I thought it wouldn't hurt so left it in. Immature balance comes from mined income that is at least two blocks deep in the chain (same logic as displayed transactions). My reasoning is: - as a miner, it's a critical stat I want to see - as a miner, and taking into account the label 'immature', the uncertainty is pretty clearly implied - those numbers are already displayed in the transaction list - this makes the overview numbers add up to what's in the transaction list - it's not displayed if the immature balance is 0, so won't bother non-miners I also 'cleaned' the overview UI a little, moving code to the XML and removing HTML.
* update some strings used as warning messages in sendcoinsdialog.cppPhilip Kaufmann2012-05-131-5/+5
|
* fix warnings: enumeration values 'XX' not handled in switch [-Wswitch-enum]Wladimir J. van der Laan2012-04-151-0/+2
|
* Bugfix: Replace "URL" with "URI" where we aren't actually working with URLsLuke Dashjr2012-04-061-2/+2
|
* Restructure IPC URL handling (fixes #851)Wladimir J. van der Laan2012-02-171-1/+1
|
* Add support for opening bitcoin: URIs directly.Matt Corallo2012-01-051-0/+10
|
* Automatically refocus on new SendCoinsEntrys and scroll to them.Matt Corallo2012-01-051-0/+7
|
* Revert "Use standard C99 (and Qt) types for 64-bit integers"Wladimir J. van der Laan2011-12-211-1/+0
| | | | This reverts commit 21d9f36781604e4ca9fc35dc65265593423b73e9.