aboutsummaryrefslogtreecommitdiff
path: root/src/qt/overviewpage.cpp
Commit message (Collapse)AuthorAgeFilesLines
* scripted-diff: Make SeparatorStyle a scoped enumHennadii Stepanov2020-06-181-17/+17
| | | | | | | | | | | | | | | | | | -BEGIN VERIFY SCRIPT- # General rename helper: $1 -> $2 rename_global() { sed -i "s/\<$1\>/$2/g" $(git grep -l "$1"); } # Helper to rename SeparatorStyle enumerators rename_value() { sed -i "s/ $1/ $2/g" src/qt/bitcoinunits.h; rename_global $1 "SeparatorStyle::$2"; } rename_global 'enum SeparatorStyle' 'enum class SeparatorStyle' rename_value 'separatorNever' 'NEVER' rename_value 'separatorStandard' 'STANDARD' rename_value 'separatorAlways' 'ALWAYS' -END VERIFY SCRIPT-
* Merge #16432: qt: Add privacy to the Overview pageJonas Schnelli2020-05-291-16/+33
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d75115844baefe5cad4d82ec8dce001dd16eb9c qt: Add privacy feature to Overview page (Hennadii Stepanov) 73d8ef72742ab9193e9e95158b26176bfaab3f66 qt: Add BitcoinUnits::formatWithPrivacy() function (Hennadii Stepanov) Pull request description: This PR allows to hide/reveal values on the Overviewpage by checking/unchecking Menu->Settings-> Mask Values Closes #16407 Privacy mode is OFF (the default behavior): ![Screenshot from 2020-01-02 15-08-28](https://user-images.githubusercontent.com/32963518/71669074-28ab6980-2d74-11ea-8e54-4973aa307192.png) Privacy mode is ON: ![Screenshot from 2020-01-02 15-10-23 cropped](https://user-images.githubusercontent.com/32963518/71669082-2d701d80-2d74-11ea-9df5-d4acc4982dbe.png) ACKs for top commit: jonatack: Tested ACK 8d75115 jonasschnelli: Tested ACK 8d75115844baefe5cad4d82ec8dce001dd16eb9c Tree-SHA512: 42f396d5bf0d343b306fb7e925f86f66b3fc3a257af370a812f4be181b5269298f9b23bd8a3ce25ab61de92908c4018d8c2dc8591d11bc58d79c4eb7206fc6ec
| * qt: Add privacy feature to Overview pageHennadii Stepanov2020-05-271-16/+33
| |
* | refactor: Use override for non-final overridersHennadii Stepanov2020-05-081-2/+2
|/
* Add IsLegacy to CWallet so that the GUI knows whether to show watchonlyAndrew Chow2020-04-231-9/+16
|
* refactor: Get rid of Wallet::IsWalletFlagSet methodRussell Yanofsky2020-03-191-4/+4
| | | | | | | | | Replace by privateKeysDisabled method to avoid need for GUI to reference internal wallet flags. Also remove adjacent WalletModel canGetAddresses wrapper that serves no purpose and make Wallet::canGetAddresses non-const so it can be implemented by IPC classes in #10102.
* scripted-diff: Bump copyright of files changed in 2019MarcoFalke2019-12-301-1/+1
| | | | | | -BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT-
* Merge #14879: qt: Add warning messages to the debug windowMarcoFalke2019-08-281-3/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 593ba696fb32da558091ac02ad87c4893db4ce97 Add warning messages to the debug window (Hennadii Stepanov) Pull request description: Fix: #11016 This PR adds warning messages to the debug window in `-disablewallet` mode. ![screenshot from 2018-12-06 01-01-27](https://user-images.githubusercontent.com/32963518/49550070-413c1c80-f8f3-11e8-9865-efb49ea8da45.png) ACKs for top commit: jonasschnelli: utACK 593ba696fb32da558091ac02ad87c4893db4ce97 promag: ACK 593ba696fb32da558091ac02ad87c4893db4ce97, agree with @Sjors https://github.com/bitcoin/bitcoin/pull/14879#pullrequestreview-196433092 above. ryanofsky: utACK 593ba696fb32da558091ac02ad87c4893db4ce97 Tree-SHA512: a8ca78529bb16813ba7bfaf5ccd4349189979f08e78ea857746a6fb00fd9d7ed98d8f06f384830acba21dac57070060af23f6be8249398feb32a6efff1333de8
| * Add warning messages to the debug windowHennadii Stepanov2019-01-251-3/+2
| |
* | Don't use zero as null pointer constant (-Wzero-as-null-pointer-constant)practicalswift2019-01-131-2/+2
|/ | | | Qt-only changes.
* Hide spendable label if priveate key is disabledChun Kuan Lee2018-08-281-12/+20
|
* qt: Use new Qt5 connect syntaxJoão Barbosa2018-08-211-7/+7
|
* Update copyright headers to 2018DrahtBot2018-07-271-1/+1
|
* scripted-diff: Avoid `interface` keyword to fix windows gitian buildRussell Yanofsky2018-04-071-5/+5
| | | | | | | | | | | | | | | | | | 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-
* Use WalletBalances struct in QtRussell Yanofsky2018-04-041-29/+21
| | | | | Suggested by John Newbery <[email protected]> https://github.com/bitcoin/bitcoin/pull/10244#discussion_r177504284
* Remove most direct bitcoin calls from qt/walletmodel.cppRussell Yanofsky2018-04-041-3/+5
|
* Increment MIT Licence copyright header year on files modified in 2017Akira Takizawa2018-01-031-1/+1
|
* qt: refactor: Changes to make include paths absoluteWladimir J. van der Laan2017-11-161-2/+2
| | | | | | | 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-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -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-
* Declare single-argument (non-converting) constructors "explicit"practicalswift2017-08-161-1/+1
| | | | In order to avoid unintended implicit conversions.
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* qt: Plug many memory leaksWladimir J. van der Laan2016-11-231-6/+5
| | | | | | | | | None of these are very serious, and are leaks in objects that are created at most one time. In most cases this means properly using the QObject parent hierarchy, except for BanTablePriv/PeerTablePriv which are not QObject, so use a std::unique_ptr instead.
* Merge #8371: [Qt] Add out-of-sync modal info layerJonas Schnelli2016-09-231-0/+7
|\ | | | | | | | | | | | | | | | | | | 08827df [Qt] modalinfolayer: removed unused comments, renamed signal, code style overhaul (Jonas Schnelli) d8b062e [Qt] only update "amount of blocks left" when the header chain is in-sync (Jonas Schnelli) e3245b4 [Qt] add out-of-sync modal info layer (Jonas Schnelli) e47052f [Qt] ClientModel add method to get the height of the header chain (Jonas Schnelli) a001f18 [Qt] Always pass the numBlocksChanged signal for headers tip changed (Jonas Schnelli) bd44a04 [Qt] make Out-Of-Sync warning icon clickable (Jonas Schnelli) 0904c3c [Refactor] refactor function that forms human readable text out of a timeoffset (Jonas Schnelli)
| * [Qt] make Out-Of-Sync warning icon clickableJonas Schnelli2016-08-261-0/+7
| |
* | Do not shadow in src/qtPavel Janík2016-09-231-2/+2
|/
* Qt: Sort transactions by dateTyler Hardin2016-05-091-1/+1
| | | | Conflicted transactions can get stuck at the top. This fixes that.
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* qt: Introduce PlatformStyleWladimir J. van der Laan2015-07-311-6/+9
| | | | | | | | | | | | | | 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.
* [QT] overviewpage: make sure warning icons gets coloredJonas Schnelli2015-05-191-0/+6
|
* [QT] use alert icon with tooltip insted of "(out of sync)" textJonas Schnelli2015-05-121-4/+0
| | | | | | # Conflicts: # src/qt/forms/overviewpage.ui # src/qt/overviewpage.cpp
* [QT] change transaction amount and height in overview pageJonas Schnelli2015-05-061-2/+2
|
* Adopt style colour for button iconsLuke Dashjr2014-12-271-1/+3
|
* 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
|
* qt: Register CAmount metatypeWladimir J. van der Laan2014-10-011-1/+1
| | | | | This allows sending the type over queued connections. Also normalize signal/slot names.
* Use a typedef for monetary valuesMark Friedenbach2014-09-261-2/+2
|
* [Qt] minor watch-only changesPhilip Kaufmann2014-08-281-1/+1
| | | | | | - use watch-only, not watchonly - add back a tooltip hint when hovering addresses and attach "(watch-only)" at the end
* [Qt] Add column Watch-only to transactions listCozz Lovan2014-08-111-1/+9
|
* Add boolean HaveWatchonly and signal NotifyWatchonlyChangedCozz Lovan2014-08-111-7/+17
|
* [Qt] re-work overviewpage UIPhilip Kaufmann2014-08-081-7/+8
| | | | | | - ensure normal and watch-only stuff looks consistent - simplify UI by removing unneeded UI layout elements - change some comments to watch-only from watchonly
* Remove unused fAlign argument from BitcoinUnits::format and friendsRoy Badami2014-07-071-9/+9
|
* Merge remote-tracking branch 'upstream/master'Roy Badami2014-07-071-6/+28
|\ | | | | | | | | | | Conflicts: src/qt/overviewpage.cpp src/qt/transactiondesc.cpp
| * Watchonly balances are shown separately in gui.JaSK2014-07-021-6/+28
| |
* | Implement SI-style (thin space) thoudands separatorRoy Badami2014-05-171-5/+5
|/
* qt: GUI for conflicted transactionsWladimir J. van der Laan2014-02-141-0/+1
| | | | | | - Exclamation mark icon for conflicted transactions - Show mouseover status for conflicted transactions as "conflicted" - Don't show inactive transactions on overview page overview
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-5/+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.
* qt: add license header to source filesWladimir J. van der Laan2013-11-041-0/+4
| | | | Closes #839
* qt: Add total balance in overview pageWladimir J. van der Laan2013-06-071-0/+1
|
* overviewpage: make some code Qt5 compatiblePhilip Kaufmann2013-04-141-2/+3
| | | | - that changes will be fine for Qt4 also