Commit Graph

633 Commits

Author SHA1 Message Date
tomFlowee d1e44fa515 Make an initial version of send-tx feedback. 2021-11-29 23:17:45 +01:00
tomFlowee cea4e84d15 bugfix release 2021.06.4 2021-11-29 20:59:22 +01:00
tomFlowee 14b2b01fee Make backwards compatible.
Using a property with QList<QObject*> is the only thing supported
in Qt 5.12 (Ubuntu 20.04 LTS) and we should not replace the QObject
there with a subclass as things like `myProp.length` stop working.
2021-11-29 20:57:41 +01:00
tomFlowee 33ed7f7de8 new version 2021.06.3 2021-11-29 18:51:35 +01:00
tomFlowee 943f78b8de Use older imports
This makes it work on an older Qt
2021-11-29 18:51:08 +01:00
tomFlowee 003198d7e7 Add keyboard navigation to list here too 2021-11-27 09:26:28 +01:00
tomFlowee ab79416de5 Merge branch 'master' into SendPanel 2021-11-27 09:26:05 +01:00
tomFlowee 3b85dfd2f3 Improve the output selection
This prioritizes cashfusion outputs in selection.
This optimizes different the number of outputs for single-key
wallets.
2021.06.2
2021-11-26 17:01:30 +01:00
tomFlowee 380bdf975b Add keyboard navigation to lists. 2021-11-26 16:19:30 +01:00
tomFlowee 1f41154a86 UX tweak 2021-11-24 19:58:44 +01:00
tomFlowee e029c8da62 Fix spacing
Allow the user to drag the flickable of the send panel also in the
visual margins.
2021-11-24 19:54:55 +01:00
tomFlowee 6dbec50153 Remove stray debug. 2021-11-24 19:28:43 +01:00
tomFlowee e540fa6ae3 Playing with the 'add' screen. 2021-11-24 19:20:06 +01:00
tomFlowee f71722f875 Another round of tweaking and making it look better. 2021-11-24 17:41:41 +01:00
tomFlowee 632483a06f Rename private API headers 2021-11-24 16:00:40 +01:00
tomFlowee e7553daae9 Use inputselector for building a tx.
This makes the backend systems actually take into account the payment
details like outputs and input-selector in order to build a transaction.
2021-11-24 15:46:13 +01:00
tomFlowee 44653c5102 Fix many user interaction details. 2021-11-24 14:56:52 +01:00
tomFlowee 6c805f29e8 Add Wallet::isLocked(outRef) const 2021-11-23 22:46:28 +01:00
tomFlowee 88955b7f7b Split Payment.{cpp|h} into different files. 2021-11-23 22:46:28 +01:00
tomFlowee 5758d67e54 Merge branch 'master' into SendPanel 2021-11-23 17:17:43 +01:00
tomFlowee e8c96d7c23 Add selection of inputs and make the UI pretty. 2021-11-23 17:17:40 +01:00
tomFlowee 95d2b7eedc Fix off-by-one 2021-11-23 17:17:36 +01:00
tomFlowee 4c27e134d3 Include fiat-price in the --offline flag 2021-11-23 17:16:45 +01:00
tomFlowee 0b3e8bcd69 Fix sizing 2021-11-23 17:16:20 +01:00
tomFlowee a8034161bd Group outputs together in the payment. 2021-11-23 11:22:04 +01:00
tomFlowee 9a2fe0444c Add most of WalletCoinsModel content. 2021-11-23 11:22:01 +01:00
tomFlowee ad0d675be1 Fix typo 2021-11-23 11:18:47 +01:00
tomFlowee adcded6f47 Download translations from crowdin 2021-11-21 13:23:31 +01:00
tomFlowee 3d722a00b5 Display "Moved" items differently.
Instead of showing the fees only, make the overview show the fees
in the comment and the amount moved in the right column
2021-11-21 13:23:31 +01:00
tomFlowee a5bb96dd74 Be more finegrained in timing
Seems the label "Now" is not accurate enough for most when its almost
half an hour. Have a more reasoable labeling.
2021-11-21 13:23:31 +01:00
tomFlowee fed2479a8a Avoid duplication. 2021-11-21 11:27:26 +01:00
tomFlowee e23f47108d Add comments 2021-11-21 11:16:07 +01:00
tomFlowee f98c9fb4af Image fixes 2021-11-21 10:59:29 +01:00
tomFlowee b69b388d9c Split translations and add proof-of-concept mobile
This alters the build setup to create two executables based on
practically the same CPP static lib but with different QML
dirs and translations.
This also adds a cmake option
    -Dlocal_qml=ON
when passed it will create an executable that will load the QML
from local disk instead of using the compiled-in version.
The main advantage of that is that there is no need to recompile
after each QML change.
2021-11-21 00:35:55 +01:00
tomFlowee 738e0aec97 Simplify and make available --offline
This promotes the `--offline` command line option from being a
debug-build only option to being always compiled in.
This should make it easier to develop in QML.
2021-11-20 22:24:19 +01:00
tomFlowee 4a184fc5c2 Make a static lib pay_lib
To avoid recompiles and such generally to simplify stuff, this
moves all the code into a static lib that is then linked with
by the various apps (including tests).
2021-11-20 22:20:08 +01:00
tomFlowee 45879381fc Avoid locking special case that is Ok. 2021-11-20 18:53:26 +01:00
tomFlowee bb62385c10 When price fetch fails, refetch more agressive. 2021-11-20 18:53:04 +01:00
tomFlowee eb3c3f63db Increase version number 2021.06.1 2021-11-19 14:20:52 +01:00
tomFlowee ddbd66765f Import all official wordlists 2021-11-19 13:45:57 +01:00
tomFlowee d350395898 Fix finding wordlists
Also added other wordlists to the search.
2021-11-19 13:44:54 +01:00
tomFlowee 3ec6467ac5 Fix directory we look for the wordlists. 2021-11-19 13:20:08 +01:00
tomFlowee 8ee147b33f Wallet details; show "change #n" instead of address 2021-11-19 11:54:07 +01:00
tomFlowee 5e2983a584 Update number 2021-11-19 11:23:02 +01:00
tomFlowee 381c475bb4 Start with coin-selector 2021-11-19 11:20:01 +01:00
tomFlowee c6ffb9bd6d Show summary text on the 'destination' groupbox 2021-11-18 17:41:05 +01:00
tomFlowee b7dc14358d [UX] fix focus on groupbox that can't collapse
The only reason we get focus on a groupbox is to allow it to take
'enter' to toggle collapsing, so when we turn this off then we
should not allow the groupbox to get focus.
2021-11-18 14:26:29 +01:00
tomFlowee 2a2954c57b Move most of the payment complexity into cpp
This moves all the checks and UI interactions into the model, making the
QML much lighter and less error-probe.

At the same time this allows us to add new UX features like when a 'max'
button is pressed it live-updates the amounts in the fiat and bch fields
as the user changes any spending in other outputs.
2021-11-18 14:25:47 +01:00
tomFlowee 36b898a40f Fix unsetting max button not updating screen. 2021-11-17 14:24:32 +01:00
tomFlowee 4bac1d7e10 Allow adding/deletion of payment details 2021-11-17 14:24:19 +01:00