dash/src/qt
Wladimir J. van der Laan 7fb5b5b3a5
Merge #12173: [Qt] Use flexible font size for QRCode image address
59f9e2a Use flexible font size for QRCode image address (Jonas Schnelli)

Pull request description:

  Bech32 addresses are currently cut off in the QRCode image in the GUI receive tab.
  This adds a simple font size calculation logic that "must" (down to 4pt) fix into the given image width.

  Examples OSX HiDPI:
  <img width="332" alt="bildschirmfoto 2018-01-12 um 11 25 40" src="https://user-images.githubusercontent.com/178464/34896144-c0c65d76-f78c-11e7-93e1-94dc8e203269.png">
  <img width="322" alt="bildschirmfoto 2018-01-12 um 11 25 46" src="https://user-images.githubusercontent.com/178464/34896145-c0edfe1c-f78c-11e7-8c09-c15155e2160e.png">

  Examples Ubuntu non HIDPI:
  <img width="314" alt="bildschirmfoto 2018-01-12 um 11 27 51" src="https://user-images.githubusercontent.com/178464/34896151-c88347f4-f78c-11e7-8a03-df8049dcfed6.png">
  <img width="322" alt="bildschirmfoto 2018-01-12 um 11 27 42" src="https://user-images.githubusercontent.com/178464/34896152-c8bb881c-f78c-11e7-89d2-6f04ec608a19.png">

Tree-SHA512: d749763fb748b146f77fd8d88fb7d29b07a46cde0b0f303a4006ae9cc3521b3c2e8ab43b828e243514109379898b198552e17b8f316c5a869b0cc8246b054b86
2020-04-05 11:06:05 -05:00
..
forms Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
locale Update translations 2020-02-03 (#3322) 2020-02-03 21:18:23 +03:00
res Fix dark text on dark background in combobox dropdowns on windows (#3315) 2020-02-01 04:59:20 +03:00
test Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
addressbookpage.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
addressbookpage.h Merge #10568: Remove unnecessary forward class declarations in header files 2019-07-09 13:08:20 -05:00
addresstablemodel.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
addresstablemodel.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
askpassphrasedialog.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
askpassphrasedialog.h Merge #11480: [ui] Add toggle for unblinding password fields 2020-01-16 09:22:46 -06:00
bantablemodel.cpp Merge #10493: Use range-based for loops (C++11) when looping over map elements 2020-04-01 12:43:18 -05:00
bantablemodel.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
bitcoinaddressvalidator.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
bitcoinaddressvalidator.h
bitcoinamountfield.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
bitcoinamountfield.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
bitcoingui.cpp Merge #12999: qt: Show the Window when double clicking the taskbar icon 2020-04-03 04:11:11 -05:00
bitcoingui.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
bitcoinunits.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
bitcoinunits.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
callback.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
clientmodel.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
clientmodel.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
coincontroldialog.cpp Merge #10574: Remove includes in .cpp files for things the corresponding .h file already included 2020-04-01 12:43:18 -05:00
coincontroldialog.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
coincontroltreewidget.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
coincontroltreewidget.h
csvmodelwriter.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
csvmodelwriter.h
dash_locale.qrc Translations 2020-01 (#3192) 2020-01-17 16:00:53 +01:00
dash.cpp Merge #12266: Move scheduler/threadGroup into common-init instead of per-app 2020-03-23 12:42:14 +01:00
dash.qrc Bring back "about" menu icon (#3329) 2020-02-11 16:49:40 +03:00
dashstrings.cpp Translations 2020-01 (#3192) 2020-01-17 16:00:53 +01:00
editaddressdialog.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
editaddressdialog.h
guiconstants.h Bump copyright year to 2020 (#3290) 2020-01-17 15:42:55 +01:00
guiutil.cpp Merge #12173: [Qt] Use flexible font size for QRCode image address 2020-04-05 11:06:05 -05:00
guiutil.h Merge #12173: [Qt] Use flexible font size for QRCode image address 2020-04-05 11:06:05 -05:00
intro.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
intro.h
macdockiconhandler.h
macdockiconhandler.mm Merge #11066: Document the preference of nullptr over NULL or (void*)0 2020-01-01 21:33:31 -06:00
macnotificationhandler.h Merge #11268: [macOS] remove Growl support, remove unused code 2020-01-10 10:33:55 -06:00
macnotificationhandler.mm Merge #11268: [macOS] remove Growl support, remove unused code 2020-01-10 10:33:55 -06:00
macos_appnap.h Backport #12783: macOS: disable AppNap during sync (and mixing) (#3024) 2019-07-15 14:38:55 +03:00
macos_appnap.mm Backport #12783: macOS: disable AppNap during sync (and mixing) (#3024) 2019-07-15 14:38:55 +03:00
masternodelist.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
masternodelist.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
modaloverlay.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
modaloverlay.h Merge #9964: Add const to methods that do not modify the object for which it is called 2020-01-02 16:16:55 -06:00
networkstyle.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
networkstyle.h Update copyright date (2019) (#2970) 2019-06-11 14:46:07 +03:00
notificator.cpp Merge #10574: Remove includes in .cpp files for things the corresponding .h file already included 2020-04-01 12:43:18 -05:00
notificator.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
openuridialog.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
openuridialog.h
optionsdialog.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
optionsdialog.h
optionsmodel.cpp Merge #12650: gui: Fix issue: "default port not shown correctly in settings dialog" 2020-04-03 04:08:11 -05:00
optionsmodel.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
overviewpage.cpp Refactor some PrivateSend related code to use WalletModel instead of accessing the wallet directly from qt (#3345) 2020-03-20 01:48:24 +03:00
overviewpage.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
paymentrequest.proto
paymentrequestplus.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
paymentrequestplus.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
paymentserver.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
paymentserver.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
peertablemodel.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
peertablemodel.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
platformstyle.cpp Merge #10574: Remove includes in .cpp files for things the corresponding .h file already included 2020-04-01 12:43:18 -05:00
platformstyle.h
qrdialog.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
qrdialog.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
qvalidatedlineedit.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
qvalidatedlineedit.h
qvaluecombobox.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
qvaluecombobox.h
receivecoinsdialog.cpp Merge #10574: Remove includes in .cpp files for things the corresponding .h file already included 2020-04-01 12:43:18 -05:00
receivecoinsdialog.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
receiverequestdialog.cpp Merge #12173: [Qt] Use flexible font size for QRCode image address 2020-04-05 11:06:05 -05:00
receiverequestdialog.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
recentrequeststablemodel.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
recentrequeststablemodel.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
rpcconsole.cpp Merge #10574: Remove includes in .cpp files for things the corresponding .h file already included 2020-04-01 12:43:18 -05:00
rpcconsole.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
sendcoinsdialog.cpp Merge #10574: Remove includes in .cpp files for things the corresponding .h file already included 2020-04-01 12:43:18 -05:00
sendcoinsdialog.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
sendcoinsentry.cpp Merge #10574: Remove includes in .cpp files for things the corresponding .h file already included 2020-04-01 12:43:18 -05:00
sendcoinsentry.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
signverifymessagedialog.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
signverifymessagedialog.h
splashscreen.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
splashscreen.h Merge #10770: Drop upgrade-cancel callback registration for a generic "cancelable" 2020-01-03 08:35:55 -06:00
trafficgraphdata.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
trafficgraphdata.h
trafficgraphwidget.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
trafficgraphwidget.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
transactiondesc.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
transactiondesc.h
transactiondescdialog.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
transactiondescdialog.h
transactionfilterproxy.cpp Merge #10574: Remove includes in .cpp files for things the corresponding .h file already included 2020-04-01 12:43:18 -05:00
transactionfilterproxy.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
transactionrecord.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
transactionrecord.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
transactiontablemodel.cpp Merge #10493: Use range-based for loops (C++11) when looping over map elements 2020-04-01 12:43:18 -05:00
transactiontablemodel.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
transactionview.cpp Merge #10574: Remove includes in .cpp files for things the corresponding .h file already included 2020-04-01 12:43:18 -05:00
transactionview.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
utilitydialog.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
utilitydialog.h Merge #10969: Declare single-argument (non-converting) constructors "explicit" 2020-01-10 10:33:57 -06:00
walletframe.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
walletframe.h
walletmodel.cpp Refactor some PrivateSend related code to use WalletModel instead of accessing the wallet directly from qt (#3345) 2020-03-20 01:48:24 +03:00
walletmodel.h Refactor some PrivateSend related code to use WalletModel instead of accessing the wallet directly from qt (#3345) 2020-03-20 01:48:24 +03:00
walletmodeltransaction.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
walletmodeltransaction.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
walletview.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
walletview.h Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
winshutdownmonitor.cpp Backport 11651 (#3358) 2020-03-20 01:46:56 +03:00
winshutdownmonitor.h