Andrew Poelstra
21e1034f55
Merge 03ecceedf6 into merged_master (Bitcoin PR #260 )
2021-06-30 13:18:45 +00:00
Andrew Poelstra
b4c1a6296c
Merge 837e59eff6 into merged_master (Bitcoin PR bitcoin-core/gui#248 )
2021-06-28 02:51:02 +00:00
Andrew Poelstra
f5f1e8d3d5
Merge 6bc51af5c2 into merged_master (Bitcoin PR bitcoin-core/gui#250 )
2021-06-26 23:32:13 +00:00
Andrew Poelstra
a77004416d
Merge 33921379b6 into merged_master (Bitcoin PR #21015 )
2021-06-26 00:03:48 +00:00
Andrew Poelstra
29e3669e30
Merge 7fca189a2a into merged_master (Bitcoin PR #79 )
...
For this one I just re-applied the patch from the diff on Github.
It basically just removes the Monospace font property from all UI
elements in overviewpage.ui.
2021-06-24 20:34:07 +00:00
Andrew Poelstra
2b9625fa81
Merge fd725c2d79 into merged_master (Bitcoin PR bitcoin-core/gui#204 )
...
Some GUI changes that conflict with commented-out code. I made an educated
guess as to what new stuff should be commented out or not but honestly I
have no idea what the GUI is supposed to do or show.
2021-06-24 18:18:40 +00:00
Andrew Poelstra
fe1e52f667
Merge 02fda8267a into merged_master (Bitcoin PR bitcoin-core/gui#179 )
2021-06-24 17:47:01 +00:00
Andrew Poelstra
0136cbc8db
Merge 6c6140846f into merged_master (Bitcoin PR bitcoin-core/gui#203 )
2021-06-21 03:28:29 +00:00
Andrew Poelstra
7ab8e1414e
Merge 7595183543 into merged_master (Bitcoin PR bitcoin-core/gui#72 )
2021-06-19 03:00:47 +00:00
Andrew Poelstra
ade599974b
Merge d1ddead09a into merged_master (Bitcoin PR #180 )
2021-06-19 01:32:07 +00:00
Andrew Poelstra
e38d520c6c
Merge 0944024309 into merged_master (Bitcoin PR bitcoin-core/gui#163 )
2021-06-17 13:04:06 +00:00
Andrew Poelstra
617905a928
Merge 34322b7f5c into merged_master (Bitcoin PR #20842 )
2021-06-16 18:28:04 +00:00
Andrew Poelstra
f6208081ac
Merge d875bcc8f9 into merged_master (Bitcoin PR #162 )
2021-06-16 13:05:31 +00:00
Andrew Poelstra
7fa3063497
Merge f2a673f15b into merged_master (Bitcoin PR bitcoin-core/gui#137 )
2021-06-10 18:50:51 +00:00
Andrew Poelstra
436a1295e9
Merge 0a267f4eb8 into merged_master (Bitcoin PR bitcoin-core/gui#46 )
2021-05-06 22:08:23 +00:00
Hennadii Stepanov
f7e260a471
qt: Add GUIUtil::ExceptionSafeConnect function
...
Throwing an exception from a slot invoked by Qt's signal-slot connection
mechanism is considered undefined behavior, unless it is handled within
the slot. The GUIUtil::ExceptionSafeConnect function should be used for
exception handling within slots.
2021-04-01 03:05:31 +03:00
Hennadii Stepanov
af7e365b15
qt: Make PACKAGE_BUGREPORT link clickable
...
Co-authored-by: Russell Yanofsky <russ@yanofsky.org>
2021-04-01 03:05:00 +03:00
wodry
d09ebc4723
Fix wrong(1024) divisor for 1000-based prefixes
2021-03-19 19:35:42 +01:00
Hennadii Stepanov
def1e64bb4
scripted-diff: Drop redundant QString calls
...
-BEGIN VERIFY SCRIPT-
sed -i 's/QString(QObject::tr(\([^)]*\))/QObject::tr(\1/' src/qt/guiutil.cpp
-END VERIFY SCRIPT-
2021-03-15 01:23:21 +02:00
Pieter Wuille
4d98b401fb
Change all ping times to std::chrono types
2021-03-03 09:48:07 -08:00
Wladimir J. van der Laan
7fca189a2a
Merge #79 : Embed monospaced font
...
67f26319a0 gui: Add monospaced font settings (Hennadii Stepanov)
22e0114d05 qt: Choose monospaced font in C++ code rather in `*.ui` file (Hennadii Stepanov)
623de12d04 qt: Make GUIUtil::fixedPitchFont aware of embedded font (Hennadii Stepanov)
89e421918e gui: Add Roboto Mono font (Hennadii Stepanov)
Pull request description:
Qt does not guarantee that the actual applied font matches to the requested one.
It was noted (https://github.com/bitcoin/bitcoin/pull/16432#issuecomment-514486077 ):
> the monospace font looks a bit weird no macOS
... because it is _not_ monospaced.
Also some discrepancies I've noted on Windows while testing Qt 5.15 ([#19716 ](https://github.com/bitcoin/bitcoin/pull/19716 )).
Of course, we could check the actual font with `QFontInfo`, and try to choose another font.
But this PR suggests to just embed a monospaced font, and get the GUI look (partially) independent from a platform.
[Roboto Mono](https://fonts.google.com/specimen/Roboto+Mono ) was chosen after discussion with Bitcoin Design community, and due to its [Apache License, Version 2.0](https://fonts.google.com/specimen/Roboto+Mono#license ).
Changes are scoped to the Overview page only.
---
Screenshots on macOS 10.15.6 (images are simulated by code patching):
- master (ca30d34cf9 )

- this PR (3fdd5b6bd17a679d6e3876682266092159c52d59)

---
More screenshots added after https://github.com/bitcoin-core/gui/pull/79#issuecomment-782909149 :
- Linux Mint 20.1 + Cinnamon DE

- Windows 10 (with depends)

- macOS Big Sur (with depends)

ACKs for top commit:
laanwj:
Tested ACK 67f26319a0
Tree-SHA512: a59775570b8ce314669ede50a0b69f53e8a47a41e7eea428835013240f0ce9afcff6e4c258895455b56806417ed877e5b7a9522f1904e95a5f435db8ccf6078c
2021-02-22 13:01:06 +01:00
MarcoFalke
fd725c2d79
Merge bitcoin-core/gui#204 : Drop buggy TableViewLastColumnResizingFixer class
...
3913d1e8c1 qt: Drop buggy TableViewLastColumnResizingFixer class (Hennadii Stepanov)
Pull request description:
In Qt 5 the last column resizing with dragging its left edge works out-of-the-box.
The current `TableViewLastColumnResizingFixer` implementation could put the last column content out of the view port and confuse a user:

Historical context:
- https://github.com/bitcoin/bitcoin/pull/2862
- https://github.com/bitcoin/bitcoin/pull/3626
- https://github.com/bitcoin/bitcoin/pull/3738
- https://github.com/bitcoin/bitcoin/pull/3920
#205 is a nice addition.
ACKs for top commit:
jarolrod:
ACK 3913d1e8c1 , tested on macOS 11.1 Qt 5.15.2
Talkless:
tACK 3913d1e8c1 , tested on Debian Sid. Can confirm that behavior in previous commit does not produce scroll bar, last column gets "hidden". This PR makes clear that there's more to see in the view.
promag:
Tested ACK 3913d1e8c1 on macos.
Tree-SHA512: 12582dfce54bb1db3d9934ae092e305d32e9760cc99b0265322e161fa7f54b7d6fb6cefedf700783f767d5c3a56a8545c8d2f5ade66596c4e67b8a5287063e8a
2021-02-22 08:13:51 +01:00
Hennadii Stepanov
623de12d04
qt: Make GUIUtil::fixedPitchFont aware of embedded font
2021-02-21 21:01:03 +02:00
Jon Atack
6fc72bd6f0
gui: allow ConnectionTypeToQString to prepend direction optionally
2021-02-06 22:21:16 +01:00
Hennadii Stepanov
3913d1e8c1
qt: Drop buggy TableViewLastColumnResizingFixer class
...
In Qt 5 the last column resizing with dragging its left edge works
out-of-the-box.
The current TableViewLastColumnResizingFixer implementation could put
the last column content out of the view port and confuse a user.
2021-01-31 18:09:30 +02:00
Jon Atack
506e6585a5
gui: display plain "Inbound" in peer details
2021-01-30 20:28:37 +01:00
Jonas Schnelli
7595183543
Merge bitcoin-core/gui#72 : util: Log static plugins meta data and used style
...
957895c715 util: Log static plugins meta data and style (Hennadii Stepanov)
Pull request description:
This PR is a follow-up of https://github.com/bitcoin/bitcoin/pull/17826 , and adds additional info about the imported static plugins and the used style to the `debug.log` I found useful for testing (e.g., with `QT_QPA_PLATFORM`, `QT_QPA_PLATFORMTHEME`, `QT_STYLE_OVERRIDE` variables) and debugging issues (e.g., https://github.com/bitcoin/bitcoin/pull/19716#issuecomment-674052881 ).
The excerpt from the log:
```
2020-11-15T18:41:45Z [main] Bitcoin Core version v0.20.99.0-f0b933f78 (release build)
2020-11-15T18:41:45Z [main] Qt 5.9.8 (static), plugin=xcb (static)
2020-11-15T18:41:45Z [main] Static plugins:
2020-11-15T18:41:45Z [main] QXcbIntegrationPlugin, version 329992
2020-11-15T18:41:45Z [main] Style: fusion / QFusionStyle
...
```
ACKs for top commit:
jarolrod:
ACK 957895c715 , Tested on macOS 11.1
jonasschnelli:
utACK 957895c715
Tree-SHA512: 0e46db7560f380fbda8ce5e53faa5d419a456e90ca595ce46be8e3030c99d3a113586edad1988a97e9bf0279e944f975968ed1156817bc16723ed31c64850239
2021-01-28 10:14:32 +01:00
Jon Atack
4f09615733
gui: return inbound {full, block} relay type in peer details
2021-01-10 21:33:10 +01:00
Jon Atack
7e2beab2d2
gui: create GUIUtil::ConnectionTypeToQString utility function
2021-01-08 15:24:31 +01:00
Sawyer Billings
e8640849c7
doc: Use https URLs where possible
2021-01-04 12:23:16 +08:00
Jon Atack
0d5613f9de
gui: create GUIUtil::NetworkToQString() utility function
2020-12-27 14:29:24 +01:00
Hennadii Stepanov
957895c715
util: Log static plugins meta data and style
2020-12-23 22:30:32 +02:00
Andrew Poelstra
69eb9b4129
Merge 8e0f341779 into merged_master (Bitcoin PR #15704 )
2020-11-28 04:49:15 +00:00
Andrew Poelstra
38a158c0f5
Merge 44ddcd887d into merged_master (Bitcoin PR #19706 )
2020-11-28 01:15:15 +00:00
Hennadii Stepanov
86b1ab64b1
refactor: Replace deprecated Qt::SystemLocale{Short,Long}Date
2020-11-27 10:04:13 +02:00
Andrew Poelstra
5a19ba4f23
Merge d626a3be31 into merged_master (Bitcoin PR #19210 )
2020-11-26 05:20:45 +00:00
Andrew Poelstra
fa10c4dfe5
Merge bd331bd745 into merged_master (Bitcoin PR #17938 )
...
Also re-`static`'d a method in src/script/standard.cpp which we had made globally
visible for some historical reason, but which I noticed diffing that file against
upstream.
2020-11-26 01:09:10 +00:00
Andrew Poelstra
c3b6bbba4a
Merge 0865a8881d into merged_master (Bitcoin PR bitcoin-core/gui#3 )
2020-11-26 01:09:08 +00:00
Andrew Poelstra
ea6e25d012
Merge 8ad5f1c376 into merged_master (Bitcoin PR #19106 )
2020-11-26 01:08:54 +00:00
Andrew Poelstra
e00f039d47
Merge de369c7ea5 into merged_master (Bitcoin PR #18165 )
2020-11-26 01:08:53 +00:00
Andrew Poelstra
dc81f5f1a5
Merge 0d5c18204b into merged_master (Bitcoin PR #17956 )
2020-11-26 01:08:52 +00:00
Andrew Poelstra
72c299e12b
Merge c2c15ea54e into merged_master (Bitcoin PR #17908 )
2020-11-26 01:08:52 +00:00
Andrew Poelstra
783673416d
Merge afa577c323 into merged_master (Bitcoin PR #15768 )
2020-11-26 01:08:36 +00:00
Andrew Poelstra
fd37b7c5d6
Merge 54f812d9d2 into merged_master (Bitcoin PR #18673 )
2020-11-26 01:08:23 +00:00
Andrew Poelstra
9b85a6536b
Merge aaf09469fb into merged_master (Bitcoin PR #18260 )
2020-11-26 01:07:49 +00:00
Andrew Poelstra
2c846f5fa3
Merge da3611a580 into merged_master (Elements PR #808 )
2020-11-26 00:29:43 +00:00
Andrew Poelstra
e3f76a1543
Merge 07efb3fe2b into merged_master (Bitcoin PR #17826 )
2020-11-14 16:52:05 +00:00
Andrew Poelstra
c1ac820649
Merge 3914e877c4 into merged_master (Bitcoin PR #17511 )
2020-11-14 16:51:57 +00:00
Andrew Poelstra
1ceb281f8f
Merge 5948398b18 into merged_master (Bitcoin PR #17474 )
2020-11-14 16:51:57 +00:00
Andrew Poelstra
1b46c58527
Merge 4fb82e916b into merged_master (Bitcoin PR #17567 )
2020-11-14 16:51:50 +00:00