aboutsummaryrefslogtreecommitdiff
path: root/src/qt/sendcoinsentry.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright headers to 2018DrahtBot2018-07-271-1/+1
|
* gui: Remove QT_VERSION fallbacks for Qt < 5Wladimir J. van der Laan2018-06-181-2/+0
| | | | | | | There were surprisingly many `#ifdef` fallbacks for Qt 4. Remiving them simplifies maintenance, as well as adding new GUI functionality.
* scripted-diff: Avoid `interface` keyword to fix windows gitian buildRussell Yanofsky2018-04-071-1/+1
| | | | | | | | | | | | | | | | | | Rename `interface` to `interfaces` Build failure reported by Chun Kuan Lee <[email protected]> https://github.com/bitcoin/bitcoin/pull/10244#issuecomment-379434756 -BEGIN VERIFY SCRIPT- git mv src/interface src/interfaces ren() { git grep -l "$1" | xargs sed -i "s,$1,$2,g"; } ren interface/ interfaces/ ren interface:: interfaces:: ren BITCOIN_INTERFACE_ BITCOIN_INTERFACES_ ren "namespace interface" "namespace interfaces" -END VERIFY SCRIPT-
* Remove direct bitcoin access from qt/guiutil.cppRussell Yanofsky2018-04-041-2/+2
|
* Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa2018-01-031-1/+1
|
* Remove includes in .cpp files for things the corresponding .h file already ↵practicalswift2017-11-161-1/+0
| | | | included
* qt: refactor: Changes to make include paths absoluteWladimir J. van der Laan2017-11-161-1/+1
| | | | | | | This makes all include paths in the GUI absolute. Many changes are involved as every single source file in src/qt/ assumes to be able to use relative includes.
* scripted-diff: Replace #include "" with #include <> (ryanofsky)MeshCollider2017-11-161-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -BEGIN VERIFY SCRIPT- for f in \ src/*.cpp \ src/*.h \ src/bench/*.cpp \ src/bench/*.h \ src/compat/*.cpp \ src/compat/*.h \ src/consensus/*.cpp \ src/consensus/*.h \ src/crypto/*.cpp \ src/crypto/*.h \ src/crypto/ctaes/*.h \ src/policy/*.cpp \ src/policy/*.h \ src/primitives/*.cpp \ src/primitives/*.h \ src/qt/*.cpp \ src/qt/*.h \ src/qt/test/*.cpp \ src/qt/test/*.h \ src/rpc/*.cpp \ src/rpc/*.h \ src/script/*.cpp \ src/script/*.h \ src/support/*.cpp \ src/support/*.h \ src/support/allocators/*.h \ src/test/*.cpp \ src/test/*.h \ src/wallet/*.cpp \ src/wallet/*.h \ src/wallet/test/*.cpp \ src/wallet/test/*.h \ src/zmq/*.cpp \ src/zmq/*.h do base=${f%/*}/ relbase=${base#src/} sed -i "s:#include \"\(.*\)\"\(.*\):if test -e \$base'\\1'; then echo \"#include <\"\$relbase\"\\1>\\2\"; else echo \"#include <\\1>\\2\"; fi:e" $f done -END VERIFY SCRIPT-
* [qt] Add use available balance in send coins dialogCryptAxe2017-09-131-0/+16
|
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Do not shadow in src/qtPavel Janík2016-09-231-6/+6
|
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* [qt] Use fixed pitch font for the rpc consoleMarcoFalke2015-10-291-1/+1
| | | | | | Also: * Preserve white space * Make fixed font as large as default font
* qt: Introduce PlatformStyleWladimir J. van der Laan2015-07-311-12/+12
| | | | | | | | | | | | | | Introduce a PlatformStyle to handle platform-specific customization of the UI. This replaces 'scicon', as well as #ifdefs to determine whether to place icons on buttons. The selected PlatformStyle defaults to the platform that the application was compiled on, but can be overridden from the command line with `-uiplatform=<x>`. Also fixes the warning from #6328.
* qt: define QT_NO_KEYWORDSWladimir J. van der Laan2015-07-151-1/+1
| | | | | | | | QT_NO_KEYWORDS prevents Qt from defining the `foreach`, `signals`, `slots` and `emit` macros. Avoid overlap between Qt macros and boost - for example #undef hackiness in #6421.
* Bugfix: Grammar fixesCorinne Dashjr2015-05-011-1/+1
|
* [Qt, Trivial] misc minor string changesPhilip Kaufmann2015-04-201-6/+6
| | | | | | | | - write "Bitcoins" uppercase - replace secure/insecure for payment requests with authenticated/unauthenticated - change a translatable string for payment request expiry to match another existing string to only get ONE resulting string to translate
* Subtract fee from amountCozz Lovan2015-03-131-1/+5
| | | | | | | | Fixes #2724 and #1570. Adds the automatically-subtract-the-fee-from-the-amount-and-send-whats-left feature to the GUI and RPC (sendtoaddress,sendmany).
* Adopt style colour for button iconsLuke Dashjr2014-12-271-0/+7
|
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Remove references to X11 licenceMichael Ford2014-12-161-1/+1
|
* ui: Make sure sendcoinsentry signals only connected onceWladimir J. van der Laan2014-07-231-5/+6
| | | | Move signal connections to constructor where possible.
* qt: Use fixed-point arithmetic in amount spinboxWladimir J. van der Laan2014-07-231-1/+8
| | | | | | | | | 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.
* [Qt] Fill in label from address book also for URIsCozz Lovan2014-03-121-2/+4
|
* [Qt] extend validate line edit and btc address validatorPhilip Kaufmann2014-01-291-3/+1
| | | | | | | | | | | | | - 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] Show and store message of normal bitcoin:URICozz Lovan2014-01-211-0/+9
|
* ui: Better tab order in send coins entryWladimir J. van der Laan2014-01-021-3/+4
| | | | | | | | | | | | | | | | | | 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.
* Fix a rare crash on Mac OS X, by removing a setFocus on the payTo field that ↵Ryan Niebur2013-12-011-2/+0
| | | | was not necessary, as the field still receives focus without it.
* [Qt] allow deletion of payment-requests in sendcoinsPhilip Kaufmann2013-11-241-6/+4
| | | | | | | | | | | | - 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)
* Coincontrol cleanup (e.g. add missing license)Philip Kaufmann2013-11-181-1/+0
| | | | | | | | | - 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-0/+2
|
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-4/+3
| | | | | | | | | 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-23/+43
|\ | | | | | | | | | | | | 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)
| * payment-request UI: use SendCoinsRecipient.message for memoPhilip Kaufmann2013-10-311-2/+2
| |
| * [Qt] Rework of payment request UI (mainly for insecure pr)Philip Kaufmann2013-10-311-23/+43
| | | | | | | | | | | | | | | | | | | | - 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: rework "receive coins" workflowWladimir J. van der Laan2013-10-231-1/+1
|
* add SendCoinsEntry::updateLabel() functionPhilip Kaufmann2013-10-161-6/+17
| | | | | - makes the code for updating a label reusable - no functional changes
* make BitcoinAmountField::setReadOnly() usablePhilip Kaufmann2013-10-151-0/+1
| | | | | - 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)
* sendcoinsentry: small clear() and setValue() changesPhilip Kaufmann2013-10-111-8/+17
| | | | | | - 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)
* Bitcoin-Qt: translation fixes in sendcoinsPhilip Kaufmann2013-10-011-4/+3
| | | | | | | | | | | | - 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
* Payment Protocol: X509-validated payment requestsGavin Andresen2013-08-221-7/+28
| | | | | | | | 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.
* Reject dust amounts during validationGavin Andresen2013-08-221-12/+9
| | | | | | 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.
* Bitcoin-Qt: add "send coins" to context menu in addressbookPhilip Kaufmann2013-03-181-0/+6
| | | | | | - 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-0/+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
* 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)
* add the slot updateDisplayUnit() to overviewpage, sendcoinsdialog, ↵Philip Kaufmann2012-06-171-4/+14
| | | | 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
* Move back setPlaceholderText to code, from xml, as this broke building with ↵Wladimir J. van der Laan2012-05-071-1/+5
| | | | Qt 4.6
* move label placeholdertext from sendcoinsentry.cpp to ui-filePhilip Kaufmann2012-05-041-4/+0
|
* Set label when selecting an address that already has a label. Fixes #1080.Wladimir J. van der Laan2012-04-131-3/+5
|