HomePhabricator

update QRCodeDialog
5c83f797c5bcUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

update QRCodeDialog

  • remove unused #include <QDebug> and lblBTC label
  • update Bitcoin input field to a BitcoinAmountField to allow Bitcoin unit selection
  • use BitcoinUnits::format for the resulting amount parameter in the generated URI (always use BTC as per BIP21)
  • move MAX_URI_LENGTH and EXPORT_IMAGE_SIZE to guiconstants.h
  • add OptionsModel in AddressBookPage and use it in on_showQRCode_clicked() to pass it to QRCodeDialog
  • add OptionsModel in QRCodeDialog to enable display unit updates
  • add updateDisplayUnit() slot to be able to imediately update currently set bitcoin unit
  • make all labels in the UI-file plain text
  • resize dialog to match for an updated layout (fields are now stacked and new field)
  • remove unused parameters from private slots
  • only enable save button, when QR Code was generated
  • show message when entered amound is invalid
  • add read-only QPlainTextEdit field to output generated URI

Details

Provenance
Philip Kaufmann <phil.kaufmann@t-online.de>Authored on Jun 24 2012, 16:28
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING2a919e396d95: Warn if blockchain majority doesn't match CBlock::CURRENT_VERSION
Branches
Unknown
Tags
Unknown

Event Timeline

Philip Kaufmann <phil.kaufmann@t-online.de> committed rSTAGING5c83f797c5bc: update QRCodeDialog (authored by Philip Kaufmann <phil.kaufmann@t-online.de>).Jul 6 2012, 16:51