Skip to content

Comments

Wire RequestPayment page to PaymentRequest model#501

Open
johnny9 wants to merge 1 commit intobitcoin-core:qt6from
johnny9:payment-request-qt6
Open

Wire RequestPayment page to PaymentRequest model#501
johnny9 wants to merge 1 commit intobitcoin-core:qt6from
johnny9:payment-request-qt6

Conversation

@johnny9
Copy link
Collaborator

@johnny9 johnny9 commented Feb 17, 2026

  • add qml/models/paymentrequest.{h,cpp}
  • expose WalletQmlModel::currentPaymentRequest
  • add WalletQmlModel::commitPaymentRequest()
  • define recent request entry struct for serialization
  • persist receive requests via setAddressReceiveRequest()
  • register PaymentRequest in qml/bitcoin.cpp
  • update RequestPayment.qml to bind amount/label/message/address to model
  • keep create/copy/clear actions model-driven

Easiest way to currently test is to create the payment request and then load up the wallet in the Qt gui

- add qml/models/paymentrequest.{h,cpp}
- expose WalletQmlModel::currentPaymentRequest
- add WalletQmlModel::commitPaymentRequest()
- define recent request entry struct for serialization
- persist receive requests via setAddressReceiveRequest()
- register PaymentRequest in qml/bitcoin.cpp
- update RequestPayment.qml to bind amount/label/message/address to model
- keep create/copy/clear actions model-driven
@johnny9
Copy link
Collaborator Author

johnny9 commented Feb 17, 2026

Screencast.from.2026-02-16.22-23-15.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant